From 33796336d546fa61a3906500ea56d77c960ab222 Mon Sep 17 00:00:00 2001 From: “shentao” Date: Fri, 21 Oct 2016 15:05:13 +0800 Subject: GSO-35 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3ad00c3c9265a1b3818decedca1d77995864ba29 Signed-off-by: “shentao” --- .../main/webapp/common/css/ZteIctIcons/Read Me.txt | 7 + .../common/css/ZteIctIcons/demo-files/demo.css | 151 + .../common/css/ZteIctIcons/demo-files/demo.js | 30 + .../main/webapp/common/css/ZteIctIcons/demo.html | 4807 +++++++++++ .../common/css/ZteIctIcons/fonts/ZteIctIcons.eot | Bin 0 -> 92372 bytes .../common/css/ZteIctIcons/fonts/ZteIctIcons.svg | 308 + .../common/css/ZteIctIcons/fonts/ZteIctIcons.ttf | Bin 0 -> 92192 bytes .../common/css/ZteIctIcons/fonts/ZteIctIcons.woff | Bin 0 -> 92268 bytes .../webapp/common/css/ZteIctIcons/selection.json | 8408 ++++++++++++++++++++ .../main/webapp/common/css/ZteIctIcons/style.css | 921 +++ .../src/main/webapp/common/default.html | 9 +- .../webapp/common/js/international/loadi18n.js | 28 +- .../src/main/webapp/common/json/menu_list.json | 17 + .../common/thirdparty/avalon/avalon.modern.js | 8237 ++++++++++--------- .../webapp/common/thirdparty/icheck/bower.json | 42 + .../common/thirdparty/icheck/demo/css/Thumbs.db | Bin 0 -> 5120 bytes .../common/thirdparty/icheck/demo/css/banner.jpg | Bin 0 -> 32768 bytes .../common/thirdparty/icheck/demo/css/custom.css | 261 + .../common/thirdparty/icheck/demo/css/custom.styl | 1191 +++ .../common/thirdparty/icheck/demo/css/icheck.png | Bin 0 -> 2382 bytes .../thirdparty/icheck/demo/css/ie/arrow-bottom.png | Bin 0 -> 184 bytes .../thirdparty/icheck/demo/css/ie/arrow-top.png | Bin 0 -> 175 bytes .../thirdparty/icheck/demo/css/ie/header-line.png | Bin 0 -> 611 bytes .../thirdparty/icheck/demo/css/ie/icon-fork.png | Bin 0 -> 213 bytes .../thirdparty/icheck/demo/css/ie/icon-github.png | Bin 0 -> 634 bytes .../thirdparty/icheck/demo/css/ie/icon-lab.png | Bin 0 -> 683 bytes .../thirdparty/icheck/demo/css/ie/icon-options.png | Bin 0 -> 666 bytes .../thirdparty/icheck/demo/css/ie/icon-star.png | Bin 0 -> 348 bytes .../thirdparty/icheck/demo/css/montserrat-bold.eot | Bin 0 -> 13099 bytes .../thirdparty/icheck/demo/css/montserrat-bold.svg | 1490 ++++ .../thirdparty/icheck/demo/css/montserrat-bold.ttf | Bin 0 -> 32768 bytes .../icheck/demo/css/montserrat-bold.woff | Bin 0 -> 15736 bytes .../icheck/demo/css/montserrat-regular.eot | Bin 0 -> 13114 bytes .../icheck/demo/css/montserrat-regular.svg | 1365 ++++ .../icheck/demo/css/montserrat-regular.ttf | Bin 0 -> 32768 bytes .../icheck/demo/css/montserrat-regular.woff | Bin 0 -> 15692 bytes .../thirdparty/icheck/demo/css/normalize.css | 527 ++ .../common/thirdparty/icheck/demo/index.html | 1544 ++++ .../common/thirdparty/icheck/demo/js/custom.js | 109 + .../common/thirdparty/icheck/demo/js/custom.min.js | 5 + .../common/thirdparty/icheck/demo/js/jquery.js | 4 + .../common/thirdparty/icheck/demo/js/zepto.js | 41 + .../common/thirdparty/icheck/icheck.jquery.json | 48 + .../main/webapp/common/thirdparty/icheck/icheck.js | 509 ++ .../webapp/common/thirdparty/icheck/icheck.min.js | 11 + .../webapp/common/thirdparty/icheck/skins/all.css | 61 + .../common/thirdparty/icheck/skins/flat/_all.css | 530 ++ .../common/thirdparty/icheck/skins/flat/aero.css | 53 + .../common/thirdparty/icheck/skins/flat/aero.png | Bin 0 -> 1520 bytes .../thirdparty/icheck/skins/flat/aero@2x.png | Bin 0 -> 3218 bytes .../common/thirdparty/icheck/skins/flat/blue.css | 53 + .../common/thirdparty/icheck/skins/flat/blue.png | Bin 0 -> 1518 bytes .../thirdparty/icheck/skins/flat/blue@2x.png | Bin 0 -> 3217 bytes .../common/thirdparty/icheck/skins/flat/flat.css | 53 + .../common/thirdparty/icheck/skins/flat/flat.png | Bin 0 -> 1515 bytes .../thirdparty/icheck/skins/flat/flat@2x.png | Bin 0 -> 3217 bytes .../common/thirdparty/icheck/skins/flat/green.css | 53 + .../common/thirdparty/icheck/skins/flat/green.png | Bin 0 -> 1444 bytes .../thirdparty/icheck/skins/flat/green@2x.png | Bin 0 -> 3117 bytes .../common/thirdparty/icheck/skins/flat/grey.css | 53 + .../common/thirdparty/icheck/skins/flat/grey.png | Bin 0 -> 1516 bytes .../thirdparty/icheck/skins/flat/grey@2x.png | Bin 0 -> 3217 bytes .../common/thirdparty/icheck/skins/flat/orange.css | 53 + .../common/thirdparty/icheck/skins/flat/orange.png | Bin 0 -> 1518 bytes .../thirdparty/icheck/skins/flat/orange@2x.png | Bin 0 -> 3275 bytes .../common/thirdparty/icheck/skins/flat/pink.css | 53 + .../common/thirdparty/icheck/skins/flat/pink.png | Bin 0 -> 1522 bytes .../thirdparty/icheck/skins/flat/pink@2x.png | Bin 0 -> 3218 bytes .../common/thirdparty/icheck/skins/flat/purple.css | 53 + .../common/thirdparty/icheck/skins/flat/purple.png | Bin 0 -> 1519 bytes .../thirdparty/icheck/skins/flat/purple@2x.png | Bin 0 -> 3218 bytes .../common/thirdparty/icheck/skins/flat/red.css | 53 + .../common/thirdparty/icheck/skins/flat/red.png | Bin 0 -> 1516 bytes .../common/thirdparty/icheck/skins/flat/red@2x.png | Bin 0 -> 3276 bytes .../common/thirdparty/icheck/skins/flat/yellow.css | 53 + .../common/thirdparty/icheck/skins/flat/yellow.png | Bin 0 -> 1516 bytes .../thirdparty/icheck/skins/flat/yellow@2x.png | Bin 0 -> 3216 bytes .../thirdparty/icheck/skins/futurico/futurico.css | 53 + .../thirdparty/icheck/skins/futurico/futurico.png | Bin 0 -> 1734 bytes .../icheck/skins/futurico/futurico@2x.png | Bin 0 -> 3446 bytes .../common/thirdparty/icheck/skins/line/Thumbs.db | Bin 0 -> 4608 bytes .../common/thirdparty/icheck/skins/line/_all.css | 710 ++ .../common/thirdparty/icheck/skins/line/aero.css | 71 + .../common/thirdparty/icheck/skins/line/blue.css | 71 + .../common/thirdparty/icheck/skins/line/green.css | 71 + .../common/thirdparty/icheck/skins/line/grey.css | 71 + .../common/thirdparty/icheck/skins/line/line.css | 71 + .../common/thirdparty/icheck/skins/line/line.png | Bin 0 -> 588 bytes .../thirdparty/icheck/skins/line/line@2x.png | Bin 0 -> 1073 bytes .../common/thirdparty/icheck/skins/line/orange.css | 71 + .../common/thirdparty/icheck/skins/line/pink.css | 71 + .../common/thirdparty/icheck/skins/line/purple.css | 71 + .../common/thirdparty/icheck/skins/line/red.css | 71 + .../common/thirdparty/icheck/skins/line/yellow.css | 71 + .../thirdparty/icheck/skins/minimal/_all.css | 590 ++ .../thirdparty/icheck/skins/minimal/aero.css | 59 + .../thirdparty/icheck/skins/minimal/aero.png | Bin 0 -> 1151 bytes .../thirdparty/icheck/skins/minimal/aero@2x.png | Bin 0 -> 1409 bytes .../thirdparty/icheck/skins/minimal/blue.css | 59 + .../thirdparty/icheck/skins/minimal/blue.png | Bin 0 -> 1132 bytes .../thirdparty/icheck/skins/minimal/blue@2x.png | Bin 0 -> 1410 bytes .../thirdparty/icheck/skins/minimal/green.css | 59 + .../thirdparty/icheck/skins/minimal/green.png | Bin 0 -> 1143 bytes .../thirdparty/icheck/skins/minimal/green@2x.png | Bin 0 -> 1408 bytes .../thirdparty/icheck/skins/minimal/grey.css | 59 + .../thirdparty/icheck/skins/minimal/grey.png | Bin 0 -> 1142 bytes .../thirdparty/icheck/skins/minimal/grey@2x.png | Bin 0 -> 1407 bytes .../thirdparty/icheck/skins/minimal/minimal.css | 59 + .../thirdparty/icheck/skins/minimal/minimal.png | Bin 0 -> 1114 bytes .../thirdparty/icheck/skins/minimal/minimal@2x.png | Bin 0 -> 1410 bytes .../thirdparty/icheck/skins/minimal/orange.css | 59 + .../thirdparty/icheck/skins/minimal/orange.png | Bin 0 -> 1139 bytes .../thirdparty/icheck/skins/minimal/orange@2x.png | Bin 0 -> 1407 bytes .../thirdparty/icheck/skins/minimal/pink.css | 59 + .../thirdparty/icheck/skins/minimal/pink.png | Bin 0 -> 1150 bytes .../thirdparty/icheck/skins/minimal/pink@2x.png | Bin 0 -> 1409 bytes .../thirdparty/icheck/skins/minimal/purple.css | 59 + .../thirdparty/icheck/skins/minimal/purple.png | Bin 0 -> 1132 bytes .../thirdparty/icheck/skins/minimal/purple@2x.png | Bin 0 -> 1409 bytes .../common/thirdparty/icheck/skins/minimal/red.css | 59 + .../common/thirdparty/icheck/skins/minimal/red.png | Bin 0 -> 1130 bytes .../thirdparty/icheck/skins/minimal/red@2x.png | Bin 0 -> 1410 bytes .../thirdparty/icheck/skins/minimal/yellow.css | 59 + .../thirdparty/icheck/skins/minimal/yellow.png | Bin 0 -> 1135 bytes .../thirdparty/icheck/skins/minimal/yellow@2x.png | Bin 0 -> 1406 bytes .../thirdparty/icheck/skins/polaris/polaris.css | 59 + .../thirdparty/icheck/skins/polaris/polaris.png | Bin 0 -> 6401 bytes .../thirdparty/icheck/skins/polaris/polaris@2x.png | Bin 0 -> 32768 bytes .../thirdparty/icheck/skins/square/Thumbs.db | Bin 0 -> 32768 bytes .../common/thirdparty/icheck/skins/square/_all.css | 590 ++ .../common/thirdparty/icheck/skins/square/aero.css | 59 + .../common/thirdparty/icheck/skins/square/aero.png | Bin 0 -> 4436 bytes .../thirdparty/icheck/skins/square/aero@2x.png | Bin 0 -> 4455 bytes .../common/thirdparty/icheck/skins/square/blue.css | 59 + .../common/thirdparty/icheck/skins/square/blue.png | Bin 0 -> 2185 bytes .../thirdparty/icheck/skins/square/blue@2x.png | Bin 0 -> 4485 bytes .../thirdparty/icheck/skins/square/green.css | 59 + .../thirdparty/icheck/skins/square/green.png | Bin 0 -> 2193 bytes .../thirdparty/icheck/skins/square/green@2x.png | Bin 0 -> 4498 bytes .../common/thirdparty/icheck/skins/square/grey.css | 59 + .../common/thirdparty/icheck/skins/square/grey.png | Bin 0 -> 2186 bytes .../thirdparty/icheck/skins/square/grey@2x.png | Bin 0 -> 4483 bytes .../thirdparty/icheck/skins/square/orange.css | 59 + .../thirdparty/icheck/skins/square/orange.png | Bin 0 -> 2181 bytes .../thirdparty/icheck/skins/square/orange@2x.png | Bin 0 -> 4474 bytes .../common/thirdparty/icheck/skins/square/pink.css | 59 + .../common/thirdparty/icheck/skins/square/pink.png | Bin 0 -> 2189 bytes .../thirdparty/icheck/skins/square/pink@2x.png | Bin 0 -> 4479 bytes .../thirdparty/icheck/skins/square/purple.css | 59 + .../thirdparty/icheck/skins/square/purple.png | Bin 0 -> 2188 bytes .../thirdparty/icheck/skins/square/purple@2x.png | Bin 0 -> 4501 bytes .../common/thirdparty/icheck/skins/square/red.css | 59 + .../common/thirdparty/icheck/skins/square/red.png | Bin 0 -> 2190 bytes .../thirdparty/icheck/skins/square/red@2x.png | Bin 0 -> 4490 bytes .../thirdparty/icheck/skins/square/square.css | 59 + .../thirdparty/icheck/skins/square/square.png | Bin 0 -> 2175 bytes .../thirdparty/icheck/skins/square/square@2x.png | Bin 0 -> 4478 bytes .../thirdparty/icheck/skins/square/yellow.css | 59 + .../thirdparty/icheck/skins/square/yellow.png | Bin 0 -> 2131 bytes .../thirdparty/icheck/skins/square/yellow@2x.png | Bin 0 -> 4385 bytes .../webapp/common/thirdparty/zTree/api/API_cn.html | 103 + .../webapp/common/thirdparty/zTree/api/API_en.html | 102 + .../common/thirdparty/zTree/api/apiCss/api.js | 592 ++ .../common/thirdparty/zTree/api/apiCss/common.css | 219 + .../thirdparty/zTree/api/apiCss/common_ie6.css | 23 + .../thirdparty/zTree/api/apiCss/img/apiMenu.gif | Bin 0 -> 1736 bytes .../thirdparty/zTree/api/apiCss/img/apiMenu.png | Bin 0 -> 3954 bytes .../thirdparty/zTree/api/apiCss/img/background.jpg | Bin 0 -> 36520 bytes .../thirdparty/zTree/api/apiCss/img/chinese.png | Bin 0 -> 1556 bytes .../thirdparty/zTree/api/apiCss/img/close.png | Bin 0 -> 1908 bytes .../thirdparty/zTree/api/apiCss/img/contact-bg.png | Bin 0 -> 177 bytes .../thirdparty/zTree/api/apiCss/img/english.png | Bin 0 -> 1356 bytes .../thirdparty/zTree/api/apiCss/img/header-bg.png | Bin 0 -> 148 bytes .../thirdparty/zTree/api/apiCss/img/lightbulb.png | Bin 0 -> 27355 bytes .../zTree/api/apiCss/img/overlay_arrow.gif | Bin 0 -> 625 bytes .../zTree/api/apiCss/img/overlay_arrow.png | Bin 0 -> 830 bytes .../thirdparty/zTree/api/apiCss/img/overlay_bg.png | Bin 0 -> 109 bytes .../zTree/api/apiCss/img/overlay_close_IE6.gif | Bin 0 -> 441 bytes .../zTree/api/apiCss/img/zTreeStandard.gif | Bin 0 -> 6851 bytes .../zTree/api/apiCss/img/zTreeStandard.png | Bin 0 -> 12573 bytes .../zTree/api/apiCss/jquery-1.6.2.min.js | 18 + .../zTree/api/apiCss/jquery.ztree.core-3.5.js | 69 + .../zTree/api/apiCss/zTreeStyleForApi.css | 49 + .../thirdparty/zTree/api/cn/fn.zTree._z.html | 13 + .../thirdparty/zTree/api/cn/fn.zTree.destroy.html | 28 + .../zTree/api/cn/fn.zTree.getZTreeObj.html | 24 + .../thirdparty/zTree/api/cn/fn.zTree.init.html | 74 + .../zTree/api/cn/setting.async.autoParam.html | 39 + .../zTree/api/cn/setting.async.contentType.html | 29 + .../zTree/api/cn/setting.async.dataFilter.html | 45 + .../zTree/api/cn/setting.async.dataType.html | 29 + .../zTree/api/cn/setting.async.enable.html | 30 + .../zTree/api/cn/setting.async.otherParam.html | 40 + .../zTree/api/cn/setting.async.type.html | 30 + .../thirdparty/zTree/api/cn/setting.async.url.html | 50 + .../zTree/api/cn/setting.callback.beforeAsync.html | 35 + .../zTree/api/cn/setting.callback.beforeCheck.html | 34 + .../zTree/api/cn/setting.callback.beforeClick.html | 49 + .../api/cn/setting.callback.beforeCollapse.html | 34 + .../api/cn/setting.callback.beforeDblClick.html | 36 + .../zTree/api/cn/setting.callback.beforeDrag.html | 39 + .../api/cn/setting.callback.beforeDragOpen.html | 37 + .../zTree/api/cn/setting.callback.beforeDrop.html | 48 + .../api/cn/setting.callback.beforeEditName.html | 38 + .../api/cn/setting.callback.beforeExpand.html | 34 + .../api/cn/setting.callback.beforeMouseDown.html | 35 + .../api/cn/setting.callback.beforeMouseUp.html | 35 + .../api/cn/setting.callback.beforeRemove.html | 37 + .../api/cn/setting.callback.beforeRename.html | 46 + .../api/cn/setting.callback.beforeRightClick.html | 35 + .../api/cn/setting.callback.onAsyncError.html | 42 + .../api/cn/setting.callback.onAsyncSuccess.html | 38 + .../zTree/api/cn/setting.callback.onCheck.html | 34 + .../zTree/api/cn/setting.callback.onClick.html | 49 + .../zTree/api/cn/setting.callback.onCollapse.html | 34 + .../zTree/api/cn/setting.callback.onDblClick.html | 35 + .../zTree/api/cn/setting.callback.onDrag.html | 34 + .../zTree/api/cn/setting.callback.onDragMove.html | 34 + .../zTree/api/cn/setting.callback.onDrop.html | 46 + .../zTree/api/cn/setting.callback.onExpand.html | 34 + .../zTree/api/cn/setting.callback.onMouseDown.html | 35 + .../zTree/api/cn/setting.callback.onMouseUp.html | 35 + .../api/cn/setting.callback.onNodeCreated.html | 35 + .../zTree/api/cn/setting.callback.onRemove.html | 34 + .../zTree/api/cn/setting.callback.onRename.html | 40 + .../api/cn/setting.callback.onRightClick.html | 36 + .../api/cn/setting.check.autoCheckTrigger.html | 28 + .../api/cn/setting.check.chkDisabledInherit.html | 28 + .../zTree/api/cn/setting.check.chkStyle.html | 48 + .../zTree/api/cn/setting.check.chkboxType.html | 31 + .../zTree/api/cn/setting.check.enable.html | 25 + .../zTree/api/cn/setting.check.nocheckInherit.html | 28 + .../zTree/api/cn/setting.check.radioType.html | 29 + .../zTree/api/cn/setting.data.keep.leaf.html | 28 + .../zTree/api/cn/setting.data.keep.parent.html | 28 + .../zTree/api/cn/setting.data.key.checked.html | 24 + .../zTree/api/cn/setting.data.key.children.html | 23 + .../zTree/api/cn/setting.data.key.name.html | 23 + .../zTree/api/cn/setting.data.key.title.html | 24 + .../zTree/api/cn/setting.data.key.url.html | 24 + .../api/cn/setting.data.simpleData.enable.html | 38 + .../api/cn/setting.data.simpleData.idKey.html | 32 + .../api/cn/setting.data.simpleData.pIdKey.html | 32 + .../api/cn/setting.data.simpleData.rootPId.html | 32 + .../cn/setting.edit.drag.autoExpandTrigger.html | 28 + .../api/cn/setting.edit.drag.autoOpenTime.html | 25 + .../zTree/api/cn/setting.edit.drag.borderMax.html | 25 + .../zTree/api/cn/setting.edit.drag.borderMin.html | 25 + .../zTree/api/cn/setting.edit.drag.inner.html | 59 + .../zTree/api/cn/setting.edit.drag.isCopy.html | 32 + .../zTree/api/cn/setting.edit.drag.isMove.html | 32 + .../api/cn/setting.edit.drag.maxShowNodeNum.html | 25 + .../api/cn/setting.edit.drag.minMoveSize.html | 25 + .../zTree/api/cn/setting.edit.drag.next.html | 58 + .../zTree/api/cn/setting.edit.drag.prev.html | 58 + .../api/cn/setting.edit.editNameSelectAll.html | 27 + .../zTree/api/cn/setting.edit.enable.html | 38 + .../zTree/api/cn/setting.edit.removeTitle.html | 48 + .../zTree/api/cn/setting.edit.renameTitle.html | 48 + .../zTree/api/cn/setting.edit.showRemoveBtn.html | 49 + .../zTree/api/cn/setting.edit.showRenameBtn.html | 51 + .../thirdparty/zTree/api/cn/setting.treeId.html | 14 + .../thirdparty/zTree/api/cn/setting.treeObj.html | 14 + .../zTree/api/cn/setting.view.addDiyDom.html | 40 + .../zTree/api/cn/setting.view.addHoverDom.html | 45 + .../api/cn/setting.view.autoCancelSelected.html | 26 + .../zTree/api/cn/setting.view.dblClickExpand.html | 44 + .../zTree/api/cn/setting.view.expandSpeed.html | 31 + .../zTree/api/cn/setting.view.fontCss.html | 42 + .../zTree/api/cn/setting.view.nameIsHTML.html | 27 + .../zTree/api/cn/setting.view.removeHoverDom.html | 45 + .../zTree/api/cn/setting.view.selectedMulti.html | 27 + .../zTree/api/cn/setting.view.showIcon.html | 44 + .../zTree/api/cn/setting.view.showLine.html | 25 + .../zTree/api/cn/setting.view.showTitle.html | 46 + .../api/cn/setting.view.txtSelectedEnable.html | 25 + .../zTree/api/cn/treeNode.check_Child_State.html | 43 + .../zTree/api/cn/treeNode.check_Focus.html | 19 + .../thirdparty/zTree/api/cn/treeNode.checked.html | 32 + .../zTree/api/cn/treeNode.checkedOld.html | 25 + .../thirdparty/zTree/api/cn/treeNode.children.html | 35 + .../zTree/api/cn/treeNode.chkDisabled.html | 28 + .../thirdparty/zTree/api/cn/treeNode.click.html | 24 + .../thirdparty/zTree/api/cn/treeNode.diy.html | 15 + .../zTree/api/cn/treeNode.editNameFlag.html | 19 + .../zTree/api/cn/treeNode.getCheckStatus.html | 63 + .../zTree/api/cn/treeNode.getNextNode.html | 27 + .../zTree/api/cn/treeNode.getParentNode.html | 27 + .../zTree/api/cn/treeNode.getPreNode.html | 27 + .../zTree/api/cn/treeNode.halfCheck.html | 29 + .../thirdparty/zTree/api/cn/treeNode.icon.html | 33 + .../zTree/api/cn/treeNode.iconClose.html | 33 + .../thirdparty/zTree/api/cn/treeNode.iconOpen.html | 33 + .../thirdparty/zTree/api/cn/treeNode.iconSkin.html | 43 + .../zTree/api/cn/treeNode.isAjaxing.html | 26 + .../zTree/api/cn/treeNode.isFirstNode.html | 28 + .../thirdparty/zTree/api/cn/treeNode.isHidden.html | 27 + .../thirdparty/zTree/api/cn/treeNode.isHover.html | 19 + .../zTree/api/cn/treeNode.isLastNode.html | 28 + .../thirdparty/zTree/api/cn/treeNode.isParent.html | 28 + .../thirdparty/zTree/api/cn/treeNode.level.html | 25 + .../thirdparty/zTree/api/cn/treeNode.name.html | 25 + .../thirdparty/zTree/api/cn/treeNode.nocheck.html | 26 + .../thirdparty/zTree/api/cn/treeNode.open.html | 30 + .../zTree/api/cn/treeNode.parentTId.html | 27 + .../thirdparty/zTree/api/cn/treeNode.tId.html | 25 + .../thirdparty/zTree/api/cn/treeNode.target.html | 24 + .../thirdparty/zTree/api/cn/treeNode.url.html | 25 + .../thirdparty/zTree/api/cn/treeNode.zAsync.html | 28 + .../thirdparty/zTree/api/cn/zTreeObj.addNodes.html | 42 + .../zTree/api/cn/zTreeObj.cancelEditName.html | 30 + .../zTree/api/cn/zTreeObj.cancelSelectedNode.html | 35 + .../zTree/api/cn/zTreeObj.checkAllNodes.html | 29 + .../zTree/api/cn/zTreeObj.checkNode.html | 44 + .../thirdparty/zTree/api/cn/zTreeObj.copyNode.html | 44 + .../thirdparty/zTree/api/cn/zTreeObj.destroy.html | 25 + .../thirdparty/zTree/api/cn/zTreeObj.editName.html | 29 + .../zTree/api/cn/zTreeObj.expandAll.html | 30 + .../zTree/api/cn/zTreeObj.expandNode.html | 50 + .../api/cn/zTreeObj.getChangeCheckedNodes.html | 24 + .../zTree/api/cn/zTreeObj.getCheckedNodes.html | 28 + .../zTree/api/cn/zTreeObj.getNodeByParam.html | 32 + .../zTree/api/cn/zTreeObj.getNodeByTId.html | 27 + .../zTree/api/cn/zTreeObj.getNodeIndex.html | 30 + .../thirdparty/zTree/api/cn/zTreeObj.getNodes.html | 26 + .../zTree/api/cn/zTreeObj.getNodesByFilter.html | 43 + .../zTree/api/cn/zTreeObj.getNodesByParam.html | 31 + .../api/cn/zTreeObj.getNodesByParamFuzzy.html | 32 + .../zTree/api/cn/zTreeObj.getSelectedNodes.html | 23 + .../thirdparty/zTree/api/cn/zTreeObj.hideNode.html | 29 + .../zTree/api/cn/zTreeObj.hideNodes.html | 29 + .../thirdparty/zTree/api/cn/zTreeObj.moveNode.html | 46 + .../zTree/api/cn/zTreeObj.reAsyncChildNodes.html | 42 + .../thirdparty/zTree/api/cn/zTreeObj.refresh.html | 24 + .../zTree/api/cn/zTreeObj.removeChildNodes.html | 32 + .../zTree/api/cn/zTreeObj.removeNode.html | 34 + .../zTree/api/cn/zTreeObj.selectNode.html | 34 + .../zTree/api/cn/zTreeObj.setChkDisabled.html | 44 + .../zTree/api/cn/zTreeObj.setEditable.html | 27 + .../thirdparty/zTree/api/cn/zTreeObj.setting.html | 13 + .../thirdparty/zTree/api/cn/zTreeObj.showNode.html | 31 + .../zTree/api/cn/zTreeObj.showNodes.html | 29 + .../zTree/api/cn/zTreeObj.transformToArray.html | 25 + .../api/cn/zTreeObj.transformTozTreeNodes.html | 43 + .../zTree/api/cn/zTreeObj.updateNode.html | 37 + .../thirdparty/zTree/api/en/fn.zTree._z.html | 13 + .../thirdparty/zTree/api/en/fn.zTree.destroy.html | 28 + .../zTree/api/en/fn.zTree.getZTreeObj.html | 25 + .../thirdparty/zTree/api/en/fn.zTree.init.html | 75 + .../zTree/api/en/setting.async.autoParam.html | 39 + .../zTree/api/en/setting.async.contentType.html | 29 + .../zTree/api/en/setting.async.dataFilter.html | 45 + .../zTree/api/en/setting.async.dataType.html | 29 + .../zTree/api/en/setting.async.enable.html | 30 + .../zTree/api/en/setting.async.otherParam.html | 40 + .../zTree/api/en/setting.async.type.html | 30 + .../thirdparty/zTree/api/en/setting.async.url.html | 50 + .../zTree/api/en/setting.callback.beforeAsync.html | 35 + .../zTree/api/en/setting.callback.beforeCheck.html | 34 + .../zTree/api/en/setting.callback.beforeClick.html | 49 + .../api/en/setting.callback.beforeCollapse.html | 34 + .../api/en/setting.callback.beforeDblClick.html | 36 + .../zTree/api/en/setting.callback.beforeDrag.html | 39 + .../api/en/setting.callback.beforeDragOpen.html | 37 + .../zTree/api/en/setting.callback.beforeDrop.html | 50 + .../api/en/setting.callback.beforeEditName.html | 38 + .../api/en/setting.callback.beforeExpand.html | 34 + .../api/en/setting.callback.beforeMouseDown.html | 35 + .../api/en/setting.callback.beforeMouseUp.html | 35 + .../api/en/setting.callback.beforeRemove.html | 37 + .../api/en/setting.callback.beforeRename.html | 46 + .../api/en/setting.callback.beforeRightClick.html | 35 + .../api/en/setting.callback.onAsyncError.html | 42 + .../api/en/setting.callback.onAsyncSuccess.html | 38 + .../zTree/api/en/setting.callback.onCheck.html | 34 + .../zTree/api/en/setting.callback.onClick.html | 49 + .../zTree/api/en/setting.callback.onCollapse.html | 34 + .../zTree/api/en/setting.callback.onDblClick.html | 35 + .../zTree/api/en/setting.callback.onDrag.html | 34 + .../zTree/api/en/setting.callback.onDragMove.html | 34 + .../zTree/api/en/setting.callback.onDrop.html | 48 + .../zTree/api/en/setting.callback.onExpand.html | 34 + .../zTree/api/en/setting.callback.onMouseDown.html | 35 + .../zTree/api/en/setting.callback.onMouseUp.html | 35 + .../api/en/setting.callback.onNodeCreated.html | 35 + .../zTree/api/en/setting.callback.onRemove.html | 34 + .../zTree/api/en/setting.callback.onRename.html | 40 + .../api/en/setting.callback.onRightClick.html | 36 + .../api/en/setting.check.autoCheckTrigger.html | 29 + .../api/en/setting.check.chkDisabledInherit.html | 28 + .../zTree/api/en/setting.check.chkStyle.html | 48 + .../zTree/api/en/setting.check.chkboxType.html | 31 + .../zTree/api/en/setting.check.enable.html | 26 + .../zTree/api/en/setting.check.nocheckInherit.html | 28 + .../zTree/api/en/setting.check.radioType.html | 29 + .../zTree/api/en/setting.data.keep.leaf.html | 28 + .../zTree/api/en/setting.data.keep.parent.html | 28 + .../zTree/api/en/setting.data.key.checked.html | 24 + .../zTree/api/en/setting.data.key.children.html | 23 + .../zTree/api/en/setting.data.key.name.html | 23 + .../zTree/api/en/setting.data.key.title.html | 24 + .../zTree/api/en/setting.data.key.url.html | 24 + .../api/en/setting.data.simpleData.enable.html | 39 + .../api/en/setting.data.simpleData.idKey.html | 32 + .../api/en/setting.data.simpleData.pIdKey.html | 32 + .../api/en/setting.data.simpleData.rootPId.html | 32 + .../en/setting.edit.drag.autoExpandTrigger.html | 29 + .../api/en/setting.edit.drag.autoOpenTime.html | 25 + .../zTree/api/en/setting.edit.drag.borderMax.html | 25 + .../zTree/api/en/setting.edit.drag.borderMin.html | 25 + .../zTree/api/en/setting.edit.drag.inner.html | 60 + .../zTree/api/en/setting.edit.drag.isCopy.html | 32 + .../zTree/api/en/setting.edit.drag.isMove.html | 32 + .../api/en/setting.edit.drag.maxShowNodeNum.html | 25 + .../api/en/setting.edit.drag.minMoveSize.html | 25 + .../zTree/api/en/setting.edit.drag.next.html | 59 + .../zTree/api/en/setting.edit.drag.prev.html | 59 + .../api/en/setting.edit.editNameSelectAll.html | 27 + .../zTree/api/en/setting.edit.enable.html | 39 + .../zTree/api/en/setting.edit.removeTitle.html | 48 + .../zTree/api/en/setting.edit.renameTitle.html | 48 + .../zTree/api/en/setting.edit.showRemoveBtn.html | 50 + .../zTree/api/en/setting.edit.showRenameBtn.html | 52 + .../thirdparty/zTree/api/en/setting.treeId.html | 14 + .../thirdparty/zTree/api/en/setting.treeObj.html | 14 + .../zTree/api/en/setting.view.addDiyDom.html | 40 + .../zTree/api/en/setting.view.addHoverDom.html | 45 + .../api/en/setting.view.autoCancelSelected.html | 27 + .../zTree/api/en/setting.view.dblClickExpand.html | 45 + .../zTree/api/en/setting.view.expandSpeed.html | 31 + .../zTree/api/en/setting.view.fontCss.html | 42 + .../zTree/api/en/setting.view.nameIsHTML.html | 28 + .../zTree/api/en/setting.view.removeHoverDom.html | 45 + .../zTree/api/en/setting.view.selectedMulti.html | 28 + .../zTree/api/en/setting.view.showIcon.html | 45 + .../zTree/api/en/setting.view.showLine.html | 26 + .../zTree/api/en/setting.view.showTitle.html | 47 + .../api/en/setting.view.txtSelectedEnable.html | 26 + .../zTree/api/en/treeNode.check_Child_State.html | 43 + .../zTree/api/en/treeNode.check_Focus.html | 19 + .../thirdparty/zTree/api/en/treeNode.checked.html | 32 + .../zTree/api/en/treeNode.checkedOld.html | 25 + .../thirdparty/zTree/api/en/treeNode.children.html | 35 + .../zTree/api/en/treeNode.chkDisabled.html | 28 + .../thirdparty/zTree/api/en/treeNode.click.html | 24 + .../thirdparty/zTree/api/en/treeNode.diy.html | 15 + .../zTree/api/en/treeNode.editNameFlag.html | 19 + .../zTree/api/en/treeNode.getCheckStatus.html | 63 + .../zTree/api/en/treeNode.getNextNode.html | 27 + .../zTree/api/en/treeNode.getParentNode.html | 27 + .../zTree/api/en/treeNode.getPreNode.html | 27 + .../zTree/api/en/treeNode.halfCheck.html | 29 + .../thirdparty/zTree/api/en/treeNode.icon.html | 33 + .../zTree/api/en/treeNode.iconClose.html | 33 + .../thirdparty/zTree/api/en/treeNode.iconOpen.html | 33 + .../thirdparty/zTree/api/en/treeNode.iconSkin.html | 43 + .../zTree/api/en/treeNode.isAjaxing.html | 26 + .../zTree/api/en/treeNode.isFirstNode.html | 28 + .../thirdparty/zTree/api/en/treeNode.isHidden.html | 28 + .../thirdparty/zTree/api/en/treeNode.isHover.html | 19 + .../zTree/api/en/treeNode.isLastNode.html | 28 + .../thirdparty/zTree/api/en/treeNode.isParent.html | 28 + .../thirdparty/zTree/api/en/treeNode.level.html | 25 + .../thirdparty/zTree/api/en/treeNode.name.html | 25 + .../thirdparty/zTree/api/en/treeNode.nocheck.html | 26 + .../thirdparty/zTree/api/en/treeNode.open.html | 30 + .../zTree/api/en/treeNode.parentTId.html | 27 + .../thirdparty/zTree/api/en/treeNode.tId.html | 25 + .../thirdparty/zTree/api/en/treeNode.target.html | 24 + .../thirdparty/zTree/api/en/treeNode.url.html | 25 + .../thirdparty/zTree/api/en/treeNode.zAsync.html | 28 + .../thirdparty/zTree/api/en/zTreeObj.addNodes.html | 42 + .../zTree/api/en/zTreeObj.cancelEditName.html | 30 + .../zTree/api/en/zTreeObj.cancelSelectedNode.html | 35 + .../zTree/api/en/zTreeObj.checkAllNodes.html | 29 + .../zTree/api/en/zTreeObj.checkNode.html | 44 + .../thirdparty/zTree/api/en/zTreeObj.copyNode.html | 47 + .../thirdparty/zTree/api/en/zTreeObj.destroy.html | 25 + .../thirdparty/zTree/api/en/zTreeObj.editName.html | 29 + .../zTree/api/en/zTreeObj.expandAll.html | 30 + .../zTree/api/en/zTreeObj.expandNode.html | 50 + .../api/en/zTreeObj.getChangeCheckedNodes.html | 24 + .../zTree/api/en/zTreeObj.getCheckedNodes.html | 28 + .../zTree/api/en/zTreeObj.getNodeByParam.html | 32 + .../zTree/api/en/zTreeObj.getNodeByTId.html | 27 + .../zTree/api/en/zTreeObj.getNodeIndex.html | 30 + .../thirdparty/zTree/api/en/zTreeObj.getNodes.html | 26 + .../zTree/api/en/zTreeObj.getNodesByFilter.html | 43 + .../zTree/api/en/zTreeObj.getNodesByParam.html | 31 + .../api/en/zTreeObj.getNodesByParamFuzzy.html | 32 + .../zTree/api/en/zTreeObj.getSelectedNodes.html | 23 + .../thirdparty/zTree/api/en/zTreeObj.hideNode.html | 29 + .../zTree/api/en/zTreeObj.hideNodes.html | 29 + .../thirdparty/zTree/api/en/zTreeObj.moveNode.html | 49 + .../zTree/api/en/zTreeObj.reAsyncChildNodes.html | 42 + .../thirdparty/zTree/api/en/zTreeObj.refresh.html | 24 + .../zTree/api/en/zTreeObj.removeChildNodes.html | 32 + .../zTree/api/en/zTreeObj.removeNode.html | 34 + .../zTree/api/en/zTreeObj.selectNode.html | 34 + .../zTree/api/en/zTreeObj.setChkDisabled.html | 44 + .../zTree/api/en/zTreeObj.setEditable.html | 27 + .../thirdparty/zTree/api/en/zTreeObj.setting.html | 14 + .../thirdparty/zTree/api/en/zTreeObj.showNode.html | 31 + .../zTree/api/en/zTreeObj.showNodes.html | 29 + .../zTree/api/en/zTreeObj.transformToArray.html | 27 + .../api/en/zTreeObj.transformTozTreeNodes.html | 44 + .../zTree/api/en/zTreeObj.updateNode.html | 37 + .../webapp/common/thirdparty/zTree/css/demo.css | 33 + .../thirdparty/zTree/css/zTreeStyle/ReadMe.txt | 1 + .../thirdparty/zTree/css/zTreeStyle/img/Thumbs.db | Bin 0 -> 23552 bytes .../zTree/css/zTreeStyle/img/diy/1_close.png | Bin 0 -> 601 bytes .../zTree/css/zTreeStyle/img/diy/1_open.png | Bin 0 -> 580 bytes .../thirdparty/zTree/css/zTreeStyle/img/diy/2.png | Bin 0 -> 570 bytes .../thirdparty/zTree/css/zTreeStyle/img/diy/3.png | Bin 0 -> 762 bytes .../thirdparty/zTree/css/zTreeStyle/img/diy/4.png | Bin 0 -> 399 bytes .../thirdparty/zTree/css/zTreeStyle/img/diy/5.png | Bin 0 -> 710 bytes .../thirdparty/zTree/css/zTreeStyle/img/diy/6.png | Bin 0 -> 432 bytes .../thirdparty/zTree/css/zTreeStyle/img/diy/7.png | Bin 0 -> 534 bytes .../thirdparty/zTree/css/zTreeStyle/img/diy/8.png | Bin 0 -> 529 bytes .../thirdparty/zTree/css/zTreeStyle/img/diy/9.png | Bin 0 -> 467 bytes .../zTree/css/zTreeStyle/img/diy/Thumbs.db | Bin 0 -> 19968 bytes .../zTree/css/zTreeStyle/img/line_conn.gif | Bin 0 -> 45 bytes .../zTree/css/zTreeStyle/img/loading.gif | Bin 0 -> 381 bytes .../zTree/css/zTreeStyle/img/zTreeStandard.gif | Bin 0 -> 5564 bytes .../zTree/css/zTreeStyle/img/zTreeStandard.gifbak | Bin 0 -> 5564 bytes .../zTree/css/zTreeStyle/img/zTreeStandard.png | Bin 0 -> 11206 bytes .../zTree/css/zTreeStyle/img/zTreeStandard.pngbak | Bin 0 -> 11173 bytes .../zTree/css/zTreeStyle/img/zTreeStandard.psd | Bin 0 -> 93494 bytes .../thirdparty/zTree/css/zTreeStyle/zTreeStyle.css | 107 + .../common/thirdparty/zTree/js/jquery.ztree.all.js | 3506 ++++++++ .../thirdparty/zTree/js/jquery.ztree.all.min.js | 160 + .../thirdparty/zTree/js/jquery.ztree.core.js | 1684 ++++ .../thirdparty/zTree/js/jquery.ztree.core.min.js | 69 + .../thirdparty/zTree/js/jquery.ztree.excheck.js | 629 ++ .../zTree/js/jquery.ztree.excheck.min.js | 34 + .../thirdparty/zTree/js/jquery.ztree.exedit.js | 1191 +++ .../thirdparty/zTree/js/jquery.ztree.exedit.min.js | 53 + .../thirdparty/zTree/js/jquery.ztree.exhide.js | 363 + .../thirdparty/zTree/js/jquery.ztree.exhide.min.js | 22 + .../common/thirdparty/zTree/zTree.v3.jquery.json | 35 + 540 files changed, 51055 insertions(+), 3905 deletions(-) create mode 100644 openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/Read Me.txt create mode 100644 openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo-files/demo.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo-files/demo.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.eot create mode 100644 openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.svg create mode 100644 openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.ttf create mode 100644 openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.woff create mode 100644 openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/selection.json create mode 100644 openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/style.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/bower.json create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/Thumbs.db create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/banner.jpg create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/custom.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/custom.styl create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/icheck.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/arrow-bottom.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/arrow-top.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/header-line.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-fork.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-github.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-lab.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-options.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-star.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/montserrat-bold.eot create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/montserrat-bold.svg create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/montserrat-bold.ttf create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/montserrat-bold.woff create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/montserrat-regular.eot create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/montserrat-regular.svg create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/montserrat-regular.ttf create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/montserrat-regular.woff create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/normalize.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/index.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/js/custom.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/js/custom.min.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/js/jquery.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/js/zepto.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/icheck.jquery.json create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/icheck.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/icheck.min.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/all.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/_all.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/aero.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/aero.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/aero@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/blue.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/blue.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/blue@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/flat.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/flat.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/flat@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/grey.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/grey.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/grey@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/orange.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/orange.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/orange@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/pink.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/pink.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/pink@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/purple.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/purple.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/purple@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/red.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/red.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/red@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/yellow.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/yellow.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/yellow@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/futurico/futurico.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/futurico/futurico.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/futurico/futurico@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/Thumbs.db create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/_all.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/aero.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/blue.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/green.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/grey.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/line.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/line.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/line@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/orange.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/pink.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/purple.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/red.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/yellow.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/_all.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/aero.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/aero.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/aero@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/blue.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/blue.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/blue@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/green.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/green.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/green@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/grey.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/grey.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/grey@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/minimal.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/minimal.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/minimal@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/orange.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/orange.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/orange@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/pink.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/pink.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/pink@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/purple.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/purple.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/purple@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/red.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/red.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/red@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/yellow.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/yellow.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/yellow@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/polaris/polaris.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/polaris/polaris.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/polaris/polaris@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/Thumbs.db create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/_all.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/aero.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/aero.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/aero@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/blue.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/blue.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/blue@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/green.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/green.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/green@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/grey.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/grey.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/grey@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/orange.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/orange.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/orange@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/pink.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/pink.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/pink@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/purple.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/purple.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/purple@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/red.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/red.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/red@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/square.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/square.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/square@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/yellow.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/yellow.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/yellow@2x.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/API_cn.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/API_en.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/api.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/common.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/common_ie6.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/apiMenu.gif create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/apiMenu.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/background.jpg create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/chinese.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/close.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/contact-bg.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/english.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/header-bg.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/lightbulb.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/overlay_arrow.gif create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/overlay_arrow.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/overlay_bg.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/overlay_close_IE6.gif create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/zTreeStandard.gif create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/zTreeStandard.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/jquery-1.6.2.min.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/jquery.ztree.core-3.5.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/zTreeStyleForApi.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/fn.zTree._z.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/fn.zTree.destroy.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/fn.zTree.getZTreeObj.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/fn.zTree.init.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.autoParam.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.contentType.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.dataFilter.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.dataType.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.enable.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.otherParam.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.type.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.url.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeAsync.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeCheck.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeClick.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeCollapse.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeDblClick.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeDrag.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeDragOpen.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeDrop.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeEditName.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeExpand.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeMouseDown.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeMouseUp.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeRemove.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeRename.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeRightClick.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onAsyncError.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onAsyncSuccess.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onCheck.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onClick.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onCollapse.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onDblClick.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onDrag.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onDragMove.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onDrop.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onExpand.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onMouseDown.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onMouseUp.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onNodeCreated.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onRemove.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onRename.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onRightClick.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.autoCheckTrigger.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.chkDisabledInherit.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.chkStyle.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.chkboxType.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.enable.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.nocheckInherit.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.radioType.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.keep.leaf.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.keep.parent.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.checked.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.children.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.name.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.title.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.url.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.simpleData.enable.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.simpleData.idKey.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.simpleData.pIdKey.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.simpleData.rootPId.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.autoExpandTrigger.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.autoOpenTime.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.borderMax.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.borderMin.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.inner.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.isCopy.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.isMove.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.maxShowNodeNum.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.minMoveSize.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.next.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.prev.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.editNameSelectAll.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.enable.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.removeTitle.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.renameTitle.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.showRemoveBtn.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.showRenameBtn.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.treeId.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.treeObj.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.addDiyDom.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.addHoverDom.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.autoCancelSelected.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.dblClickExpand.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.expandSpeed.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.fontCss.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.nameIsHTML.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.removeHoverDom.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.selectedMulti.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.showIcon.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.showLine.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.showTitle.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.txtSelectedEnable.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.check_Child_State.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.check_Focus.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.checked.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.checkedOld.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.children.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.chkDisabled.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.click.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.diy.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.editNameFlag.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.getCheckStatus.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.getNextNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.getParentNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.getPreNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.halfCheck.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.icon.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.iconClose.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.iconOpen.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.iconSkin.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isAjaxing.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isFirstNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isHidden.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isHover.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isLastNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isParent.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.level.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.name.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.nocheck.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.open.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.parentTId.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.tId.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.target.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.url.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.zAsync.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.addNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.cancelEditName.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.cancelSelectedNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.checkAllNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.checkNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.copyNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.destroy.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.editName.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.expandAll.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.expandNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getChangeCheckedNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getCheckedNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodeByParam.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodeByTId.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodeIndex.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodesByFilter.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodesByParam.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodesByParamFuzzy.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getSelectedNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.hideNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.hideNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.moveNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.reAsyncChildNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.refresh.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.removeChildNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.removeNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.selectNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.setChkDisabled.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.setEditable.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.setting.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.showNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.showNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.transformToArray.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.transformTozTreeNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.updateNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/fn.zTree._z.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/fn.zTree.destroy.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/fn.zTree.getZTreeObj.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/fn.zTree.init.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.autoParam.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.contentType.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.dataFilter.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.dataType.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.enable.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.otherParam.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.type.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.url.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeAsync.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeCheck.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeClick.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeCollapse.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeDblClick.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeDrag.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeDragOpen.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeDrop.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeEditName.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeExpand.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeMouseDown.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeMouseUp.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeRemove.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeRename.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeRightClick.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onAsyncError.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onAsyncSuccess.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onCheck.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onClick.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onCollapse.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onDblClick.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onDrag.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onDragMove.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onDrop.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onExpand.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onMouseDown.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onMouseUp.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onNodeCreated.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onRemove.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onRename.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onRightClick.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.autoCheckTrigger.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.chkDisabledInherit.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.chkStyle.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.chkboxType.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.enable.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.nocheckInherit.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.radioType.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.keep.leaf.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.keep.parent.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.checked.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.children.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.name.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.title.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.url.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.simpleData.enable.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.simpleData.idKey.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.simpleData.pIdKey.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.simpleData.rootPId.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.autoExpandTrigger.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.autoOpenTime.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.borderMax.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.borderMin.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.inner.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.isCopy.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.isMove.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.maxShowNodeNum.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.minMoveSize.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.next.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.prev.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.editNameSelectAll.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.enable.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.removeTitle.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.renameTitle.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.showRemoveBtn.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.showRenameBtn.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.treeId.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.treeObj.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.addDiyDom.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.addHoverDom.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.autoCancelSelected.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.dblClickExpand.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.expandSpeed.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.fontCss.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.nameIsHTML.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.removeHoverDom.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.selectedMulti.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.showIcon.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.showLine.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.showTitle.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.txtSelectedEnable.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.check_Child_State.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.check_Focus.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.checked.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.checkedOld.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.children.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.chkDisabled.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.click.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.diy.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.editNameFlag.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.getCheckStatus.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.getNextNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.getParentNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.getPreNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.halfCheck.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.icon.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.iconClose.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.iconOpen.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.iconSkin.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isAjaxing.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isFirstNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isHidden.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isHover.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isLastNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isParent.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.level.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.name.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.nocheck.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.open.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.parentTId.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.tId.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.target.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.url.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.zAsync.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.addNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.cancelEditName.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.cancelSelectedNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.checkAllNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.checkNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.copyNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.destroy.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.editName.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.expandAll.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.expandNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getChangeCheckedNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getCheckedNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodeByParam.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodeByTId.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodeIndex.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodesByFilter.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodesByParam.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodesByParamFuzzy.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getSelectedNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.hideNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.hideNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.moveNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.reAsyncChildNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.refresh.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.removeChildNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.removeNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.selectNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.setChkDisabled.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.setEditable.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.setting.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.showNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.showNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.transformToArray.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.transformTozTreeNodes.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.updateNode.html create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/demo.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/ReadMe.txt create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/Thumbs.db create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/1_close.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/1_open.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/2.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/3.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/4.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/5.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/6.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/7.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/8.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/9.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/Thumbs.db create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/line_conn.gif create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/loading.gif create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.gif create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.gifbak create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.png create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.pngbak create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.psd create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/zTreeStyle.css create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.all.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.all.min.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.core.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.core.min.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.excheck.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.excheck.min.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.exedit.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.exedit.min.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.exhide.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.exhide.min.js create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/zTree.v3.jquery.json (limited to 'openo-portal/portal-common') diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/Read Me.txt b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/Read Me.txt new file mode 100644 index 00000000..8491652f --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/Read Me.txt @@ -0,0 +1,7 @@ +Open *demo.html* to see a list of all the glyphs in your font along with their codes/ligatures. + +To use the generated font in desktop programs, you can install the TTF font. In order to copy the character associated with each icon, refer to the text box at the bottom right corner of each glyph in demo.html. The character inside this text box may be invisible; but it can still be copied. See this guide for more info: https://icomoon.io/#docs/local-fonts + +You won't need any of the files located under the *demo-files* directory when including the generated font in your own projects. + +You can import *selection.json* back to the IcoMoon app using the *Import Icons* button (or via Main Menu → Manage Projects) to retrieve your icon selection. diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo-files/demo.css b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo-files/demo.css new file mode 100644 index 00000000..9b7c293f --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo-files/demo.css @@ -0,0 +1,151 @@ +body { + padding: 0; + margin: 0; + font-family: sans-serif; + font-size: 1em; + line-height: 1.5; + color: #555; + background: #fff; +} +h1 { + font-size: 1.5em; + font-weight: normal; +} +small { + font-size: .66666667em; +} +a { + color: #e74c3c; + text-decoration: none; +} +a:hover, a:focus { + box-shadow: 0 1px #e74c3c; +} +.bshadow0, input { + box-shadow: inset 0 -2px #e7e7e7; +} +input:hover { + box-shadow: inset 0 -2px #ccc; +} +input, fieldset { + font-size: 1em; + margin: 0; + padding: 0; + border: 0; +} +input { + color: inherit; + line-height: 1.5; + height: 1.5em; + padding: .25em 0; +} +input:focus { + outline: none; + box-shadow: inset 0 -2px #449fdb; +} +.glyph { + font-size: 16px; + width: 15em; + padding-bottom: 1em; + margin-right: 4em; + margin-bottom: 1em; + float: left; + overflow: hidden; +} +.liga { + width: 80%; + width: calc(100% - 2.5em); +} +.talign-right { + text-align: right; +} +.talign-center { + text-align: center; +} +.bgc1 { + background: #f1f1f1; +} +.fgc1 { + color: #999; +} +.fgc0 { + color: #000; +} +p { + margin-top: 1em; + margin-bottom: 1em; +} +.mvm { + margin-top: .75em; + margin-bottom: .75em; +} +.mtn { + margin-top: 0; +} +.mtl, .mal { + margin-top: 1.5em; +} +.mbl, .mal { + margin-bottom: 1.5em; +} +.mal, .mhl { + margin-left: 1.5em; + margin-right: 1.5em; +} +.mhmm { + margin-left: 1em; + margin-right: 1em; +} +.mls { + margin-left: .25em; +} +.ptl { + padding-top: 1.5em; +} +.pbs, .pvs { + padding-bottom: .25em; +} +.pvs, .pts { + padding-top: .25em; +} +.unit { + float: left; +} +.unitRight { + float: right; +} +.size1of2 { + width: 50%; +} +.size1of1 { + width: 100%; +} +.clearfix:before, .clearfix:after { + content: " "; + display: table; +} +.clearfix:after { + clear: both; +} +.hidden-true { + display: none; +} +.textbox0 { + width: 3em; + background: #f1f1f1; + padding: .25em .5em; + line-height: 1.5; + height: 1.5em; +} +#testDrive { + display: block; + padding-top: 24px; + line-height: 1.5; +} +.fs0 { + font-size: 16px; +} +.fs1 { + font-size: 16px; +} + diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo-files/demo.js b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo-files/demo.js new file mode 100644 index 00000000..6f45f1c4 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo-files/demo.js @@ -0,0 +1,30 @@ +if (!('boxShadow' in document.body.style)) { + document.body.setAttribute('class', 'noBoxShadow'); +} + +document.body.addEventListener("click", function(e) { + var target = e.target; + if (target.tagName === "INPUT" && + target.getAttribute('class').indexOf('liga') === -1) { + target.select(); + } +}); + +(function() { + var fontSize = document.getElementById('fontSize'), + testDrive = document.getElementById('testDrive'), + testText = document.getElementById('testText'); + function updateTest() { + testDrive.innerHTML = testText.value || String.fromCharCode(160); + if (window.icomoonLiga) { + window.icomoonLiga(testDrive); + } + } + function updateSize() { + testDrive.style.fontSize = fontSize.value + 'px'; + } + fontSize.addEventListener('change', updateSize, false); + testText.addEventListener('input', updateTest, false); + testText.addEventListener('change', updateTest, false); + updateSize(); +}()); diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo.html b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo.html new file mode 100644 index 00000000..4358ee93 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo.html @@ -0,0 +1,4807 @@ + + + + + IcoMoon Demo + + + + + +
+

Font Name: ZteIctIcons (Glyphs: 298)

+
+
+

Grid Size: Unknown

+
+
+ + + + ict-it-other-lenovo +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-router-alu7750 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-nds +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-php +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-glassfish +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-telnet +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-dns +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-url +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-database-mysql +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-ping +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-ftp +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-rest +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-soap +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-macos +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-openbsd +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-debian +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-iis +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-mailserver +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-websphere +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-apache +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-jboss +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-a10bala +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-NFV +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-VNFM +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-VNF +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-VNFC +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-VIM +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-VDU +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-host +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-NS +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-cluster-vcs +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-hpeva +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-zte +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-h3c +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-ibm-blade +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-secfox +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-segw +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-zteatca +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-zteips +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-sdn-controller +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-hpux +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-storage-ops +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-storage-sanswitch-brocade +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-uep-moc-uca-public +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-uep-topo-commongroup20x20 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-vapel_chgpile +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-car +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-chgpile +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-chgposition +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-chgstation +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-common_dc +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-common_ncd +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-common_ncd_break +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-common_sc +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-bind +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-dns +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-ems +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-mediator +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-ntp +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-ota +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-tomcat +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-trend +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-tsm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-weblogic +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-cluster +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-cluster-hacmp +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-cluster-nec +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-cluster-ns +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-cluster-sg +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-database +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-database-mssql +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-database-oracle +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-database-sybase +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-database-sybaseiq +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-dellmd +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-emc +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-eternus +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-fujitsu +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-hds +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-hpaio +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-hpmsa +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-ibm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-ibmsm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-macrosan +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-netapp +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-sun +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-checkpoint +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-cisco +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-cisco2 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-juniper +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-neteye +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-zte +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-ztemf +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-zteutm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-gather +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-ibp +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-ibp-ibp2000 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-net +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-alteon +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-appdirector +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-atca-lb10 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-cisco-ucs +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-dcs +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-delta +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-dp +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-e9000 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-f5bigip +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-f5bigip2 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-gbe2c +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-h3c +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-hpblc +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-imm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-secsis +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-vc +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-ztepower +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-ztesgs +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-zxsdr-nt +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-router +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-router-cisco +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-router-juniper +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-router-zte +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-sdn-host +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-sdn-switch +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-aix +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-klinux +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-redhat +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-solaris +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-suse +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-windows +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-zxve +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-storage +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-storage-cisco-mds +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-storage-md3000 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-storage-netvault +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-storage-sanswitch-zte +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-switch-at +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-switch-cisco +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-switch-h3c +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-switch-juniper +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-switch-zte +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-tapelib-hpmsl +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-tapelib-ibmts +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-tapelib-sunts +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-Virtualnetwork +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-networkTree +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-resourceType +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-tree-icon +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-uep-topo-group20x20 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-uep-topo-root +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-uep-topo-virtual20x20 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-common_ncd_stop +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-netnumen +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-sdn-vnet +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-storage-sanswitch-hp +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-switch +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-uep-moc-root +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-uep-topo-undefinedgroup20x20 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-analysis +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-bindingRelationship +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-browsePolicy +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-businessManagment +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-cardData +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-dailyManagment +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-enterpriseCustomer +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-equipmentBlacklist +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-equipmentModel +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-examine +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-failureList +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-familyCustomer +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-fileTool +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-groupManagment +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-notice +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-policy +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-portal +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-recordQuery +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-resourceManagment +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-ruleManagment +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-sucessRate +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-terminalManagment +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-tools +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-track +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-userManagment +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-versionManagment +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-workOrder +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-cpu +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-memory +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-currentAlarm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-noticeAlarm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-historyAlarm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-close +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-table +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-next +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-pre +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-roleset +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-role +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-user +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-empty +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-noticeFilter +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-alarmTurn +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-advice +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-clearAlarm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-alarmBox +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-afreshDef +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-alarmFilter +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-manAnalysis +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-drill +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-gear +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-process +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-unacknownledge +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-acknownledge +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-Operation +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-cloud +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-computer +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-alarm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-import +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-export +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-Admin +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-allSelected +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-angleRight +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-arrowLeft +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-arrowLeftAll +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-arrowRight +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-arrowRightAll +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-autoFind +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-back +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-ball +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-bell +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-blackList +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-breakLink +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-cancle +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-circle +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-closeTree +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-configmap +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-delete +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-department +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-detail +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-displaySwitch +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-file +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-filter +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-find +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-folder +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-forceOut +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-fullScreen +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-Graphical +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-helpTip +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-hide +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-history +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-launchingTower +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-layout +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-legendhide +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-legendshow +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-link +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-lock +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-ltArrow +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-Magnifier +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-Maintain +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-maximize +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-modify +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-Monitor +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-move +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-new +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-newShortcut +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-openTree +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-poNode +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-print +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-product +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-rbArrow +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-reduction +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-refresh +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-rename +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-save +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-select +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-selectAll +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-selectLeft +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-selectRight +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-show +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-shrink +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-start +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-stop +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-stretch +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-strikeOut +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-Synchronous +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-toRight +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-treefile +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-treeFolder +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-unlock +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-userCompare +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-userDispatch +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-xml +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-zoomIn +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-zoomOut +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-zoomOverView +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-zoomReset +
+
+ + +
+
+ liga: + +
+
+
+ + +
+

Font Test Drive

+ + + +
  +
+
+ +
+

Generated by IcoMoon

+
+ + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.eot b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.eot new file mode 100644 index 00000000..49ae78c1 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.eot differ diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.svg b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.svg new file mode 100644 index 00000000..eb9225f8 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.svg @@ -0,0 +1,308 @@ + + + +Generated by IcoMoon + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.ttf b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.ttf new file mode 100644 index 00000000..e610cb1f Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.ttf differ diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.woff b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.woff new file mode 100644 index 00000000..2e193ba1 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.woff differ diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/selection.json b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/selection.json new file mode 100644 index 00000000..79a56e09 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/selection.json @@ -0,0 +1,8408 @@ +{ + "IcoMoonType": "selection", + "icons": [ + { + "icon": { + "paths": [ + "M820.37 677.303c-13.605 0-24.795 5.193-33.646 15.726-8.85 10.459-13.312 26.331-13.312 47.762 0 21.65 4.389 37.742 13.166 48.128s19.822 15.579 33.134 15.579c13.458 0 24.503-5.12 33.061-15.36 8.631-10.313 13.019-26.697 13.019-49.298 0-21.065-4.389-36.791-13.093-47.177-8.704-10.24-19.456-15.36-32.329-15.36z", + "M888.027 0h-752.055c-75.557 0-135.973 60.416-135.973 135.973v751.982c0 75.703 60.416 136.046 135.973 136.046h751.982c75.703 0 136.046-60.343 136.046-135.973v-752.055c0-75.557-60.343-135.973-135.973-135.973zM107.52 141.385h103.863v253.294h162.085v82.725h-265.947v-336.018zM350.574 831.634c-24.869 23.918-59.173 35.84-103.058 35.84-39.131 0-70.729-9.947-94.866-29.769-29.696-24.576-44.471-56.832-44.471-96.695 0-37.157 12.507-67.73 37.595-91.794s58.953-36.133 101.522-36.133c48.786 0 85.577 14.117 110.519 42.423 19.968 22.821 30.062 50.761 30.062 84.114 0 37.449-12.434 68.096-37.303 92.014zM573.221 861.989h-82.798l-101.23-243.419h97.061l47.25 154.258 49.006-154.258h94.135l-103.424 243.419zM628.517 466.944c-19.895 10.606-48.347 15.945-85.504 15.945-32.183 0-57.563-4.535-76.069-13.678-18.505-8.997-33.792-23.479-46.007-43.301-12.142-19.749-18.213-43.008-18.213-69.778 0-38.107 12.215-68.827 36.571-92.379 24.43-23.552 58.075-35.255 101.010-35.255 34.889 0 62.391 5.266 82.505 15.799 20.187 10.533 35.547 25.819 46.080 45.787 10.606 20.041 15.872 46.080 15.872 78.19v10.533h-187.099c1.682 14.994 5.705 26.185 12.142 33.499 8.997 10.533 20.773 15.799 35.255 15.799 9.216 0 17.92-2.267 26.112-6.875 5.047-2.926 10.533-8.046 16.311-15.36l91.941 8.485c-14.043 24.503-31.013 41.984-50.907 52.59zM922.258 831.634c-24.869 23.918-59.246 35.84-103.058 35.84-39.058 0-70.729-9.947-94.866-29.769-29.623-24.576-44.471-56.832-44.471-96.695 0-37.157 12.581-67.73 37.669-91.794 25.015-24.064 58.88-36.133 101.522-36.133 48.786 0 85.577 14.117 110.519 42.423 19.968 22.821 29.989 50.761 29.989 84.114-0.073 37.449-12.507 68.096-37.303 92.014zM984.942 477.403h-93.696v-133.851c0-15.287-2.853-26.112-8.485-32.402-5.632-6.363-13.605-9.509-23.845-9.509-11.264 0-20.407 4.315-27.502 12.873-7.022 8.558-10.533 23.918-10.533 46.080v116.882h-93.33v-243.493h86.894v39.643c13.019-16.165 26.112-27.721 39.424-34.743s29.477-10.459 48.567-10.459c25.893 0 46.080 7.68 60.635 23.040s21.87 39.058 21.87 71.168v154.77z", + "M575.195 295.424c-7.826-7.753-18.213-11.703-31.013-11.703-14.848 0-26.697 5.851-35.547 17.627-5.632 7.314-9.216 18.286-10.752 32.768h91.941c-1.902-17.993-6.656-30.939-14.629-38.693z", + "M248.686 677.303c-13.605 0-24.869 5.193-33.719 15.726-8.85 10.459-13.312 26.331-13.312 47.762 0 21.65 4.389 37.742 13.166 48.128s19.822 15.579 33.134 15.579c13.458 0 24.43-5.12 33.134-15.36 8.631-10.313 12.946-26.697 12.946-49.298 0-21.065-4.389-36.791-13.093-47.177-8.631-10.24-19.383-15.36-32.256-15.36z" + ], + "attrs": [ + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-lenovo" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 4, + 4, + 4, + 4 + ] + } + }, + "attrs": [ + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + } + ], + "properties": { + "order": 298, + "id": 297, + "prevSize": 16, + "code": 59648, + "name": "it-other-lenovo" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 0 + }, + { + "icon": { + "paths": [ + "M361.536 749.12l-107.008 274.88h58.88l22.656-62.464h109.888l24 62.464h60.352l-110.080-274.88h-58.688zM353.152 915.264l37.12-102.016 37.888 102.016h-75.008z", + "M616.768 751.36h-55.488v272.64h193.472v-46.336h-137.984z", + "M957.632 901.184c0 21.76-0.832 37.312-2.432 46.656s-6.464 17.344-14.464 23.68c-8 6.528-19.904 9.664-35.648 9.664-15.488 0-27.776-3.392-36.608-10.176-9.024-6.784-14.656-15.872-17.024-27.136-1.344-6.976-2.048-22.336-2.048-45.952v-148.864h-55.488v146.624c0 30.72 1.792 54.016 5.44 69.76 2.496 10.624 7.68 20.8 15.552 30.464 7.872 9.728 18.56 17.6 32.192 23.616 13.504 6.080 33.408 9.152 59.712 9.152 21.76 0 39.36-2.816 52.864-8.384 13.504-5.504 24.32-12.992 32.32-22.4 8.128-9.344 13.632-20.864 16.64-34.496s4.48-36.928 4.48-69.952v-144.384h-55.488v152.128z", + "M1006.016 643.392c11.328-42.304 17.984-86.592 17.984-132.416 0-282.688-230.336-510.976-513.024-510.976s-510.976 228.288-510.976 510.976c0 181.504 94.4 340.992 236.544 432.256v-171.904c0-70.656 57.344-128 128-128h108.224v-19.712c0-19.968-8.384-70.848-42.24-80.448h66.368c36.416 0 44.224 63.68 44.224 84.48v15.68h464.896zM859.008 444.608v-88.512l122.752 122.688-122.752 122.688v-88.448h-164.928c-19.968 0-70.912 10.432-80.448 44.224v-66.368c0-36.416 61.632-46.272 82.496-46.272h162.88zM408.384 468.736c0 36.416-61.632 44.224-82.496 44.224h-162.944v88.512l-122.688-122.688 122.688-122.688v88.512h166.976c19.968 0 68.928-8.384 78.464-42.24v66.368zM496.896 478.784h-66.368c33.856-9.536 42.24-60.544 42.24-80.448v-164.992h-88.512l122.688-122.688 122.688 122.688h-88.448v162.944c0 20.864-7.872 82.496-44.288 82.496z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-router-alu7750" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 299, + "id": 296, + "prevSize": 16, + "code": 59649, + "name": "it-router-alu7750" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 1 + }, + { + "icon": { + "paths": [ + "M558.656 403.584c-10.624-4.096-27.776-6.144-51.328-6.144h-63.040v229.12h64c19.776 0 35.264-1.792 46.592-5.504 11.264-3.712 20.16-8.896 26.88-15.552 9.344-9.408 16.768-22.080 22.016-37.952 5.184-15.872 7.808-35.136 7.808-57.856 0-31.36-5.056-55.424-15.424-72.32-10.304-16.768-22.784-28.032-37.504-33.792z", + "M888 0h-752c-75.648 0-136 60.352-136 136v752c0 75.648 60.352 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.648-60.352-136-136-136zM337.984 661.952h-40.768l-157.504-235.648v235.648h-38.016v-299.904h40.704l157.504 235.52v-235.52h38.080v299.904zM644.544 570.88c-5.312 17.664-12.096 32.192-20.416 43.712-8.384 11.584-17.408 20.608-27.392 27.264-9.856 6.656-21.76 11.648-35.776 14.976-13.952 3.456-30.016 5.12-48.064 5.12h-108.288v-299.904h103.36c23.232 0 41.088 1.472 53.312 4.352 17.216 3.904 31.872 11.072 44.032 21.44 15.744 13.376 27.648 30.464 35.456 51.2 7.808 20.864 11.776 44.608 11.776 71.36-0.064 22.784-2.688 42.944-8 60.48zM918.656 622.4c-9.216 14.144-22.272 25.088-39.36 32.96-17.216 7.808-36.416 11.776-57.792 11.776-27.2 0-49.92-4.032-68.16-11.904-18.368-7.936-32.768-19.776-43.2-35.712-10.432-15.872-15.872-33.856-16.448-53.888l37.44-3.264c1.728 14.976 5.824 27.264 12.352 36.864 6.464 9.6 16.448 17.344 30.208 23.296 13.568 5.952 28.864 8.896 46.016 8.896 15.040 0 28.416-2.176 40.064-6.656 11.584-4.48 20.16-10.688 25.792-18.496 5.76-7.872 8.576-16.448 8.576-25.664 0-9.408-2.688-17.664-8.192-24.64-5.44-6.976-14.464-12.928-27.008-17.728-8.064-3.072-25.856-8.064-53.376-14.656-27.648-6.592-46.848-12.864-57.856-18.688-14.4-7.488-25.024-16.768-32-27.904-7.104-11.072-10.56-23.552-10.56-37.312 0-15.104 4.288-29.312 12.928-42.496 8.512-13.184 21.056-23.168 37.632-30.016 16.448-6.784 34.816-10.24 54.976-10.24 22.208 0 41.792 3.52 58.816 10.688 16.96 7.104 30.016 17.664 39.168 31.616 9.088 13.888 14.016 29.696 14.72 47.232l-38.144 2.88c-1.984-18.944-9.024-33.28-20.736-42.944-11.84-9.664-29.248-14.592-52.224-14.592-24 0-41.536 4.416-52.416 13.184-11.008 8.832-16.448 19.392-16.448 31.808 0 10.752 3.84 19.648 11.648 26.624 7.616 6.976 27.52 14.080 59.84 21.376 32.256 7.296 54.4 13.632 66.368 19.136 17.408 8.064 30.272 18.368 38.592 30.72 8.384 12.352 12.544 26.56 12.544 42.624 0 16-4.672 30.976-13.76 45.12z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-nds" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 300, + "id": 295, + "prevSize": 16, + "code": 59650, + "name": "it-other-nds" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 2 + }, + { + "icon": { + "paths": [ + "M766.4 419.136c-9.728 48.512-19.52 97.088-29.248 145.664h80.256c23.488-12.48 30.656-14.336 43.904-38.4 7.232-20.416 14.528-40.832 21.76-61.248-23.552-43.456-48.128-49.856-116.672-46.016z", + "M211.968 419.136c-9.728 48.576-19.52 97.088-29.248 145.664 31.616-2.624 63.232-5.184 94.848-7.744 24.96-12.288 24.448-12.416 36.544-38.336 14.144-27.328 13.376-51.52 7.296-84.288-36.48-5.056-72.96-10.176-109.44-15.296z", + "M888 0h-752c-75.584 0-136 60.416-136 136v752c0 75.648 60.416 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.584-60.352-136-136-136zM175.488 618.432c-50.24 33.088 24.192 82.88-80.256 84.16v-22.848c19.456-102.144 38.912-204.416 58.368-306.56 113.472-4.544 188.288-3.136 240.704 53.696 7.232 255.232-114.304 122.816-218.816 191.552zM562.048 618.368v-22.976c9.792-51.072 19.52-102.144 29.184-153.28-7.296-7.68-14.592-15.296-21.888-22.976h-80.256c-12.16 66.432-24.32 132.864-36.48 199.232h-65.6c21.888-112.384 43.776-224.768 65.664-337.088h58.368c-2.432 30.592-4.8 61.248-7.296 91.904 71.68-3.072 114.624 4.224 153.28 30.656h-0.128v7.68c-9.6 68.928-19.456 137.92-29.12 206.848h-65.728zM722.56 626.176c-2.368 25.408-4.8 51.072-7.168 76.416h-65.6c19.456-109.76 38.784-219.584 58.24-329.408 89.792-3.072 174.016-1.6 226.24 30.656 53.632 184.896-72.448 186.56-211.712 222.336z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-php" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 301, + "id": 294, + "prevSize": 16, + "code": 59651, + "name": "it-other-php" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 3 + }, + { + "icon": { + "paths": [ + "M896 1024c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z", + "M896 0h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c0-70.912-57.152-128-128-128zM831.936 262.336c-0.832 0.832-1.792 1.344-2.624 2.176h-10.944c4.48-0.768 9.152-1.472 13.568-2.176zM53.824 351.936c120.96-213.76 428.352-120.384 546.112-256.704h10.88c14.528 20.032 29.184 40 43.712 60.032-21.888-10.56-24.128-21.184-38.208-38.208-23.68 18.24-47.296 36.416-70.976 54.592 1.856 3.648 3.648 7.296 5.376 10.944 18.304 5.44 36.48 10.944 54.72 16.384-182.208-17.024-337.216 0.768-447.872 81.92-38.272 28.032-56.64 72.704-98.304 98.304h-5.44v-27.264zM239.488 362.88c-5.44 1.792-10.944 3.648-16.384 5.44-25.088-8.064-19.264-10.24-32.768-27.328 7.296-12.8 14.592-25.472 21.888-38.272h32.704v11.008c8.512 20.352 2.56 33.408-5.44 49.152zM288.704 510.272h-10.944c-75.712 40.832-229.056-50.432-245.76-109.184 110.528 9.92 119.68 119.36 256.704 103.68v5.504zM294.144 466.56c-31.232 16.768-61.056 29.312-92.8 5.44 54.144 0.96 67.968-11.968 92.8-38.208-1.856-10.944-3.648-21.824-5.44-32.704l16.384 16.32c-3.648 16.384-7.296 32.768-10.944 49.152zM310.528 242.688h-10.944c4.16-0.32 8.32-0.576 12.416-0.832-0.448 0.32-1.024 0.512-1.472 0.832zM414.272 204.416c120.256-2.176 196.544 24.064 283.968 43.712v5.44c-51.008-9.088-102.016-18.176-152.896-27.264-77.76 5.184-155.584 10.368-233.344 15.488 28.48-20.416 66.368-21.12 102.272-37.376zM610.88 379.2v-81.92c19.264 31.68 20.544 47.168 0 81.92zM556.224 390.144v-98.304c23.168 37.76 25.92 55.936 0 98.304zM397.888 433.792h-5.44c-1.856-56.448-3.648-112.832-5.504-169.28 36.8 61.056 18.24 90.24 10.944 169.28zM447.040 401.088c-1.792-43.712-3.648-87.424-5.44-131.072 20.672 36.672 25.216 89.28 5.44 131.072zM501.632 401.024v-114.688c22.208 41.92 14.4 60.928 5.376 114.688h-5.376zM627.392 559.424c-31.872-11.456-82.816-20.224-120.32-32.768 3.648-5.44 7.36-10.88 10.944-16.448h5.504c53.12 1.024 70.72 19.2 109.248 32.832 3.648-16.384 7.296-32.832 10.88-49.152 5.504 21.248 0.128 50.24-16.256 65.536zM665.472 368.256h-5.504v-70.976c13.504 19.968 10.176 43.52 5.504 70.976zM720.128 340.992c-12.736-3.648-25.472-7.296-38.272-10.944l38.272 5.44v5.504zM818.368 395.584c14.4-31.552 10.112-60.224-5.44-87.424 14.592 10.944 29.12 21.888 43.84 32.768-9.92 27.328-12.864 42.112-38.4 54.656zM944 537.536c-7.232-5.44-14.656-10.944-21.824-16.384-10.944-21.824-21.952-43.712-32.832-65.536 14.592 16.384 29.12 32.768 43.712 49.152-1.088-95.232-28.736-165.44-5.44-251.2-1.792-1.792-3.648-3.584-5.44-5.44-30.208 4.736-60.16 9.536-90.24 14.272 26.624-25.984 60.16-33.408 95.68-52.48h16.384v327.616z", + "M212.224 313.664c-3.648 7.232-7.232 14.528-10.88 21.824 10.88 5.504 21.76 10.944 32.704 16.448-4.544-26.688-6.016-25.152-21.824-38.272z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-glassfish" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 302, + "id": 293, + "prevSize": 16, + "code": 59652, + "name": "it-app-glassfish" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 4 + }, + { + "icon": { + "paths": [ + "M708.544 476.096h62.592v64.064h-62.592v-64.064z", + "M888 0h-752c-75.648 0-136 60.352-136 135.936v752.064c0 75.648 60.352 136 136 136h752c75.648 0 136-60.352 136-136v-752.064c0-75.584-60.352-135.936-136-135.936zM231.936 349.248h-52.992v315.456h-30.4v-315.456h-53.376v-26.944h136.704v26.944zM383.040 553.152l-9.792 10.304h-80.96v76.992h62.592v-39.040h28.224v38.528c0 16.512-8.128 24.768-24.512 24.768h-70.016c-16.32 0-24.512-8.256-24.512-24.768v-163.392c0-16.512 8.128-24.768 24.512-24.768h70.016c16.32 0 24.512 8.256 24.512 24.768v76.608zM461.568 664.704h-28.608v-342.4h28.672v342.4zM633.344 664.704h-29.12v-186.816l-64.128 1.728v185.088h-29.056v-212.864h29.12v5.952c11.328-1.472 22.784-3.072 34.368-4.608 13.952-1.728 25.472-2.624 34.496-2.624 16.256 0 24.384 7.936 24.384 23.808v190.336zM799.36 553.152l-9.856 10.304h-80.96v76.992h62.592v-39.040h28.224v38.528c0 16.512-8.192 24.768-24.512 24.768h-70.016c-16.384 0-24.512-8.256-24.512-24.768v-163.392c0-16.512 8.128-24.768 24.512-24.768h70.016c16.32 0 24.512 8.256 24.512 24.768v76.608zM924.032 477.44h-37.12v161.6h37.12v25.6h-41.344c-16.32 0-24.512-8.256-24.512-24.768v-162.432h-25.536v-25.6h25.536v-66.304h28.672v66.304h37.12v25.6z", + "M292.288 476.096h62.592v64.064h-62.592v-64.064z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-telnet" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 303, + "id": 292, + "prevSize": 16, + "code": 59653, + "name": "it-other-telnet" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 5 + }, + { + "icon": { + "paths": [ + "M264.576 342.848h-55.296v378.112h53.056c15.488 0 28.032-4.416 37.696-13.312 9.6-8.96 14.464-21.056 14.464-36.544v-278.912c0-14.656-4.608-26.56-13.888-35.712-9.344-9.024-21.312-13.632-36.032-13.632z", + "M888 0h-752c-75.648 0-136 60.352-136 136v752c0 75.648 60.352 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.648-60.352-136-136-136zM354.304 675.136c0 23.68-7.808 43.136-23.36 58.304s-35.2 22.784-58.88 22.784h-102.656v-448.64h102.592c23.936 0 43.584 7.616 59.072 22.784s23.232 34.624 23.232 58.304v286.464zM609.216 756.224h-27.584l-119.808-329.92v329.92h-37.568v-448.64h29.824l117.504 324.224v-324.16h37.568v448.576zM855.68 443.84h-39.872v-100.992h-96.896v94.656l124.416 149.632c8.192 9.92 12.288 21.12 12.288 33.536v103.744c0 9.344-2.944 17.024-8.768 22.912s-13.44 8.896-22.784 8.896h-112.96c-9.344 0-17.024-2.944-23.040-8.896s-9.024-13.568-9.024-22.912v-113.792h39.808v110.4h96.896v-106.944l-123.84-149.632c-8.576-10.304-12.864-21.696-12.864-34.112v-90.88c0-9.344 3.008-17.024 9.024-22.848 6.080-5.952 13.76-8.96 23.040-8.96h112.96c9.344 0 17.024 3.008 22.784 8.96 5.824 5.888 8.768 13.568 8.768 22.848v104.384z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-dns" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 304, + "id": 291, + "prevSize": 16, + "code": 59654, + "name": "it-other-dns" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 6 + }, + { + "icon": { + "paths": [ + "M888 0h-752c-75.648 0-136 60.352-136 136v752c0 75.648 60.352 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.648-60.352-136-136-136zM379.328 724.416c0 9.344-3.008 17.024-9.024 22.912-6.016 5.952-13.696 8.896-23.104 8.896h-122.048c-9.344 0-17.024-2.944-22.912-8.896-5.952-5.952-8.896-13.568-8.896-22.912v-416.768h39.872v413.376h106.368v-413.376h39.872v416.768zM600 756.224l-83.392-240.192 5.44-8.064h71.040v-165.12h-102.272v413.376h-39.808v-448.64h150.208c9.344 0 17.024 3.008 22.912 8.96 5.952 5.888 8.896 13.568 8.896 22.848v170.304c0 21.568-14.528 32.384-43.584 32.384-2.88 0-7.040-0.128-12.608-0.448-5.568-0.192-9.6-0.384-12.096-0.384 25.856 71.488 51.584 143.104 77.184 214.976h-41.92zM844.864 756.224h-143.296v-448.64h39.808v413.376h103.488v35.264z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-url" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 305, + "id": 290, + "prevSize": 16, + "code": 59655, + "name": "it-other-url" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 7 + }, + { + "icon": { + "paths": [ + "M4.032 488c0-7.232-2.816-30.4-4.032-43.968v129.984c1.856 20.864 4.032 44.224 4.032 54.016 0 17.472 5.248 33.728 14.016 49.984h237.952c-150.272-38.72-251.968-108.672-251.968-190.016z", + "M0 678.016h1.984c-0.896-9.472-1.28-17.984-1.984-25.984v25.984z", + "M513.984 444.032c282.752 0 512-99.328 512-222.016 0-1.344 0.128-2.624 0-4.032 0-0.704 0-1.344 0-1.984-7.488-119.808-233.984-216-512-216-282.752 0-512 99.328-512 222.016s229.248 222.016 512 222.016z", + "M516.032 494.016c-282.752 0-512-99.328-512-222.016 0-7.232-2.752-30.4-4.032-44.032v137.984c1.856 20.864 4.032 44.288 4.032 54.080 0 122.688 229.248 222.016 512 222.016s512-99.328 512-222.016v-148.032c-0 122.688-229.312 222.016-512 222.016z", + "M776 678.016h238.016c8.768-16.256 14.016-32.512 14.016-49.984v-140.032c0 81.344-101.76 151.296-252.032 190.016z", + "M140.736 932.096c-5.056 19.968-8.768 35.072-11.136 45.312-2.048-9.28-5.376-23.168-9.984-41.792l-49.472-200.128h-41.6v282.624h26.688v-240.64l60.48 240.64h24.96l60.736-236.544v236.544h26.688v-282.624h-37.376l-49.984 196.608z", + "M369.792 818.56c-8.96 18.56-16.576 35.2-22.848 49.92-6.592-15.936-13.632-31.872-21.248-47.808l-41.216-85.184h-33.6l80.512 162.88v119.744h27.648v-119.744l83.392-162.88h-32.128l-40.512 83.072z", + "M592.704 844.032c-9.472-6.784-24.128-13.632-43.904-20.032s-31.488-12.096-36.608-17.984c-4.032-4.608-5.824-9.472-5.824-16 0-7.104 1.536-13.76 5.824-17.984 6.656-6.656 16-9.984 27.84-9.984 11.392 0 19.072 3.776 24.896 9.984 5.632 6.208 9.92 15.872 11.712 30.016l40.96-2.048c-0.704-25.28-7.808-44.864-20.48-60.032-12.8-15.104-31.872-24-57.088-24-15.488 0-28.608 3.648-39.552 9.984-10.944 6.4-19.072 15.808-24.896 28.032-5.824 12.16-8.768 25.984-8.768 40 0 21.76 6.656 38.848 19.008 54.016 8.768 10.752 23.616 20.608 45.376 28.032 16.96 5.76 27.456 9.728 32.192 12.032 6.912 3.392 11.84 7.488 14.656 12.032 2.752 4.544 4.416 9.472 4.416 16 0 10.112-3.712 20.416-10.24 28.032-6.656 7.552-16.192 9.984-29.312 9.984-12.352 0-22.080-3.52-29.312-12.032-7.296-8.512-12.224-21.888-14.656-40l-39.424 5.952c2.688 30.72 11.264 53.952 24.896 70.016s33.152 24 58.56 24c17.472 0 32.128-3.328 43.904-9.984 11.712-6.656 19.968-18.24 26.304-32 6.464-13.76 10.24-28.224 10.24-44.032 0-17.344-3.456-32.192-8.768-44.032-5.376-11.84-12.544-21.184-21.952-27.968z", + "M917.632 724.032h-41.024v272h142.016v-46.016h-100.992z", + "M837.12 921.984c4.864-17.984 7.296-38.272 7.296-62.016 0-44.864-8.896-81.088-26.304-105.984-17.472-24.96-40.448-38.016-70.272-38.016-30.144 0-54.208 13.056-71.744 38.016s-26.304 61.12-26.304 105.984c0 44.992 8.768 79.104 26.304 104 17.472 24.896 40.832 38.016 71.744 38.016 16 0 30.72-4.096 43.904-12.032 16.768 15.36 26.56 23.104 27.84 24 5.888 4.352 11.456 7.488 17.536 9.984l14.656-40c-11.712-5.76-22.208-12.224-32.192-22.016 8.064-12.8 13.888-26.176 17.536-39.936zM799.040 900.032c-2.624 11.904-6.528 21.632-11.712 30.016-12.16-12.48-26.176-21.76-39.488-28.032l-10.24 32c8.512 4.096 16.64 10.624 24.896 17.984-5.248 2.624-10.24 4.032-16.128 4.032-15.68 0-29.248-8.064-39.488-24-10.304-15.936-16.128-39.872-16.128-72 0-31.616 5.824-56.256 16.128-72 10.24-15.744 22.912-24 39.488-24s30.72 8.32 41.024 24 14.656 40.256 14.656 72c-0.064 15.36-0.448 28.096-3.008 40z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-database-mysql" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 306, + "id": 289, + "prevSize": 16, + "code": 59656, + "name": "it-database-mysql" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 8 + }, + { + "icon": { + "paths": [ + "M154.24 298.752h98.048v199.808h-98.048v-199.808z", + "M888 0h-752c-75.648 0-136 60.416-136 136v752c0 75.648 60.352 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.584-60.352-136-136-136zM292.096 502.016c0 9.344-3.008 17.088-9.024 23.040-6.016 6.080-13.696 9.088-23.040 9.088h-105.792v177.984h-39.808v-448.64h145.6c9.344 0 17.088 3.008 23.104 8.96 6.016 5.888 9.024 13.568 9.024 22.848v206.72zM397.312 712.128h-39.872v-448.64h39.872v448.64zM657.088 712.128h-27.584l-119.808-329.92v329.92h-37.568v-448.64h29.824l117.568 324.288v-324.288h37.568v448.64zM910.144 399.68h-40.128v-100.928h-101.44v378.112h101.44v-155.072h-47.872v-34.432h88v192.96c0 9.344-2.944 17.024-8.896 22.912s-13.568 8.896-22.912 8.896h-117.824c-9.344 0-17.024-2.944-22.912-8.896s-8.896-13.568-8.896-22.912v-385.024c0-9.344 3.008-17.024 8.896-22.848 5.952-5.952 13.632-8.96 22.912-8.96h117.824c9.344 0 17.024 3.008 22.912 8.96 5.952 5.888 8.896 13.568 8.896 22.848v104.384z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-ping" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 307, + "id": 288, + "prevSize": 16, + "code": 59657, + "name": "it-other-ping" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 9 + }, + { + "icon": { + "paths": [ + "M888 0h-752c-75.584 0-136 60.352-136 136v752c0 75.648 60.416 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.648-60.352-136-136-136zM352 269.12h-119.168v193.92h109.696v40.832h-109.696v236.032h-45.376v-510.976h164.544v40.192zM590.656 269.12h-78.976v470.784h-45.376v-470.784h-79.68v-40.192h204.096v40.192zM846.4 500.608c0 10.624-3.456 19.392-10.304 26.24s-15.616 10.304-26.304 10.304h-120.448v202.752h-45.44v-510.976h165.888c10.688 0 19.456 3.392 26.304 10.112s10.304 15.488 10.304 26.112v235.456z", + "M689.344 269.12h111.616v227.584h-111.616v-227.584z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-ftp" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 308, + "id": 287, + "prevSize": 16, + "code": 59658, + "name": "it-other-ftp" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 10 + }, + { + "icon": { + "paths": [ + "M888 0h-752c-75.584 0-136 60.416-136 136v752c0 75.648 60.416 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.584-60.352-136-136-136zM243.456 695.040l-79.744-229.632 5.248-7.68h67.968v-157.76h-97.856v395.136h-38.080v-428.8h143.616c8.96 0 16.256 2.816 21.888 8.448 5.632 5.696 8.512 12.992 8.512 21.952v162.752c0 20.672-13.888 30.976-41.664 30.976-2.752 0-6.72-0.128-12.032-0.384s-9.152-0.384-11.52-0.384c24.64 68.288 49.216 136.832 73.728 205.504h-40.064zM481.28 695.040h-140.864v-428.8h139.2v33.664h-101.12v160h92.032v34.24h-91.968v167.168h102.72v33.728zM707.904 396.416h-38.080v-96.448h-92.608v90.432l118.912 143.040c7.808 9.472 11.776 20.16 11.776 32v99.2c0 9.024-2.752 16.32-8.32 21.952-5.632 5.696-12.864 8.512-21.824 8.512h-107.968c-8.96 0-16.32-2.816-22.080-8.512-5.76-5.632-8.64-12.928-8.64-21.952v-108.736h38.080v105.472h92.608v-102.272l-118.4-142.976c-8.192-9.856-12.352-20.736-12.352-32.64v-86.848c0-8.96 2.88-16.256 8.64-21.952 5.824-5.632 13.248-8.448 22.144-8.448h107.968c8.96 0 16.192 2.816 21.824 8.448 5.568 5.696 8.32 12.992 8.32 21.952v99.776zM923.008 299.968h-66.304v395.136h-38.080v-395.136h-66.88v-33.728h171.264v33.728z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-rest" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 309, + "id": 286, + "prevSize": 16, + "code": 59659, + "name": "it-other-rest" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 11 + }, + { + "icon": { + "paths": [ + "M594.752 566.016h75.392l-37.568-232.384z", + "M343.488 299.968h104.96v361.408h-104.96v-361.408z", + "M817.472 299.968h93.76v190.976h-93.76v-190.976z", + "M888 0h-752c-75.584 0-136 60.416-136 136v752c0 75.648 60.416 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.584-60.352-136-136-136zM238.016 396.416h-38.080v-96.448h-92.672v90.432l118.912 143.040c7.872 9.472 11.776 20.16 11.776 32v99.2c0 9.024-2.752 16.32-8.384 21.952-5.568 5.696-12.8 8.512-21.76 8.512h-107.904c-8.96 0-16.256-2.816-22.016-8.512-5.76-5.632-8.64-12.928-8.64-21.952v-108.736h38.080v105.472h92.608v-102.272l-118.4-142.976c-8.192-9.856-12.352-20.736-12.352-32.64v-86.848c0-8.96 2.88-16.256 8.64-21.952 5.76-5.632 13.12-8.448 22.080-8.448h107.968c8.96 0 16.192 2.816 21.76 8.448 5.568 5.696 8.384 12.992 8.384 21.952v99.776zM486.528 664.64c0 9.024-2.88 16.32-8.64 21.952-5.76 5.696-13.12 8.512-22.080 8.512h-120c-8.96 0-16.256-2.816-21.888-8.512-5.632-5.632-8.512-12.928-8.512-21.952v-368c0-8.96 2.816-16.256 8.512-21.952 5.632-5.632 12.928-8.448 21.888-8.448h120c8.96 0 16.32 2.816 22.080 8.448 5.76 5.696 8.64 12.992 8.64 21.952v368zM690.112 695.040l-15.040-95.36h-85.248l-15.104 95.36h-36.672v-1.152l76.48-428.8h37.568l75.904 429.952h-37.888zM949.312 494.208c0 8.96-2.88 16.32-8.64 22.080s-13.12 8.64-22.080 8.64h-101.12v170.176h-38.080v-428.8h139.2c8.96 0 16.32 2.816 22.080 8.448 5.76 5.696 8.64 12.992 8.64 21.952v197.504z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-soap" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 310, + "id": 285, + "prevSize": 16, + "code": 59660, + "name": "it-other-soap" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 12 + }, + { + "icon": { + "paths": [ + "M766.336 563.584c-6.912-61.952 29.12-128.832 94.144-209.92-23.168-15.424-37.44-36.096-78.592-46.912-170.496-21.632-250.176 23.744-250.176 23.744s-112.192-49.792-191.68-42.624c-130.432 11.648-176.448 134.72-179.712 201.152-2.368 47.936-6.528 116.544 1.408 168 29.888 192.832 130.688 269.952 213.632 297.536 64.768 21.568 88.256-30.784 135.744-30.784 15.232 0 63.872-1.728 73.856 3.712 146.176 79.68 238.656 7.040 303.040-193.024-45.056-16.704-111.36-90.24-121.664-170.88z", + "M696.768 64c-60.8 0-170.88 102.848-162.176 188.288 0.448 4.096 11.968 8.064 16 7.232 56.448-11.648 121.536-70.912 141.888-127.424 5.952-16.768 22.144-68.096 4.288-68.096z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-macos" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 311, + "id": 284, + "prevSize": 16, + "code": 59661, + "name": "it-server-macos" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 13 + }, + { + "icon": { + "paths": [ + "M619.904 452.8c9.984-7.552 16.896-18.24 20.544-31.936l-23.488-2.88c-3.456 9.6-8.128 16.576-14.016 20.928s-12.992 6.592-21.376 6.592c-11.2 0-20.48-3.904-28.032-11.776-7.488-7.808-11.648-19.072-12.48-33.792h100.032c0.064-2.688 0.128-4.672 0.128-6.016 0-22.144-5.696-39.296-17.088-51.52-11.392-12.16-25.984-18.304-43.968-18.304-18.496 0-33.536 6.272-45.184 18.688-11.584 12.416-17.408 29.888-17.408 52.48 0 21.824 5.76 38.72 17.28 50.816s27.072 18.112 46.656 18.112c15.552-0 28.288-3.776 38.4-11.392zM554.112 353.216c7.168-6.976 15.872-10.496 26.304-10.496 11.584 0 20.928 4.352 28.16 13.12 4.672 5.632 7.552 14.144 8.576 25.408h-74.88c0.768-11.712 4.736-21.056 11.84-28.032z", + "M513.472 673.92c-7.424-3.328-21.056-7.232-40.96-11.776s-32.192-8.96-36.928-13.248c-4.864-4.224-7.232-9.728-7.232-16.32 0-7.68 3.392-14.208 10.176-19.648s17.536-8.192 32.384-8.192c14.208 0 24.96 3.008 32.256 9.024 7.296 5.952 11.584 14.784 12.8 26.496l23.488-1.728c-0.448-10.88-3.456-20.544-9.088-29.184-5.632-8.576-13.696-15.104-24.192-19.52-10.432-4.48-22.528-6.656-36.288-6.656-12.48 0-23.808 2.112-33.984 6.336s-17.92 10.368-23.232 18.496c-5.248 8.128-7.936 16.896-7.936 26.176 0 8.512 2.176 16.192 6.528 23.040s10.944 12.544 19.776 17.28c6.848 3.584 18.752 7.424 35.776 11.52s27.968 7.104 32.96 9.088c7.744 2.944 13.312 6.592 16.704 10.944 3.328 4.288 5.056 9.344 5.056 15.168 0 5.76-1.728 11.008-5.248 15.872-3.456 4.8-8.832 8.64-16 11.392-7.168 2.816-15.424 4.16-24.704 4.16-10.56 0-20.032-1.792-28.416-5.504-8.384-3.648-14.656-8.448-18.624-14.4-4.032-5.952-6.592-13.568-7.68-22.784l-23.104 2.048c0.32 12.288 3.712 23.424 10.176 33.28s15.296 17.152 26.624 22.016c11.328 4.864 25.344 7.36 42.112 7.36 13.248 0 25.088-2.432 35.648-7.296 10.56-4.8 18.688-11.648 24.32-20.288s8.512-17.984 8.512-27.84c0-9.92-2.624-18.752-7.744-26.368-5.248-7.616-13.184-13.952-23.936-18.944z", + "M404.032 447.296c3.904 4.864 8.832 8.896 14.784 12.096 6.016 3.2 12.8 4.8 20.416 4.8 10.368 0 20.224-2.944 29.568-8.768 9.408-5.824 16.576-14.272 21.44-25.28 5.056-10.944 7.488-23.36 7.488-37.056 0-12.8-2.24-24.576-6.72-35.264-4.416-10.752-11.008-19.072-19.776-24.96s-18.88-8.832-30.336-8.832c-8.768 0-16.192 1.728-22.336 5.12s-11.648 8.512-16.512 15.36v-17.472h-20.736v185.472h22.72v-65.216zM413.12 355.392c7.424-9.024 16-13.568 25.664-13.568 9.728 0 18.176 4.224 25.216 12.736s10.56 21.312 10.56 38.4c0 17.92-3.584 31.168-10.752 39.744-7.232 8.512-15.872 12.8-25.984 12.8-9.92 0-18.368-4.096-25.344-12.352-7.104-8.256-10.56-21.056-10.56-38.272s3.712-30.4 11.2-39.488z", + "M337.408 672.96c8.704-4.224 15.168-9.92 19.456-16.896s6.464-14.464 6.464-22.4c0-8.512-2.432-16.64-7.296-24.448-4.8-7.744-11.52-13.504-20.032-17.28s-19.904-5.632-34.048-5.632h-69.44v185.152h70.592c11.776 0 21.696-1.024 29.824-3.072s14.848-5.12 20.288-9.216c5.376-4.032 9.92-9.792 13.568-17.28s5.504-15.488 5.504-24.192c0-10.752-3.008-20.032-9.024-28.032-6.016-7.872-14.592-13.44-25.856-16.704zM257.024 608.192h36.992c13.312 0 22.656 0.896 28.16 2.56 5.504 1.728 9.664 4.928 12.608 9.6 2.944 4.736 4.416 10.112 4.416 16.256 0 6.464-1.536 11.84-4.736 16.128s-7.872 7.36-14.080 9.28c-4.736 1.344-12.48 2.112-23.36 2.112h-40v-55.936zM343.232 733.376c-2.432 4.48-5.504 7.936-9.344 10.304-3.776 2.304-8.512 4.032-14.144 4.992-3.2 0.64-8.768 0.96-16.64 0.96h-46.080v-63.68h42.752c11.84 0 20.8 1.088 27.072 3.136s11.2 5.632 14.72 10.752c3.52 5.056 5.312 11.072 5.312 17.92 0.064 5.952-1.216 11.136-3.648 15.616z", + "M309.12 452.864c13.888-7.616 24.576-18.816 32.192-33.6 7.552-14.848 11.328-31.616 11.328-50.368 0-18.56-3.584-35.072-10.752-49.664-7.168-14.656-17.664-25.984-31.36-34.176s-29.184-12.288-46.272-12.288c-26.112 0-47.36 8.704-63.872 26.048s-24.704 41.472-24.704 72.192c0 16.256 3.52 31.68 10.624 46.208 7.104 14.592 17.472 26.048 31.168 34.496s29.312 12.608 46.72 12.608c16.064 0 31.040-3.84 44.928-11.456zM218.88 424.064c-11.968-12.8-17.984-30.4-17.984-52.672 0-27.84 6.272-47.744 18.752-59.648s27.392-17.856 44.736-17.856c12.224 0 23.232 3.072 33.024 9.28s17.28 14.848 22.336 26.112 7.616 24.384 7.616 39.488c0 23.808-5.952 42.176-17.856 55.168s-27.008 19.392-45.504 19.392c-18.048 0-33.088-6.4-45.12-19.264z", + "M702.4 602.24c-7.488-6.4-16.576-10.816-27.2-13.248-7.552-1.728-18.56-2.688-32.96-2.688h-63.744v185.152h66.816c11.2 0 21.056-1.088 29.696-3.2 8.64-2.048 16-5.184 22.144-9.28 6.080-4.032 11.712-9.664 16.896-16.832 5.12-7.040 9.344-16.064 12.608-26.944s4.864-23.296 4.864-37.376c0-16.512-2.368-31.168-7.232-44.032-4.864-12.736-12.16-23.296-21.888-31.552zM701.44 713.216c-3.264 9.792-7.808 17.6-13.632 23.36-4.096 4.096-9.6 7.36-16.576 9.6s-16.576 3.456-28.736 3.456h-39.488v-141.44h38.848c14.592 0 25.152 1.28 31.68 3.84 9.152 3.52 16.832 10.496 23.168 20.864s9.472 25.28 9.472 44.608c0.064 14.016-1.536 25.856-4.736 35.712z", + "M0 0v1024h1024v-533.12c-85.888 14.656-144.192 122.368-127.936 210.816-55.872-12.48-65.856-52.608-94.016-59.136 5.76 22.656 11.392 45.12 17.216 67.648-34.112-3.264-27.008-9.152-51.2 8.512 11.392 25.28 22.656 50.496 33.984 75.776-2.816 0-5.632 0-8.512 0-23.808-22.016-29.056-31.488-68.096-42.112-2.816 5.632-5.824 11.136-8.64 16.896 5.824 17.024 11.456 33.728 17.216 50.752-37.12-25.152-27.52-31.744-68.416-17.024-2.816 22.528-5.696 44.992-8.512 67.648-21.184-24.128-14.464-29.248-51.2-42.368-2.816 17.024-5.76 33.856-8.512 50.624-8.576-11.264-17.152-22.528-25.536-33.6-8.576 5.76-17.152 11.136-25.6 16.896-2.88 22.4-5.696 44.992-8.64 67.52-11.392-22.528-22.72-45.12-33.984-67.52-5.696 2.752-11.52 5.504-17.152 8.512-8.576 32.64-3.328 25.28-25.6 42.112-2.88-14.144-5.696-28.224-8.576-42.112-5.632 2.624-11.328 5.504-17.024 8.256-10.88 37.504-16.96 43.264-34.112 50.752-5.76-19.84-11.456-39.616-17.152-59.072-17.6 17.152-19.264 28.352-42.624 42.112 0-17.024 0-33.856 0-50.624-22.72 14.016-45.568 28.032-68.288 42.24 6.4-46.848 11.968-56.64-17.088-84.352-17.088 11.136-34.112 22.528-51.264 33.6 5.824-22.528 11.456-44.864 17.152-67.392-25.536 5.632-51.2 11.264-76.8 16.768 11.392-16.768 22.72-33.728 34.176-50.624-18.496-23.36-16.256-18.752-34.176-42.112-11.392 5.632-22.656 11.264-34.112 16.896 23.424-48.64 10.816-38.4-25.536-84.48-40.704 12.544-61.504 8.832-85.44-16.832 82.432-69.184 97.92-184 153.6-261.504-8.512-11.264-17.024-22.464-25.6-33.664 11.392 0 22.72 0 34.112 0-14.144-25.408-28.416-50.688-42.624-76.032 28.416 8.448 56.96 17.024 85.248 25.408-11.968-28.096 20.352-29.504 17.152-75.968 14.208 5.568 28.416 11.2 42.688 16.832-5.696-25.344-11.392-50.624-17.088-75.84 30.592 19.776 28.928 36.352 68.224 50.496 0-11.2 0-22.464 0-33.664 11.392 8.384 22.848 16.768 34.176 25.216 1.728-36.352 2.24-40.64 17.152-59.008 5.568 14.144 11.264 28.16 16.96 42.176 25.28-34.048 19.904 0.512 34.176-25.216 5.696-16.96 11.392-33.792 17.088-50.688 11.392 22.464 22.656 45.056 34.112 67.456 5.76-11.2 11.392-22.592 17.088-33.792 0 14.144 0 28.224 0 42.176 5.632-2.752 11.456-5.632 17.152-8.384 8.512-32.768 3.264-25.344 25.6-42.176 0 16.832 0 33.792 0 50.624 23.936-14.848 14.464-12.352 34.048-16.832 0 8.384 0 16.832 0 25.28 22.656-22.4 45.504-45.056 68.224-67.456-5.568 30.976-11.328 61.824-17.024 92.8 8.512-5.76 17.088-11.392 25.6-17.024 14.080-30.4 2.304-19.776 33.984-33.664-5.632 25.28-11.328 50.688-17.024 75.968 11.392-8.448 22.72-16.896 34.24-25.28-2.88 14.016-5.824 28.032-8.704 42.112 22.848-11.2 45.632-22.464 68.288-33.664-11.392 22.464-22.656 44.928-34.112 67.52 2.816 2.816 5.824 5.568 8.64 8.384 25.472-11.2 51.136-22.656 76.608-33.792 0 2.816 0 5.632 0 8.448-29.376 43.712-33.28 39.808-16.96 76.032 22.656-8.448 45.504-17.024 68.288-25.344 0 2.752 0 5.632 0 8.32-17.152 14.208-34.176 28.16-51.392 42.24 26.368 32.256 12.736-0.576 8.576 50.624 20.032-2.752 40-5.632 59.904-8.384-17.088 19.648-34.176 39.296-51.264 59.072 14.272-2.816 28.608-5.568 42.752-8.448-11.648 16-21.44 19.968-34.176 33.728 5.696 8.32 11.392 16.832 17.024 25.216 45.568-26.688 58.688-51.904 128-58.944 17.216 11.2 34.176 22.528 51.2 33.728v-490.944h-1023.936z", + "M769.6 339.84c-3.392-4.736-8.512-8.512-15.232-11.392s-14.208-4.352-22.272-4.352c-18.624 0-32.896 7.36-42.688 22.080v-19.136h-20.48v134.080h22.72v-73.152c0-17.216 3.52-28.864 10.56-35.008 6.976-6.144 15.36-9.216 25.088-9.216 6.080 0 11.328 1.344 15.808 4.096 4.48 2.688 7.68 6.4 9.408 10.944 1.728 4.608 2.624 11.52 2.624 20.8v81.536h22.72v-82.432c0-10.56-0.448-17.92-1.28-22.080-1.28-6.464-3.648-12.096-6.976-16.768z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-openbsd" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 312, + "id": 283, + "prevSize": 16, + "code": 59662, + "name": "it-server-openbsd" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 14 + }, + { + "icon": { + "paths": [ + "M797.952 299.072c5.824 5.824 11.648 11.584 17.408 17.408-12.032-16.64-0.896-5.12-17.408-17.408zM0 0v1024h1024v-1024h-1024zM214.656 273.024h17.344v8.704c-5.76 5.824-11.584 11.584-17.344 17.408h-8.768c2.88-8.768 5.824-17.472 8.768-26.112zM197.184 334.016c2.88 8.64 5.824 17.344 8.704 26.048h-8.704v-26.048zM571.648 647.36c-45.888-16.896-81.216-29.568-104.576-69.632 11.584 5.76 23.232 11.648 34.816 17.344-11.584-11.584-23.232-23.104-34.816-34.752-11.648 12.416-10.816 15.296-26.112 26.112-2.88-14.464-5.824-28.928-8.704-43.456 11.648-3.392 11.968-104.576 26.112-165.504 42.688-32.768 54.72-56.64 130.688-60.992 27.904 14.208 36.416 16.064 52.16 43.584-77.888-30.784-114.752 3.328-165.376 43.52-4.416 44.224-9.408 68.608 8.64 104.448 16.704 43.328 35.52 61.184 78.4 78.4 75.776 21.568 126.912-20.096 174.208-52.288 80.576-361.28-300.864-476.672-452.8-208.96-130.688 230.336 75.456 527.296 252.48 574.72v8.704h-52.288c-398.4-154.56-361.024-598.784-34.816-801.088 494.912-22.080 487.040 512.768 121.984 539.84zM615.104 534.144v8.832h-8.704c-8.704-2.944-17.408-5.888-26.176-8.832v-17.344c11.648 5.76 23.232 11.52 34.88 17.344zM667.264 447.168v-26.176c17.92 15.744 6.272 0.128 17.472 26.176h-17.472z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-debian" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 313, + "id": 282, + "prevSize": 16, + "code": 59663, + "name": "it-server-debian" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 15 + }, + { + "icon": { + "paths": [ + "M896 1024c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z", + "M896 0h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c0-70.912-57.152-128-128-128zM340.032 570.624c0 2.304-1.728 3.52-5.248 3.52-6.976 0-30.272-1.728-80.896-1.728-55.296 0-80.32 1.728-86.72 1.728-2.88 0-4.672-1.216-4.672-3.52v-15.68c0-2.368 1.728-3.52 4.672-3.52h32.576c11.648 0 23.872-1.728 26.176-16.896 1.152-8.704 2.88-134.464 2.88-165.248v-40.768c0-13.952-1.728-118.72-2.304-127.488-1.152-13.952-6.976-19.776-29.12-19.776h-33.728c-2.88 0-4.608-1.152-4.608-3.52v-15.68c0-2.304 1.728-3.456 4.032-3.456 6.976 0 36.672 1.728 90.752 1.728 51.84 0 70.464-1.728 78.592-1.728 2.88 0 4.032 1.728 4.032 4.032v14.592c0 2.88-1.728 4.032-4.672 4.032h-27.264c-11.648 0-20.352 4.672-20.352 16.32 0 5.824-1.728 134.464-1.728 141.376v44.864c0 5.824 1.728 140.224 1.728 146.688 0 18.048 8.704 20.992 27.328 20.992h23.872c2.88 0 4.672 1.152 4.672 4.032v15.104zM561.728 570.624c0 2.304-1.728 3.52-5.248 3.52-6.976 0-30.272-1.728-80.896-1.728-55.296 0-80.32 1.728-86.72 1.728-2.88 0-4.672-1.216-4.672-3.52v-15.68c0-2.368 1.728-3.52 4.672-3.52h32.576c11.648 0 23.872-1.728 26.176-16.896 1.216-8.704 2.944-134.464 2.944-165.248v-40.768c0-13.952-1.728-118.72-2.304-127.488-1.152-13.952-6.976-19.776-29.12-19.776h-33.792c-2.88 0-4.608-1.152-4.608-3.52v-15.68c0-2.304 1.728-3.456 4.032-3.456 6.976 0 36.672 1.728 90.752 1.728 51.84 0 70.4-1.728 78.592-1.728 2.88 0 4.032 1.728 4.032 4.032v14.592c0 2.88-1.728 4.032-4.608 4.032h-27.264c-11.648 0-20.352 4.672-20.352 16.32 0 5.824-1.728 134.464-1.728 141.376v44.864c0 5.824 1.728 140.224 1.728 146.688 0 18.048 8.704 20.992 27.328 20.992h23.872c2.944 0 4.672 1.152 4.672 4.032v15.104zM755.008 581.12c-40.768 0-69.248-12.224-92.48-30.336-6.976-5.184-10.496-6.976-13.44-6.976-3.456 0-5.824 4.096-9.344 9.92-3.52 6.4-6.4 6.976-10.432 6.976-3.52 0-6.464-2.944-5.248-9.344 2.304-14.464 8.128-88.448 9.856-105.28 0.64-3.456 1.728-3.456 4.032-3.456l8.768 0.576c2.304 0 3.52 1.152 3.52 4.672 0.576 18.624 1.728 37.824 20.928 67.52 17.472 27.328 49.472 43.008 81.472 43.008 34.944 0 79.168-21.504 79.168-73.856 0-59.968-43.136-82.048-89.664-98.368-17.984-6.4-59.968-20.928-84.928-47.168-19.264-19.2-29.12-46.592-29.12-84.992 0-29.12 18.048-57.6 36.096-74.496 20.928-19.776 49.984-27.968 81.408-27.968 33.216 0 58.816 9.92 68.672 14.592 5.248 2.88 8.128 2.304 11.072-0.576l7.552-6.976c2.944-2.368 4.672-3.52 7.552-3.52 2.944 0 4.672 4.672 4.672 9.856 0 20.352 7.552 79.744 8.128 92.544 0 2.88-0.576 4.032-2.88 4.672l-6.848 1.792c-1.728 0.576-2.944 0-3.52-1.728-4.672-16.896-12.224-39.616-36.096-64.576-15.68-16.896-36.032-25.024-63.424-25.024-51.776 0-70.4 38.4-70.4 68.096 0 16.256 3.456 35.52 17.984 50.624 16.896 16.896 49.472 29.696 66.368 34.944 40.192 12.8 72.768 22.656 93.696 48.32 15.104 18.048 25.6 40.704 25.6 79.104-0 68.608-41.856 127.424-118.72 127.424z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-iis" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 314, + "id": 281, + "prevSize": 16, + "code": 59664, + "name": "it-app-iis" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 16 + }, + { + "icon": { + "paths": [ + "M896 1024c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z", + "M728.832 195.008h-418.624l201.792 140.992z", + "M832 170.688l-315.968 221.312-316.032-220.416v348.416h632z", + "M896 0h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c0-70.912-57.152-128-128-128zM896 584h-760v-480h760v480z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-mailserver" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 315, + "id": 280, + "prevSize": 16, + "code": 59665, + "name": "it-app-mailserver" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 17 + }, + { + "icon": { + "paths": [ + "M896 1024c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z", + "M599.744 280.64c-9.664 0-17.664 4.352-24.064 13.184-6.464 8.768-9.6 22.016-9.6 39.872 0 18.432 2.496 32 7.424 40.832 6.976 12.416 16.256 18.688 27.84 18.688 8.896 0 16.448-4.416 22.656-13.312 6.272-8.896 9.344-22.848 9.344-41.92 0-20.288-3.136-34.944-9.408-43.904s-14.4-13.44-24.192-13.44z", + "M425.088 280.64c-8.832 0-16.064 3.776-21.76 11.2-5.76 7.488-8.576 17.6-8.448 30.464h60.16c-0.32-13.632-3.328-23.936-9.024-31.040-5.76-7.104-12.736-10.624-20.928-10.624z", + "M896 0h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c0-70.912-57.152-128-128-128zM297.536 426.304h-44.928l-41.856-183.296-41.664 183.296h-46.016l-50.112-245.184h43.392l31.68 168.384 38.4-168.384h50.432l36.8 171.264 32.192-171.264h42.688l-51.008 245.184zM403.904 383.616c6.208 7.744 13.952 11.648 23.232 11.648 6.272 0 11.584-2.048 15.936-6.016 4.224-4.096 7.488-10.56 9.664-19.456l40.128 7.872c-5.184 17.152-13.312 30.208-24.448 39.232-11.136 8.96-25.024 13.44-41.728 13.44-26.496 0-46.016-10.048-58.752-30.272-10.048-16.192-15.040-36.608-15.040-61.248 0-29.44 6.592-52.48 19.776-69.184s29.824-25.024 49.984-25.024c22.656 0 40.448 8.704 53.568 26.176s19.328 44.16 18.752 80.192h-100.864c0.32 14.016 3.52 24.896 9.792 32.64zM656.128 405.76c-12.352 16.384-27.456 24.576-45.056 24.576-8.704 0-17.28-2.56-25.728-7.616s-15.808-12.544-21.824-22.528v26.112h-37.44v-245.184h40.32v88.32c12.352-16.512 27.136-24.768 44.096-24.768 18.496 0 33.792 7.808 45.952 23.488 12.096 15.68 18.176 38.144 18.176 67.456 0 30.4-6.208 53.76-18.496 70.144zM856.704 393.92c-6.4 11.584-15.552 20.544-27.584 26.944s-25.472 9.6-40.448 9.6c-19.072 0-34.944-3.264-47.808-9.728-12.8-6.464-22.912-16.192-30.272-29.184-7.232-12.992-11.136-27.648-11.52-44.032l26.176-2.688c1.28 12.224 4.096 22.336 8.704 30.208 4.544 7.872 11.584 14.208 21.12 19.072s20.288 7.296 32.256 7.296c10.56 0 19.968-1.856 28.032-5.504s14.208-8.704 18.112-15.104c4.032-6.464 5.952-13.376 5.952-20.992 0-7.68-1.856-14.4-5.696-20.16-3.904-5.76-10.112-10.56-18.944-14.464-5.632-2.56-18.112-6.592-37.376-11.968-19.328-5.376-32.832-10.496-40.576-15.296-9.984-6.144-17.472-13.76-22.464-22.848-4.864-9.088-7.36-19.264-7.36-30.528 0-12.352 3.008-23.936 9.088-34.688 6.016-10.752 14.784-18.944 26.304-24.512 11.584-5.568 24.448-8.384 38.592-8.384 15.552 0 29.312 2.944 41.216 8.768s21.056 14.464 27.456 25.856 9.792 24.256 10.304 38.656l-26.624 2.368c-1.408-15.488-6.336-27.2-14.592-35.136s-20.416-11.904-36.608-11.904c-16.832 0-29.056 3.584-36.736 10.816-7.68 7.168-11.52 15.872-11.52 25.984 0 8.832 2.688 16.064 8.192 21.76 5.312 5.696 19.328 11.52 41.856 17.472s38.080 11.2 46.528 15.616c12.16 6.592 21.248 14.912 27.072 25.024s8.768 21.696 8.768 34.88c0 12.992-3.2 25.28-9.6 36.8zM937.6 426.304h-29.376v-34.304h29.376v34.304zM1019.2 426.304h-29.376v-34.304h29.376v34.304z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-websphere" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 316, + "id": 279, + "prevSize": 16, + "code": 59666, + "name": "it-app-websphere" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 18 + }, + { + "icon": { + "paths": [ + "M896 1024c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z", + "M450.688 255.616c-14.656 0-27.648 6.848-38.848 20.544s-16.896 33.536-16.896 59.648c0 26.112 5.312 45.376 15.872 57.856s23.36 18.688 38.4 18.688c15.296 0 28.352-6.464 39.232-19.392 10.944-12.928 16.384-32.96 16.384-60.032 0-25.856-5.312-45.184-16-58.048s-23.36-19.264-38.144-19.264z", + "M203.2 185.472c-3.584 17.92-8.576 35.776-15.040 53.44l-30.72 82.112h94.912l-29.312-77.44c-8.896-23.552-15.488-42.944-19.84-58.112z", + "M624.64 354.112c-5.888 2.56-10.368 6.272-13.568 11.2s-4.736 10.368-4.736 16.32c0 9.216 3.456 16.832 10.368 22.912s17.152 9.152 30.528 9.152c13.248 0 25.024-2.88 35.328-8.704s17.856-13.696 22.72-23.808c3.712-7.744 5.504-19.2 5.504-34.368v-12.544c-12.416 5.12-31.168 9.408-56.128 12.992-14.144 2.048-24.128 4.352-30.016 6.848z", + "M896 0h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c0-70.912-57.152-128-128-128zM296.384 436.032l-32.64-84.8h-117.056l-30.72 84.8h-39.36l107.52-280h39.872l114.56 280h-42.176zM528.704 389.184c-7.424 16.576-18.24 29.376-32.448 38.208-14.272 8.832-29.12 13.312-44.8 13.312-11.456 0-21.76-2.432-30.784-7.296-9.152-4.864-16.64-10.944-22.464-18.368v98.688h-34.368v-280.448h31.296v26.368c7.424-10.368 15.68-18.112 25.024-23.232s20.544-7.744 33.792-7.744c17.344 0 32.576 4.48 45.824 13.376s23.232 21.44 30.016 37.696c6.72 16.192 10.112 34.048 10.112 53.376 0 20.736-3.776 39.424-11.2 56.064zM720.512 436.032c-3.584-7.104-5.888-15.488-6.848-25.024-12.736 10.816-25.024 18.496-36.736 22.912-11.84 4.416-24.448 6.656-37.952 6.656-22.272 0-39.36-5.44-51.392-16.32-11.968-10.816-17.984-24.704-17.984-41.664 0-9.92 2.24-19.008 6.784-27.2 4.48-8.192 10.432-14.784 17.728-19.776 7.36-4.928 15.616-8.768 24.768-11.264 6.72-1.792 16.96-3.52 30.592-5.184 27.776-3.328 48.192-7.232 61.312-11.84 0.128-4.736 0.192-7.68 0.192-8.96 0-14.016-3.264-23.872-9.728-29.632-8.768-7.744-21.824-11.648-39.104-11.648-16.192 0-28.096 2.816-35.84 8.512-7.68 5.632-13.376 15.68-17.088 30.080l-33.664-4.544c3.072-14.4 8.064-26.048 15.040-34.88s17.152-15.68 30.4-20.416c13.248-4.736 28.544-7.168 46.080-7.168 17.344 0 31.36 2.048 42.176 6.144 10.816 4.032 18.752 9.216 23.872 15.36 5.056 6.144 8.64 13.952 10.688 23.36 1.152 5.888 1.664 16.448 1.664 31.744v45.824c0 32 0.768 52.16 2.24 60.672 1.408 8.448 4.288 16.576 8.704 24.32h-35.904zM847.744 436.032h-39.168v-39.104h39.168v39.104zM956.352 436.032h-39.168v-39.104h39.168v39.104z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-apache" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 317, + "id": 278, + "prevSize": 16, + "code": 59667, + "name": "it-app-apache" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 19 + }, + { + "icon": { + "paths": [ + "M900.032-3.968h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c-0-70.912-57.152-128-128-128zM361.152 403.136c0 40.256-4.864 71.424-14.592 93.504s-25.152 38.976-46.272 50.56c-21.12 11.52-45.888 17.344-74.304 17.344-42.24 0-74.56-12.096-96.96-36.352-22.464-24.32-33.216-60.416-32.32-108.288l57.408-7.872c1.536 36.736 8.448 61.888 20.672 75.456s29.248 20.352 50.88 20.352c16 0 29.76-3.712 41.344-11.008s19.584-17.28 23.936-29.824c4.352-12.608 6.528-32.704 6.528-60.288v-331.328h63.68v327.744zM811.52 479.744c-9.472 19.392-21.248 34.304-35.264 44.8s-31.552 18.432-52.672 23.744c-21.12 5.376-46.912 8.064-77.568 8.064h-183.424v-480.96h180.416c36.736 0 66.24 4.864 88.448 14.592s39.616 24.704 52.16 44.928c12.544 20.224 18.88 41.408 18.88 63.488 0 20.544-5.568 39.936-16.768 58.048-11.136 18.176-28.032 32.832-50.496 43.968 29.056 8.512 51.456 23.104 67.072 43.648s23.424 44.864 23.424 72.832c0 22.592-4.736 43.52-14.208 62.848z", + "M707.84 342.272c-16.32-5.312-39.744-8-70.4-8h-111.232v165.376h119.808c20.544 0 35.008-0.768 43.328-2.304 14.656-2.624 26.88-6.976 36.736-13.12 9.792-6.144 17.856-15.040 24.256-26.752s9.472-25.216 9.472-40.512c0-17.92-4.544-33.536-13.76-46.784-9.152-13.248-21.952-22.528-38.208-27.904z", + "M690.944 271.936c16.192-4.8 28.352-12.8 36.544-24s12.288-25.152 12.288-41.984c0-15.936-3.84-30.016-11.52-42.176-7.616-12.096-18.56-20.416-32.832-24.96-14.208-4.48-38.592-6.72-73.152-6.72h-96.064v145.344h104c28.224 0 48.448-1.792 60.736-5.504z", + "M900.032 1020.032c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-jboss" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 318, + "id": 277, + "prevSize": 16, + "code": 59668, + "name": "it-app-jboss" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 20 + }, + { + "icon": { + "paths": [ + "M399.965 340.713h-172.125l-227.84 387.398 88.343 2.56 51.293-100.119h223.139l41.053 99.98h182.132l-185.996-389.818zM173.009 561.385l82.060-138.612 73.123 138.519-155.183 0.093z", + "M590.988 426.636l100.119-44.87h29.51v343.692h-85.876v-243.665h-42.356z", + "M970.799 381.766h-150.388c-28.207 0-51.153 22.854-51.153 51.107v241.478c0 28.253 22.9 51.153 51.153 51.153h150.388c28.207 0 51.153-22.854 51.153-51.153v-241.524c0-28.207-22.854-51.060-51.153-51.060zM941.196 635.718c0 24.716-20.154 44.87-44.87 44.87-24.762 0-44.916-20.154-44.916-44.87v-161.652c0-24.809 20.154-44.87 44.916-44.87 24.716 0 44.87 20.061 44.87 44.87v161.652z" + ], + "attrs": [ + { + "fill": "rgb(24, 49, 109)" + }, + { + "fill": "rgb(24, 49, 109)" + }, + { + "fill": "rgb(24, 49, 109)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-a10bala" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 0, + 0, + 0 + ] + } + }, + "attrs": [ + { + "fill": "rgb(24, 49, 109)" + }, + { + "fill": "rgb(24, 49, 109)" + }, + { + "fill": "rgb(24, 49, 109)" + } + ], + "properties": { + "order": 319, + "id": 276, + "prevSize": 16, + "code": 59669, + "name": "it-other-a10bala" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 21 + }, + { + "icon": { + "paths": [ + "M176.567 573.586c11.703-14.263 27.721-67.584 27.721-67.584v-92.745l-103.424-9.874-100.864 10.898v92.745c0 0 15.945 53.321 27.794 67.803 39.058 48.421 53.979 63.415 73.070 83.017h1.463v-1.097h1.317c18.798-19.529 33.792-34.45 72.923-83.163zM103.131 617.179h-1.024v0.878h-1.024c-14.775-15.36-26.478-16.311-57.198-54.199-9.143-11.557-21.723-53.248-21.723-53.248v-72.485l78.921-8.631 80.896 7.826v72.485c0 0-12.434 41.618-21.577 52.882-30.72 38.181-42.423 39.205-57.271 54.491z", + "M166.4 454.144l-65.097-6.217-63.415 6.875v58.368c0 0 10.021 33.499 17.481 42.642 24.576 30.574 34.085 31.451 45.934 43.593h0.878v-0.731h0.878c11.776-12.069 21.285-12.946 45.934-43.52 7.461-8.997 17.408-42.642 17.408-42.642v-58.368z", + "M901.12 498.395c67.584 0 122.441-22.455 122.441-50.395 0-0.293 0-0.512 0-0.805 0-0.146 0-0.585 0-0.805-1.682-27.209-56.027-48.933-122.441-48.933-67.438 0.146-122.295 22.747-122.295 50.542 0 27.867 54.857 50.395 122.295 50.395z", + "M901.632 509.806c-67.511 0-122.368-22.601-122.368-50.395 0-1.682-0.731-6.949-0.878-10.167v31.525c0.439 4.754 0.878 9.874 0.878 12.142 0 27.794 54.857 50.469 122.368 50.469 67.584 0 122.368-22.674 122.368-50.469v-33.573c0 27.867-54.784 50.469-122.368 50.469z", + "M901.632 558.738c-67.511 0-122.368-22.747-122.368-50.395 0-1.609-0.731-6.583-0.878-9.655v29.403c0.439 4.827 0.878 9.874 0.878 12.069 0 28.087 54.857 50.542 122.368 50.542 67.584-0.146 122.368-22.528 122.368-50.688v-31.817c0 27.794-54.784 50.542-122.368 50.542z", + "M901.632 605.842c-67.511 0-122.368-22.455-122.368-50.395 0-1.536-0.731-6.583-0.878-9.728v31.013c0.146 1.024 0.439 2.267 0.439 2.999 0 28.014 54.857 50.395 122.295 50.395 67.584 0 122.441-22.601 122.441-50.395 0-0.731 0.219-1.975 0.439-2.999v-21.285c0 27.867-54.784 50.395-122.368 50.395z", + "M623.835 37.522c0-20.699-17.701-37.376-39.57-37.376h-94.427c-21.87-0.073-39.643 16.677-39.643 37.376v54.711h173.568l0.073-54.711z", + "M450.267 247.369c0 20.626 17.701 37.376 39.57 37.376h94.501c21.943 0 39.57-16.75 39.57-37.376v-136.411h-173.641v136.411zM537.015 194.341c8.85 0 16.018 6.729 16.018 15.067s-7.168 14.994-16.018 14.994c-8.704 0-15.872-6.802-15.872-15.067s7.022-14.994 15.872-14.994z", + "M669.769 858.258c0 10.018-56.62 18.139-126.464 18.139s-126.464-8.121-126.464-18.139c0-10.018 56.62-18.139 126.464-18.139s126.464 8.121 126.464 18.139z", + "M418.67 874.496v121.051c0 0 27.721 28.306 128.512 28.453 106.423 0 122.661-28.453 122.661-28.453v-121.051c0 0-68.608 11.849-124.343 11.849-66.487 0.073-126.83-11.849-126.83-11.849zM501.979 965.559v0h-16.018v16.238l-25.673-24.43 25.673-23.771v16.165h16.018v15.799zM540.745 1009.737l-25.746-24.283h16.969v-15.141h16.896v15.141h16.969l-25.088 24.283zM578.926 949.687h16.018v-16.165l25.673 23.845-25.673 24.283v-16.165h-16.018v-15.799zM548.864 930.158v15.067h-16.969v-15.067h-16.969l25.673-24.357 25.234 24.357h-16.969z", + "M382.025 154.697l-23.406-53.687c-18.139 7.973-35.621 16.896-52.224 26.99l30.208 50.103c14.482-8.777 29.623-16.603 45.422-23.406z", + "M281.819 217.673l-38.181-44.325c-19.529 16.823-37.742 35.401-54.199 55.296l45.056 37.303c14.409-17.408 30.354-33.646 47.323-48.274z", + "M196.096 321.829l-50.761-29.111c-9.655 16.969-18.286 34.597-25.746 52.663l54.053 22.309c6.51-15.653 13.97-31.086 22.455-45.861z", + "M909.897 367.689l54.126-22.309c-7.607-18.359-16.091-35.986-25.746-52.736l-50.688 29.038c8.411 14.702 15.799 30.062 22.309 46.007z", + "M893.294 227.328c-16.823-20.334-35.547-39.351-55.808-56.466l-37.888 44.544c17.481 14.994 33.865 31.525 48.494 49.225l45.202-37.303z", + "M697.125 152.357c15.799 6.656 31.013 14.263 45.641 22.894l29.55-50.469c-16.75-9.801-34.304-18.578-52.37-26.258l-22.821 53.833z", + "M697.051 885.102l22.967 53.833c18.139-7.753 35.547-16.53 52.297-26.112l-29.257-50.688c-14.702 8.411-29.989 16.165-46.007 22.967z", + "M798.354 823.15l37.595 44.837c19.749-16.603 38.181-34.962 54.93-54.711l-44.544-37.888c-14.702 17.335-30.866 33.426-47.982 47.762z", + "M885.321 720.018l50.542 29.403c9.801-16.75 18.505-34.231 26.185-52.224l-53.833-22.967c-6.656 15.726-14.19 31.013-22.894 45.787z", + "M175.543 674.231l-53.76 22.967c7.753 18.139 16.53 35.547 26.112 52.224l50.615-29.257c-8.485-14.629-16.165-30.062-22.967-45.934z", + "M191.561 811.593c16.018 19.383 33.938 37.595 53.321 54.053l38.034-44.398c-16.823-14.409-32.402-30.208-46.299-46.958l-45.056 37.303z", + "M306.542 910.19c16.75 10.094 34.231 19.090 52.005 26.843l23.406-53.541c-15.506-6.802-30.72-14.629-45.422-23.406l-29.989 50.103z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "NFV" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 320, + "id": 275, + "prevSize": 16, + "code": 59670, + "name": "NFV" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 22 + }, + { + "icon": { + "paths": [ + "M785.481 880.786h-555.081l92.306-294.766h203.703v-73.143h-257.39l-78.921 252.050-102.619-420.937v-63.561h225.134l81.993 85.797h247.589v-73.143h-216.283l-81.993-85.797h-329.582v141.093l146.578 605.55h655.872l100.718-105.399-52.882-50.615z", + "M1020.050 696.393c-13.239-39.936-56.466-61.952-96.768-48.64-28.965 9.655-47.909 34.816-51.639 63.195l-264.558-0.293c-0.731-4.169-1.609-8.265-2.853-12.288-4.096-12.142-10.971-22.235-19.383-30.501l160.841-265.874c16.018 5.998 33.938 7.168 51.273 1.39 40.155-13.312 61.879-56.686 48.494-96.914-13.312-40.155-56.539-61.952-96.768-48.64-40.082 13.312-61.806 56.686-48.567 96.841 3.73 11.118 9.801 20.846 17.554 28.745l-161.573 266.606c-15.287-5.266-32.037-5.998-48.64-0.585-40.155 13.312-61.952 56.613-48.64 96.768 13.312 40.302 56.613 62.025 96.841 48.64 24.576-8.119 42.13-27.502 49.152-50.469l269.824 0.219c13.312 40.155 56.686 61.879 96.695 48.567 40.302-13.385 62.025-56.686 48.713-96.768z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "VNFM" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 321, + "id": 274, + "prevSize": 16, + "code": 59671, + "name": "VNFM" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 23 + }, + { + "icon": { + "paths": [ + "M706.267 645.632c-29.989 0-55.589 17.627-67.73 42.935l-246.93-81.993c0.805-4.023 1.317-8.119 1.317-12.507 0-12.361-3.365-24.064-8.631-34.523l232.448-198.29c13.166 10.533 29.403 17.042 47.25 17.042 41.545 0 75.41-33.719 75.41-75.337 0-41.545-33.865-75.264-75.41-75.264-41.618 0-75.337 33.719-75.337 75.337 0 11.63 2.779 22.455 7.534 32.256l-233.253 198.949c-12.654-9.728-28.233-15.579-45.275-15.579-41.691 0-75.41 33.646-75.41 75.264 0 41.691 33.719 75.264 75.41 75.264 25.454 0 47.835-12.434 61.513-31.89l251.831 83.749c0 41.618 33.719 75.264 75.264 75.264 41.691 0 75.557-33.646 75.557-75.264-0.073-41.618-33.792-75.41-75.557-75.41z", + "M512 0c-282.258 0-512 229.742-512 512 0 282.331 229.742 512 512 512 282.331 0 512-229.669 512-512 0-282.258-229.669-512-512-512zM512 950.857c-242.030 0-438.857-196.827-438.857-438.857s196.827-438.857 438.857-438.857 438.857 196.827 438.857 438.857-196.827 438.857-438.857 438.857z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "VNF" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 322, + "id": 273, + "prevSize": 16, + "code": 59672, + "name": "VNF" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 24 + }, + { + "icon": { + "paths": [ + "M536.869 599.698c-24.21 0-44.763 14.19-54.638 34.597l-198.729-66.048c0.585-3.218 1.024-6.583 1.024-10.094 0-9.947-2.706-19.383-6.949-27.721l187.246-159.671c10.533 8.485 23.625 13.751 38.034 13.751 33.499 0 60.709-27.209 60.709-60.709s-27.209-60.709-60.709-60.709-60.709 27.282-60.709 60.782c0 9.362 2.194 18.066 5.998 25.966l-187.831 160.183c-10.167-7.826-22.674-12.581-36.425-12.581-33.499 0-60.709 27.136-60.709 60.635s27.209 60.635 60.709 60.635c20.48 0 38.546-10.021 49.518-25.673l202.752 67.365c0 33.573 27.209 60.635 60.709 60.635s60.782-27.063 60.782-60.635c-0.073-33.499-27.209-60.709-60.782-60.709z", + "M1024 360.594l-192.073-99.547-192.146 99.547 192.146 99.621 192.073-99.621zM831.927 299.666l117.321 60.928-117.321 60.928-117.467-60.928 117.467-60.928z", + "M831.927 551.278l-105.253-54.638h-74.679l179.931 93.33 179.931-93.33h-74.679z", + "M831.927 681.106l-105.253-54.784h-74.679l179.931 93.403 179.931-93.403h-74.679z", + "M821.394 822.857c-79.36 79.067-188.782 128-309.394 128-242.030 0-438.857-196.827-438.857-438.857s196.827-438.857 438.857-438.857c97.792 0 187.904 32.549 260.974 86.894h109.861c-93.33-98.304-224.914-160.037-370.834-160.037-282.331 0-512 229.669-512 512 0 282.258 229.669 512 512 512 165.376 0 312.247-79.141 405.87-201.143h-96.475z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "VNFC" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 323, + "id": 272, + "prevSize": 16, + "code": 59673, + "name": "VNFC" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 25 + }, + { + "icon": { + "paths": [ + "M992.11 634.734l-49.591-20.773c1.097-10.167 3.072-19.968 3.072-30.354 0-10.459-1.829-20.041-3.072-30.135l49.737-20.919c26.917-11.337 39.058-44.178 27.063-73.509l-14.994-36.571c-11.922-29.403-43.447-43.959-70.363-32.549l-49.591 20.773c-9.582-12.361-20.261-23.845-32.11-34.377l22.894-49.079c12.361-26.697-0.366-59.246-28.745-72.85l-35.401-16.75c-28.16-13.531-61.147-2.926-73.435 23.771l-4.169 8.85h-122.88l-4.169-8.923c-12.434-26.697-45.349-37.303-73.509-23.771l-35.401 16.823c-8.046 3.877-14.409 9.435-19.749 15.799h-69.266l-81.993-85.797h-329.655v141.166l146.578 605.623h394.24c14.043 5.339 28.599 5.12 41.253 0h186.149c14.117 5.705 30.647 6.071 46.007-1.317l35.328-17.115c25.088-11.776 36.864-38.546 30.939-63.049l22.821-23.845-42.423-40.594c9.509-9.070 18.578-18.432 26.77-28.745l49.371 20.919c26.917 11.191 58.514-3.218 70.437-32.622l14.994-36.498c12.142-29.55-0.219-62.098-27.136-73.582zM400.384 563.127c-0.951 6.729-2.048 13.458-2.048 20.48 0 10.459 1.975 20.187 3.072 30.501l-49.664 20.773c-26.917 11.337-39.131 43.886-27.136 73.435l15.141 36.498c11.849 29.403 43.447 43.886 70.29 32.622l49.371-20.626c9.728 12.288 20.48 23.698 32.037 34.231l-22.821 49.079c-2.706 5.778-3.657 11.849-4.096 17.92h-251.611l92.306-294.912h95.159zM841.070 583.753c0 94.574-75.776 171.593-169.033 171.593-93.477 0-169.179-77.019-169.179-171.593 0-7.095 1.243-13.824 2.048-20.699h4.096v-22.674c19.017-73.801 84.48-128.366 163.109-128.366 93.184 0 168.96 76.727 168.96 171.739zM715.118 857.966h-10.094c3.218-0.512 6.583-0.512 9.728-1.024l0.366 1.024zM638.683 857.966h-10.094l0.512-1.024c3.145 0.585 6.437 0.585 9.582 1.024zM69.925 257.536h225.207l81.993 85.797h99.035l15.287 32.914c-11.703 10.533-22.382 22.016-32.11 34.377l-49.445-20.699c-26.843-11.337-58.368 3.145-70.217 32.549l-15.067 36.571c-4.242 10.313-4.535 20.846-3.145 30.939h-69.998l-78.921 252.197-102.619-421.010v-63.634z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "VIM" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 324, + "id": 271, + "prevSize": 16, + "code": 59674, + "name": "VIM" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 26 + }, + { + "icon": { + "paths": [ + "M153.161 185.125h315.465v73.143h-315.465v-73.143z", + "M153.161 331.41h315.465v73.143h-315.465v-73.143z", + "M360.009 572.562c0 27.146-22.006 49.152-49.152 49.152s-49.152-22.006-49.152-49.152c0-27.146 22.006-49.152 49.152-49.152s49.152 22.006 49.152 49.152z", + "M429.714 779.849h-237.714c-15.799 0-28.599 16.384-28.599 36.571s12.8 36.571 28.599 36.571h237.714c15.799 0 28.599-16.384 28.599-36.571s-12.8-36.571-28.599-36.571z", + "M951.589 841.143h-38.034c-40.009 0-72.411 32.402-72.411 72.485v12.288h-103.424v-377.929h104.96c5.705 34.304 34.158 60.928 70.071 60.928h38.034c40.009 0 72.411-32.402 72.411-72.411v-38.034c0-40.009-32.402-72.485-72.411-72.485h-38.034c-40.009 0-72.411 32.402-72.411 72.485v12.873h-102.546v-386.999h105.179c6.363 33.499 34.45 59.392 69.778 59.392h38.034c40.009 0 72.411-32.402 72.411-72.485v-37.961c0-40.009-32.402-72.485-72.411-72.485h-38.034c-40.009 0-72.411 32.402-72.411 72.485v14.482h-119.369v0.219h-19.822v423.424h-79.433v-406.894c0-57.637-45.568-104.521-101.669-104.521h-418.45c-56.027 0-101.595 46.885-101.595 104.521v815.031c0 57.563 45.568 104.448 101.595 104.448h418.45c56.101 0 101.669-46.885 101.669-104.521v-371.566h79.433v414.354h19.822v0.219h122.368c5.413 34.597 34.085 61.513 70.217 61.513h38.034c40.009 0 72.411-32.402 72.411-72.411v-37.961c0-40.082-32.402-72.485-72.411-72.485zM548.571 919.479c0 17.335-12.8 31.378-28.526 31.378h-418.45c-15.726 0-28.453-14.043-28.453-31.378v-814.958c0-17.335 12.727-31.378 28.453-31.378h418.45c15.726 0 28.526 14.043 28.526 31.378v814.958z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "VDU" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 325, + "id": 270, + "prevSize": 16, + "code": 59675, + "name": "VDU" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 27 + }, + { + "icon": { + "paths": [ + "M336.238 185.125h315.465v73.143h-315.465v-73.143z", + "M703.122 0h-418.45c-56.027 0-101.595 46.885-101.595 104.521v815.031c0 57.563 45.568 104.448 101.595 104.448h418.523c56.101 0 101.669-46.885 101.669-104.521v-814.958c-0.073-57.637-45.641-104.521-101.742-104.521zM731.648 919.479c0 17.262-12.8 31.378-28.526 31.378h-418.45c-15.653 0-28.453-14.043-28.453-31.378v-814.958c0-17.335 12.727-31.378 28.453-31.378h418.523c15.726 0 28.526 14.043 28.526 31.378v814.958z", + "M336.238 331.41h315.465v73.143h-315.465v-73.143z", + "M543.086 572.562c0 27.146-22.006 49.152-49.152 49.152s-49.152-22.006-49.152-49.152c0-27.146 22.006-49.152 49.152-49.152s49.152 22.006 49.152 49.152z", + "M612.791 779.849h-237.714c-15.799 0-28.599 16.384-28.599 36.571s12.8 36.571 28.599 36.571h237.714c15.799 0 28.599-16.384 28.599-36.571s-12.8-36.571-28.599-36.571z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "host" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 326, + "id": 269, + "prevSize": 16, + "code": 59676, + "name": "host" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 28 + }, + { + "icon": { + "paths": [ + "M512 0c-282.331 0-512 229.669-512 512 0 239.031 164.864 439.808 386.779 495.835 0.366 0.585 1.097 1.536 1.317 1.755l1.463-1.097c39.278 9.801 80.165 15.506 122.441 15.506 282.258 0 512-229.742 512-512 0-282.331-229.742-512-512-512zM469.358 888.832c-11.995-14.775-29.477-24.869-49.957-24.869-15.799 0-29.769 6.363-41.106 15.726-3.145-6.29-6.363-12.434-9.582-19.237 43.081-19.383 92.891-47.982 145.701-90.478 8.631 4.242 18.066 7.168 28.379 7.168 24.576 0 45.129-14.117 56.247-34.158 135.753-12.507 248.174-65.024 320.366-108.617 4.315 1.17 8.485 2.341 13.093 2.633-5.047 16.969-11.045 33.499-18.066 49.591-56.174 36.279-192.366 123.026-242.249 143.579-53.029 21.87-143.726 44.837-202.825 58.661zM82.798 420.937l4.974 5.705c0.878-0.805 64.219-52.955 183.735-90.77-17.554 46.226-30.574 95.232-35.474 145.92-3.291 34.597-3.584 68.315-1.682 101.083-1.463 0.805-2.779 1.829-4.169 2.779-70.949-47.909-123.904-101.083-152.503-133.047 1.463-10.679 2.926-21.358 5.12-31.671zM512 73.143c77.019 0 149.358 20.041 212.261 55.003-1.536 26.551-4.901 67.218-11.41 115.054-6.29 3.365-12.142 7.314-16.969 12.434-62.757-11.63-133.12-18.871-207.506-16.018-36.059 1.463-69.851 4.681-101.449 9.289-1.243-2.341-2.926-4.389-4.389-6.51 45.787-76.507 97.719-136.777 128-169.179 0.512 0 0.951-0.073 1.463-0.073zM934.107 393.435c10.533 37.303 16.53 76.434 16.677 116.955-4.901-1.17-9.582-2.926-14.775-2.926-35.986 0-65.17 29.111-65.17 65.17 0 7.022 1.902 13.531 4.023 19.822-64.585 37.23-158.427 78.921-268.873 91.355 2.56-2.926 5.193-5.413 7.826-8.338 72.119-80.603 113.737-201.509 137.801-312.174 16.969-2.267 31.525-10.679 41.691-23.406 81.774 24.503 135.241 50.761 140.8 53.541zM292.791 577.682c-1.682-29.403-1.463-59.538 1.463-90.331 4.754-49.591 18.651-97.719 37.157-143.141 24.795-0.512 45.714-14.994 56.247-35.694 32.037-4.974 65.975-8.923 102.985-10.386 67.365-2.56 131.877 4.096 190.098 14.775 2.414 11.703 7.095 22.382 14.921 30.866-22.016 104.96-59.977 219.502-125.44 292.718-4.242 4.681-8.411 8.777-12.654 13.385-4.827-1.243-9.509-2.999-14.702-2.999-25.893 0-47.762 15.36-58.295 37.23-54.857-5.851-106.203-20.992-152.942-41.765 0.146-1.536 0.951-2.926 0.951-4.608-0-26.99-16.384-50.176-39.79-60.050zM457.435 739.767c-40.667 30.208-78.775 51.566-112.128 66.633-13.019-32.841-25.088-69.413-34.523-108.91 45.056 19.602 94.062 34.67 146.651 42.277zM904.119 316.123c-25.893-10.533-59.611-22.747-99.401-34.45-5.12-17.262-16.603-31.305-32.329-39.278 3.803-28.891 6.363-54.93 8.119-76.873 51.712 40.229 94.062 91.648 123.611 150.601zM424.594 81.92c-29.038 34.889-62.683 79.872-93.915 132.389-0.146 0-0.293-0.146-0.439-0.146-34.962 0-62.83 27.575-64.512 62.098-69.632 20.773-122.88 45.861-158.72 66.926 55.369-132.389 173.787-232.082 317.586-261.266zM74.24 534.162c32.475 31.89 75.703 69.339 128.146 104.082 0.219 29.842 20.919 53.906 48.494 61.221 10.386 46.811 24.283 89.893 39.497 128.146-37.595 11.849-61.879 14.263-66.414 14.629-86.967-75.922-143.506-185.417-149.723-308.078zM288.987 889.271c7.68-2.048 15.945-4.535 24.722-7.387 4.608 9.728 9.216 18.944 13.751 27.721-13.239-6.144-26.039-12.873-38.473-20.334zM512 950.857c-10.679 0-21.065-0.878-31.525-1.536 0.366-1.024 0.366-2.048 0.658-3.072 60.709-14.19 155.648-38.107 213.504-62.098 31.086-12.873 89.6-47.177 144.896-81.115-80.384 90.478-197.266 147.822-327.534 147.822z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "NS" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 327, + "id": 268, + "prevSize": 16, + "code": 59677, + "name": "NS" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 29 + }, + { + "icon": { + "paths": [ + "M86 0v80h268v324h140v92h-208v-346h-286v874h286v-388h208v34h286v-520h-286v172h-80v-322zM580 0v80h264v590h60v-670zM690 738.578c-34.861 0.001-62.608 12.688-84 38s-32 60.25-32 106c-0 43.25 10.721 77.061 32 102s48.95 38 82 38c26.711 0 48.626-7.439 66-22s28.53-36 36-66l-48-18c-4.188 20.125-12.379 34.624-22 44-9.621 9.356-20.644 14-34 14-18.11 0-32.682-7.25-44-22s-16-39.25-16-74c-0-32.75 4.512-55.375 16-70s27.551-21.999 46-22c13.356 0.001 24.662 3.75 34 12s15.057 19.75 18 34l50-14c-5.66-21.999-14.682-38.249-26-50-19.015-19.875-43.553-29.999-74-30zM920 738.578c-19.128 0.001-34.474 3.624-48 10s-24.813 15.812-32 28c-7.187 12.188-10 24-10 38 0 21.75 6.72 40.875 22 56 10.866 10.75 31.062 20.625 58 28 20.939 5.751 34.114 9.747 40 12 8.602 3.375 14.548 7.44 18 12 3.452 4.563 6 9.503 6 16-0 10.125-5.795 18.434-14 26-8.206 7.573-19.815 12-36 12-15.28 0-27.002-5.499-36-14-8.998-8.497-15.057-21.875-18-40l-50 6c3.283 30.75 15.135 53.939 32 70 16.865 16.068 40.535 24 72 24 21.618 0 39.512-3.341 54-10 14.487-6.685 26.077-16.253 34-30s12-28.25 12-44c-0-17.375-3.379-32.188-10-44s-16.286-21.187-28-28c-11.715-6.813-29.552-13.624-54-20-24.448-6.374-39.662-12.122-46-18-4.98-4.625-8-11.496-8-18-0-7.125 2.68-11.749 8-16 8.262-6.622 19.399-10 34-10 14.148 0 24.926 3.812 32 10s11.85 15.875 14 30l50-2c-0.792-25.25-8.211-46.874-24-62-15.789-15.124-40.761-21.999-72-22zM324 742.578l90 276h54l88-276h-52l-62 204-62-204z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-cluster-vcs" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 328, + "id": 267, + "prevSize": 16, + "code": 59678, + "name": "it-cluster-vcs" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 30 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106h-832zM76 74h872v420h-872v-420zM128 148v132h338v-132h-338zM546 148v132h338v-132h-338zM126 326v130h338v-130h-338zM546 326v130h338v-130h-338zM68 616v322h244v-54h-180v-88h162v-54h-162v-72h174v-54h-238zM334 616l116 322h68l116-322h-70l-78 238-82-238h-70zM758 616l-124 322h68l28-74h128l28 74h70l-128-322h-70zM792 692l44 118h-86l42-118z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-hpeva" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 329, + "id": 266, + "prevSize": 16, + "code": 59679, + "name": "it-diskraid-hpeva" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 31 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM142 625.254v56h142l-160 220v62h246v-58h-172l166-228v-52zM388 625.254v56h90v282h62v-282h90v-56zM670 625.254v338h230v-58h-170v-92h152v-56h-152v-76h164v-56z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-zte" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 330, + "id": 265, + "prevSize": 16, + "code": 59680, + "name": "it-diskraid-zte" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 32 + }, + { + "icon": { + "paths": [ + "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v112h352v-112h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h320v-176h-320v-56h178v-112zM488 232v176h352v-176h-352zM768 480c-39.586 0-71.709 16.469-96 46s-36 70.625-36 124c-0 50.458 11.837 88.906 36 118s56.47 44 94 44c30.332 0 54.271-7.010 74-24s33.517-43 42-78l-54-20c-4.756 23.479-13.076 39.063-24 50s-24.834 18-40 18c-20.564 0-37.148-8.792-50-26s-18-47.458-18-88c-0-38.208 4.955-64.937 18-82s31.050-26 52-26c15.166 0 27.396 4.375 38 14s18.658 23.375 22 40l56-16c-6.427-25.666-17.148-44.291-30-58-21.593-23.187-49.427-36-84-36zM142 486v322h56v-142h112v142h58v-322h-58v126h-112v-126h-56zM504 486c-15.552 0-29.469 3.365-42 10s-22.995 14.407-30 26c-7.005 11.594-12.53 26.604-16 46l50 10c1.414-14 5.445-24.708 12-32s14.746-10 24-10c9.382 0 16.345 3.584 22 10s10 15.209 10 26c-0 12.688-4.289 22.344-12 30s-19.348 10.438-34 10l-6 50c9.639-3.062 19.060-4 26-4 10.539 0 18.674 4.959 26 14s10 20.542 10 36c-0 16.333-2.353 30.375-10 40s-16.818 14-28 14c-10.411 0-20.674-3.979-28-12s-10.329-20.833-12-36l-54 8c2.699 26.979 13.163 49.302 30 66s38.423 24 64 24c26.99 0 49.878-10.167 68-30s26-43.854 26-72c-0-19.396-4.297-34.292-14-48s-21.806-24.062-38-28c27.119-16.771 40-37.854 40-66-0-19.833-6.762-38.25-20-54-16.066-19.25-37.395-28-64-28z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-h3c" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 331, + "id": 264, + "prevSize": 16, + "code": 59681, + "name": "it-firewall-h3c" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 33 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v410h1024v-410c0-75.55-60.45-136-136-136h-752zM92 88h72v408h-72v-408zM232 88h142c28.247 0.001 50.12 1.312 64 4s27.042 7.469 38 16c10.958 8.532 18.694 19.812 26 34 7.305 14.189 12 30.381 12 48-0 19.103-4.99 36.050-14 52s-20.578 28.025-36 36c21.753 7.233 38.311 20.566 50 38s16 36.445 16 60c-0 18.547-2.451 36.473-10 54s-18.932 31.521-32 42c-13.069 10.479-28.844 17.589-48 20-12.013 1.484-40.058 3.624-86 4h-122v-408zM592 88h108l64 278 64-278h108v408h-68v-322l-70 322h-70l-70-322v322h-66v-408zM304 156v94h48c28.085 0.001 45.181-1.090 52-2 12.338-1.669 20.938-5.934 28-14 7.062-8.068 12-18.832 12-32-0-12.612-3.912-24.117-10-32s-13.987-12.331-26-14c-7.143-0.93-28.071 0-62 0h-42zM304 318v108h66c25.974 0 43.019-0.331 50-2 10.714-2.223 19.263-7.375 26-16s10-21.534 10-36c-0-12.241-2.805-21.468-8-30s-12.179-14.105-22-18c-9.822-3.892-31.207-6-64-6h-58zM396 594v274h94c35.375-0.256 56.75-0.976 66-2 14.75-1.626 27.937-4.941 38-12 10.062-7.066 18.187-16.186 24-28s8-25.501 8-38c-0-15.878-3-28.25-12-40s-23.25-21.136-40-26c11.875-5.37 21.062-13.248 28-24 6.937-10.746 12-23.123 12-36-0-11.872-4.375-22.438-10-32s-11.563-16.24-20-22c-8.438-5.779-19.313-10.208-30-12s-26.25-2-48-2h-110zM452 640h32c26.125 0 42.5-0.64 48 0 9.25 1.126 15.312 4.688 20 10s8 11.494 8 20c-0 8.87-2.563 16.56-8 22-5.438 5.427-14.5 8.848-24 10-5.25 0.96-18.375 0-40 0h-36v-62zM452 748h44c25.25 0 42.437 1.376 50 4s14 8.24 18 14c4 5.754 6 11.75 6 20-0 9.754-2.813 18.176-8 24-5.188 5.786-11.75 8.464-20 10-5.375 1.024-18 2-38 2h-52v-74zM0 886v2c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-2h-1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-ibm-blade" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 332, + "id": 263, + "prevSize": 16, + "code": 59682, + "name": "it-other-ibm-blade" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 34 + }, + { + "icon": { + "paths": [ + "M887.994 0h-751.988c-75.59 0-136.006 60.416-136.006 136.006v751.988c0 75.543 60.416 136.006 136.006 136.006h751.988c75.543 0 136.006-60.463 136.006-136.006v-751.988c0-75.59-60.463-136.006-136.006-136.006zM405.923 688.454c-12.567 19.363-30.627 34.49-54.179 45.242-23.505 10.799-49.99 16.198-79.453 16.198-37.329 0-68.608-5.399-93.836-16.337-25.228-10.845-45.009-27.183-59.299-49.059-14.383-21.876-21.923-46.545-22.668-74.147l51.433-4.515c2.467 20.62 8.099 37.609 16.989 50.781 8.89 13.219 22.761 23.924 41.519 32.023 18.758 8.192 39.843 12.288 63.302 12.288 20.806 0 39.191-3.072 55.11-9.309 15.919-6.144 27.788-14.615 35.607-25.46 7.773-10.705 11.636-22.528 11.636-35.328 0-12.847-3.77-24.204-11.264-33.885-7.494-9.635-19.875-17.734-37.097-24.297-11.078-4.329-35.561-10.985-73.402-20.154-37.888-9.030-64.419-17.687-79.593-25.693-19.689-10.38-34.397-23.133-44.032-38.447-9.635-15.267-14.476-32.349-14.476-51.293 0-20.806 5.911-40.262 17.687-58.368 11.823-18.060 29.091-31.837 51.759-41.193 22.807-9.309 48.035-14.010 75.776-14.010 30.58 0 57.53 4.934 80.849 14.755 23.366 9.868 41.286 24.343 53.853 43.473s19.316 40.774 20.247 64.977l-52.317 3.956c-2.839-26.065-12.335-45.754-28.579-59.066-16.198-13.359-40.122-20.015-71.82-20.015-33.001 0-57.065 6.051-72.145 18.153s-22.621 26.671-22.621 43.753c0 14.801 5.353 26.996 16.012 36.538 10.519 9.588 37.888 19.409 82.292 29.417 44.311 10.054 74.752 18.851 91.229 26.298 24.017 10.985 41.705 25.088 53.155 41.984 11.45 16.989 17.129 36.538 17.129 58.647 0.047 22.016-6.237 42.636-18.804 62.092zM852.294 379.159h-223.651v127.674h193.489v48.64h-193.489v187.345h-54.505v-412.3h278.156v48.64z" + ], + "attrs": [ + { + "fill": "rgb(96, 140, 193)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-secfox" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 3 + ] + } + }, + "attrs": [ + { + "fill": "rgb(96, 140, 193)" + } + ], + "properties": { + "order": 333, + "id": 262, + "prevSize": 16, + "code": 59683, + "name": "it-other-secfox" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 35 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM322 274c50.426 0 88.513 12.744 114 38 25.487 25.257 38.721 59.837 40 102l-80 4c-3.472-23.586-10.581-41.667-22-52-11.419-10.332-29.162-13.999-52-14-23.569 0.001-42.663 4.94-56 16-8.587 7.097-12 16.103-12 28-0 10.854 3.961 20.277 12 28 10.231 9.811 34.536 19.355 74 30 39.464 10.646 69.090 22.624 88 34s33.312 26.275 44 46c10.688 19.725 16 44.986 16 74-0 26.3-7.211 51.039-20 74s-30.614 38.833-54 50c-23.386 11.167-51.104 18-86 18-50.792 0-90.777-13.178-118-40s-42.702-66.652-48-118l78-8c4.75 30.266 15.475 51.806 30 66s33.335 22.001 58 22c26.126 0.001 46.754-7.372 60-20s20-27.092 20-44c-0-10.853-4.428-20.382-10-28s-14.115-14.364-28-20c-9.501-3.756-32.2-10.398-66-20-43.484-12.315-72.461-28.049-90-46-24.665-25.257-38-55.681-38-92-0-23.378 6.398-45.648 18-66s28.167-35.354 50-46c21.833-10.645 47.123-16 78-16zM556 282h298v78h-216v102h202v78h-202v124h224v78h-306v-460z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-segw" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 334, + "id": 261, + "prevSize": 16, + "code": 59684, + "name": "it-other-segw" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 36 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v410h1024v-410c0-75.55-60.45-136-136-136h-752zM122 146h234v50l-176 218h182v54h-260v-60l168-208h-148v-54zM380 146h256v54h-96v268h-64v-268h-96v-54zM678 146h238v54h-174v72h162v54h-162v88h180v54h-244v-322zM496 576c-38.5 0-70.375 12.688-94 38s-36 60.25-36 106c-0 43.25 12.5 77.063 36 102s53.5 38 90 38c29.5-0 54.812-7.438 74-22s31.75-38 40-68l-54-16c-4.625 20.125-11.375 34.625-22 44s-23.25 14-38 14c-20 0-37.5-7.25-50-22s-18-39.25-18-74c-0-32.75 7.312-57.375 20-72s27.625-22 48-22c14.75 0 27.687 5.75 38 14s16.75 17.75 20 32l56-12c-6.25-22-15.5-38.25-28-50-21-19.875-48.375-30-82-30zM122 580v46h82v228h56v-228h80v-46h-218zM734 580l-108 274h58l24-62h110l24 62h60l-110-274h-58zM762 644l38 102h-76l38-102zM0 886v2c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-2h-1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-zteatca" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 335, + "id": 260, + "prevSize": 16, + "code": 59685, + "name": "it-other-zteatca" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 37 + }, + { + "icon": { + "paths": [ + "M176 0c-97.115 0-176 78.886-176 176v672c0 97.114 78.885 176 176 176h672c97.115 0 176-78.886 176-176v-672c0-97.114-78.885-176-176-176h-672zM142 40c46.967 0 84 38.355 84 86.003 0 20.058-6.681 37.344-18 52l104 204c2.902 0 5.019-1.984 8-1.984 15.987 0 31.225 4.224 44 12l134-128c-3.301-9.203-4-19.642-4-29.997 0-47.648 37.033-86.003 84-86.003s86 38.355 86 86.003c0 0.64 0.014 1.344 0 1.984l164 76c14.938-13.197 34.634-21.997 56-21.997 46.967 0 86 40.352 86 88 0 47.642-39.033 85.997-86 85.997s-84-38.355-84-85.997c0-2.624-0.224-5.44 0-8l-160-76.006c-15.514 16.762-37.542 25.997-62 25.997-14.090 0-26.299-3.84-38-9.997l-138 132c2.086 7.475 4 15.84 4 24 0 47.642-39.033 85.997-86 85.997s-84-38.355-84-85.997c0-20.64 8.082-39.155 20-54.003l-102-201.997c-3.796 0.64-8.062 1.984-12 1.984-46.967 0-86-38.355-86-85.997 0-47.648 39.033-86.003 86-86.003zM140 636h234v50.003l-176 216h182v53.997h-260v-57.997l168-208h-148v-54.003zM398 636h256v54.003h-96v265.997h-64v-265.997h-96v-54.003zM696 636h238v54.003h-174v72h162v53.997h-162v86.003h180v53.997h-244v-320z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-zteips" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 336, + "id": 259, + "prevSize": 16, + "code": 59686, + "name": "it-other-zteips" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 38 + }, + { + "icon": { + "paths": [ + "M508 0c-82.558 0.672-166.697 21.188-244 64-247.365 137.005-336.997 448.64-200 696 112.572 203.257 342.286 298.233 558 250l84-146 29.283-49.683-47.283-92.317 52-28c-27.342-23.445-47.521-53.56-60-88l-44 24-54-98 92-50c24.687-87.31 104.927-152 200-152 50.663 0 95.87 19.753 132 50-10.596-39.485-25.3-78.624-46-116-94.189-170.064-270.372-265.479-452-264zM530 98c45.407 1.984 91.792 9.699 134 26l-66 36c-22.418-22.534-44.33-43.274-68-62zM400 112c39.131 26.349 77.86 57.629 114 94l-86 48-70-126c-0.339-0.64 0.362-1.424 0-2 13.85-5.504 27.877-10.038 42-14zM266 176c0.32 0.64 1.711 1.488 2 2l70 126-94 52c-11.828-49.536-16.086-99.133-18-146 12.612-11.942 25.674-23.568 40-34zM766 182c30.756 23.571 58.291 51.565 82 84l-118 66c-19.826-33.114-41.392-64.963-64-94l90-48c3.229-1.792 7.526-5.517 10-8zM584 286c22.436 28.877 42.268 59.046 62 92l-114 64-54-98zM146 318c3.501 27.974 7.145 55.238 14 84l-56 32c7.85-40.659 22.519-79.302 42-116zM388 394l54 98-122 66c-17.597-34.106-31.279-67.754-44-102zM192 502c12.788 34.547 26.288 69.67 44 104l-110 60c-14.57-36.442-26.168-74.317-30-112zM492 582l54 98-106 58c-24.154-28.173-46.514-57.469-68-90zM288 696c21.57 32.525 45.675 59.827 70 88l-102 58c-29.908-23.232-56.84-52.314-80-84zM596 772l70 126c-7.344 2.944-14.551 7.504-22 10-43.856-24.314-86.79-54.854-128-92zM432 862c28.391 25.472 58.222 46.435 88 66-53.331 1.024-106.52-9.274-156-28z", + "M873.145 391.853c-83.828 0-150.949 67.322-150.949 148.794 0 57.709 34.419 105.702 84.1 129.939v299.699c0 21.075 17.123 37.722 38.815 37.722h56.067c21.692 0 38.815-16.646 38.815-37.722v-299.699c49.682-24.237 84.1-72.23 84.1-129.939 0-81.472-67.121-148.794-150.949-148.794z", + "M745.671 902.592h247.663l36.421 118.976h-313.221z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-sdn-controller" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 337, + "id": 258, + "prevSize": 16, + "code": 59687, + "name": "it-sdn-controller" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 39 + }, + { + "icon": { + "paths": [ + "M0 4v424h76v-186h148v186h74v-424h-74v166h-148v-166h-76zM376 4v424h76v-160h50c34.135 0 59.998-1.945 78-6 13.246-3.282 25.178-9.863 38-20s23.678-24.237 32-42c8.321-17.763 12-39.935 12-66-0-33.788-5.565-60.665-20-82s-32.602-35.628-54-42c-13.926-4.247-44.148-6-90-6h-122zM452 76h36c27.172 0 44.999 0.070 54 2 12.227 2.51 24.018 7.96 32 18s12 24.554 12 40c-0 12.55-4.311 22.54-10 32s-11.981 17.56-22 22c-10.020 4.441-30.281 6-60 6h-42v-120zM986 406l-28 10-234 190-50-84-22-14-26-2-42 30-176 168-36 14-22-4 6-26 88-120 28-46-6-34-22-6-36 32-170 184-44 24-12-8 2-28 72-98 34-64-8-36-14-10-30 16-102 150-36 64-6 74 20 32 36 8 38-14 78-66 14 54 30 16 50 2 44-26 96-80 124-132 12-2 42 60 4 22-276 316c0 0-8.993 18.503 2 36s8 16 8 16l48-6 238-294 10-2 18 6 70 124 30 6 14-20-4-34-78-122 226-198 30-30-14-32-18-16z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-hpux" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 338, + "id": 257, + "prevSize": 16, + "code": 59688, + "name": "it-server-hpux" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 40 + }, + { + "icon": { + "paths": [ + "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM214 578c47.25 0 85.635 14.688 114 44s42 69.792 42 122c-0 51.771-13.854 92.76-42 122s-64.896 44-112 44c-47.688 0-85.854-14.906-114-44s-42-68.958-42-120c-0-32.666 4.229-59.833 14-82 7.292-16.333 17.385-31.021 30-44s26.979-21.729 42-28c19.979-8.458 41.896-14 68-14zM832 578c40.25 0 71.656 8.354 92 26s30.979 42.542 32 72l-66 2c-2.771-16.479-8.886-28.781-18-36s-21.771-10-40-10c-18.813 0-33.354 4.271-44 12-6.854 4.959-10 11.688-10 20-0 7.584 1.583 12.604 8 18 8.167 6.854 28.5 14.563 60 22s54.906 16.052 70 24c15.094 7.948 27.468 18.219 36 32s12 31.729 12 52c-0 18.375-3.792 33.958-14 50s-25.334 28.198-44 36c-18.667 7.802-42.146 12-70 12-40.542 0-72.271-9.26-94-28s-33.771-46.125-38-82l62-6c3.791 21.146 12.406 36.083 24 46s26.312 16 46 16c20.854 0 37.427-5.177 48-14s16-18.187 16-30c-0-7.583-1.552-14.677-6-20s-12.917-10.062-24-14c-7.583-2.625-25.021-7.292-52-14-34.708-8.604-60-19.458-74-32-19.688-17.646-28-38.625-28-64 0-16.333 4.74-31.781 14-46s22.573-24.562 40-32c17.427-7.437 37.354-12 62-12zM420 584h104c39.375 0 66.041 0.792 78 4 18.375 4.813 33.604 15.886 46 32s18 36.479 18 62c-0 19.688-2.854 36.583-10 50s-16.99 24.344-28 32c-11.011 7.656-20.625 11.521-32 14-15.459 3.062-38.688 6-68 6h-42v120h-66v-320zM216 634c-26.688 0-49.667 9.698-66 28s-24 45.104-24 82c-0 36.313 9.229 63.261 26 82s38.187 28 64 28c25.812 0 45.448-9.406 62-28s26-44.812 26-82c-0-36.75-7.886-65.916-24-84s-37.313-26-64-26zM486 638v92h36c25.521 0 41.396-2.646 50-6s15.114-8.854 20-16c4.885-7.146 8-14.521 8-24-0-11.667-3.146-22.416-10-30s-15.5-12.104-26-14c-7.729-1.458-24.667-2-48-2h-30z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-storage-ops" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 339, + "id": 256, + "prevSize": 16, + "code": 59689, + "name": "it-storage-ops" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 41 + }, + { + "icon": { + "paths": [ + "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM724 584c39.229 0 71.5 10.813 96 34 14.583 13.709 24.708 34.334 32 60l-64 16c-3.792-16.625-11.969-30.375-24-40s-24.792-14-42-14c-23.771 0-43.198 8.938-58 26s-24 43.792-24 82c-0 40.542 7.417 68.792 22 86s34.666 26 58 26c17.208 0 31.604-5.062 44-16s20.604-28.521 26-52l64 20c-9.625 35-25.615 61.010-48 78s-51.583 26-86 26c-42.583 0-76.583-14.906-104-44s-42-69.542-42-120c-0-53.375 14.437-94.468 42-124s63.083-44 108-44zM164 590h128c25.375 0 43.531-0.115 56 2s24.156 7.292 34 14c9.843 6.709 17.437 14.844 24 26s10 24.146 10 38c-0 15.021-3.907 29.459-12 42s-18.146 21.729-32 28c19.541 5.688 33.5 16.292 44 30s16 29.479 16 48c-0 14.583-3.219 28.219-10 42s-16.261 23.76-28 32c-11.74 8.24-24.792 14.104-42 16-10.792 1.167-38.729 1.708-80 2h-108v-320zM228 644v74h44c25.229 0 39.875-1.271 46-2 11.083-1.312 19.656-5.656 26-12s10-13.646 10-24c-0-9.916-2.531-17.802-8-24s-13.209-10.687-24-12c-6.417-0.729-25.521 0-56 0h-38zM228 770v86h60c23.333 0 37.729-0.687 44-2 9.625-1.75 17.948-5.219 24-12s10-16.625 10-28c-0-9.625-3.334-17.292-8-24s-11.177-10.937-20-14c-8.823-3.062-28.542-6-58-6h-52z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-storage-sanswitch-brocade" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 340, + "id": 255, + "prevSize": 16, + "code": 59690, + "name": "it-storage-sanswitch-brocade" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 42 + }, + { + "icon": { + "paths": [ + "M86 0c-47.477 0-86 38.076-86 84v514c0 45.924 38.523 82 86 82h234v90h-184v82h280v-172h192v172h280v-82h-184v-90h234c47.477 0 86-36.076 86-82v-514c0-45.924-38.523-84-86-84h-852zM110 108h804v454h-804v-454zM136 946v80h752v-80h-752z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "uep-moc-uca-public" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 341, + "id": 254, + "prevSize": 16, + "code": 59691, + "name": "uep-moc-uca-public" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 43 + }, + { + "icon": { + "paths": [ + "M2 262v192h96v320c-55.192 13.323-96 62.716-96 122 0 69.49 56.51 126 126 126s126-56.51 126-126c0-57.76-38.954-107.215-92-122v-320h320v320c-54.028 14.132-94 63.542-94 122 0 69.49 56.51 126 126 126s126-56.51 126-126c0-58.458-39.972-107.868-94-122v-320h320v320c-53.356 14.581-94 64.019-94 122 0 69.49 56.51 126 126 126s126-56.51 126-126c0-58.632-39.727-108.036-94-122v-320h96v-192h-1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "uep-topo-commongroup20x20" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 342, + "id": 253, + "prevSize": 16, + "code": 59692, + "name": "uep-topo-commongroup20x20" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 44 + }, + { + "icon": { + "paths": [ + "M741.841 94.115c0-39.983-32.256-72.239-72.099-72.239h-375.529c-39.983 0-72.239 32.256-72.239 72.239v58.508h519.82v-58.508z", + "M745.472 980.713v-2.327c0 0.465-0.093 0.884-0.186 1.164 0.093 0.372 0.186 0.745 0.186 1.164z", + "M218.345 980.713c0-0.465 0.14-0.838 0.186-1.164-0.047-0.372-0.186-0.745-0.186-1.164v2.327z", + "M840.285 212.247h-98.351v-49.105h-519.913v128.047h519.866v-29.137h25.553v24.902h10.892c-0.605 26.577-5.353 228.492-7.075 279.459-4.561 138.333-7.121 198.796-21.83 231.098-24.25 53.248-103.098 64.698-119.901 66.607v-195.072h40.169c39.796 0 72.192-32.349 72.192-72.099v-295.331h-519.866v295.284c0 39.75 32.209 72.099 72.239 72.099h40.076v283.276c0 3.724 0.605 7.075 1.583 10.473h-99.514c-9.635 0-17.361 7.354-17.873 16.803 0.512 9.356 8.239 16.803 17.873 16.803h491.055c9.495 0 17.315-7.447 17.92-16.803-0.605-9.449-8.425-16.803-17.92-16.803h-99.421c0.977-3.351 1.396-6.749 1.396-10.38v-49.105c38.121-7.447 118.551-15.453 154.065-92.346 21.225-46.173 22.295-125.719 24.948-241.478 3.072-134.004 5.958-261.911 6.423-282.484h9.495v-24.902h15.919v-49.804h-0zM693.62 320.652c9.914 0 18.060 8.052 18.060 18.060 0 9.914-8.145 18.106-18.060 18.106-10.1 0-18.106-8.192-18.106-18.106 0.047-10.007 8.052-18.060 18.106-18.060zM435.852 642.979l30.906-96.815-45.056-11.729 84.294-145.315-23.366 114.502 45.754 20.48-92.532 118.877z" + ], + "attrs": [ + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "vapel_chgpile" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 2, + 2, + 2, + 2 + ] + } + }, + "attrs": [ + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + } + ], + "properties": { + "order": 343, + "id": 252, + "prevSize": 16, + "code": 59693, + "name": "vapel_chgpile" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 45 + }, + { + "icon": { + "paths": [ + "M792.529 781.359v2.932c-1.955 0.093-28.393 4.887-44.544 8.052-12.241 0-203.124 0.326-333.405 0.326-66.979 0-117.9-0.093-120.413-0.326-7.494-0.559-53.76-9.588-55.715-9.961l0.652-3.305c-15.407 15.22-24.948 32.489-23.924 44.963 1.722 22.714 46.685 44.823 62.883 50.223 0.931 0.419 2.7 0.791 4.841 0.977l-0.233-0.279c2.095-1.35 20.62-12.753 29.091-12.753l418.257 0.372c0.093 0.093 6.33 4.375 14.941 9.961l-1.815 2.746c13.917-1.908 24.948-4.096 31.558-6.377 40.96-14.662 41.565-52.317 41.565-52.689-0.652-9.449-10.845-22.481-23.738-34.863z", + "M749.009 741.19c-16.989-4.887-182.737-21.132-236.544-22.947-1.908-0.093-3.91-0.093-6.097-0.093-59.252 0-219.555 23.505-221.184 23.831-42.449 13.731-78.103 59.159-76.288 85.178 1.769 25.507 47.709 50.129 64.186 56.273 12.567 4.701 136.099 10.38 202.426 13.312 21.69 0.977 38.772 1.722 45.847 2.095 2.7 0.233 6.796 0.326 12.288 0.326 56.273 0 211.27-8.471 245.62-21.969 41.612-16.198 43.241-54.877 43.706-67.444 0.605-13.359-43.892-59.578-73.961-68.561zM775.959 872.262c-36.631 13.172-194.42 20.108-242.362 20.108-5.446 0-9.588-0.093-12.288-0.279-6.842-0.559-23.599-1.21-44.823-2.095-69.911-2.886-186.927-7.633-199.727-12.055-12.567-4.329-63.535-27.089-65.536-53.62-1.955-25.135 33.652-67.119 77.824-80.198 1.862-0.186 159.372-21.364 217.74-21.364 2.141 0 4.189 0.093 6.097 0.093 52.829 1.629 216.111 16.291 232.82 20.666 16.524 4.561 72.937 48.826 74.24 72.332 0.559 8.471-5.585 42.775-43.985 56.413z", + "M747.66 788.527c6.33-1.117 38.028-7.168 44.032-8.052-16.989-16.244-38.167-30.767-46.825-33.187-16.57-4.655-179.293-18.897-232.029-20.527-1.908-0.093-3.863-0.093-6.004-0.093-58.135 0-215.412 20.992-216.948 21.225-7.866 2.374-15.546 5.632-22.714 9.775 11.823 1.117 60.090 6.051 66.56 6.703 7.308 0.559 378.321 0 382.045-0.093 12.381-1.443 45.196-5.12 47.709-5.585l0.698 3.863c-3.025 0.559-46.266 5.353-48.175 5.539-10.193 0-169.658 0.372-279.412 0.372-56.972 0-100.585-0.093-103.145-0.372-7.401-0.652-68.655-6.796-69.26-6.842l0.186-1.815c-9.263 5.492-17.687 12.195-24.902 19.316 3.863 0.745 47.942 9.216 54.97 9.868 7.354 0.512 448.791-0.093 453.213-0.093z", + "M311.761 865.932c-5.073 0-16.477 6.051-23.319 10.1 33.327 3.724 131.863 7.727 188.276 10.054 21.271 0.977 37.981 1.629 44.87 2.001 2.653 0.233 6.703 0.326 12.009 0.326 44.172 0 150.807-4.934 208.617-13.079-6.935-4.468-12.335-8.145-13.871-9.309l-416.582-0.093z", + "M1016.367 742.4c-1.303-12.986-5.26-37.841-5.26-44.265 0-6.47-15.593-79.5-15.593-79.5l-10.426-24.669-28.625-27.415-40.401-26.065-32.489-14.383-14.429-10.426-8.518-14.615c6.749-0.465 58.321-4.329 64.372-8.099 6.423-4.003 10.752-5.772 10.147-7.121-0.745-1.35-4.375-20.34-9.123-24.716-4.794-4.422-38.26-10.799-43.008-10.519-4.841 0.326-8.099 0.326-8.099 0.326s-11.543 17.268-10.193 27.415c1.303 10.193 2.048 12.567 2.048 12.567l-9.402 4.655-1.21-2.001-20.852-29.975-33.792-55.994-27.415-39.052-24.809-18.292-11.683-7.82c0 0-129.117-13.731-221.044-12.288-102.54 1.722-210.851 12.847-210.851 12.847l-8.425 6.051-20.806 19.084-84.759 103.331c-5.399 7.727-10.193 13.731-14.941 19.409l-10.938-4.98c0 0 0.745-2.374 2.001-12.567 1.35-10.147-10.193-27.415-10.193-27.415s-3.351 0-8.099-0.326c-4.748-0.419-38.26 6.051-43.008 10.426-4.748 4.422-8.425 23.412-9.123 24.762s3.724 3.025 10.147 7.121c6.33 4.003 62.883 8.239 64.512 8.332-4.143 4.655-8.332 9.169-12.986 14.289-11.683 13.033-37.841 23.459-46.918 30.022-9.123 6.563-69.027 41.658-69.027 53.434 0 11.683-26.065 98.956-26.065 98.956s0 19.549-1.303 27.322c-1.303 7.866-1.303 43.008-2.56 57.344-1.303 14.476 5.167 118.598 5.167 118.598l4.608 10.985c-0.559 7.494-0.279 22.807 10.333 27.276 1.303 0.465 4.003 1.303 7.82 2.513 1.164 4.329 26.81 33.187 40.076 34.956 13.591 1.955 43.38 3.212 51.153 3.212s18.665-8.657 21.923-9.914c0.047 0 0-0.14 0-0.14 39.657 9.263 74.473 16.756 77.824 15.965 7.773-2.001 12.335-3.91 18.758-3.91 6.516 0 213.085 17.455 231.191 16.756 18.153-0.652 286.255-16.756 296.029-16.756 9.635 0 10.333 0.652 20.015 2.56 4.608 0.977 44.218-6.982 86.807-16.943-0.698 2.095-1.024 5.585 1.862 8.611 4.608 4.608 59.625-1.908 69.958-5.167 10.38-3.212 31.092-30.348 31.092-30.348l-9.216 2.234c7.447-2.42 12.847-4.608 15.034-6.191 15.546-10.985 14.336-23.971 14.336-23.971l-3.351 0.605 6.516-8.378c-0.047-0.047 6.516-144.756 5.213-157.743zM983.599 870.167c-3.91 8.657-33.745 29.929-43.38 33.373-9.681 3.444-112.035 23.040-115.433 22.854-3.584-0.326-12.521-8.099-14.057-14.569-1.583-6.516 25.321-40.96 34.444-47.709 9.123-6.703 94.72-36.538 108.218-41.705 13.545-5.167 40.401-22.854 40.401-22.854s3.537 40.215-10.193 70.609zM781.079 880.361c-37.283 14.615-198.191 22.249-247.063 22.249-5.539 0-9.728-0.093-12.614-0.279-6.982-0.465-24.111-1.164-45.754-2.234-71.215-3.165-190.511-8.751-203.636-13.498-12.753-4.841-64.652-30.208-66.7-59.671-1.955-28.020 34.257-74.705 79.313-89.228 1.908-0.279 162.49-23.971 222.022-23.971 2.188 0 4.282 0.093 6.237 0.186 53.853 1.815 220.3 18.013 237.382 23.087 30.999 9.169 77.545 55.855 76.893 72.425-0.419 13.172-2.141 53.76-46.080 70.935zM841.356 655.779c8.844-5.818 132.841-49.338 132.841-49.338s12.428 32.442 13.452 39.331c0.977 6.842-3.398 33.14-6.516 37.004-3.025 3.724-35.933 26.345-40.215 26.95-4.236 0.838-20.852-8.564-24.017-8.564-2.932 0-55.808 16.896-75.729 19.363-20.015 2.7-57.204-16.57-57.204-16.57s48.593-42.403 57.391-48.175zM288.861 408.343c17.687-11.776 42.915-24.157 60.556-26.298 0 0 56.739-9.961 143.22-12.567l-0.047-0.326c12.055-0.233 23.692-0.326 34.956-0.279 11.264-0.047 22.807 0 34.816 0.279l-0.093 0.326c86.435 2.607 143.081 12.567 143.081 12.567 17.734 2.095 43.008 14.476 60.742 26.298l52.317 59.206c0 10.705-3.677 19.875-14.476 19.875l-281.367-0.652-281.414 0.652c-10.705 0-14.476-9.123-14.476-19.875l62.185-59.206zM45.708 646.237c1.024-6.842 14.895-40.96 14.895-40.96s126.836 45.568 135.68 51.34c8.844 5.818 57.391 48.361 57.391 48.361s-37.143 19.037-57.111 16.57c-19.968-2.56-72.797-19.503-75.823-19.503-2.979 0-19.689 9.263-24.017 8.657-4.282-0.884-41.425-22.249-44.451-26.065-3.025-3.77-7.54-31.651-6.563-38.4zM33.932 801.699c0 0 26.95 17.78 40.401 22.807 13.452 5.12 99.049 34.909 108.218 41.705s36.073 41.239 34.444 47.756c-1.583 6.423-10.519 14.196-14.010 14.476-3.444 0.279-105.798-19.27-115.479-22.761-9.728-3.537-39.471-24.855-43.334-33.466-13.731-30.441-10.24-70.516-10.24-70.516z" + ], + "attrs": [ + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "car" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 2, + 2, + 2, + 2, + 2 + ] + } + }, + "attrs": [ + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + } + ], + "properties": { + "order": 344, + "id": 251, + "prevSize": 16, + "code": 59694, + "name": "car" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 46 + }, + { + "icon": { + "paths": [ + "M286.627 163.421h521.263v128.372h-521.263v-128.372z", + "M807.889 94.208c0-40.029-32.396-72.378-72.378-72.378h-376.553c-39.936 0-72.425 32.303-72.425 72.378v58.647h521.309v-58.647z", + "M811.473 982.202c0 0.372 0.093 0.791 0.093 1.21v-2.607c0 0.605-0.093 0.977-0.093 1.396z", + "M282.996 983.412c0-0.512 0.14-0.977 0.14-1.21 0-0.372-0.14-0.791-0.14-1.35v2.56z", + "M793.46 965.26h-99.84c0.977-3.258 1.536-6.842 1.536-10.473v-284.067h40.355c39.889 0 72.378-32.396 72.378-72.471v-296.029h-521.309v296.029c0 39.983 32.442 72.378 72.425 72.378h40.308v284.16c0 3.491 0.512 7.075 1.536 10.287h-99.747c-9.635 0-17.361 7.447-17.967 16.989 0.652 9.309 8.332 16.803 17.967 16.803h492.358c9.542 0 17.315-7.494 18.013-16.803-0.698-9.449-8.425-16.803-18.013-16.803zM759.529 321.443c9.914 0 18.060 8.099 18.060 18.153 0 9.961-8.145 18.106-18.060 18.106-10.007 0-18.199-8.099-18.199-18.106 0.14-10.054 8.239-18.153 18.199-18.153zM501.062 644.655l31.046-97.094-45.242-11.543 84.48-145.873-23.273 114.828 45.708 20.527-92.719 119.156z" + ], + "attrs": [ + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "chgpile" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 2, + 2, + 2, + 2, + 2 + ] + } + }, + "attrs": [ + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + } + ], + "properties": { + "order": 345, + "id": 250, + "prevSize": 16, + "code": 59695, + "name": "chgpile" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 47 + }, + { + "icon": { + "paths": [ + "M550.959 563.805c-9.635-1.815-28.998-2.746-58.089-2.746h-39.005v113.478h44.172c31.837 0 53.108-2.095 63.86-6.284 10.705-4.189 19.084-10.705 25.181-19.642s9.169-19.27 9.169-31.092c0-14.569-4.329-26.531-12.8-35.98-8.518-9.449-19.363-15.36-32.489-17.734z", + "M977.455 395.636h-930.909c-25.693 0-46.545 20.852-46.545 46.545v488.727c0 25.74 20.852 46.545 46.545 46.545h930.909c25.74 0 46.545-20.806 46.545-46.545v-488.727c0-25.74-20.806-46.545-46.545-46.545zM666.112 678.353c-8.844 16.71-20.294 29.929-33.932 39.471s-27.695 15.825-41.751 18.897c-19.27 3.817-47.244 5.725-83.782 5.725h-52.783v150.807h-80.71v-399.779h129.536c49.152 0 81.129 2.001 96.023 6.004 22.9 6.004 42.077 19.037 57.53 39.145s23.18 45.987 23.18 77.824c0.047 24.529-4.422 45.196-13.312 61.905z" + ], + "attrs": [ + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "chgposition" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 2, + 2 + ] + } + }, + "attrs": [ + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + } + ], + "properties": { + "order": 346, + "id": 249, + "prevSize": 16, + "code": 59696, + "name": "chgposition" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 48 + }, + { + "icon": { + "paths": [ + "M667.741 391.913h-638.697v-138.799l638.697-11.171z", + "M995.002 439.529l-618.17-0.652-347.788-35.468h638.697z", + "M995.002 426.217l-327.261-34.304v-149.969l327.261 53.388z", + "M150.761 412.672h63.86v600.111h-63.86v-600.111z", + "M635.811 412.672h63.814v600.111h-63.814v-600.111z", + "M348.393 417.792h63.86v503.948h-63.86v-503.948z", + "M853.085 434.176h63.86v487.564h-63.86v-487.564z", + "M475.881 760.273h71.075v161.466h-71.075v-161.466z", + "M739.142 760.273h71.075v161.466h-71.075v-161.466z", + "M285.091 776.378l-24.716 23.645v160.954h17.594l26.205-23.18v-161.42z", + "M834.001 815.197l-24.716 23.599v161.001h17.641l26.159-23.18v-161.42z" + ], + "attrs": [ + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "chgstation" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1 + ] + } + }, + "attrs": [ + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + } + ], + "properties": { + "order": 347, + "id": 248, + "prevSize": 16, + "code": 59697, + "name": "chgstation" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 49 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h768c70.912 0 128-57.088 128-128v-768c0-70.912-57.088-128-128-128h-768zM266.182 72.723h490.182c43.596 0 80 32.73 80 72.736v738.906c0 40-36.404 72.723-80 72.723h-490.182c-43.596 0-78.545-32.723-78.545-72.723v-738.906c0-40.006 34.95-72.736 78.545-72.736zM667.636 189.088c-41.36 0-73.529 12.877-98.909 37.818-25.38 24.947-37.818 59.635-37.818 104.73 0 42.63 12.572 77.242 37.818 101.818 25.246 24.582 56.788 34.912 96 34.912 31.691 0 59.387-5.952 80-20.365 20.613-14.355 34.773-37.338 43.636-66.906l-58.182-14.554c-4.969 19.846-11.859 34.4-23.273 43.642s-26.336 11.635-42.182 11.635c-21.486 0-38.935-5.824-52.364-20.358-13.429-14.547-20.364-38.483-20.364-72.736-0-32.275 6.734-55.398 20.364-69.811 13.63-14.419 31.929-23.277 53.818-23.277 15.846 0 29.648 3.456 40.727 11.635 11.078 8.128 18.326 20.864 21.818 34.912l58.182-14.547c-6.715-21.683-17.117-37.869-30.545-49.453-22.56-19.59-52.605-29.094-88.727-29.094zM242.909 194.912v270.547h113.455c22.023 0 39.203-1.984 52.364-5.824 17.591-5.184 30.387-14.042 40.727-23.277 13.697-12.198 24.614-26.835 32-46.547 6.042-16.141 8.727-35.885 8.727-58.182-0-25.382-2.282-46.688-8.727-64-6.446-17.306-16.737-31.68-29.091-43.635-12.355-11.949-26.314-21.504-43.636-26.182-12.892-3.456-33.608-2.88-58.182-2.88h-107.636zM302.545 238.554h26.182c24.306 0 41.129 1.216 49.455 2.88 11.146 2.24 21.839 8.256 29.091 14.541 7.251 6.272 10.517 14.976 14.545 26.182 4.028 11.213 7.273 25.6 7.273 46.554-0 20.941-3.244 37.318-7.273 49.446-4.029 12.134-8.167 20.89-14.545 26.189-6.379 5.312-15.059 9.414-24.727 11.629-7.386 1.728-19.712 2.88-36.364 2.88h-43.636v-180.365zM272 599.283c-15.139 0-27.636 10.374-27.636 23.264 0 12.902 12.498 23.277 27.636 23.277h485.818c15.139 0 27.636-10.374 27.636-23.277 0-12.89-12.498-23.264-27.636-23.264h-485.818zM272 733.101c-15.139 0-27.636 10.381-27.636 23.27 0 12.896 12.498 23.27 27.636 23.27h485.818c15.139 0 27.636-10.374 27.636-23.27 0-12.89-12.498-23.27-27.636-23.27h-485.818z" + ], + "attrs": [ + { + "fill": "rgb(100, 155, 230)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "common_dc" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 6 + ] + } + }, + "attrs": [ + { + "fill": "rgb(100, 155, 230)" + } + ], + "properties": { + "order": 348, + "id": 247, + "prevSize": 16, + "code": 59698, + "name": "common_dc" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 50 + }, + { + "icon": { + "paths": [ + "M152 0c-84.32 0-152 67.68-152 152v720c0 84.32 67.68 152 152 152h720c84.32 0 152-67.68 152-152v-720c0-84.32-67.68-152-152-152zM104 166h98l202 264v-264h94v302c-17.538-5.098-37.024-8-56-8-37.084 0-71.491 11.742-102 30l-144-186v258h-92zM456 551.336c40.013 0 73.010 10.353 98 34 14.874 13.982 26.562 33.824 34 60l-66 16c-3.868-16.956-9.729-30.18-22-40-12.272-9.825-28.448-14-46-14-24.246 0-44.902 8.593-60 26-15.098 17.401-22 45.029-22 84-0 41.357 7.125 72.45 22 90s36.2 24 60 24c17.552 0 31.356-4.844 44-16s20.496-28.050 26-52l64 20c-9.818 35.705-25.168 60.673-48 78s-50.896 28-86 28c-43.434 0-80.036-16.33-108-46-27.965-29.676-42-68.532-42-120-0-54.437 13.887-97.879 42-128s64.186-44 110-44zM646 557.336h122c27.221 0 47.72-0.168 62 4 19.188 5.652 34.315 17.573 48 32s24.86 31.105 32 52c7.14 20.901 10 47.359 10 78-0 26.924-3.307 50.515-10 70-8.181 23.796-20.828 41.27-36 56-11.454 11.156-26.514 19.754-46 26-14.577 4.63-33.606 8-58 8h-124zM712 611.336v216h50c18.445 0 31.819 0.055 40-2 10.71-2.672 18.934-7.606 26-14s13.537-17.345 18-32c4.463-14.65 6-34.714 6-60s-1.538-44.464-6-58c-4.463-13.536-11.968-24.413-20-32-8.033-7.582-17.654-13.317-30-16-9.223-2.341-27.077-2-54-2z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "common_ncd" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 349, + "id": 246, + "prevSize": 16, + "code": 59699, + "name": "common_ncd" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 51 + }, + { + "icon": { + "paths": [ + "M820 0l-40 4 12 66 40-4-12-66zM678 22c-39.083 0-68 30.966-68 70 0 39.021 28.917 70 68 70 10.831 0 22.823-1.648 32-6l48 46 36-38-48-48c2.62-7.392 4-15.725 4-24 0-39.034-32.916-70-72-70zM948 44l-90 60 30 46 90-62-30-44zM150 98c-84.081 0-150 66.045-150 150v626c0 83.962 65.919 150 150 150h628c84.081 0 150-66.038 150-150v-420c-97.009 35.552-219.538 4.931-304-82-79.068-81.382-102.955-187.984-68-274h-406zM1020 168l-66 12 4 40 66-12-4-40zM662 190l-66 12 4 38 66-10-4-40zM858 218l-38 38 38 36c-2.531 7.27-6 15.866-6 24 0 39.027 30.916 70 70 70s72-30.973 72-70c0-39.027-32.917-72-72-72-10.992 0-20.719 3.507-30 8l-34-34zM732 260l-90 62 28 44 92-58-30-48zM104 288h92l190 232v-232h88v266c-16.509-4.523-34.138-8-52-8-34.907 0-67.282 9.908-96 26l-136-164v228h-86v-348zM826 344l-40 2 10 66 40-4-10-64zM436 598c37.664 0 68.477 9.161 92 30 14.001 12.316 24.999 30.929 32 54l-62 14c-3.641-14.94-10.449-27.349-22-36-11.552-8.66-25.478-12-42-12-22.823 0-41.788 8.66-56 24-14.212 15.33-22 39.655-22 74-0 36.445 7.998 62.541 22 78 14.002 15.463 33.597 22 56 22 16.522 0 28.098-4.188 40-14 11.901-9.831 20.819-24.9 26-46l60 18c-9.241 31.46-24.508 52.727-46 68-21.493 15.263-46.956 24-80 24-40.885 0-75.677-13.848-102-40s-40-60.647-40-106c0-47.971 13.537-85.458 40-112s60.875-40 104-40zM614 604h116c25.623 0 44.558 0.525 58 4 18.062 4.961 31.118 15.279 44 28 12.881 12.707 23.279 27.585 30 46s10 40.996 10 68c-0 23.724-3.7 44.832-10 62-7.701 20.972-19.719 37.012-34 50-10.782 9.827-23.658 16.496-42 22-13.722 4.047-33.037 8-56 8h-116v-288zM676 652v190h48c17.362 0 30.299-0.237 38-2 10.081-2.381 17.349-6.368 24-12 6.651-5.637 11.799-15.088 16-28s6-31.719 6-54c0-22.286-1.8-38.074-6-50-4.201-11.936-10.439-21.316-18-28s-16.379-11.634-28-14c-8.681-2.095-26.657-2-52-2h-28z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "common_ncd_break" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 350, + "id": 245, + "prevSize": 16, + "code": 59700, + "name": "common_ncd_break" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 52 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h768c70.912 0 128-57.088 128-128v-768c0-70.912-57.088-128-128-128h-768zM192 146h628c26.012 0 49.542 11.019 68 26 22.109 17.944 38 42.938 38 72v380c0 53.325-48.83 96-106 96h-252c13.755 26.81 28.292 66.589 12 86-28.199 33.594-107.060 33.030-136 0-16.62-18.976-2.325-59.030 10-86h-262c-57.17 0-104-42.675-104-96v-380c0-29.062 13.891-54.056 36-72 18.458-14.981 41.988-26 68-26zM308 228c-31.688 0-57.594 4.438-80 14s-40.094 23.719-52 42c-11.906 18.282-18 39-18 60-0 32.625 12.687 59.313 38 82 18 16.125 49.375 28.938 94 40 34.687 8.625 58.25 14.625 68 18 14.25 5.063 22.281 11.156 28 18s10 16.25 10 26c-0 15.188-6.407 28.656-20 40s-35.188 16-62 16c-25.313 0-45.094-5.25-60-18s-25.125-32.812-30-60l-80 8c5.437 46.125 22.062 79.906 50 104s67.875 36 120 36c35.812 0 66-3.969 90-14s42.875-25.375 56-46c13.125-20.625 18-42.375 18-66-0-26.062-5.032-48.281-16-66s-26.594-31.781-46-42c-19.407-10.219-49.5-20.437-90-30s-65.5-19.187-76-28c-8.25-6.937-12-14.25-12-24-0-10.687 5.187-19.625 14-26 13.687-9.937 31.812-16 56-16 23.437 0 40.281 4.719 52 14s20.437 24.813 24 46l82-4c-1.313-37.875-13.844-67.312-40-90s-66.25-34-118-34zM728 228c-57.75 0-104.563 18.032-140 56s-54 91.375-54 160c-0 64.875 18.75 116.594 54 154s79.25 56 134 56c44.25 0 81.218-10.156 110-32s49.625-55 62-100l-80-26c-6.938 30.188-20.063 51.938-36 66s-33.875 22-56 22c-30 0-55.25-11.875-74-34s-28-59.875-28-112c-0-49.125 10.969-84.062 30-106s43.437-32 74-32c22.125 0 40.531 5.625 56 18s25.125 28.625 30 50l82-20c-9.375-33-23.25-58.375-42-76-31.5-29.812-71.563-44-122-44zM418 814c1.096 8.128 5.046 14.406 10 20 35.944 40.614 134.977 41.312 170 0 4.685-5.504 7.107-12.186 8-20 62.661 8.262 104 25.222 104 44 0 27.11-88.3 48-198 48s-200-20.89-200-48c0-18.778 43.339-35.738 106-44z" + ], + "attrs": [ + { + "fill": "rgb(100, 155, 230)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "common_sc" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 6 + ] + } + }, + "attrs": [ + { + "fill": "rgb(100, 155, 230)" + } + ], + "properties": { + "order": 351, + "id": 244, + "prevSize": 16, + "code": 59701, + "name": "common_sc" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 53 + }, + { + "icon": { + "paths": [ + "M256 100v834h-256v90h1034v-90h-256v-252h-400v-96h400v-108h-400v-96h400v-282h-522z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 352, + "id": 243, + "prevSize": 16, + "code": 59702, + "name": "it" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 54 + }, + { + "icon": { + "paths": [ + "M132-4c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM516 76c203.792 0 370 166.208 370 370s-166.208 372-370 372c-203.792 0-370-168.208-370-372s166.208-370 370-370zM516 182c-147.271 0-266 116.729-266 264s118.729 266 266 266c147.271 0 266-118.729 266-266s-118.729-264-266-264zM480 286h68l128 322h-70l-28-74h-128l-26 74h-68l124-322zM514 362l-44 118h88l-44-118zM1028 640l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 353, + "id": 242, + "prevSize": 16, + "code": 59703, + "name": "it-app" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 55 + }, + { + "icon": { + "paths": [ + "M132-4c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM114 86h226c44.738 0 78.016 2.249 100 6s40.644 10.174 58 22c17.355 11.837 32.429 28.328 44 48 11.57 19.662 17.999 41.566 18 66-0.001 26.476-7.73 49.889-22 72s-33.574 38.945-58 50c34.453 10.003 61.487 27.826 80 52 18.512 24.174 27.999 53.345 28 86-0.001 25.716-6.045 49.701-18 74-11.956 24.299-29.302 43.475-50 58-20.698 14.535-45.661 24.655-76 28-19.027 2.084-65.236 1.479-138 2h-192v-564zM228 180v130h74c44.481 0 73.201-1.062 84-2 19.541-2.292 34.815-8.809 46-20 11.184-11.18 16-25.745 16-44-0-17.484-4.358-31.070-14-42s-24.974-17.687-44-20c-11.314-1.25-42.263-2-96-2h-66zM228 404v152h106c41.139 0 66.944-1.708 78-4 16.969-3.126 31.329-10.038 42-22 10.67-11.951 16-27.942 16-48-0-16.974-5.773-32.174-14-44-8.228-11.826-18.445-20.592-34-26-15.556-5.418-50.062-8-102-8h-92zM1028 640l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-bind" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 354, + "id": 241, + "prevSize": 16, + "code": 59704, + "name": "it-app-bind" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 56 + }, + { + "icon": { + "paths": [ + "M132-4c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM836 140c41.156 0 73.198 11.587 94 34s30.956 50.584 32 88l-66 4c-2.833-20.931-8.68-34.831-18-44s-23.361-13.999-42-14c-19.236 0.001-33.115 4.181-44 14-7.009 6.298-12 15.442-12 26-0 9.632 3.439 17.147 10 24 8.35 8.706 29.791 18.553 62 28s54.566 17.905 70 28c15.433 10.095 27.276 24.496 36 42s14 40.253 14 66c-0 23.339-5.562 43.625-16 64s-24.913 36.090-44 46c-19.087 9.91-43.519 16-72 16-41.455 0-71.782-12.198-94-36s-35.676-58.433-40-104l64-8c3.877 26.858 12.145 45.404 24 58s27.869 20 48 20c21.324 0 37.189-6.79 48-18 10.811-11.207 16-22.996 16-38-0-9.632-3.452-19.239-8-26s-10.667-10.998-22-16c-7.754-3.331-26.414-9.479-54-18-35.49-10.928-59.685-24.071-74-40-20.131-22.413-30-49.769-30-82 0-20.746 4.531-39.94 14-58s22.18-32.553 40-42c17.819-9.446 38.799-14 64-14zM60 146h120c27.288 0 49.685 2.817 64 8 19.236 7.040 34.281 20.033 48 38s24.842 39.975 32 66c7.157 26.025 10 57.843 10 96-0 33.527-3.29 61.735-10 86-8.202 29.637-18.79 53.662-34 72-11.482 13.892-26.466 26.22-46 34-14.614 5.742-35.545 8-60 8h-124v-408zM392 146h64l134 272v-272h62v408h-66l-132-266v266h-62v-408zM126 216v270h50c18.49 0 31.798-1.411 40-4 10.736-3.331 18.917-10.035 26-18s13.526-19.755 18-38c4.473-18.246 6-44.511 6-76s-1.527-55.144-6-72c-4.474-16.855-11.948-30.553-20-40s-17.623-14.665-30-18c-9.245-2.596-27.010-4-54-4h-30zM1028 640l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-dns" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 355, + "id": 240, + "prevSize": 16, + "code": 59705, + "name": "it-app-dns" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 57 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM816 172c37.375 0 65.109 7.615 84 24s29.052 38.646 30 66l-60 4c-2.573-15.302-9.537-27.297-18-34s-21.073-10-38-10c-17.469 0-30.115 2.823-40 10-6.365 4.604-10 12.281-10 20-0 7.042 2.042 12.99 8 18 7.583 6.365 26.75 13.094 56 20s51.984 12.62 66 20c14.015 7.38 24.078 17.203 32 30s12 29.177 12 48c-0 17.063-4.521 33.104-14 48s-22.667 26.755-40 34c-17.334 7.245-40.136 10-66 10-37.646-0-65.823-8.599-86-26s-32.073-42.687-36-76l58-6c3.521 19.636 11.234 34.792 22 44s25.719 14 44 14c19.364 0 34.182-3.807 44-12s14-19.031 14-30c-0-7.042-1.87-13.057-6-18s-11.708-8.344-22-12c-7.042-2.437-22.948-7.771-48-14-32.229-7.989-55-16.354-68-28-18.281-16.385-28-36.437-28-60 0-15.166 5.401-30.797 14-44s19.818-23.093 36-30c16.182-6.906 37.114-10 60-10zM86 178h220v50h-160v66h150v50h-150v80h166v52h-226v-298zM364 178h90l54 202 52-202h90v298h-56v-236l-58 236h-58l-58-236v236h-56v-298zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-ems" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 356, + "id": 239, + "prevSize": 16, + "code": 59706, + "name": "it-app-ems" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 58 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM158 148h112l66 250 66-250h110v366h-68v-288l-72 288h-72l-72-288v288h-70v-366zM586 148h272v62h-198v80h184v62h-184v100h206v62h-280v-366zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-mediator" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 357, + "id": 238, + "prevSize": 16, + "code": 59707, + "name": "it-app-mediator" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 59 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM58 150h68l142 272v-272h64v408h-70l-140-266v266h-64v-408zM382 150h274v70h-102v338h-70v-338h-102v-70zM702 150h112c42.436 0.001 69.112 1.922 82 6 19.803 6.114 36.64 19.532 50 40s20 47.585 20 80c-0 25.007-4.299 44.959-12 62s-16.134 32.275-28 42c-11.867 9.724-25.741 14.851-38 18-16.66 3.891-40.409 6-72 6h-44v154h-70v-408zM772 220v116h38c27.505 0 44.727-3.734 54-8 9.273-4.259 16.735-10.923 22-20s8-19.96 8-32c-0-14.818-4.613-26.368-12-36s-16.684-15.592-28-18c-8.33-1.848-24.853-2-50-2h-32zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-ntp" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 358, + "id": 237, + "prevSize": 16, + "code": 59708, + "name": "it-app-ntp" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 60 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM202 144c48.314 0 86.996 18.769 116 56 29.003 37.232 42 87.687 42 154-0 65.757-13.221 118.861-42 156s-67.835 54-116 54c-48.761 0-87.221-17.046-116-54s-44-89.169-44-154c-0-41.491 6.009-75.845 16-104 7.456-20.745 17.101-39.514 30-56s26.641-28.035 42-36c20.429-10.743 45.308-16 72-16zM388 150h262v70h-98v338h-66v-338h-98v-70zM786 150h70l132 408h-72l-28-92h-132l-26 92h-72l128-408zM202 214c-27.289 0.001-49.299 10.754-66 34-16.701 23.247-26 59.137-26 106-0 46.123 8.851 80.199 26 104 17.148 23.803 39.606 36 66 36s47.075-10.383 64-34c16.924-23.617 26-60.766 26-108-0-46.678-7.523-81.031-24-104s-38.712-33.999-66-34zM820 246l-44 150h90l-46-150zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-ota" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 359, + "id": 236, + "prevSize": 16, + "code": 59709, + "name": "it-app-ota" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 61 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM596 144c50.805 0.001 92.27 16.028 124 50 18.886 20.085 32.556 50.396 42 88l-82 22c-4.911-24.358-14.419-43.897-30-58-15.582-14.101-35.714-21.999-58-22-30.785 0.001-54.83 13.002-74 38s-30 66.020-30 122c-0 59.399 11.113 100.787 30 126s41.781 38 72 38c22.286 0 41.946-7.975 58-24s27.012-41.6 34-76l82 30c-12.465 51.279-33.010 89.108-62 114s-65.428 38-110 38c-55.149 0-100.493-21.374-136-64s-54-102.072-54-176c-0-78.201 18.304-138.733 54-182s81.829-63.999 140-64zM32 152h330v80h-122v390h-84v-390h-124v-80zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-tomcat" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 360, + "id": 235, + "prevSize": 16, + "code": 59710, + "name": "it-app-tomcat" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 62 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM32 152h330v80h-122v390h-84v-390h-124v-80zM416 152h126l74 320 76-320h126v470h-78v-370l-84 370h-80l-82-370v370h-78v-470zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-trend" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 361, + "id": 234, + "prevSize": 16, + "code": 59711, + "name": "it-app-trend" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 63 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM450 144c41.156 0 73.198 11.587 94 34s30.956 50.584 32 88l-66 4c-2.833-20.931-8.68-34.831-18-44s-23.361-13.999-42-14c-19.236 0.001-35.115 4.181-46 14-7.009 6.298-10 15.442-10 26-0 9.632 3.439 17.147 10 24 8.35 8.706 29.791 18.553 62 28s54.566 17.905 70 28c15.433 10.095 27.276 24.496 36 42s14 40.253 14 66c-0 23.339-5.562 43.625-16 64s-24.913 36.090-44 46c-19.087 9.91-43.519 16-72 16-41.455 0-71.782-12.198-94-36s-35.676-58.433-40-104l64-8c3.877 26.858 12.145 45.404 24 58s27.869 20 48 20c21.324 0 37.189-6.79 48-18 10.811-11.207 16-22.996 16-38-0-9.632-3.452-19.239-8-26s-10.667-10.998-22-16c-7.754-3.331-26.414-9.479-54-18-35.49-10.928-59.685-24.071-74-40-20.131-22.413-30-49.769-30-82-0-20.746 4.531-39.94 14-58s22.18-32.553 40-42c17.819-9.446 38.799-14 64-14zM32 150h262v70h-98v338h-66v-338h-98v-70zM642 150h98l60 278 58-278h100v408h-62v-320l-64 320h-64l-66-320v320h-60v-408zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-tsm" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 362, + "id": 233, + "prevSize": 16, + "code": 59712, + "name": "it-app-tsm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 64 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM24 150h68l50 280 60-280h78l58 286 50-286h66l-78 408h-72l-64-304-66 304h-72l-78-408zM490 154h66v336h164v68h-230v-404zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-weblogic" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 363, + "id": 232, + "prevSize": 16, + "code": 59713, + "name": "it-app-weblogic" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 65 + }, + { + "icon": { + "paths": [ + "M180 2v168h156v278h172v98h-236v-308h-272v786h272v-340h236v338h274v-784h-274v72h-40v-308h-288zM740 2v168h156v852h132v-1020h-288zM336 748v278h132v-278h-132z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-cluster" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 364, + "id": 231, + "prevSize": 16, + "code": 59714, + "name": "it-cluster" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 66 + }, + { + "icon": { + "paths": [ + "M86 3.923v80.685h268.592v322.739h140.395v93.101h-208.987v-345.498h-286v873.050h286v-388.941h208.987v35.168h286v-519.277h-286v171.712h-80.395v-322.739zM580.987 3.923v80.685h262.913v589.619h60v-670.304zM426 714.022l-122 291.219h68l24-70.342h124l28 70.342h68l-124-291.219zM646 714.022v291.219h64v-291.219zM746 714.022l96 129.85-104 161.37h74l68-107.578 70 107.578h74l-106-159.296 98-131.923h-74l-60 82.266-62-82.266zM458 769.395l42 113.786h-84z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-cluster-hacmp" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 365, + "id": 230, + "prevSize": 16, + "code": 59715, + "name": "it-cluster-hacmp" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 67 + }, + { + "icon": { + "paths": [ + "M86 4v80h268v324h140v92h-208v-346h-286v874h286v-388h208v34h286v-520h-286v172h-80v-322h-328zM580 4v80h264v590h60v-670h-324zM924 704c-34.513 0-60.822 14.992-82 42-21.178 27.014-32 63.181-32 112-0 46.157 10.934 83.389 32 110s47.28 40 80 40c26.445 0 48.8-8.454 66-24 17.2-15.539 28.604-37.987 36-70l-48-20c-4.146 21.478-10.476 37.997-20 48-9.525 10.016-20.778 16-34 16-17.929 0-32.795-8.262-44-24s-18-42.918-18-80c-0-34.95 6.626-60.397 18-76 11.373-15.61 25.735-22 44-22 13.222 0 24.755 3.2 34 12 9.244 8.806 15.087 20.794 18 36l50-14c-5.603-23.475-14.795-41.462-26-54-18.825-21.21-43.858-32-74-32zM340 710v292h46v-190l100 190h50v-292h-46v196l-102-196h-48zM588 710v292h188v-48h-138v-80h124v-50h-124v-64h134v-50h-184z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-cluster-nec" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 366, + "id": 229, + "prevSize": 16, + "code": 59716, + "name": "it-cluster-nec" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 68 + }, + { + "icon": { + "paths": [ + "M86 4v80h268v324h140v92h-208v-346h-286v874h286v-388h208v34h286v-520h-286v172h-80v-322zM580 4v80h264v590h60v-670zM856.41 723.241c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28s-12 24.003-12 38c0 21.754 9.125 40.877 26 56 12 10.752 32.25 20.627 62 28 23.125 5.728 39.5 9.76 46 12 9.5 3.373 16.188 7.456 20 12 3.812 4.563 4 9.504 4 16-0 10.125-2.938 18.435-12 26s-24.125 12-42 12c-16.875 0-30.063-5.501-40-14s-16.75-21.875-20-40l-54 6c3.625 30.752 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.312 60-10s29.25-16.253 38-30c8.75-13.747 12-28.25 12-44-0-17.376-2.688-32.186-10-44s-19.063-21.19-32-28c-12.938-6.816-33-13.6-60-20-27-6.374-43-12.112-50-18-5.5-4.627-8-11.504-8-18-0-7.13 2.125-11.776 8-16 9.125-6.611 21.875-10 38-10 15.625 0 28.187 3.792 36 10 7.812 6.189 11.625 15.875 14 30l56-2c-0.875-25.248-10.563-46.877-28-62s-43.5-22-78-22zM423.783 717.518v276h50v-180l112 180h56v-276h-52v184l-112-184z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-cluster-ns" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 367, + "id": 228, + "prevSize": 16, + "code": 59717, + "name": "it-cluster-ns" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 69 + }, + { + "icon": { + "paths": [ + "M86 0v80h268v324h140v92h-208v-345.997h-286v873.997h286v-388h208v34.003h286v-520h-286v172h-80v-322.003zM580 0v80h264v590.003h60v-670.003zM483.586 734.24v276h56v-120h108v120h56v-276h-56v108h-108v-108zM806.959 734.24v276h56v-104h36c25.125 0 44.75-1.408 58-3.968 9.75-2.112 18.562-7.437 28-13.997 9.437-6.566 17.875-14.502 24-26.003 6.125-11.494 8-25.12 8-41.997-0-21.875-5.375-40.192-16-54.003s-22.25-23.904-38-28c-10.25-2.688-32.25-3.968-66-3.968zM862.959 782.24h26c20 0 33.375 0.704 40 1.984 9 1.6 16.125 5.504 22 12 5.875 6.502 10 14.003 10 24 0 8.128-1.812 15.853-6 21.997s-10.625 9.12-18 12c-7.375 2.88-22.125 6.016-44 6.016h-30z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-cluster-sg" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 368, + "id": 227, + "prevSize": 16, + "code": 59718, + "name": "it-cluster-sg" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 70 + }, + { + "icon": { + "paths": [ + "M514 0c-282.77 0-512 99.331-512 222s229.23 222 512 222c282.77 0 512-99.331 512-222 0-1.383 0.058-2.623 0-4-0.029-0.688 0.043-1.313 0-2-7.57-119.802-234.011-216-512-216zM0 228v138c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-148c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 444v130c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-140c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 652v138c0.439 3.52 2 9.51 2 12 0 122.669 229.23 222 512 222s512-99.331 512-222c0-2.24 1.483-8.499 2-12v-94c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-database" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 369, + "id": 226, + "prevSize": 16, + "code": 59719, + "name": "it-database" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 71 + }, + { + "icon": { + "paths": [ + "M514 0c-282.77 0-512 99.331-512 222s229.23 222 512 222c282.77 0 512-99.331 512-222 0-1.383 0.058-2.623 0-4-0.029-0.688 0.043-1.313 0-2-7.57-119.802-234.011-216-512-216zM0 228v138c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-148c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 444v130c1.854 20.829 4 44.253 4 54 0 17.453 5.225 33.711 14 50h238c-150.238-38.674-252-108.698-252-190 0-7.227-2.795-30.407-4-44zM1028 488c0 81.302-101.762 151.326-252 190h238c8.775-16.289 14-32.547 14-50v-140zM0 652v26h2c-0.917-9.45-1.289-17.978-2-26zM114 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40-0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.187 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-4.938 20.442-14 28-9.063 7.571-22.125 10-40 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-4.688-32.192-12-44-7.313-11.814-17.063-21.184-30-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-8-9.498-8-16-0-7.123 2.125-13.776 8-18 9.125-6.611 21.875-10 38-10 15.625 0 26.187 3.792 34 10 7.812 6.189 13.625 15.875 16 30l56-2c-0.875-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM398 716c-41.125 0-74 13.066-98 38-24 24.941-36 61.123-36 106-0 44.998 12.062 79.123 36 104 23.937 24.87 55.75 38 98 38 21.875 0 42-4.128 60-12 22.875 15.373 36.25 23.104 38 24 8 4.365 15.625 7.504 24 10l20-40c-16-5.754-30.375-12.253-44-22 11-12.877 19-26.253 24-40 6.625-18.003 10-38.25 10-62-0-44.877-12.125-81.059-36-106-23.875-24.934-55.25-38-96-38zM904 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40 0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.188 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-4.938 20.442-14 28-9.063 7.571-22.125 10-40 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-4.688-32.192-12-44-7.313-11.814-17.063-21.184-30-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-10-9.498-10-16-0-7.123 4.125-13.776 10-18 9.125-6.611 21.875-10 38-10 15.625 0 26.187 3.792 34 10 7.812 6.189 13.625 15.875 16 30l56-2c-0.875-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM574 724v272h194v-46h-138v-226h-56zM396 764c22.625 0 42 8.314 56 24 14 15.693 20 40.25 20 72-0 15.373-0.438 28.128-4 40-3.563 11.878-8.875 21.629-16 30-16.625-12.499-35.75-21.728-54-28l-14 32c11.625 4.128 22.75 10.627 34 18-7.125 2.624-14 4-22 4-21.5 0-39.938-8.064-54-24s-22-39.878-22-72c-0-31.629 7.937-56.25 22-72s31.375-24 54-24z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-database-mssql" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 370, + "id": 225, + "prevSize": 16, + "code": 59720, + "name": "it-database-mssql" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 72 + }, + { + "icon": { + "paths": [ + "M514 0c-282.77 0-512 99.331-512 222s229.23 222 512 222c282.77 0 512-99.331 512-222 0-1.383 0.058-2.623 0-4-0.029-0.688 0.043-1.313 0-2-7.57-119.802-234.011-216-512-216zM0 228v138c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-148c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 444v130c1.854 20.829 4 44.253 4 54 0 17.453 5.225 33.711 14 50h238c-150.238-38.674-252-108.698-252-190 0-7.227-2.795-30.407-4-44zM1028 488c0 81.302-101.762 151.326-252 190h238c8.775-16.289 14-32.547 14-50zM0 652v26h2c-0.917-9.45-1.289-17.978-2-26zM140 716c-22.375 0-42.875 4.749-60 12-12.875 5.376-23.188 12.877-34 24s-19.75 23.997-26 38c-8.375 18.995-14 42-14 70-0 43.75 13.875 79.059 38 104 24.125 24.934 55.125 38 96 38 40.375 0 73.875-12.938 98-38s36-59.622 36-104c-0-44.749-11.688-80.874-36-106s-57.5-38-98-38zM714 716c-38.5 0-70.375 12.688-94 38s-36 62.253-36 108c-0 43.251 12.5 77.059 36 102 23.5 24.934 53.5 38 90 38 29.5 0 52.812-7.44 72-22 19.187-14.566 33.75-37.997 42-68l-54-16c-4.625 20.128-11.375 34.624-22 44-10.625 9.389-23.25 14.006-38 14-20 0.006-37.5-7.248-50-22-12.5-14.746-18-39.248-18-74-0-32.749 5.313-57.37 18-72 12.687-14.624 29.625-22 50-22 14.75 0 27.687 3.75 38 12s16.75 19.747 20 34l56-12c-6.25-22.003-17.5-40.25-30-52-21-19.878-46.375-30-80-30zM316 722v274h56v-114h12c12.75 0 22.125-0.048 28 2 5.875 2.061 10.75 6.432 16 12 5.25 5.562 15.75 18.63 30 40l40 60h66l-34-54c-13.25-21.376-24.188-35.629-32-44-7.813-8.378-16-14.998-28-22 24.125-3.501 41.875-12.56 54-26 12.125-13.434 18-31.373 18-52-0-16.25-4-29.373-12-42-8-12.621-18.688-23.072-32-28-13.313-4.909-34.625-6-64-6zM874 724v272h146.652v-46h-92.652v-226zM140 764c22.875 0 42.187 8.506 56 24 13.812 15.501 20 38.499 20 70-0 31.878-7.813 56.064-22 72s-31.875 24.006-54 24c-22.125 0.006-39.625-7.936-54-24s-22-40.87-22-72c-0-31.622 8-54.307 22-70 14-15.686 31.125-24 54-24zM372 768h44c22.5 0 35.5-0.64 40 0 9 1.498 17.062 6.304 22 12 4.937 5.683 6 12.746 6 22-0 8.25-2.25 14.496-6 20-3.75 5.485-7.375 9.76-14 12s-23.375 4-50 4h-42z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-database-oracle" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 371, + "id": 224, + "prevSize": 16, + "code": 59721, + "name": "it-database-oracle" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 73 + }, + { + "icon": { + "paths": [ + "M514 0c-282.77 0-512 99.331-512 222s229.23 222 512 222c282.77 0 512-99.331 512-222 0-1.383 0.058-2.623 0-4-0.029-0.688 0.043-1.313 0-2-7.57-119.802-234.011-216-512-216zM0 228v138c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-148c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 444v130c1.854 20.829 4 44.253 4 54 0 17.453 5.225 33.711 14 50h238c-150.238-38.674-252-108.698-252-190 0-7.227-2.795-30.407-4-44zM1028 488c0 81.302-101.762 151.326-252 190h238c8.775-16.289 14-32.547 14-50v-140zM0 652v26h2c-0.917-9.45-1.289-17.978-2-26zM114 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40-0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.187 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-4.938 20.442-14 28-9.063 7.571-22.125 10-40 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-4.688-32.192-12-44-7.313-11.814-17.063-21.184-30-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-8-9.498-8-16-0-7.123 2.125-13.776 8-18 9.125-6.611 21.875-10 38-10 15.625 0 26.187 3.792 34 10 7.812 6.189 13.625 15.875 16 30l56-2c-0.875-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM904 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40-0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.188 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-2.938 20.442-12 28-9.063 7.571-24.125 10-42 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-2.688-32.192-10-44-7.313-11.814-19.063-21.184-32-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-8-9.498-8-16-0-7.123 2.125-13.776 8-18 9.125-6.611 21.875-10 38-10 15.625 0 28.187 3.792 36 10 7.812 6.189 11.625 15.875 14 30l56-2c-0.876-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM246 722l100 158v116h56v-114l102-160h-64l-64 108-64-108h-66zM532 722v274h92c35.375-0.256 58.75-0.976 68-2 14.75-1.626 27.937-4.934 38-12 10.062-7.059 16.188-16.186 22-28 5.812-11.808 10-25.501 10-38-0-15.872-5-28.25-14-40s-21.25-21.136-38-26c11.875-5.376 21.062-13.254 28-24 6.937-10.752 10-23.13 10-36-0-11.878-2.375-22.438-8-32s-13.563-16.24-22-22c-8.438-5.773-17.313-10.208-28-12-10.688-1.856-26.25-2-48-2h-110zM586 768h32c26.125 0 42.5-0.64 48 0 9.25 1.126 17.312 4.688 22 10s6 11.501 6 20c-0 8.877-2.563 16.56-8 22-5.437 5.434-12.5 8.848-22 10-5.25 0.96-18.375 0-40 0h-38v-62zM586 876h46c25.25 0 40.437 1.376 48 4s14 8.24 18 14c4 5.747 6 11.75 6 20-0 9.747-2.813 18.176-8 24-5.188 5.85-11.75 8.528-20 10-5.375 1.024-18 2-38 2h-52v-74z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-database-sybase" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 372, + "id": 223, + "prevSize": 16, + "code": 59722, + "name": "it-database-sybase" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 74 + }, + { + "icon": { + "paths": [ + "M514 0c-282.77 0-512 99.331-512 222s229.23 222 512 222c282.77 0 512-99.331 512-222 0-1.383 0.058-2.623 0-4-0.029-0.688 0.043-1.313 0-2-7.57-119.802-234.011-216-512-216zM576 72c40.75 0 74.125 13.059 98 38 23.875 24.934 36 59.13 36 104-0 23.75-3.375 44.003-10 62-5 13.754-13 27.123-24 40 13.625 9.747 28 18.253 44 24l-20 40c-8.375-2.496-18-7.642-26-12-1.75-0.896-13.125-8.627-36-24-18 7.872-38.125 12-60 12-42.25 0-76.063-13.123-100-38s-36-59.002-36-104c-0-44.87 12-79.066 36-104 24-24.941 56.875-38 98-38zM346 76h56v276h-56v-276zM560 120c-15.363 2.954-27.453 12.187-38 24-14.063 15.75-22 38.378-22 70-0 32.128 7.937 56.064 22 72s30.5 24 52 24c8 0 16.875-1.376 24-4-11.25-7.373-24.375-13.878-36-18l16-30c18.25 6.272 35.375 15.501 52 28 7.125-8.378 12.437-20.128 16-32 3.562-11.878 5.999-24.621 6-40-0-31.75-6-56.314-20-72s-33.375-22-56-22c-5.656 0-10.879-0.985-16 0zM0 228v138c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-148c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 444v130c1.854 20.829 4 44.253 4 54 0 17.453 5.225 33.711 14 50h238c-150.238-38.674-252-108.698-252-190 0-7.227-2.795-30.407-4-44zM1028 488c0 81.302-101.762 151.326-252 190h238c8.775-16.289 14-32.547 14-50v-140zM0 652v26h2c-0.917-9.45-1.289-17.978-2-26zM114 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40-0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.187 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-4.938 20.442-14 28-9.063 7.571-22.125 10-40 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-4.688-32.192-12-44-7.313-11.814-17.063-21.184-30-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-8-9.498-8-16-0-7.123 2.125-13.776 8-18 9.125-6.611 21.875-10 38-10 15.625 0 26.187 3.792 34 10 7.812 6.189 13.625 15.875 16 30l56-2c-0.875-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM904 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40-0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.188 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-2.938 20.442-12 28-9.063 7.571-24.125 10-42 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-2.688-32.192-10-44-7.313-11.814-19.063-21.184-32-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-8-9.498-8-16-0-7.123 2.125-13.776 8-18 9.125-6.611 21.875-10 38-10 15.625 0 28.187 3.792 36 10 7.812 6.189 11.625 15.875 14 30l56-2c-0.876-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM246 722l100 158v116h56v-114l102-160h-64l-64 108-64-108h-66zM532 722v274h92c35.375-0.256 58.75-0.976 68-2 14.75-1.626 27.937-4.934 38-12 10.062-7.059 16.188-16.186 22-28 5.812-11.808 10-25.501 10-38-0-15.872-5-28.25-14-40s-21.25-21.136-38-26c11.875-5.376 21.062-13.254 28-24 6.937-10.752 10-23.13 10-36-0-11.878-2.375-22.438-8-32s-13.563-16.24-22-22c-8.438-5.773-17.313-10.208-28-12-10.688-1.856-26.25-2-48-2h-110zM586 768h32c26.125 0 42.5-0.64 48 0 9.25 1.126 17.312 4.688 22 10s6 11.501 6 20c-0 8.877-2.563 16.56-8 22-5.437 5.434-12.5 8.848-22 10-5.25 0.96-18.375 0-40 0h-38v-62zM586 876h46c25.25 0 40.437 1.376 48 4s14 8.24 18 14c4 5.747 6 11.75 6 20-0 9.747-2.813 18.176-8 24-5.188 5.85-11.75 8.528-20 10-5.375 1.024-18 2-38 2h-52v-74z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-database-sybaseiq" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 373, + "id": 222, + "prevSize": 16, + "code": 59723, + "name": "it-database-sybaseiq" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 75 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM0 605.772v320h110c21.777 0 40.987-1.48 54-6 17.395-6.125 29.775-15.063 40-26 13.544-14.438 24.696-34.667 32-58 5.975-19.104 8-41.604 8-68-0-30.041-1.626-55.51-8-76s-15.784-37.854-28-52c-12.217-14.146-26.87-22.458-44-28-12.748-4.083-31.7-6-56-6zM294 605.772v320h224v-54h-164v-88h146v-54h-146v-70h158v-54zM570 607.772v318h204v-54h-146v-264zM818 607.772v318h206v-54h-146v-264zM58 659.772h28c24.035 0 39.767-0.041 48 2 11.021 2.625 20.829 8.563 28 16s12.016 16.729 16 30c3.983 13.271 6 33.209 6 58s-2.017 43.636-6 58c-3.984 14.365-9.693 25.729-16 32s-14.439 9.375-24 12c-7.304 2.042-19.534 4-36 4h-44z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-dellmd" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 374, + "id": 221, + "prevSize": 16, + "code": 59724, + "name": "it-diskraid-dellmd" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 76 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM854 613.898c-44.917 0-82.438 14.469-110 44s-40 72.625-40 126c-0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.416 0 61.614-9.010 84-26s38.375-43 48-78l-62-20c-5.396 23.479-15.604 41.063-28 52s-26.792 16-44 16c-23.334 0-41.417-8.792-56-26s-22-45.458-22-86c-0-38.208 7.198-64.937 22-82s34.229-26 58-26c17.208 0 31.969 4.375 44 14s20.208 23.375 24 40l64-16c-7.292-25.666-19.417-44.291-34-58-24.5-23.187-54.771-36-94-36zM42 619.898v320h244v-54h-180v-86h162v-54h-162v-72h174v-54zM340 619.898v320h60v-252l64 252h62l64-252v252h60v-320h-98l-56 218-60-218z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-emc" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 375, + "id": 220, + "prevSize": 16, + "code": 59725, + "name": "it-diskraid-emc" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 77 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM906 622.576c-22.115 0-42.363 4.563-58 12s-27.691 17.781-36 32c-8.309 14.219-12 29.667-12 46 0 25.375 8.335 46.354 26 64 12.562 12.542 34.857 23.396 66 32 24.208 6.708 41.195 11.375 48 14 9.945 3.937 16.009 8.677 20 14s6 12.417 6 20c-0 11.813-4.513 21.177-14 30s-23.288 14-42 14c-17.665 0-31.597-6.083-42-16s-18.598-24.854-22-46l-56 6c3.795 35.875 14.503 63.26 34 82s47.622 28 84 28c24.993 0 47.25-4.198 64-12s28.84-19.958 38-36c9.159-16.042 14-33.625 14-52-0-20.271-4.346-36.219-12-50s-18.457-24.052-32-32c-13.544-7.948-33.736-16.562-62-24s-46.672-15.146-54-22c-5.758-5.396-8-10.416-8-18-0-8.312 3.85-15.041 10-20 9.552-7.729 21.12-12 38-12 16.357 0 29.821 2.781 38 10s13.514 19.521 16 36l58-2c-0.916-29.458-9.746-54.354-28-72s-45.884-26-82-26zM0 628.576v320h218v-54h-160v-88h144v-54h-144v-70h156v-54zM248 628.576v54h86v266h58v-266h84v-54zM514 628.576v320h54v-208l116 208h60v-320h-54v214l-118-214z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-eternus" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 376, + "id": 219, + "prevSize": 16, + "code": 59726, + "name": "it-diskraid-eternus" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 78 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106h-832zM76 74h872v420h-872v-420zM128 148v132h338v-132h-338zM546 148v132h338v-132h-338zM126 326v130h338v-130h-338zM546 326v130h338v-130h-338zM216 620v322h72v-136h134v-54h-134v-76h154v-56h-226zM728 620v208c-0 25.958-2.021 43.761-8 52-5.663 7.804-14.751 11.587-28 12-12.099-1.212-21.741-7.699-28-18-4.667-7.583-7.271-19.625-8-38h-6l-62 6c0.146 34.271 8.937 60.281 26 78 14.335 14.887 33.371 23.621 58 26 6.9 1.241 14.089 2 22 2 26.979 0 49.521-6.698 66-18s27.729-25.333 34-44c4.667-14.292 6-35.458 6-62v-204h-72z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-fujitsu" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 377, + "id": 218, + "prevSize": 16, + "code": 59727, + "name": "it-diskraid-fujitsu" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 79 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM826 618.237c-24.646 0-46.573 4.563-64 12s-30.74 17.782-40 32c-9.26 14.219-14 29.667-14 46-0 25.375 10.312 46.354 30 64 14 12.542 39.292 23.396 74 32 26.979 6.708 44.417 11.375 52 14 11.083 3.937 17.552 8.677 22 14s8 12.417 8 20c-0 11.813-5.427 21.177-16 30s-27.146 14-48 14c-19.688 0-34.406-6.083-46-16s-20.209-24.854-24-46l-62 6c4.229 35.875 16.271 63.26 38 82s53.458 28 94 28c27.854 0 51.333-4.198 70-12s31.791-19.958 42-36c10.208-16.042 16-33.625 16-52-0-20.271-3.469-36.219-12-50s-20.906-24.052-36-32c-15.094-7.948-38.5-16.562-70-24s-51.833-15.146-60-22c-6.417-5.396-10-10.416-10-18-0-8.312 3.146-15.041 10-20 10.646-7.729 27.187-12 46-12 18.229 0 30.885 2.781 40 10s15.229 19.521 18 36l64-2c-1.021-29.458-11.657-54.354-32-72s-49.75-26-90-26zM66 624.237v320h64v-140h128v140h64v-320h-64v126h-128v-126zM390 624.237v320h122c23.916 0 41.708-1.479 56-6 19.104-6.125 34.771-15.062 46-26 14.875-14.437 25.979-32.667 34-56 6.562-19.104 10-41.604 10-68-0-30.041-3-55.51-10-76s-16.584-37.854-30-52c-13.417-14.146-31.188-24.458-50-30-14-4.083-33.313-6-60-6zM454 678.237h30c26.396 0 42.958-0.042 52 2 12.104 2.625 22.125 8.563 30 16s13.625 18.729 18 32c4.375 13.271 8 31.209 8 56s-3.625 43.636-8 58c-4.375 14.365-9.073 25.729-16 32s-15.5 11.375-26 14c-8.021 2.042-21.99 0.371-40 2h-48z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-hds" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 378, + "id": 217, + "prevSize": 16, + "code": 59728, + "name": "it-diskraid-hds" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 80 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM732 617.593c-24.727 0-45.075 5.071-64 14-14.229 6.62-28.051 16.298-40 30s-21.093 28.757-28 46c-9.255 23.401-14 51.514-14 86-0 53.884 13.339 97.286 40 128s62.828 46 108 46c44.619 0 79.339-15.132 106-46s40-73.346 40-128c-0-55.115-13.132-99.055-40-130s-63.243-46-108-46zM262 623.593l-118 338h64l26-76h120l28 76h66l-122-338zM480 623.593v60h58v-60zM734 675.593c25.28 0 44.735 8.91 60 28s24 49.204 24 88c-0 39.258-8.321 68.371-24 88s-35.549 30-60 30c-24.451 0-44.114-10.217-60-30s-24-49.665-24-88c-0-38.95 6.528-66.678 22-86s36.72-30 62-30zM294 701.593l42 126h-84zM480 715.593v246h58v-246z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-hpaio" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 379, + "id": 216, + "prevSize": 16, + "code": 59729, + "name": "it-diskraid-hpaio" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 81 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM516 617.593c-23.346 0-41.492 4.148-58 12s-29.228 18.99-38 34c-8.772 15.011-14 30.757-14 48-0 26.788 9.351 49.372 28 68 13.261 13.24 37.122 24.917 70 34 25.556 7.082 40.817 11.229 48 14 10.499 4.157 17.787 10.381 22 16s6 11.994 6 20c-0 12.47-3.985 22.686-14 32s-24.246 14-44 14c-18.649 0-35.018-5.531-46-16s-18.408-25.677-22-48l-58 6c4.006 37.873 15.417 66.217 36 86s49.597 30 88 30c26.385 0 48.318-3.763 66-12s32.33-21.065 42-38c9.669-16.935 14-34.602 14-54-0-21.399-3.919-39.451-12-54s-19.703-25.609-34-34c-14.298-8.39-36.162-18.148-66-26s-48.264-14.764-56-22c-6.078-5.696-10-11.994-10-20-0-8.775 3.507-16.765 10-22 10.084-8.159 24.18-12 42-12 17.267 0 31.366 4.38 40 12s13.375 20.604 16 38l62-4c-0.967-31.098-10.73-55.371-30-74s-49.873-28-88-28zM56 623.593v338h56v-266l62 266h58l60-266v266h58v-338h-92l-56 230-54-230zM782 623.593l-118 338h64l26-76h120l28 76h66l-122-338zM814 701.593l42 126h-84z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-hpmsa" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 380, + "id": 215, + "prevSize": 16, + "code": 59730, + "name": "it-diskraid-hpmsa" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 82 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM152 625.254v338h62v-338zM272 625.254v338h104c39.094-0.307 63.777-0.769 74-2 16.3-2.001 28.879-7.302 40-16s21.576-21.451 28-36c6.423-14.549 8-28.604 8-44-0-19.552-4.054-37.528-14-52s-23.489-23.996-42-30c13.123-6.62 22.333-16.76 30-30s12-28.142 12-44c-0-14.625-3.784-26.222-10-38s-12.676-22.918-22-30c-9.325-7.082-20.189-11.768-32-14s-29.964-2-54-2zM578 625.254v338h56v-266l62 266h58l60-266v266h58v-338h-92l-56 230-54-230zM334 681.254h34c28.871 0 47.922-0.769 54 0 10.222 1.386 16.82 5.457 22 12s8 15.531 8 26c-0 10.931-1.991 19.303-8 26s-15.501 10.615-26 12c-5.802 0.769-20.102 2-44 2h-40zM334 815.254h50c27.904 0 45.642 2.767 54 6s13.579 6.918 18 14c4.42 7.082 8 15.839 8 26-0 12.009-4.267 22.841-10 30s-12.883 10.153-22 12c-5.94 1.386-19.898 2-42 2h-56z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-ibm" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 381, + "id": 214, + "prevSize": 16, + "code": 59731, + "name": "it-diskraid-ibm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 83 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM338 610.576c-23.346 0-43.492 4.148-60 12s-29.228 18.99-38 34c-8.772 15.011-12 30.757-12 48-0 26.788 9.351 49.372 28 68 13.261 13.24 35.122 24.917 68 34 25.556 7.082 42.817 11.229 50 14 10.499 4.157 17.787 10.38 22 16s6 11.994 6 20c-0 12.47-5.985 22.686-16 32s-24.246 14-44 14c-18.649 0-33.018-5.531-44-16s-18.408-25.677-22-48l-60 6c4.006 37.873 17.417 66.217 38 86s49.597 30 88 30c26.385 0 48.318-3.763 66-12s30.33-21.065 40-38c9.67-16.935 16-34.602 16-54-0-21.399-3.919-39.451-12-54s-19.703-25.609-34-34c-14.298-8.39-36.162-18.148-66-26s-50.264-14.764-58-22c-6.078-5.696-8-11.994-8-20-0-8.775 3.507-16.765 10-22 10.084-8.159 24.18-12 42-12 17.267 0 29.366 4.38 38 12s15.375 20.604 18 38l60-4c-0.967-31.098-10.73-55.371-30-74s-47.873-28-86-28zM514 616.576v338h58v-266l60 266h58l60-266v266h58v-338h-92l-54 230-56-230z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-ibmsm" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 382, + "id": 213, + "prevSize": 16, + "code": 59732, + "name": "it-diskraid-ibmsm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 84 + }, + { + "icon": { + "paths": [ + "M545.978 325.073h338.060v129.629h-338.060v-129.629z", + "M545.978 147.596h338.060v131.631h-338.060v-131.631z", + "M126.045 325.073h337.967v129.629h-337.967v-129.629z", + "M128.047 147.596h337.967v131.631h-337.967v-131.631z", + "M928.023 0h-832c-53.434 0-96.023 46.732-96.023 105.705v353.001c0 58.973 42.589 107.706 96.023 107.706h832.047c53.341 0 95.977-48.733 95.977-107.706v-353.001c-0.047-58.973-42.636-105.705-96.023-105.705zM948.038 492.637h-872.029v-418.863h872.029v418.863z", + "M326.051 844.102c-7.68 22.481-13.405 39.657-17.036 51.293-3.212-10.519-8.332-26.298-15.267-47.383l-75.916-226.444h-63.907v319.814h40.913v-272.244l92.719 272.244h38.353l93.091-267.636v267.636h40.96v-319.814h-57.065l-76.847 222.534z", + "M838.982 772.934c-12.753-5.818-36.399-12.614-70.889-20.387-34.444-7.82-55.808-15.407-63.953-22.807-8.378-7.401-12.521-16.849-12.521-28.346 0-13.219 5.818-24.529 17.594-33.932 11.729-9.402 30.394-14.103 56.087-14.103 24.623 0 43.241 5.167 55.855 15.453 12.66 10.38 20.061 25.6 22.202 45.894l40.774-3.119c-0.791-18.665-5.958-35.561-15.732-50.362-9.821-14.801-23.785-26.065-41.937-33.745-18.153-7.587-39.098-11.404-62.883-11.404-21.597 0-41.239 3.631-58.833 10.845-17.641 7.261-31.139 17.92-40.262 31.977-9.216 14.010-13.777 29.091-13.777 45.335 0 14.615 3.77 27.927 11.217 39.75 7.494 11.823 18.944 21.783 34.211 29.789 11.823 6.237 32.396 12.893 61.952 19.968 29.463 7.028 48.454 12.288 57.111 15.593 13.405 5.12 23.040 11.404 28.858 18.851 5.818 7.494 8.751 16.291 8.751 26.298 0 9.914-2.979 18.991-9.030 27.369-6.097 8.332-15.313 14.941-27.695 19.735-12.428 4.841-26.717 7.168-42.915 7.168-18.246 0-34.583-3.119-49.199-9.449-14.615-6.284-25.414-14.569-32.256-24.855-6.935-10.24-11.311-23.366-13.219-39.331l-39.983 3.491c0.559 21.318 6.377 40.495 17.594 57.437 11.124 16.943 26.438 29.603 46.127 37.981 19.596 8.471 43.892 12.66 72.89 12.66 22.993 0 43.567-4.236 61.812-12.614 18.339-8.378 32.349-20.061 42.124-35.095s14.662-31.046 14.662-48.035c0-17.175-4.515-32.396-13.359-45.521-8.844-13.033-22.668-23.831-41.379-32.489z" + ], + "attrs": [ + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-macrosan" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 4, + 4, + 4, + 4, + 4, + 4, + 4 + ] + } + }, + "attrs": [ + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + } + ], + "properties": { + "order": 383, + "id": 212, + "prevSize": 16, + "code": 59733, + "name": "it-diskraid-macrosan" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 85 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM222 616.576v338h56v-220l124 220h60v-338h-56v226l-124-226zM616 616.576l-118 338h64l26-76h120l28 76h66l-122-338zM648 694.576l42 126h-84z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-netapp" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 384, + "id": 211, + "prevSize": 16, + "code": 59734, + "name": "it-diskraid-netapp" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 86 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM210 614.915c-23.346 0-43.492 4.148-60 12s-29.228 18.99-38 34c-8.772 15.011-12 30.757-12 48-0 26.788 9.351 49.372 28 68 13.261 13.24 35.122 24.917 68 34 25.556 7.082 42.817 11.229 50 14 10.499 4.157 17.787 10.38 22 16s6 11.994 6 20c-0 12.47-5.985 22.686-16 32s-24.246 14-44 14c-18.649 0-33.018-5.531-44-16s-18.408-25.677-22-48l-60 6c4.006 37.873 17.417 66.217 38 86s49.597 30 88 30c26.385 0 48.318-3.763 66-12s30.33-21.065 40-38c9.67-16.935 16-34.602 16-54-0-21.399-3.919-39.451-12-54s-19.703-25.609-34-34c-14.298-8.39-36.162-18.148-66-26s-48.264-14.764-56-22c-6.078-5.696-10-11.994-10-20-0-8.775 3.507-16.765 10-22 10.084-8.159 24.18-12 42-12 17.267 0 29.366 4.38 38 12s15.375 20.604 18 38l60-4c-0.967-31.098-10.73-55.371-30-74s-47.873-28-86-28zM386 620.915v180c0 37.873 1.994 66.602 6 86 2.763 13.086 9.297 26.069 18 38s21.012 20.533 36 28c14.988 7.467 36.99 12 66 12 24.036 0 43.081-3.149 58-10s27.090-16.453 36-28c8.91-11.547 14.684-25.219 18-42s6-45.356 6-86v-178h-62v186c0 26.788-0.204 46.454-2 58s-7.159 22.071-16 30c-8.841 7.928-22.594 12-40 12-17.13 0-30.123-5.61-40-14s-17.375-18.144-20-32c-1.52-8.621-2-28.903-2-58v-182zM694 620.915v338h58v-220l122 220h62v-338h-58v226l-124-226z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-sun" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 385, + "id": 210, + "prevSize": 16, + "code": 59735, + "name": "it-diskraid-sun" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 87 + }, + { + "icon": { + "paths": [ + "M0 0v176h242v-176h-242zM346 0v176h352v-176h-352zM800 0v176h224v-176h-224zM30 232v176h354v-176h-354zM488 232v176h352v-176h-352zM942 232v176h82v-176h-82zM0 462v178h256v-178h-256zM366 462v178h352v-178h-352zM822 462v178h202v-178h-202zM30 702v176h354v-176h-354zM488 702v176h352v-176h-352zM942 702v176h82v-176h-82zM0 934v90h242v-90h-242zM346 934v90h352v-90h-352zM800 934v90h224v-90h-224z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 386, + "id": 209, + "prevSize": 16, + "code": 59736, + "name": "it-firewall" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 88 + }, + { + "icon": { + "paths": [ + "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v112h352v-112h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h320v-176h-320v-56h178v-112zM488 232v176h352v-176h-352zM380 478c-44.917 0-82.438 14.47-110 44s-40 72.624-40 126c0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.417 0 61.614-9.008 84-26s38.375-42.998 48-78l-62-20c-5.396 23.482-13.604 41.062-26 52-12.396 10.963-26.792 16-44 16-23.333 0-43.417-8.79-58-26s-22-45.456-22-86c-0-38.208 7.198-64.938 22-82s34.229-26 58-26c17.208 0 31.969 4.374 44 14s20.208 23.373 24 40l64-16c-7.292-25.67-17.417-44.291-32-58-24.5-23.187-56.771-36-96-36zM564 484v320h66v-120h42c29.312 0 50.541-2.928 66-6 11.375-2.477 22.989-6.346 34-14 11.010-7.661 20.854-18.586 28-32 7.146-13.421 10-30.314 10-50-0-25.523-5.604-45.885-18-62s-27.625-27.2-46-32c-11.959-3.2-38.625-4-78-4h-104zM630 538h30c23.333 0 40.271 0.531 48 2 10.5 1.901 19.146 6.416 26 14s10 18.333 10 30c-0 9.478-3.115 16.858-8 24-4.886 7.149-11.396 12.672-20 16-8.604 3.392-26.479 6-52 6h-34v-92z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-checkpoint" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 387, + "id": 208, + "prevSize": 16, + "code": 59737, + "name": "it-firewall-checkpoint" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 89 + }, + { + "icon": { + "paths": [ + "M68 0c-37.964 0-68 30.272-68 68v888c0 37.728 30.036 68 68 68h894c37.964 0 68-30.272 68-68v-888c0-37.728-30.036-68-68-68h-894zM244 64h104v112h354v-112h102v112h162v56h-18v176h18v490h-162v62h-102v-62h-354v62h-104v-62h-180v-490h322v-176h-322v-56h180v-112zM492 232v176h354v-176h-354zM340 492c-44.917 0-82.438 14.47-110 44s-40 72.624-40 126c0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.416 0 61.614-9.008 84-26s38.375-42.998 48-78l-62-20c-5.396 23.482-13.604 41.062-26 52-12.396 10.963-26.792 16-44 16-23.334 0-43.417-8.79-58-26s-22-45.456-22-86c-0-38.208 7.198-64.938 22-82s34.229-26 58-26c17.208 0 31.969 4.355 44 14 12.031 9.626 20.208 23.373 24 40l64-16c-7.292-25.67-17.417-44.291-32-58-24.5-23.187-56.771-36-96-36zM714 492c-44.917 0-82.438 14.47-110 44s-40 72.624-40 126c0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.417 0 61.614-9.008 84-26s38.375-42.998 48-78l-62-20c-5.396 23.482-15.604 41.062-28 52-12.396 10.963-26.792 16-44 16-23.333 0-41.417-8.79-56-26s-22-45.456-22-86c-0-38.208 7.198-64.938 22-82s34.229-26 58-26c17.208 0 31.969 4.355 44 14 12.031 9.626 20.208 23.373 24 40l64-16c-7.292-25.67-19.417-44.291-34-58-24.5-23.187-54.771-36-94-36z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-cisco" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 388, + "id": 207, + "prevSize": 16, + "code": 59738, + "name": "it-firewall-cisco" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 90 + }, + { + "icon": { + "paths": [ + "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v112h352v-112h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h320v-176h-320v-56h178v-112zM488 232v176h352v-176h-352zM266 478c-44.917 0-82.438 14.47-110 44s-40 72.624-40 126c0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.417 0 61.614-9.008 84-26s38.375-42.998 48-78l-62-20c-5.396 23.482-13.604 41.062-26 52-12.396 10.963-26.792 16-44 16-23.333 0-43.417-8.79-58-26s-22-45.456-22-86c-0-38.208 7.198-64.938 22-82s34.229-26 58-26c17.208 0 31.969 4.374 44 14s20.208 23.373 24 40l64-16c-7.292-25.67-17.417-44.291-32-58-24.5-23.187-56.771-36-96-36zM768 478c-44.917 0-82.438 14.47-110 44s-40 72.624-40 126c0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.417 0 61.614-9.008 84-26s38.375-42.998 48-78l-62-20c-5.396 23.482-13.604 41.062-26 52-12.396 10.963-26.792 16-44 16-23.333 0-43.417-8.79-58-26s-22-45.456-22-86c-0-38.208 7.198-64.938 22-82s34.229-26 58-26c17.208 0 31.969 4.374 44 14s20.208 23.373 24 40l64-16c-7.292-25.67-17.417-44.291-32-58-24.5-23.187-56.771-36-96-36zM420 594v96h150v-96h-150z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-cisco2" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 389, + "id": 206, + "prevSize": 16, + "code": 59739, + "name": "it-firewall-cisco2" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 91 + }, + { + "icon": { + "paths": [ + "M68 0c-37.964 0-68 30.272-68 68v888c0 37.728 30.036 68 68 68h894c37.964 0 68-30.272 68-68v-888c0-37.728-30.036-68-68-68h-894zM244 64h104v112h354v-112h102v112h162v56h-18v176h18v490h-162v62h-102v-62h-354v62h-104v-62h-180v-490h322v-176h-322v-56h180v-112zM492 232v176h354v-176h-354zM396 496v206c-0 25.958-4.021 43.76-10 52s-15.563 12-30 12c-14.292 0-25-6.479-32-18-4.667-7.583-7.271-19.625-8-38l-60 6c0.146 34.271 8.937 60.281 26 78s40.354 28 72 28c26.979 0 49.521-6.698 66-18s27.729-25.333 34-44c4.666-14.292 6-35.458 6-62v-202h-64zM530 496v320h64v-122h42c29.312 0 52.542-0.938 68-4 11.375-2.479 22.989-8.344 34-16s18.854-16.583 26-30c7.146-13.416 12-30.312 12-50-0-25.521-7.604-45.885-20-62s-27.625-27.187-46-32c-11.959-3.208-36.625-4-76-4h-104zM594 550h32c23.333 0 38.271 0.542 46 2 10.5 1.896 19.146 6.417 26 14s10 16.334 10 28c-0 9.479-1.115 18.854-6 26s-13.396 12.646-22 16c-8.604 3.354-24.479 4-50 4h-36v-90z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-juniper" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 390, + "id": 205, + "prevSize": 16, + "code": 59740, + "name": "it-firewall-juniper" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 92 + }, + { + "icon": { + "paths": [ + "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v112h352v-112h102v112h160v56h-18v176h18v82h-154v322h154v86h-160v62h-102v-62h-352v62h-104v-62h-178v-86h24v-210l100 210h50v-322h-46v214l-102-214h-26v-82h320v-176h-320v-56h178v-112zM488 232v176h352v-176h-352zM306 490v322h168v-54h-102v-88h84v-54h-84v-72h96v-54h-162zM500 490l92 186v136h50v-136l90-186h-58l-56 128-58-128h-60zM870 544h90v72h-90v-72zM870 670h90v88h-90v-88z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-neteye" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 391, + "id": 204, + "prevSize": 16, + "code": 59741, + "name": "it-firewall-neteye" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 93 + }, + { + "icon": { + "paths": [ + "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v112h352v-112h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h320v-176h-320v-56h178v-112zM488 232v176h352v-176h-352zM122 498v54h148l-168 208v58h260v-54h-182l176-216v-50h-234zM380 498v54h96v266h64v-266h96v-54h-256zM678 498v320h244v-54h-180v-88h162v-54h-162v-70h174v-54h-238z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-zte" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 392, + "id": 203, + "prevSize": 16, + "code": 59742, + "name": "it-firewall-zte" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 94 + }, + { + "icon": { + "paths": [ + "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v12c-36.731 40.161-60 93.286-60 152 0 1.333-0.023 2.673 0 4h-222v-56h178v-112zM698 64h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h312c37.915 28.819 84.701 46 136 46s98.085-17.181 136-46h192v-176h-102c0.023-1.34 0-2.655 0-4 0-47.763-14.694-91.517-40-128v-36zM418 98h188v48h-132v64h114v46h-114v118h-56v-276zM122 498v54h148l-146 180-22 28v58h260v-54h-182l176-216v-50h-234zM380 498v54h96v266h64v-266h96v-54h-256zM678 498v320h244v-54h-180v-88h162v-54h-162v-70h174v-54h-238z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-ztemf" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 393, + "id": 202, + "prevSize": 16, + "code": 59743, + "name": "it-firewall-ztemf" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 95 + }, + { + "icon": { + "paths": [ + "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v12c-36.731 40.161-60 93.286-60 152 0 1.333-0.023 2.673 0 4h-222v-56h178v-112zM698 64h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h312c37.915 28.819 84.701 46 136 46s98.085-17.181 136-46h192v-176h-102c0.023-1.34 0-2.655 0-4 0-47.763-14.694-91.517-40-128v-36zM410 98h56v148c-0 23.625 0.625 39 2 46 2.375 11.25 7.062 21.188 16 28s20.5 10 36 10c15.75 0 28-3.562 36-10s12.375-14.625 14-24c1.625-9.375 4-24.25 4-46v-152h54v144c-0 33-1 56.375-4 70s-7.938 24.625-16 34c-8.063 9.375-18.5 16.438-32 22s-32.25 8-54 8c-26.25-0-46.438-1.937-60-8s-24.125-14.312-32-24c-7.875-9.687-11.5-19.375-14-30-3.625-15.75-6-39.25-6-70v-146zM122 498v54h148l-146 180-22 28v58h260v-54h-182l176-216v-50h-234zM380 498v54h96v266h64v-266h96v-54h-256zM678 498v320h244v-54h-180v-88h162v-54h-162v-70h174v-54h-238z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-zteutm" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 394, + "id": 201, + "prevSize": 16, + "code": 59744, + "name": "it-firewall-zteutm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 96 + }, + { + "icon": { + "paths": [ + "M260 2c-65.696 7.147-134.149 50.113-186 122-94.814 131.45-98.966 314.24-10 410 37.902 40.797 87.3 58.623 138 56v402c42.667 47.332 85.333 40.057 128 0v-456c23.249-18.201 46.339-38.742 66-66 94.814-131.45 100.966-316.24 12-412-33.362-35.91-75.78-53.99-120-56-9.213-0.419-18.615-1.021-28 0zM484 46c54.103 128.562 67.65 281.261-28 418-34.982 50.009-66.676 94.444-104 130l102 12c620.106-30.772 784.298-551.082 242-514-68.87 4.709-170.379-12.038-212-46zM270 106c28.56 1.298 54.453 12.807 76 36 57.459 61.847 55.236 181.102-6 266s-158.541 103.847-216 42c-57.459-61.847-53.236-181.102 8-266 38.272-53.061 90.4-80.163 138-78z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-gather" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 395, + "id": 200, + "prevSize": 16, + "code": 59745, + "name": "it-gather" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 97 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h768c70.912 0 128-57.088 128-128v-768c0-70.912-57.088-128-128-128h-768zM164 352h64v320h-64v-320zM290 352h128c25.375 0 45.531-0.115 58 2s24.156 7.292 34 14c9.843 6.709 17.437 14.844 24 26s10 24.146 10 38c-0 15.021-3.907 29.459-12 42s-20.146 21.729-34 28c19.541 5.688 35.5 16.292 46 30s16 29.479 16 48c-0 14.583-3.219 28.219-10 42s-16.261 23.76-28 32c-11.74 8.24-26.792 14.104-44 16-10.792 1.167-36.729 1.708-78 2h-110v-320zM614 352h104c39.375 0 66.041 0.792 78 4 18.375 4.813 33.604 15.886 46 32s18 36.479 18 62c-0 19.688-2.854 36.584-10 50s-16.99 24.344-28 32c-11.011 7.656-22.625 11.521-34 14-15.459 3.063-36.688 6-66 6h-44v120h-64v-320zM356 406v74h42c25.229 0 39.875-1.27 46-2 11.083-1.312 19.656-5.656 26-12s10-13.646 10-24c-0-9.916-2.531-17.802-8-24s-13.209-10.687-24-12c-6.417-0.729-25.521 0-56 0h-36zM678 406v90h36c25.521 0 43.396-0.646 52-4s15.114-8.854 20-16c4.885-7.146 8-14.521 8-24-0-11.666-5.146-22.416-12-30s-15.5-12.104-26-14c-7.729-1.458-22.667-2-46-2h-32zM356 532v86h60c23.333 0 37.729-0.687 44-2 9.625-1.75 17.948-5.219 24-12s8-16.625 8-28c-0-9.625-1.334-17.292-6-24s-11.177-10.937-20-14c-8.823-3.062-28.542-6-58-6h-52z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-ibp" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 396, + "id": 199, + "prevSize": 16, + "code": 59746, + "name": "it-ibp" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 98 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h768c70.912 0 128-57.088 128-128v-768c0-70.912-57.088-128-128-128h-768zM164 170h64v322h-64v-322zM290 170h128c25.375 0 45.531 1.886 58 4s24.156 7.292 34 14c9.843 6.709 17.437 14.844 24 26s10 24.146 10 38c-0 15.021-3.907 27.459-12 40s-20.146 21.729-34 28c19.541 5.688 35.5 16.292 46 30s16 29.479 16 48c-0 14.583-3.219 28.219-10 42s-16.261 25.76-28 34c-11.74 8.24-26.792 14.104-44 16-10.792 1.167-36.729 1.708-78 2h-110v-322zM614 170h104c39.375 0 66.041 2.792 78 6 18.375 4.813 33.604 13.886 46 30s18 38.479 18 64c-0 19.688-2.854 34.584-10 48s-16.99 24.344-28 32c-11.011 7.656-22.625 13.521-34 16-15.459 3.063-36.688 4-66 4h-44v122h-64v-322zM356 224v74h42c25.229 0 39.875 0.73 46 0 11.083-1.312 19.656-5.656 26-12s10-15.646 10-26c-0-9.916-2.531-17.802-8-24s-13.209-8.687-24-10c-6.417-0.729-25.521-2-56-2h-36zM678 224v92h36c25.521 0 43.396-2.646 52-6s15.114-6.854 20-14c4.885-7.146 8-16.521 8-26-0-11.666-5.146-20.416-12-28s-15.5-12.104-26-14c-7.729-1.458-22.667-4-46-4h-32zM356 352v86h60c23.333 0 37.729-0.687 44-2 9.625-1.75 17.948-7.219 24-14s8-14.625 8-26c-0-9.625-1.334-19.292-6-26s-11.177-10.937-20-14c-8.823-3.062-28.542-4-58-4h-52zM196 598c27.125 0 48.5 7.375 64 22s24 34.25 24 56c-0 12.375-3.563 22.813-8 34s-10.375 23.75-20 36c-6.375 8.125-17.375 18.75-34 34s-27.563 25-32 30c-4.438 5-9.25 11.25-12 16h106v48h-186c2-18.5 8-35.438 18-52s30.5-38.625 60-66c23.75-22.125 38.625-36.125 44-44 7.25-10.875 10-23.375 10-34-0-11.75-1.688-19.687-8-26s-14.875-10-26-10c-11 0-21.5 3.375-28 10s-9 18.625-10 34l-52-6c3.125-29 11.5-49.375 28-62s37.25-20 62-20zM408 598c26.625 0 47 11 62 30 17.875 22.5 28 57.875 28 110-0 52-10 91.25-28 114-14.875 18.75-35.375 28-62 28-26.75 0-47.625-11.437-64-32s-24-57.25-24-110c-0-51.75 8-89.25 26-112 14.875-18.75 35.375-28 62-28zM622 598c26.625 0 47 11 62 30 17.875 22.5 28 57.875 28 110-0 52-10 91.25-28 114-14.875 18.75-35.375 28-62 28-26.75 0-47.625-11.437-64-32s-26-57.25-26-110c-0-51.75 10-89.25 28-112 14.875-18.75 35.375-28 62-28zM836 598c26.625 0 47 11 62 30 17.875 22.5 28 57.875 28 110-0 52-10 91.25-28 114-14.875 18.75-35.375 28-62 28-26.75 0-47.625-11.437-64-32s-26-57.25-26-110c0-51.75 10-89.25 28-112 14.875-18.75 35.375-28 62-28zM408 642c-6.375 0-11 1.937-16 6s-9.25 11.5-12 22c-3.625 13.625-6 35.75-6 68s2.75 55.938 6 68c3.25 12.063 7.062 20 12 24s9.625 6 16 6c6.375 0 13-1.937 18-6s9.25-11.5 12-22c3.625-13.5 4-37.75 4-70s-0.75-53.937-4-66c-3.25-12.062-7.063-19.937-12-24s-11.625-5.999-18-6zM622 642c-6.375 0-11 1.937-16 6s-9.25 11.5-12 22c-3.625 13.625-6 35.75-6 68s0.75 55.938 4 68c3.25 12.063 9.062 20 14 24s9.625 6 16 6c6.375 0 13-1.937 18-6s7.25-11.5 10-22c3.625-13.5 6-37.75 6-70s-0.75-53.937-4-66c-3.25-12.062-7.063-19.937-12-24s-11.625-5.999-18-6zM836 642c-6.375 0-13 1.937-18 6s-7.25 11.5-10 22c-3.625 13.625-6 35.75-6 68s0.75 55.938 4 68c3.25 12.063 7.062 20 12 24s11.625 6 18 6c6.375 0 11-1.937 16-6s9.25-11.5 12-22c3.625-13.5 6-37.75 6-70s-0.75-53.937-4-66c-3.25-12.062-9.063-19.937-14-24s-9.625-5.999-16-6z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-ibp-ibp2000" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 397, + "id": 198, + "prevSize": 16, + "code": 59747, + "name": "it-ibp-ibp2000" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 99 + }, + { + "icon": { + "paths": [ + "M512 0c-282.77 0-512 229.229-512 512s229.23 512 512 512c282.77 0 512-229.229 512-512s-229.23-512-512-512zM460 100c-0.035 0.64 0 1.344 0 1.984v144h-106c13.653-49.069 32.968-94.080 54-136 16.822-4.352 34.424-7.789 52-10.003zM564 100c14.799 1.856 29.727 4.608 44 8 21.464 42.010 40.007 88.672 54 138.003h-98v-144c0-0.64 0.035-1.344 0-1.984zM728 158.003c38.764 23.725 74.975 53.293 104 88h-74c-8.692-30.573-18.367-60.154-30-88zM286 164.019c-10.493 26.163-20.063 53.523-28 82.003h-66c26.566-31.763 59.179-59.334 94-82.003zM894 346.022c15.484 35.52 24.974 74.131 30 113.997h-134c-1.3-38.579-4.291-75.648-10-112h102c3.699 0 8.643-0.96 12-1.984zM128 348.006h110c-5.555 36.416-10.864 73.389-12 112h-126c4.91-38.938 13.095-77.184 28-112zM332 348.006h128v112h-138c1.129-38.362 4.536-75.872 10-112zM564 348.006h120c5.637 36.122 8.706 73.606 10 112h-130v-112zM100 564.006h128c3.115 38.906 10.371 75.571 18 112h-118c-14.905-34.816-23.090-73.062-28-112zM324 564.006h136v112h-120c-7.481-36.346-12.966-73.126-16-112zM564 564.006h130c-2.897 38.304-8.783 76.128-16 112h-114v-112zM788 564.006h136c-4.91 38.938-13.095 77.184-28 112h-124c7.324-35.814 13.028-73.824 16-112zM194 780.006h78c12.495 36.038 29.429 68.461 46 100-47.143-24.954-89.788-59.642-124-100zM368 780.006h92v144c-7.868-0.96-16.275-0.64-24-1.984-26.587-42.522-49.947-89.542-68-142.003zM564 780.006h86c-17.597 51.622-40.138 99.91-66 142.003-6.473 1.152-13.428 1.152-20 1.984v-144zM746 780.006h84c-35.169 41.491-79.231 76.851-128 102.003 16.61-31.923 31.55-65.536 44-102.003z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-net" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 398, + "id": 197, + "prevSize": 16, + "code": 59748, + "name": "it-net" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 100 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM248 230l124 32-142 528-122-32 140-528zM448 232h128v546h-128v-546zM774 234l142 528-124 32-142-528 124-32z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 399, + "id": 196, + "prevSize": 16, + "code": 59749, + "name": "it-other" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 101 + }, + { + "icon": { + "paths": [ + "M832 0h-640c-105.984 0-192 85.969-192 192v640c0 106.031 86.016 192 192 192h640c106.031 0 192-85.969 192-192v-640c0-106.031-85.969-192-192-192zM607.697 84.992c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012c-44.218 0-80.012-35.84-80.012-80.012s35.747-80.012 80.012-80.012zM392.332 84.992c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012-80.012-35.84-80.012-80.012 35.84-80.012 80.012-80.012zM177.012 245.015c-44.172 0-80.012-35.84-80.012-80.012s35.84-80.012 80.012-80.012 80.012 35.84 80.012 80.012-35.84 80.012-80.012 80.012zM574.65 945.99l-45.382-117.993h-162.863l-42.775 117.993h-54.691l149.551-389.446h55.529l159.372 389.446h-58.74zM607.697 511.023c-44.218 0-80.012-35.84-80.012-80.012s35.793-80.012 80.012-80.012c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012zM715.171 945.99h-47.802v-389.446h47.802v389.446zM823.017 511.023c-44.172 0-80.012-35.84-80.012-80.012s35.84-80.012 80.012-80.012 79.965 35.84 79.965 80.012-35.793 80.012-79.965 80.012zM823.017 245.015c-44.172 0-80.012-35.84-80.012-80.012s35.84-80.012 80.012-80.012 79.965 35.84 79.965 80.012-35.793 80.012-79.965 80.012z", + "M445.021 597.504c-4.934 24.948-11.962 49.757-20.945 74.38l-42.775 114.176h132.049l-40.681-107.753c-12.428-32.815-21.597-59.811-27.648-80.803z" + ], + "attrs": [ + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-alteon" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 4, + 4 + ] + } + }, + "attrs": [ + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + } + ], + "properties": { + "order": 400, + "id": 195, + "prevSize": 16, + "code": 59750, + "name": "it-other-alteon" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 102 + }, + { + "icon": { + "paths": [ + "M816.035 622.871c-8.611-2.281-24.436-3.398-47.569-3.398h-98.49v137.681h99.561c32.954 0 56.32-6.144 70.191-18.432 13.824-12.241 20.713-29.51 20.713-51.712 0-16.151-4.049-29.929-12.195-41.425-8.192-11.45-18.944-19.037-32.209-22.714z", + "M832 0h-640c-105.984 0-192 85.969-192 192v640c0 105.984 86.016 192 192 192h640.047c105.937 0 191.953-86.016 191.953-192v-640c0-106.031-86.016-192-192-192zM823.017 84.992c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012-80.012-35.84-80.012-80.012c0-44.172 35.793-80.012 80.012-80.012zM823.017 350.999c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012-80.012-35.84-80.012-80.012c0-44.172 35.793-80.012 80.012-80.012zM607.744 84.992c44.125 0 80.012 35.84 80.012 80.012s-35.887 80.012-80.012 80.012c-44.265 0-80.058-35.84-80.058-80.012s35.747-80.012 80.058-80.012zM392.332 84.992c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012c-44.172 0-80.012-35.84-80.012-80.012s35.84-80.012 80.012-80.012zM177.012 245.015c-44.172 0-80.012-35.84-80.012-80.012s35.84-80.012 80.012-80.012c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012zM520.192 959.162l-44.916-116.643h-161.094l-42.31 116.643h-54.132l147.921-385.164h54.924l157.649 385.164h-58.042zM527.686 431.011c0-44.172 35.793-80.012 80.058-80.012 44.125 0 80.012 35.84 80.012 80.012s-35.887 80.012-80.012 80.012c-44.311 0-80.058-35.84-80.058-80.012zM881.711 768.559c-20.852 22.668-58.554 34.025-113.012 34.025h-98.769v156.579h-51.014v-385.164h145.315c25.553 0 45.103 1.21 58.601 3.677 18.897 3.119 34.769 9.123 47.523 18.013s23.087 21.225 30.86 37.19c7.82 15.965 11.683 33.466 11.683 52.55 0.047 32.768-10.333 60.416-31.185 83.13z", + "M391.959 614.447c-4.887 24.716-11.823 49.245-20.759 73.588l-42.31 112.966h130.607l-40.215-106.682c-12.241-32.349-21.364-59.020-27.322-79.872z" + ], + "attrs": [ + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-appdirector" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 4, + 4, + 4 + ] + } + }, + "attrs": [ + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + } + ], + "properties": { + "order": 401, + "id": 194, + "prevSize": 16, + "code": 59751, + "name": "it-other-appdirector" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 103 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM518 230h186c36.836 0.001 65.899 2.491 84 6s33.71 10.875 48 22c14.289 11.126 26.473 25.499 36 44 9.526 18.503 14 39.023 14 62-0 24.912-6.251 47.2-18 68s-27.889 37.6-48 48c28.367 9.433 50.757 25.266 66 48s22 49.284 22 80c-0 24.186-4.156 47.145-14 70s-22.959 40.335-40 54c-17.042 13.665-39.020 22.856-64 26-15.666 1.936-52.089 3.521-112 4h-160v-532zM124 234h94v438h234v90h-328v-528zM612 318v124h62c36.624 0.001 59.108-0.803 68-2 16.089-2.175 28.791-9.479 38-20s14-24.828 14-42c-0-16.446-4.061-29.72-12-40-7.939-10.278-18.334-15.823-34-18-9.315-1.211-37.755-2-82-2h-54zM612 530v142h88c33.872 0 54.897-1.825 64-4 13.972-2.9 25.214-8.754 34-20s14-27.135 14-46c-0-15.962-3.226-28.874-10-40-6.775-11.125-17.192-18.921-30-24-12.808-5.083-41.237-7.999-84-8h-76z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-atca-lb10" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 402, + "id": 193, + "prevSize": 16, + "code": 59752, + "name": "it-other-atca-lb10" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 104 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM528 330c37.548 0.001 68.55 12.645 92 38 13.958 14.991 23.021 37.933 30 66l-60 16c-3.629-18.179-12.484-33.475-24-44s-25.529-13.999-42-14c-22.752 0.001-39.832 9.342-54 28s-22 48.219-22 90c-0 44.333 8.041 75.183 22 94s31.666 28 54 28c16.471 0 30.135-6.038 42-18 11.864-11.96 20.835-30.325 26-56l60 22c-9.213 38.273-24.574 67.422-46 86s-49.058 28-82 28c-40.759 0-73.758-16.186-100-48s-40-76.823-40-132c-0-58.366 13.618-103.707 40-136s61.008-47.999 104-48zM812 330c38.525 0.001 68.528 10.704 88 30s29.023 43.787 30 76l-62 4c-2.653-18.020-7.276-30.106-16-38s-22.552-12-40-12c-18.007 0-31.81 3.55-42 12-6.561 5.425-10 12.911-10 22-0 8.293 3.859 14.1 10 20 7.817 7.495 25.85 15.867 56 24s51.553 17.309 66 26c14.447 8.691 25.834 20.93 34 36s14 33.834 14 56c-0 20.093-6.23 38.458-16 56s-24.133 29.468-42 38c-17.867 8.532-39.339 14-66 14-38.805 0-69.202-11.508-90-32s-31.952-48.77-36-88l60-8c3.629 23.124 10.903 41.156 22 52s25.156 16 44 16c19.96 0 35.88-4.351 46-14 10.12-9.647 16-21.083 16-34-0-8.292-3.743-16.179-8-22s-11.392-11.694-22-16c-7.259-2.866-24.177-6.664-50-14-33.221-9.409-56.6-22.285-70-36-18.844-19.296-28-42.252-28-70 0-17.86 5.136-34.451 14-50 8.864-15.548 21.32-27.867 38-36s36.41-11.999 60-12zM84 336h62v190c-0 30.139 2.464 51.070 4 60 2.652 14.352 8.020 25.309 18 34s24.691 12 42 12c17.587 0 29.066-3.786 38-12 8.933-8.213 16.185-18.040 18-30s2-32.252 2-60v-194h62v184c-0 42.1-2.65 72.618-6 90s-8.997 32.040-18 44c-9.003 11.96-20.925 20.904-36 28s-33.712 12-58 12c-29.313 0-52.855-4.264-68-12-15.145-7.735-27.206-17.641-36-30s-13.208-26.445-16-40c-4.048-20.093-8-48.77-8-88v-188z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-cisco-ucs" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 403, + "id": 192, + "prevSize": 16, + "code": 59753, + "name": "it-other-cisco-ucs" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 105 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM528 330c37.548 0.001 68.55 12.645 92 38 13.958 14.991 23.021 37.933 30 66l-60 16c-3.629-18.179-12.484-33.475-24-44s-25.529-13.999-42-14c-22.752 0.001-39.832 9.342-54 28s-22 48.219-22 90c-0 44.333 8.041 75.183 22 94s31.666 28 54 28c16.471 0 30.135-6.038 42-18 11.864-11.96 20.835-30.325 26-56l60 22c-9.213 38.273-24.574 67.422-46 86s-49.058 28-82 28c-40.759 0-73.758-16.186-100-48s-40-76.823-40-132c-0-58.366 13.618-103.707 40-136s61.008-47.999 104-48zM812 330c38.525 0.001 68.528 10.704 88 30s29.023 43.787 30 76l-62 4c-2.653-18.020-7.276-30.106-16-38s-22.552-12-40-12c-18.007 0-31.81 3.55-42 12-6.561 5.425-10 12.911-10 22-0 8.293 1.859 14.1 8 20 7.817 7.495 27.85 15.867 58 24s51.553 17.309 66 26c14.447 8.691 25.834 20.93 34 36s12 33.834 12 56c-0 20.093-4.23 38.458-14 56s-24.133 29.468-42 38c-17.867 8.532-39.339 14-66 14-38.805 0-69.202-11.508-90-32s-31.952-48.77-36-88l60-8c3.629 23.124 10.903 41.156 22 52s25.156 16 44 16c19.96 0 35.88-4.351 46-14 10.12-9.647 14-21.083 14-34-0-8.292-1.743-16.179-6-22s-11.392-11.694-22-16c-7.259-2.866-24.177-6.664-50-14-33.221-9.409-56.6-22.285-70-36-18.844-19.296-28-42.252-28-70 0-17.86 5.137-34.451 14-50 8.864-15.548 21.32-27.867 38-36s36.41-11.999 60-12zM86 336h112c25.544 0.001 44.6 3.533 58 8 18.006 6.061 35.158 16.532 48 32s21.3 33.595 28 56c6.7 22.405 10 51.149 10 84-0 28.864-3.719 53.109-10 74-7.677 25.515-17.763 46.212-32 62-10.748 11.96-25.715 21.302-44 28-13.679 4.946-31.108 8-54 8h-116v-352zM148 396v232h46c17.308 0 28.323-1.77 36-4 10.050-2.873 19.37-7.142 26-14s11.812-18.292 16-34c4.187-15.708 6-36.89 6-64s-1.813-47.488-6-62c-4.188-14.512-10.463-25.866-18-34s-16.415-13.129-28-16c-8.654-2.23-26.735-4-52-4h-26z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-dcs" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 404, + "id": 191, + "prevSize": 16, + "code": 59754, + "name": "it-other-dcs" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 106 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM88 336h112c25.544 0.001 46.6 3.533 60 8 18.006 6.061 33.158 16.532 46 32s21.3 33.595 28 56c6.7 22.405 10 51.149 10 84-0 28.864-1.719 53.109-8 74-7.677 25.515-19.763 46.212-34 62-10.748 11.96-25.715 21.302-44 28-13.679 4.946-31.108 8-54 8h-116v-352zM748 336h66l122 352h-66l-28-80h-122l-26 80h-66l120-352zM400 340h62v288h154v60h-216v-348zM150 396v232h46c17.308 0 30.323-1.77 38-4 10.050-2.873 17.37-7.142 24-14s11.812-18.292 16-34c4.187-15.708 6-36.89 6-64s-1.813-47.488-6-62c-4.188-14.512-10.463-25.866-18-34s-16.415-13.129-28-16c-8.654-2.23-24.735-4-50-4h-28zM780 418l-42 130h84l-42-130z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-delta" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 405, + "id": 190, + "prevSize": 16, + "code": 59755, + "name": "it-other-delta" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 107 + }, + { + "icon": { + "paths": [ + "M799.651 382.836c-9.123-2.42-26.159-3.677-50.921-3.677h-105.472v147.363h106.589c35.281 0 60.276-6.563 75.124-19.689 14.708-13.126 22.295-31.604 22.295-55.389 0-17.268-4.422-32.023-13.126-44.311-8.797-12.241-20.294-20.34-34.49-24.297z", + "M887.994 0h-751.988c-75.59 0-136.006 60.416-136.006 136.006v751.988c0 75.543 60.416 136.006 136.006 136.006h751.988c75.543 0 136.006-60.463 136.006-136.006v-751.988c0-75.59-60.463-136.006-136.006-136.006zM445.021 617.705c-7.308 24.204-16.663 44.172-28.113 60.044-11.45 15.919-23.971 28.3-37.562 37.423s-30.022 16.012-49.199 20.666c-19.223 4.655-41.286 7.028-66.234 7.028h-148.759v-412.346h142.010c32.070 0 56.506 1.955 73.402 5.911 23.599 5.446 43.753 15.313 60.463 29.556 21.737 18.339 37.981 41.844 48.826 70.423 10.752 28.579 16.151 61.254 16.151 98.025-0.047 31.279-3.677 59.066-10.985 83.27zM869.981 538.81c-22.342 24.297-62.65 36.445-121.018 36.445h-105.705v167.61h-54.551v-412.346h155.555c27.369 0 48.221 1.303 62.743 3.956 20.294 3.351 37.143 9.775 50.874 19.27 13.638 9.495 24.762 22.714 33.001 39.75 8.425 17.082 12.614 35.84 12.614 56.227 0 35.142-11.217 64.791-33.513 89.088z", + "M326.889 387.631c-14.615-5.632-38.167-8.471-70.609-8.471h-86.575v315.020h88.064c27.183 0 48.5-2.56 64-7.54 15.453-5.12 27.788-12.288 36.957-21.364 12.94-12.986 22.993-30.394 30.208-52.224 7.215-21.783 10.845-48.314 10.845-79.407 0-43.148-7.075-76.288-21.225-99.468-14.196-23.133-31.418-38.679-51.665-46.545z" + ], + "attrs": [ + { + "fill": "rgb(96, 140, 193)" + }, + { + "fill": "rgb(96, 140, 193)" + }, + { + "fill": "rgb(96, 140, 193)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-dp" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 3, + 3, + 3 + ] + } + }, + "attrs": [ + { + "fill": "rgb(96, 140, 193)" + }, + { + "fill": "rgb(96, 140, 193)" + }, + { + "fill": "rgb(96, 140, 193)" + } + ], + "properties": { + "order": 406, + "id": 189, + "prevSize": 16, + "code": 59756, + "name": "it-other-dp" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 108 + }, + { + "icon": { + "paths": [ + "M743.936 0h-471.459c-152.623 0-276.294 124.975-276.294 279.133v465.734c0 154.159 123.671 279.133 276.294 279.133h471.505c152.529 0 276.247-125.021 276.247-279.133v-465.734c-0.047-154.159-123.718-279.133-276.294-279.133zM234.17 777.123c-8.657 25.088-21.504 44.172-38.54 57.297-17.082 13.079-37.050 19.642-60.044 19.642-24.343 0-44.265-7.168-59.671-21.597-15.453-14.383-24.716-34.583-27.834-60.695l36.771-3.584c3.119 18.385 9.030 31.744 17.827 39.983 8.751 8.285 20.015 12.428 33.792 12.428 11.729 0 22.063-2.886 30.906-8.611 8.844-5.679 16.105-13.359 21.783-22.9 5.679-9.588 10.426-22.481 14.243-38.772s5.725-32.861 5.725-49.711c0-1.815-0.047-4.515-0.186-8.145-7.68 12.94-18.106 23.459-31.325 31.558-13.219 8.052-27.555 12.102-43.008 12.102-25.786 0-47.569-9.961-65.443-29.882-17.827-19.875-26.764-46.080-26.764-78.615 0-33.606 9.309-60.649 27.927-81.129s41.937-30.72 70.004-30.72c20.247 0 38.772 5.818 55.529 17.408 16.756 11.636 29.51 28.16 38.214 49.617 8.751 21.457 13.079 52.55 13.079 93.231-0 42.356-4.329 76.009-12.986 101.097zM402.991 92.486h214.063v40.401h-174.871v104.82h163.747v40.169h-163.747v116.503h181.76v40.401h-220.951v-342.295zM476.113 779.171c-7.494 23.878-18.711 42.356-33.652 55.343-14.941 13.033-33.839 19.549-56.599 19.549-30.022 0-53.62-11.45-70.749-34.304-20.527-27.601-30.813-72.518-30.813-134.749 0-39.191 3.817-70.703 11.357-94.58 7.587-23.878 18.851-42.263 33.792-55.249 14.941-12.94 33.745-19.409 56.413-19.409 16.71 0 31.372 3.584 43.985 10.705 12.614 7.168 22.993 17.501 31.185 30.953 8.239 13.498 14.662 29.929 19.363 49.292s6.982 45.475 6.982 78.336c0 38.865-3.77 70.284-11.264 94.115zM718.057 779.171c-7.494 23.878-18.711 42.356-33.699 55.343-14.895 13.033-33.839 19.549-56.599 19.549-30.068 0-53.574-11.45-70.749-34.304-20.527-27.601-30.813-72.518-30.813-134.749 0-39.191 3.817-70.703 11.357-94.58 7.587-23.878 18.851-42.263 33.792-55.249 14.941-12.94 33.745-19.409 56.413-19.409 16.71 0 31.372 3.584 43.939 10.705 12.614 7.168 23.040 17.501 31.232 30.953 8.239 13.498 14.662 29.929 19.316 49.292 4.701 19.363 7.028 45.475 7.028 78.336 0.047 38.865-3.724 70.284-11.217 94.115zM960 779.171c-7.494 23.878-18.711 42.356-33.699 55.343-14.895 13.033-33.839 19.549-56.599 19.549-30.068 0-53.574-11.45-70.749-34.304-20.527-27.601-30.813-72.518-30.813-134.749 0-39.191 3.817-70.703 11.357-94.58 7.587-23.878 18.851-42.263 33.792-55.249 14.941-12.94 33.745-19.409 56.413-19.409 16.71 0 31.372 3.584 43.939 10.705 12.614 7.168 23.040 17.501 31.232 30.953 8.239 13.498 14.662 29.929 19.316 49.292 4.701 19.363 7.028 45.475 7.028 78.336 0.047 38.865-3.724 70.284-11.217 94.115z", + "M627.386 549.469c-17.594 0-31.604 7.913-42.077 23.738-13.126 20.201-19.735 57.437-19.735 111.849s5.958 90.577 17.967 108.591c11.962 18.013 26.717 26.996 44.265 26.996s32.303-8.983 44.265-27.089c12.009-18.106 17.967-54.272 17.967-108.497 0-54.551-5.958-90.764-17.967-108.73-11.962-17.92-26.903-26.857-44.684-26.857z", + "M385.396 549.469c-17.548 0-31.558 7.913-42.031 23.738-13.172 20.201-19.782 57.437-19.782 111.849s6.004 90.577 17.967 108.591c11.962 18.013 26.717 26.996 44.311 26.996 17.548 0 32.303-8.983 44.311-27.089 11.962-18.106 17.92-54.272 17.92-108.497 0-54.551-5.958-90.764-17.92-108.73-12.009-17.92-26.903-26.857-44.777-26.857z", + "M869.329 549.469c-17.594 0-31.604 7.913-42.077 23.738-13.126 20.201-19.735 57.437-19.735 111.849s5.958 90.577 17.967 108.591c11.962 18.013 26.717 26.996 44.265 26.996s32.303-8.983 44.265-27.089c12.009-18.106 17.967-54.272 17.967-108.497 0-54.551-5.958-90.764-17.967-108.73-11.962-17.92-26.857-26.857-44.684-26.857z", + "M144.989 549.469c-16.989 0-31.791 7.354-44.404 22.156-12.614 14.755-18.897 33.932-18.897 57.391 0 21.085 6.004 38.214 17.967 51.386s26.717 19.782 44.311 19.782c17.687 0 32.256-6.609 43.66-19.782s17.082-31.465 17.082-54.831c0-23.319-5.818-41.844-17.501-55.575-11.729-13.684-25.833-20.527-42.217-20.527z" + ], + "attrs": [ + { + "fill": "rgb(100, 155, 230)" + }, + { + "fill": "rgb(100, 155, 230)" + }, + { + "fill": "rgb(100, 155, 230)" + }, + { + "fill": "rgb(100, 155, 230)" + }, + { + "fill": "rgb(100, 155, 230)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-e9000" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 6, + 6, + 6, + 6, + 6 + ] + } + }, + "attrs": [ + { + "fill": "rgb(100, 155, 230)" + }, + { + "fill": "rgb(100, 155, 230)" + }, + { + "fill": "rgb(100, 155, 230)" + }, + { + "fill": "rgb(100, 155, 230)" + }, + { + "fill": "rgb(100, 155, 230)" + } + ], + "properties": { + "order": 407, + "id": 188, + "prevSize": 16, + "code": 59757, + "name": "it-other-e9000" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 109 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM200 268h288v82h-202v112h174v82h-174v204h-86v-480zM592 274h212v86h-150l-14 82c17.929-10.241 37.308-16 56-16 35.667 0 65.204 16.365 90 46 24.795 29.636 38 66.714 38 114-0 39.441-9.973 75.057-30 106-27.275 42.274-65.554 64-114 64-38.719 0-69.586-12.248-94-36s-39.232-55.905-44-96l80-10c2.289 20.701 8.747 37.906 20 50s23.313 18 38 18c16.784 0 32.365-8.42 44-24s16-38.622 16-70c-0-29.417-4.461-51.291-16-66s-27.499-22-46-22c-23.079 0-43.69 12.684-62 36l-64-12 40-250z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-f5bigip" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 408, + "id": 187, + "prevSize": 16, + "code": 59758, + "name": "it-other-f5bigip" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 110 + }, + { + "icon": { + "paths": [ + "M114 0c-63.812 0-114 47.546-114 108v602c0 53.579 40.456 98.664 94 108v-590c0-64.077 53.716-114 120-114h650v-6c0-60.454-50.188-108-114-108z", + "M273.868 209.632c-63.812 0-114.869 48.378-114.869 108.832v601.779c0 60.454 51.057 108.832 114.869 108.832h635.16c63.812 0 114.869-48.378 114.869-108.832v-601.779c0-60.454-51.057-108.832-114.869-108.832h-635.16zM327.924 424.096h243.253v65.619h-170.615v89.626h146.965v65.619h-146.965v163.251h-72.638v-384.115zM659.018 428.896h179.061v68.819h-126.694l-11.825 65.619c15.143-8.192 31.511-12.8 47.299-12.8 30.125 0 55.074 13.094 76.017 36.813 20.943 23.712 32.096 53.382 32.096 91.226-0 31.558-8.424 60.064-25.339 84.826-23.037 33.824-55.369 51.213-96.288 51.213-32.703 0-58.775-9.798-79.395-28.806s-33.136-44.742-37.164-76.826l67.57-8c1.933 16.563 7.388 30.33 16.893 40.013 9.505 9.677 19.691 14.4 32.096 14.4 14.177 0 27.336-6.739 37.164-19.206s13.514-30.906 13.514-56.013c-0-23.539-3.768-41.043-13.514-52.819-9.747-11.77-23.226-17.6-38.853-17.6-19.493 0-36.902 10.15-52.367 28.806l-54.056-9.606 33.785-200.058z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-f5bigip2" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 409, + "id": 186, + "prevSize": 16, + "code": 59759, + "name": "it-other-f5bigip2" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 111 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM230 158c36.969 0 65.213 6.495 86 22s34.041 36.646 40 64l-60 12c-4.198-14.625-12.422-25.536-24-34s-24.667-14-42-14c-26.271 0-48.495 9.344-64 26s-22 41.229-22 74c-0 35.344 8.292 62.328 24 80s34.542 26 60 26c12.594 0 25.338-3.057 38-8s24.927-10.958 34-18v-38h-70v-50h130v118c-12.594 12.188-30.099 24.724-54 34s-49.49 14-74 14c-31.146 0-56.844-6.932-80-20s-40.354-31.693-52-56c-11.646-24.307-18-51.427-18-80-0-31.010 7-57.896 20-82s30.948-43.135 56-56c19.094-9.885 43.562-14 72-14zM416 162h118c23.562 0 42.422 2.037 54 4s20.859 5.771 30 12c9.14 6.229 17.906 13.641 24 24s8 23.136 8 36c-0 13.948-2.485 26.354-10 38s-19.136 20.177-32 26c18.146 5.281 32.25 13.271 42 26s14 28.802 14 46c-0 13.542-1.704 27.203-8 40s-15.099 22.349-26 30c-10.901 7.651-24.021 12.24-40 14-10.021 1.083-35.677 1.729-74 2h-100v-298zM716 162h220v50h-160v66h150v50h-150v82h166v50h-226v-298zM476 212v68h40c23.427 0 36.312 0.677 42 0 10.291-1.219 18.109-6.109 24-12s10-12.385 10-22c-0-9.208-2.922-16.245-8-22s-11.979-10.781-22-12c-5.959-0.677-23.698 0-52 0h-34zM476 330v80h56c21.666 0 34.177-0.781 40-2 8.937-1.625 16.38-5.703 22-12s8-15.437 8-26c-0-8.937-1.667-15.771-6-22s-9.807-11.156-18-14c-8.193-2.844-26.646-4-54-4h-48zM652 576c39.229 0 71.5 12.813 96 36 14.583 13.709 24.708 32.334 32 58l-64 16c-3.792-16.625-11.969-30.375-24-40s-26.792-14-44-14c-23.771 0-43.198 8.938-58 26s-22 43.792-22 82c-0 40.542 7.417 68.792 22 86s34.667 26 58 26c17.208 0 31.604-5.062 44-16s20.604-28.521 26-52l64 20c-9.625 35-25.615 61.010-48 78s-51.584 26-86 26c-42.583 0-76.583-14.906-104-44s-42-67.542-42-118c-0-53.375 14.437-96.468 42-126s63.083-44 108-44zM356 580c31.646 0 55.916 8.938 74 26s28 38.625 28 64c-0 14.438-2.823 26.948-8 40s-12.771 27.708-24 42c-7.438 9.479-20.604 22.208-40 40s-32.823 30.167-38 36c-5.177 5.834-8.792 12.458-12 18h122v56h-216c2.333-21.583 10.333-40.677 22-60s33.583-46.062 68-78c27.708-25.812 45.729-42.812 52-52 8.458-12.687 12-25.604 12-38-0-13.708-2.636-24.635-10-32s-19.021-10-32-10c-12.833 0-22.417 4.271-30 12s-10.833 20.063-12 38l-62-6c3.646-33.833 14.75-59.271 34-74s43.125-22 72-22z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-gbe2c" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 410, + "id": 185, + "prevSize": 16, + "code": 59760, + "name": "it-other-gbe2c" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 112 + }, + { + "icon": { + "paths": [ + "M888 0h-752c-75.584 0-136 60.416-136 136v752c0 75.648 60.416 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.584-60.352-136-136-136zM366.144 654.4h-42.432v-151.168h-166.72v151.104h-42.432v-320.64h42.432v131.712h166.656v-131.712h42.432v320.704zM600.448 630.848c-20.416 19.52-46.272 29.248-77.44 29.248-28.096 0-51.52-8.384-70.144-25.216-18.56-16.768-29.184-38.464-31.808-65.152l39.36-5.248c4.48 22.336 12.16 38.4 23.040 48.256 10.88 9.792 24.128 14.72 39.744 14.72 18.496 0 34.112-6.4 46.848-19.264s19.136-28.736 19.136-47.68c0-18.112-5.888-33.024-17.664-44.736s-26.752-17.536-44.992-17.536c-7.424 0-16.704 1.472-27.776 4.352l4.352-34.56c2.624 0.256 4.736 0.448 6.336 0.448 16.768 0 31.872-4.352 45.312-13.12 13.376-8.768 20.096-22.272 20.096-40.448 0-14.464-4.928-26.432-14.656-35.904s-22.4-14.208-37.824-14.208c-15.36 0-28.096 4.8-38.336 14.464s-16.704 24-19.648 43.264l-39.36-6.976c4.8-26.432 15.744-46.848 32.768-61.376 17.088-14.528 38.336-21.76 63.68-21.76 17.472 0 33.536 3.776 48.32 11.264 14.72 7.488 25.984 17.728 33.792 30.72s11.712 26.752 11.712 41.344c0 13.824-3.712 26.496-11.2 37.824-7.36 11.392-18.432 20.416-32.96 27.136 18.944 4.416 33.664 13.504 44.16 27.264s15.744 30.976 15.744 51.712c0 28.032-10.176 51.776-30.592 71.168zM909.184 632.448c-23.104 18.304-51.392 27.456-84.8 27.456-34.496 0-62.656-6.976-84.288-21.12-21.632-14.080-38.144-34.432-49.408-61.12s-16.96-55.36-16.96-85.952c0-33.408 6.4-62.528 19.136-87.424 12.736-24.832 30.912-43.776 54.528-56.64 23.552-12.928 49.408-19.392 77.76-19.392 32.064 0 59.072 8.128 80.96 24.512s37.12 39.296 45.76 68.928l-41.792 9.856c-7.424-23.36-18.24-40.32-32.384-50.944s-31.936-16-53.376-16c-24.64 0-45.248 5.888-61.824 17.728s-28.16 27.648-34.88 47.616c-6.656 19.904-10.048 40.384-10.048 61.568 0 27.264 4.032 51.072 11.968 71.424 7.936 20.288 20.288 35.52 37.056 45.632 16.768 9.984 34.944 15.040 54.464 15.040 23.808 0 43.968-6.784 60.352-20.544 16.512-13.76 27.712-34.048 33.472-61.056l42.432 10.688c-9.024 34.816-25.024 61.44-48.128 79.744z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-h3c" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 411, + "id": 184, + "prevSize": 16, + "code": 59761, + "name": "it-other-h3c" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 113 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v410h1024v-410c0-75.55-60.45-136-136-136h-752zM228 134h64v128h128v-128h64v322h-64v-140h-128v140h-64v-322zM550 134h104c39.375 0 66.041 2.792 78 6 18.375 4.813 33.604 15.886 46 32s18 36.479 18 62c-0 19.688-2.854 36.584-10 50s-16.99 22.344-28 30c-11.011 7.656-20.625 13.521-32 16-15.459 3.063-38.688 4-68 4h-42v122h-66v-322zM616 190v90h36c25.521 0 41.396-0.646 50-4s15.114-8.854 20-16c4.885-7.146 8-16.521 8-26-0-11.666-3.146-20.416-10-28s-15.5-12.104-26-14c-7.729-1.458-24.667-2-48-2h-30zM782 598c-39.962 0-71.478 10.197-96 32s-38 52.592-38 92c0 37.254 13.608 66.52 38 88s54.114 32 92 32c30.62 0 56.084-5.456 76-18s33.436-32.159 42-58l-54-14c-4.801 17.335-12.972 29.925-24 38s-24.69 12-40 12c-20.76 0-37.025-7.295-50-20s-20-32.067-20-62c-0-28.21 6.831-49.402 20-62s30.851-20 52-20c15.31 0 27.296 4.894 38 12s18.626 15.726 22 28l56-10c-6.488-18.95-17.026-33.879-30-44-21.798-17.12-49.098-26-84-26zM128 602v236h96c36.718-0.218 60.399 0.861 70 0 15.31-1.4 27.555-5.917 38-12s17.966-13.825 24-24c6.033-10.175 10-21.233 10-32-0-13.674-4.658-25.879-14-36s-22.614-15.801-40-20c12.326-4.63 22.799-12.74 30-22s10-18.91 10-30c-0-10.229-2.162-19.763-8-28s-13.242-15.047-22-20c-8.758-4.953-18.907-8.439-30-10s-27.424-2-50-2h-114zM416 604v234h202v-40h-144v-194h-58zM184 642h34c27.117 0 42.291-0.538 48 0 9.601 0.97 17.134 3.424 22 8s8 10.679 8 18c-0 7.645-2.356 13.317-8 18s-14.139 9.031-24 10c-5.45 0.538-19.554 0-42 0h-38v-54zM184 736h48c26.209 0 42.15 1.739 50 4s13.848 5.047 18 10c4.152 4.953 6 10.894 6 18-0 8.398-2.616 14.994-8 20s-11.437 8.708-20 10c-5.579 0.97-19.241 0-40 0h-54v-62zM0 886v2c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-2h-1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-hpblc" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 412, + "id": 183, + "prevSize": 16, + "code": 59762, + "name": "it-other-hpblc" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 114 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM108 352h64v320h-64v-320zM232 352h98l58 218 58-218h96v320h-60v-252l-64 252h-62l-62-252v252h-62v-320zM606 352h98l58 218 58-218h96v320h-60v-252l-64 252h-62l-64-252v252h-60v-320z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-imm" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 413, + "id": 182, + "prevSize": 16, + "code": 59763, + "name": "it-other-imm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 115 + }, + { + "icon": { + "paths": [ + "M887.994 0h-751.988c-75.59 0-136.006 60.416-136.006 136.006v751.988c0 75.543 60.416 136.006 136.006 136.006h751.988c75.543 0 136.006-60.463 136.006-136.006v-751.988c0-75.59-60.463-136.006-136.006-136.006zM405.923 688.454c-12.567 19.363-30.627 34.49-54.179 45.242-23.505 10.799-49.99 16.198-79.453 16.198-37.329 0-68.608-5.399-93.836-16.337-25.228-10.845-45.009-27.183-59.299-49.059-14.383-21.876-21.923-46.545-22.668-74.147l51.433-4.515c2.467 20.62 8.099 37.609 16.989 50.781 8.89 13.219 22.761 23.924 41.519 32.023 18.758 8.192 39.843 12.288 63.302 12.288 20.806 0 39.191-3.072 55.11-9.309 15.919-6.144 27.788-14.615 35.607-25.46 7.773-10.705 11.636-22.528 11.636-35.328 0-12.847-3.77-24.204-11.264-33.885-7.494-9.635-19.875-17.734-37.097-24.297-11.078-4.329-35.561-10.985-73.402-20.154-37.888-9.030-64.419-17.687-79.593-25.693-19.689-10.38-34.397-23.133-44.032-38.447-9.635-15.267-14.476-32.349-14.476-51.293 0-20.806 5.911-40.262 17.687-58.368 11.823-18.060 29.091-31.837 51.759-41.193 22.807-9.309 48.035-14.010 75.776-14.010 30.58 0 57.53 4.934 80.849 14.755 23.366 9.868 41.286 24.343 53.853 43.473s19.316 40.774 20.247 64.977l-52.317 3.956c-2.839-26.065-12.335-45.754-28.579-59.066-16.198-13.359-40.122-20.015-71.82-20.015-33.001 0-57.065 6.051-72.145 18.153s-22.621 26.671-22.621 43.753c0 14.801 5.353 26.996 16.012 36.538 10.519 9.588 37.888 19.409 82.292 29.417 44.311 10.054 74.752 18.851 91.229 26.298 24.017 10.985 41.705 25.088 53.155 41.984 11.45 16.989 17.129 36.538 17.129 58.647 0.047 22.016-6.237 42.636-18.804 62.092zM862.115 688.454c-12.614 19.363-30.627 34.49-54.132 45.242-23.645 10.799-50.129 16.198-79.5 16.198-37.376 0-68.655-5.399-93.789-16.337-25.228-10.845-45.009-27.183-59.345-49.059s-21.876-46.545-22.621-74.147l51.526-4.515c2.374 20.62 8.006 37.609 16.989 50.781 8.844 13.219 22.575 23.924 41.472 32.023 18.618 8.192 39.75 12.288 63.255 12.288 20.713 0 39.145-3.072 55.156-9.309 15.872-6.144 27.741-14.615 35.514-25.46 7.866-10.705 11.729-22.528 11.729-35.328 0-12.847-3.724-24.204-11.217-33.885-7.494-9.635-19.875-17.734-37.143-24.297-11.124-4.329-35.654-10.985-73.356-20.154-37.981-9.030-64.512-17.687-79.639-25.693-19.735-10.38-34.351-23.133-43.985-38.447-9.728-15.267-14.522-32.349-14.522-51.293 0-20.806 5.865-40.262 17.78-58.368 11.729-18.060 28.998-31.837 51.712-41.193 22.621-9.402 47.849-14.057 75.636-14.057 30.487 0 57.484 4.934 80.849 14.755 23.226 9.868 41.239 24.343 53.853 43.473 12.521 19.13 19.27 40.774 20.294 64.977l-52.364 3.956c-2.793-26.065-12.428-45.754-28.532-59.066-16.244-13.312-40.215-19.968-71.866-19.968-33.001 0-57.158 6.051-72.145 18.153-15.081 12.055-22.575 26.671-22.575 43.706 0 14.801 5.213 26.996 16.012 36.538 10.519 9.588 37.841 19.409 82.246 29.417 44.358 10.054 74.752 18.851 91.276 26.298 24.017 10.985 41.705 25.088 53.108 41.984 11.543 16.989 17.268 36.538 17.268 58.647-0.047 22.063-6.423 42.682-18.944 62.138z" + ], + "attrs": [ + { + "fill": "rgb(99, 147, 205)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-secsis" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 5 + ] + } + }, + "attrs": [ + { + "fill": "rgb(99, 147, 205)" + } + ], + "properties": { + "order": 414, + "id": 181, + "prevSize": 16, + "code": 59764, + "name": "it-other-secsis" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 116 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM714 316c46.577 0 84.911 14.61 114 42 17.315 16.194 31.342 37.681 40 68l-76 20c-4.502-19.638-15.716-36.63-30-48s-31.569-16-52-16c-28.223 0-50.426 9.845-68 30s-26 52.866-26 98c-0 47.891 8.685 81.672 26 102s40.296 30 68 30c20.431 0 37.282-5.080 52-18s25.593-34.265 32-62l74 24c-11.428 41.345-29.422 71.931-56 92s-61.137 30-102 30c-50.56 0-91.448-17.632-124-52s-50-80.395-50-140c-0-63.050 17.275-113.115 50-148s74.67-52 128-52zM156 322h84l96 280 92-280h82l-136 380h-82l-136-380z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-vc" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 415, + "id": 180, + "prevSize": 16, + "code": 59765, + "name": "it-other-vc" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 117 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v410h1024v-410c0-75.55-60.45-136-136-136h-752zM122 146h234v50l-176 218h182v54h-260v-60l168-208h-148v-54zM380 146h256v54h-96v268h-64v-268h-96v-54zM678 146h238v54h-174v72h162v54h-162v88h180v54h-244v-322zM78 606v244h56v-92h36c25.125 0 44.75-1.665 58-4 9.75-1.89 18.562-4.162 28-10s17.875-13.771 24-24c6.125-10.229 10-22.99 10-38-0-19.458-5.375-35.714-16-48s-24.25-20.331-40-24c-10.25-2.446-32.25-4-66-4h-90zM308 606l66 244h60l56-182 54 182h58l68-244h-56l-42 170-48-170h-66l-50 168-42-168h-58zM698 606v244h56v-102h10c12.75 0 22.125 2.166 28 4s12.75 5.052 18 10c5.25 4.948 13.75 16.987 28 36l40 52h68l-34-48c-13.25-19.013-24.188-30.55-32-38s-18-15.773-30-22c24.125-3.113 41.875-10.047 54-22s18-27.654 18-46c-0-14.454-4-26.77-12-38s-18.688-19.608-32-24c-13.313-4.392-34.625-6-64-6h-116zM134 648h28c20 0 33.375-1.112 40 0 9 1.446 16.125 6.219 22 12s8 13.105 8 22c-0 7.227-1.813 12.552-6 18s-10.625 9.442-18 12c-7.375 2.557-22.125 4-44 4h-30v-68zM754 648h42c22.5 0.001 37.5-0.557 42 0 9 1.334 15.063 4.941 20 10s8 11.772 8 20c0 7.338-2.25 13.108-6 18s-9.375 7.998-16 10c-6.625 2.001-23.375 4-50 4h-40v-62zM0 886v2c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-2h-1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-ztepower" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 416, + "id": 179, + "prevSize": 16, + "code": 59766, + "name": "it-other-ztepower" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 118 + }, + { + "icon": { + "paths": [ + "M510.016 0l-510.016 128c38.682 381.043-34.883 833.642 502.078 896h19.845c536.96-62.358 463.396-514.957 502.078-896l-512-128h-1.984zM130.977 332h234.171v50l-174.636 218h180.589v54h-257.984v-60l166.698-208h-148.837v-54zM388.961 332h254.016v54h-95.256v268h-63.504v-268h-95.256v-54zM684.651 332h234.171v54h-170.667v72h158.76v54h-158.76v88h176.62v54h-240.124v-322z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-ztesgs" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 417, + "id": 178, + "prevSize": 16, + "code": 59767, + "name": "it-other-ztesgs" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 119 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM94 262h94l198 334v-334h92v500h-98l-196-326v326h-90v-500zM546 262h384v84h-144v416h-96v-416h-144v-84z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-zxsdr-nt" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 418, + "id": 177, + "prevSize": 16, + "code": 59768, + "name": "it-other-zxsdr-nt" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 120 + }, + { + "icon": { + "paths": [ + "M510.994 0c-282.703 0-510.994 228.291-510.994 510.994s228.291 513.006 510.994 513.006c282.703 0 513.006-230.303 513.006-513.006s-230.303-510.994-513.006-510.994zM506.97 110.648l122.719 122.719h-88.519v162.955c0 20.826-7.813 82.483-44.259 82.483h-66.389c33.843-9.545 42.248-60.513 42.248-80.472v-164.967h-88.519l122.719-122.719zM162.955 356.086v88.519h166.978c19.959 0 68.914-8.405 78.46-42.248v66.389c0 36.446-61.657 44.259-82.483 44.259h-162.955v88.519l-122.719-122.719 122.719-122.719zM859.033 356.086l122.719 122.719-122.719 122.719v-88.519h-164.967c-19.959-0-70.926 10.416-80.472 44.259v-66.389c0-36.446 61.657-46.271 82.483-46.271h162.955v-88.519zM430.522 543.183h66.389c36.446 0 44.259 63.669 44.259 84.495v160.943h88.519l-122.719 124.731-122.719-124.731h88.519v-164.967c0-19.959-8.405-70.926-42.248-80.472z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-router" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 419, + "id": 176, + "prevSize": 16, + "code": 59769, + "name": "it-router" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 121 + }, + { + "icon": { + "paths": [ + "M510 0c-282.703 0-510 227.297-510 510s227.297 514 510 514c9.173 0 18.943-1.521 28-2-36.918-3.27-66-32.204-66-70v-74l-88-90h88v-164c0-19.959-8.157-70.455-42-80h66c34.803 0 45.287 56.63 46 80 0.678-0.019 1.317 0 2 0h408c19.995 0 38.952 8.952 52 22 11.787-43.072 20-89.259 20-136 0-282.703-231.297-510-514-510zM506 110l124 124h-88v162c0 20.826-9.554 82-46 82h-66c33.843-9.545 42-60.041 42-80v-164h-88l122-124zM162 356v88h168c19.959 0 68.455-8.157 78-42v66c0 36.446-61.174 46-82 46h-164v88l-122-124 122-122zM860 356l122 122-122 124v-88h-166c-19.959-0-70.455 10.157-80 44v-68c0-36.446 61.174-46 82-46h164v-88zM636 686c-35.745 0-64.066 14.163-86 40s-32 61.302-32 108c-0 44.146 10.182 78.546 32 104s50.112 38 84 38c27.388 0 50.186-7.136 68-22s30.34-37.378 38-68l-50-18c-4.294 20.542-12.136 36.431-22 46s-20.306 14-34 14c-18.569 0-34.395-6.944-46-22s-18-40.53-18-76c-0-33.428 6.22-57.072 18-72s27.083-24 46-24c13.694 0 26.425 5.58 36 14s14.982 19.455 18 34l50-14c-5.803-22.456-14.395-40.006-26-52-19.497-20.287-44.782-30-76-30zM894 686c-35.745 0-64.066 14.163-86 40s-34 61.302-34 108c0 44.146 12.182 78.546 34 104s50.112 38 84 38c27.388 0 50.186-7.136 68-22s30.34-37.378 38-68l-50-18c-4.294 20.542-12.136 36.431-22 46s-22.306 14-36 14c-18.569 0-32.395-6.944-44-22s-18-40.53-18-76c-0-33.428 6.221-57.072 18-72s27.083-24 46-24c13.694 0 24.425 5.58 34 14s16.982 19.455 20 34l50-14c-5.803-22.456-14.395-40.006-26-52-19.497-20.287-44.782-30-76-30z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-router-cisco" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 420, + "id": 175, + "prevSize": 16, + "code": 59770, + "name": "it-router-cisco" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 122 + }, + { + "icon": { + "paths": [ + "M510 0c-282.703 0-510 227.297-510 510s227.297 514 510 514c9.173 0 18.943-1.521 28-2-36.918-3.27-66-32.204-66-70v-74l-88-90h88v-164c0-19.959-8.157-70.455-42-80h66c34.803 0 45.287 56.63 46 80 0.678-0.019 1.317 0 2 0h408c80.239 45.398 67.455-57.196 72-114 0-282.703-231.297-510-514-510zM506 110l124 124h-88v162c0 20.826-9.554 82-46 82h-66c33.843-9.545 42-60.041 42-80v-164h-88l122-124zM162 356v88h168c19.959 0 68.455-8.157 78-42v66c0 36.446-61.174 46-82 46h-164v88l-122-124 122-122zM860 356l122 122-122 124v-88h-166c-19.959-0-70.455 10.157-80 44v-68c0-36.446 61.174-46 82-46h164v-88zM644 666v206c-0 25.958-2.021 43.761-8 52s-15.563 12-30 12c-14.292 0-25-4.479-32-16-4.667-7.583-7.271-21.625-8-40l-62 8c0.146 34.271 8.937 60.281 26 78s40.354 26 72 26c26.979 0 49.521-6.698 66-18s27.729-25.333 34-44c4.667-14.292 8-35.458 8-62v-202h-66zM778 666v320h66v-120h42c29.312 0 50.542-2.938 66-6 11.375-2.479 22.989-6.344 34-14s20.854-18.583 28-32c7.146-13.417 10-30.312 10-50-0-25.521-5.604-45.885-18-62s-27.625-27.187-46-32c-11.959-3.208-38.625-4-78-4h-104zM844 720h30c23.333 0 40.271 0.544 48 2 10.5 1.896 19.146 6.417 26 14s10 18.334 10 30c-0 9.479-3.115 16.854-8 24s-11.396 12.646-20 16c-8.604 3.354-26.479 4-52 4h-34v-90z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-router-juniper" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 421, + "id": 174, + "prevSize": 16, + "code": 59771, + "name": "it-router-juniper" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 123 + }, + { + "icon": { + "paths": [ + "M510 0c-282.703 0-510 227.297-510 510s227.297 514 510 514c9.173 0 18.943-1.521 28-2-36.918-3.27-66-32.204-66-70v-74l-88-90h88v-164c0-19.959-8.157-70.455-42-80h66c34.803 0 45.287 56.63 46 80 0.678-0.019 1.317 0 2 0h408c19.995 0 38.952 8.952 52 22 11.787-43.072 20-89.259 20-136 0-282.703-231.297-510-514-510zM506 110l124 124h-88v162c0 20.826-9.554 82-46 82h-66c33.843-9.545 42-60.041 42-80v-164h-88l122-124zM162 356v88h168c19.959 0 68.455-8.157 78-42v66c0 36.446-61.174 46-82 46h-164v88l-122-124 122-122zM860 356l122 122-122 124v-88h-166c-19.959-0-70.455 10.157-80 44v-68c0-36.446 61.174-46 82-46h164v-88zM518 692v46h90l-100 182v52h156v-48h-110l106-188v-44h-142zM674 692v46h58v234h38v-234h58v-46h-154zM852 692v280h146v-48h-106v-76h96v-48h-96v-62h102v-46h-142z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-router-zte" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 422, + "id": 173, + "prevSize": 16, + "code": 59772, + "name": "it-router-zte" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 124 + }, + { + "icon": { + "paths": [ + "M498 0c-82.519 2.143-165.486 23.825-242 68-244.845 141.361-329.362 455.154-188 700 106.738 184.875 312.557 278.159 512 252-23.098-16.31-36-37.265-36-58 0-22.862 16.376-42.721 44-60h-32c-41.912 0-76-34.088-76-76v-106l-34 20c-24.647-27.731-47.939-55.857-70-88l104-60v-64c0-41.912 34.088-76 76-76h234c-4.577-10.693-8.966-21.469-14-32l118-68c13.86 32.95 24.711 65.817 30 100h66c10.478 0 20.943 2.182 30 6-7.234-69.314-26.904-137.747-64-202-97.186-168.332-276.459-260.715-458-256zM522 98c45.425 1.164 91.517 8.458 134 24l-64 36c-22.81-22.127-46.007-41.704-70-60zM394 114c39.587 25.645 77.222 56.281 114 92l-84 50-72-126c13.742-5.791 27.946-11.802 42-16zM760 178c31.164 23.016 57.718 51.994 82 84l-116 66c-20.412-32.755-40.883-63.378-64-92l88-50c3.203-1.849 7.605-5.435 10-8zM260 182h2l72 126-92 52c-12.71-49.313-19.255-97.188-22-144 12.39-12.178 25.888-23.296 40-34zM578 284c22.939 28.459 45.686 59.403 66 92l-112 64-56-96 102-60zM142 324c3.994 27.9 10.635 55.372 18 84l-58 34c7.124-40.784 21.181-80.964 40-118zM384 396l56 96-118 70c-18.2-33.781-34.67-67.986-48-102l110-64zM192 506c13.396 34.309 27.682 69.999 46 104l-108 62c-15.214-36.17-27.501-72.402-32-110l94-56zM612 506c-49.516 0-90 38.484-90 88v194c0 49.516 40.484 90 90 90h102l-6 34c-51.586 9.811-88 30.549-88 54 0 32.643 68.81 58 154 58s154-25.357 154-58c0-24.169-37.838-46.585-92-56l-6-32h104c49.516 0 90-40.484 90-90v-194c0-49.516-40.484-88-90-88h-322zM584 574h380v236h-380v-236zM292 700c22.147 32.13 47.183 58.271 72 86l-102 60c-30.311-22.695-56.283-52.739-80-84l110-62zM438 864c28.836 24.958 59.885 44.975 90 64-53.295 1.962-108.201-6.157-158-24l68-40z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-sdn-host" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 423, + "id": 172, + "prevSize": 16, + "code": 59773, + "name": "it-sdn-host" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 125 + }, + { + "icon": { + "paths": [ + "M498 0c-82.532 2.144-165.473 23.817-242 68-244.886 141.385-329.386 455.113-188 700 58.255 100.901 146.218 174.257 246 216v-168l-52 30c-30.316-22.699-56.279-52.734-80-84l104-60-14-4-156-8 30-28-16 10c-15.217-36.176-27.5-72.396-32-110l94-56c10.044 25.725 21.614 52.249 34 78l72-72c-8.357-17.441-17.093-34.376-24-52l112-64 10 18 92-92 10 10 82-48c22.943 28.464 43.682 59.397 64 92l-66 36 78 78 40-24 104-60 94-56c7.367 17.515 14.618 36.072 20 54h4l92-14c-11.285-45.819-29.221-91.081-54-134-97.203-168.36-276.429-260.716-458-256zM522 98c45.433 1.164 91.51 8.455 134 24l-64 36c-22.814-22.131-46.003-41.701-70-60zM394 114c39.593 25.649 77.216 56.275 114 92l-84 50-72-126c13.744-5.792 27.944-11.801 42-16zM760 178c31.169 23.019 57.714 49.989 82 82l-116 68c-20.416-32.76-40.879-63.373-64-92l88-52c3.203-1.849 7.605-3.435 10-6zM262 182l72 126-92 52c-12.711-49.321-17.254-97.18-20-144 12.392-12.18 25.886-23.294 40-34zM142 324c3.995 27.904 10.633 55.367 18 84l-58 34c7.125-40.791 21.178-80.958 40-118zM474 436l-208 210h126v286l72 92h94v-378h126l-210-210zM804 436l-72 90v288h-126l208 210 210-210h-126v-378h-94z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-sdn-switch" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 424, + "id": 171, + "prevSize": 16, + "code": 59774, + "name": "it-sdn-switch" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 126 + }, + { + "icon": { + "paths": [ + "M52 0c-28.218 0-52 27.877-52 62v900c0 34.123 23.782 62 52 62h524c28.218 0 50-27.877 50-62v-900c0-34.123-19.782-62-48-62h-526zM674 6c18.999 10.074 32 31.54 32 56v900c0 20.133-9.853 36.659-24 48l262-78c42.237-12.574 80-30.971 80-70v-706c0-39.029-37.766-57.42-80-70l-270-80zM120 140h388c19.009 0 34 19.012 34 42v210c0 22.988-14.991 40-34 40h-388c-19.009 0-36-17.012-36-40v-210c0-22.988 16.991-42 36-42zM136 200c-8.519 0-16 12.757-16 30s7.481 32 16 32h356c8.519 0 14-14.757 14-32s-5.481-30-14-30h-356zM136 312c-8.519 0-16 12.757-16 30s7.481 32 16 32h356c8.519 0 14-14.757 14-32s-5.481-30-14-30h-356zM314 672c35.346 0 64 28.654 64 64s-28.654 64-64 64c-35.346 0-64-28.654-64-64s28.654-64 64-64z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 425, + "id": 170, + "prevSize": 16, + "code": 59775, + "name": "it-server" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 127 + }, + { + "icon": { + "paths": [ + "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512c282.77 0 512-229.23 512-512s-229.23-512-512-512zM512 64c247.424 0 448 200.576 448 448s-200.576 448-448 448c-247.424 0-448-200.576-448-448s200.576-448 448-448zM512 128c-212.077 0-384 171.923-384 384 0 36.156 6.659 70.831 16 104l112-292h68l130 320h-72l-28-72h-128l-26 72h-48c53.837 147.035 194.315 252 360 252s306.163-104.965 360-252h-72l-72-110-72 110h-76l108-166-98-154h76l64 102 62-102h56c-65.661-117.507-191.828-196-336-196zM486 324h64v320h-64v-320zM856 342l-88 138 106 158c13.732-39.506 22-81.817 22-126 0-60.905-14.763-118.84-40-170zM290 398l-44 120h88l-44-120z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-aix" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 426, + "id": 169, + "prevSize": 16, + "code": 59776, + "name": "it-server-aix" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 128 + }, + { + "icon": { + "paths": [ + "M702.196 0c-83.559 0-149.421 75.593-149.421 171.057 0 45.281 15.194 86.372 39.69 117.162-8.686 12.223-17.338 24.876-25.682 37.492-23.194 35.070-43.629 76.976-60.702 89.043-83.523 59.033-121.404 129.992-121.404 248.384 0 16.631 2.556 30.874 4.669 46.865 23.321-11.463 52.84-16.403 84.049-16.403 4.043 0 7.718-0.217 11.673 0-3.685-18.422-7.004-35.25-7.004-53.895 1.251-128.832 55.389-209.786 114.4-292.906 2.648-3.499 6.269-9.105 9.339-14.059 2.452 4.241 6.283 6.793 11.673 9.373l49.029 23.432c23.628 11.307 48.25 10.417 72.376 0l53.698-23.432c0.84-0.363 1.558 0.418 2.335 0 42.272 91.45 99.084 194.293 100.392 278.847 0 23.808-2.958 45.866-7.004 67.954 13.057-2.524 27.684-2.343 42.025-2.343 18.9 0 37.191 0.405 53.698 4.686 0.818-10.044 2.335-17.843 2.335-28.119 0-99.83-26.283-175.644-88.719-236.668-25.549-24.971-56.834-78.168-91.053-126.535 31.389-31.635 51.363-77.388 51.363-128.879 0-95.465-68.196-171.057-151.755-171.057zM641.494 140.595c25.311 0 44.359 22.043 44.359 51.551 0 4.072-1.65 7.893-2.335 11.716-4.628 0.607-9.186 2.398-14.008 4.686 0-22.185-14.217-39.835-30.351-39.835s-28.016 17.65-28.016 39.835c0 13.422 4.319 27.854 11.673 35.149-16.692-8.63-28.016-29.42-28.016-51.551 0-29.509 21.383-51.551 46.694-51.551zM762.898 142.938c25.311 0 46.694 22.043 46.694 51.551 0 22.132-11.324 42.921-28.016 51.551 5.88-7.348 7.004-18.677 7.004-30.462 0-22.185-11.882-42.178-28.016-42.178s-30.351 19.994-30.351 42.178c0 2.428-0.299 4.792 0 7.030-3.068-2.177-6.263-5.265-9.339-7.030-2.536-6.816-4.669-13.366-4.669-21.089 0-29.509 21.383-51.551 46.694-51.551zM699.861 224.952c12.3-0 25.767 3.837 35.020 11.716l46.694 42.178c13.118 11.17 17.678 26.761 11.673 39.835-1.907 1.316-2.389 3.702-4.669 4.686l-53.698 23.432c-24.126 10.417-48.748 11.307-72.376 0l-49.029-23.432c-1.721-0.824-3.302-1.337-4.669-2.343-7.374-13.896-2.206-30.36 11.673-42.178l46.694-42.178c9.253-7.879 20.386-11.716 32.686-11.716zM620.482 285.876c-2.285 2.318-4.669 4.488-4.669 7.030 0 14.123 39.651 25.776 86.384 25.776s81.714-11.653 81.714-25.776c0-2.542-0.049-4.712-2.335-7.030-9.308 11.067-39.863 18.746-79.38 18.746s-72.407-7.679-81.714-18.746zM879.633 710.005c-64.504 7.634-86.384 42.072-86.384 114.819 0 83.14-83.624 189.803 4.669 189.803s224.131-80.887 224.131-164.027c0-83.14-23.773-140.595-112.066-140.595-11.037 0-21.136-1.091-30.351 0zM466.391 719.378c-88.293 0-112.066 57.455-112.066 140.595s135.839 164.027 224.131 164.027c88.293 0 4.669-104.32 4.669-187.46s-28.442-117.162-116.735-117.162zM620.482 888.092l14.008 49.208 14.008 56.238c11.583 1.562 23.045 2.343 35.020 2.343 12.676 0 25.138-0.585 37.355-2.343 5.185-25.46 21.012-89.043 21.012-89.043l7.004-16.403c-19.981 9.799-40.537 16.403-63.037 16.403-23.030 0-44.951-6.259-65.372-16.403z", + "M434.89 2.105l-417.088 440.582 190.741 30.089-208.544 371.808 399.285-425.537-139.877-83.818z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-klinux" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 427, + "id": 168, + "prevSize": 16, + "code": 59777, + "name": "it-server-klinux" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 129 + }, + { + "icon": { + "paths": [ + "M510.592 0c-281.856 0-510.592 230.336-510.592 513.472s228.736 510.528 510.592 510.528 513.408-227.52 513.408-510.528c0-283.072-231.552-513.472-513.408-513.472zM464.704 88.896l31.552 8.64 37.312 8.576 31.552-5.696 17.28-2.88 22.912-5.76c0 0 20.992-4.544 31.488-2.88 10.304 1.664 21.888-0.768 31.552 2.88 13.376 5.056 25.984 14.080 37.248 22.912 19.456 15.296 37.248 63.104 37.248 63.104l20.096 54.528 22.848 65.984 5.76 48.768-5.76 60.224 43.136-37.312c33.344 8.128 72.64 28.736 111.808 54.528 0 0 7.168 44.672 5.76 65.984-1.216 18.496-4.8 38.656-14.336 54.528-16.768 27.776-44.608 45.632-71.744 63.104-21.504 13.888-44.032 25.344-68.864 31.488-38.016 9.344-78.4 6.4-117.568 5.76-37.056-0.64-72.576-1.6-108.992-8.64-43.264-8.256-88.064-20.736-128.96-37.248-47.36-19.136-134.784-74.624-134.784-74.624s-76.672-44.16-114.752-80.32c-15.232-14.4-48.832-65.92-48.832-65.92s-8.896-48.32 2.88-57.344c0 0 38.080-28.736 54.528-31.552 39.616-6.784 79.040-8.512 123.328-14.336v2.816l22.912 22.976 63.104 43.008 91.776 34.432 45.952 20.096c0 0 34.816 2.88 45.824 2.88 11.136 0 2.88-22.912 2.88-22.912l-17.216-17.28-5.76-14.336-8.512-22.912-14.336-17.216-94.656-31.552-77.44-28.672-40.192-31.616 8.64-40.128 17.216-37.312 14.336-22.976 22.976-14.336 31.552-8.64 37.248-2.816zM613.888 114.752l-8.64 14.336 25.728 8.64 20.032 5.696-20.032 31.552 60.224-14.336 5.824-28.672-31.488-11.456-51.648-5.76zM410.176 154.944l-14.336 42.944 31.552 31.552 17.216-5.76 43.008-8.576 48.768-14.336 5.76-17.216-37.312-8.576-54.464 8.576-40.192-28.608zM238.080 530.688h17.216l25.792 14.336 37.312 40.128 51.648 5.76 65.984 80.384 286.848 5.76-22.976 106.112-48.768 62.976-28.608 25.856-2.88-2.88 2.88 22.848 31.488-5.76 108.992-80.32v-22.912h114.752l45.888 11.52c-92.032 131.136-244.48 215.104-413.056 215.104-216.192 0-400.128-135.424-470.4-332.672l20.096-5.824 8.576-34.368 8.576-5.76 100.416 5.76 68.864 45.888 25.792-5.696-2.88-28.672-37.312-34.432-14.336-22.912-2.88-28.736 8.64-14.336 14.336-17.152zM527.808 740.032c-10.688 2.368 1.152 9.344-8.576 14.4-19.008 9.664 22.912 28.672 22.912 28.672s22.72 12.032 34.368 11.456c10.624-0.576 28.736-11.456 28.736-11.456 17.728-17.28 9.024-41.344 0-34.496l-22.976 14.464h-22.912c0-0.064-19.712-25.536-31.552-23.040z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-redhat" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 428, + "id": 167, + "prevSize": 16, + "code": 59778, + "name": "it-server-redhat" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 130 + }, + { + "icon": { + "paths": [ + "M468 0l-48 268c16.173-3.297 30.849-4 48-4s33.827 0.703 50 4l-50-268zM140 134l150 208c22.048-23.283 46.359-42.605 76-56l-226-152zM798 134l-226 152c29.641 13.395 53.952 32.717 76 56l150-208zM0 374l222 102c4.34-29.541 14.151-58.816 28-84l-250-18zM938 374l-252 18c13.849 25.184 23.66 54.459 28 84l224-102zM650 526c-359.894 0-650 58.809-650 132s290.106 134 650 134c58.987 0 117.658-3.012 172-6-10.202 0.109-19.67 0-30 0-330.653 0-600-54.037-600-122s269.347-124 600-124c82.663 0 160.373 3.773 232 10-105.684-15.034-235.24-24-374-24z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-solaris" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 429, + "id": 166, + "prevSize": 16, + "code": 59779, + "name": "it-server-solaris" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 131 + }, + { + "icon": { + "paths": [ + "M516 58c-65.675 2.119-123.16 4.56-184 34-72.421 32-145.651 59.003-206 112l-68 84c-69.777 119.589-54.416 232.934 106 290 77.742 5.552 221.478-57.888 130-202-29.523-28.96-55.273-37.398-104-30-41.79 11.271-68.086 46.084-54 102 19.492 27.884 22.688 25.105 42 30l48 4 8-26-6-20-8-6-24 8c-8.312 15.984-60.714-16.58-8-42 9.817-4.489 38.161-14.031 60 6 31.625 31.716 57.773 84.241-28 118-67.019 7.312-100.036-7.173-128-76l-2-44 8-40c25.624-32.030 36.815-49.83 80-54 52.83-2.032 90.154-5.104 136 26l30 40 20 40 14 30 34 22 30 14c0-47.834-13.068-83.628 26-114l28-10c29.176 0.729 53.498-9.082 82 10l20 20 46 52 52 28 44 26 8-6-24-32c-9.354-42.571-25.187-62.438 0-106l26-8c80.668 5.366 185.805 20.894 260-38 5.991-2.681 19.875-27.248-2-38-2.468 7.251-2.487 15.266-20 22-43.274 12.798-69.848 21.603-118-4-31.965-11.776-57.959-15.825-76-46l-6-12 18-6 40 24c25.187 12.253 45.744 28.964 76 30 35.19-2.629 61.074 2.317 92-20l14-16c-13.040-40.569-18.998-80.996-52-110-42.108-21.054-82.178-38.858-130-44l-86-12 6 38-50-22-90-16-110-10zM918 122c33.395 0 60 26.605 60 60s-26.605 60-60 60c-33.395 0-60-26.605-60-60s26.605-60 60-60zM918 142c-21.945 0-40 18.055-40 40s18.055 40 40 40c21.945 0 40-18.055 40-40s-18.055-40-40-40zM922 154c10.165 0 18 7.835 18 18s-7.835 18-18 18c-10.165 0-18-7.835-18-18s7.835-18 18-18zM116 646c-21.527 0-40.779 4.988-56 12s-25.912 16.594-34 30c-8.088 13.407-12 28.6-12 44-0 23.926 8.804 43.362 26 60 12.228 11.825 33.684 21.888 64 30 23.565 6.325 37.376 11.525 44 14 9.68 3.713 16.115 6.981 20 12s6 10.85 6 18c-0 11.138-4.765 21.681-14 30s-21.785 12-40 12c-17.196 0-31.874-4.65-42-14s-16.688-24.062-20-44l-54 6c3.694 33.826 15.021 60.331 34 78s46.589 26 82 26c24.329 0 43.696-4.644 60-12s29.083-18.875 38-34c8.916-15.125 14-30.675 14-48-0-19.113-4.549-35.006-12-48s-16.817-22.506-30-30c-13.184-7.494-34.487-14.987-62-22s-44.867-13.537-52-20c-5.605-5.087-8-12.85-8-20-0-7.837 2.013-13.325 8-18 9.298-7.287 23.568-10 40-10 15.922 0 28.039 3.194 36 10s11.58 18.463 14 34l58-4c-0.892-27.775-10.231-49.362-28-66s-44.844-26-80-26zM616 646c-21.527 0-38.779 4.988-54 12s-27.912 16.594-36 30c-8.088 13.407-12 28.6-12 44-0 23.926 8.804 43.362 26 60 12.228 11.825 33.684 21.888 64 30 23.565 6.325 39.376 11.525 46 14 9.681 3.713 16.115 6.981 20 12s6 10.85 6 18c-0 11.138-4.765 21.681-14 30s-23.785 12-42 12c-17.196 0-29.874-4.65-40-14s-16.689-24.062-20-44l-56 6c3.694 33.826 15.021 60.331 34 78s46.589 26 82 26c24.329 0 43.695-4.644 60-12s29.083-18.875 38-34c8.916-15.125 14-30.675 14-48-0-19.113-4.548-35.006-12-48s-16.817-22.506-30-30c-13.184-7.494-34.487-14.987-62-22s-44.867-13.537-52-20c-5.605-5.087-8-12.85-8-20-0-7.837 4.013-13.325 10-18 9.298-7.287 21.568-10 38-10 15.922 0 28.039 3.194 36 10s13.58 18.462 16 34l56-4c-0.892-27.775-10.231-49.362-28-66s-44.844-26-80-26zM896 650c-33.989 0-63.77 13.115-86 40s-32 64.524-32 112c0 39.744 7.086 71.924 24 98 23.472 24.814 37.445 40.196 80 48 10.305-3.467 69.29 0.256 76-6 9.704-9.048 12.525-32.631 2-44-6.247-6.748-56.534-2.879-72-6-26.387-8.256-41.018-28.763-40-70h170c0.966-58.086-9.932-101.856-32-130s-51.823-42-90-42zM900 708c13.853 0 24.335 4.58 34 16s15.518 28.060 16 50h-102c-0.16-20.681 4.335-35.951 14-48s23.18-18 38-18zM278 736v138c-0 20.625 1.16 36.312 6 48s13.173 21.537 24 28c10.827 6.463 24.371 10 38 10 13.374-0 25.963-3.262 38-10s20.612-16.312 28-28v32h50v-218h-54v92c-0 31.351-1.325 49.956-4 58s-6.74 14.569-14 20c-7.261 5.432-16.829 10-26 10-8.025 0-12.778-1.944-18-6s-10.026-11.056-12-18c-1.974-6.944-2-25.199-2-56v-100h-54z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-suse" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 430, + "id": 165, + "prevSize": 16, + "code": 59780, + "name": "it-server-suse" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 132 + }, + { + "icon": { + "paths": [ + "M398 48c-49.48-0.394-105.040 6.773-168 26l-106 332c130.327-31.196 261.844-49.831 374 28l100-326c-53.73-36.361-117.533-59.343-200-60zM646 136l-102 326c85.969 58.177 202.107 85.272 370 34l104-332c-130.327 31.196-259.844 49.831-372-28zM276 446c-49.48-0.394-105.040 8.773-168 28l-104 330c130.327-31.196 261.844-49.831 374 28l100-324c-53.73-36.361-119.533-61.343-202-62zM532 532l-100 324c85.969 58.177 200.107 87.272 368 36l106-332c-130.327 31.196-261.844 49.831-374-28z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-windows" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 431, + "id": 164, + "prevSize": 16, + "code": 59781, + "name": "it-server-windows" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 133 + }, + { + "icon": { + "paths": [ + "M172 2c-94.922 0-174 77.078-174 172v678c0 94.922 79.078 174 174 174h678c94.922 0 172-79.078 172-174v-678c0-94.922-77.078-172-172-172h-678zM172 66h678c60.656 0 108 47.344 108 108v678c0 60.656-47.344 110-108 110h-678c-60.656 0-110-49.344-110-110v-678c0-60.656 49.344-108 110-108zM648 128c-65.702 0-118 59.253-118 134 0 35.455 12.739 67.892 32 92-6.83 9.571-13.44 18.122-20 28-18.237 27.459-34.576 60.552-48 70-65.673 46.222-96 101.301-96 194 0 13.022 2.338 25.479 4 38 18.337-8.975 41.46-14 66-14 3.179 0 4.89-0.173 8 0-2.898-14.424-4-27.401-4-42 0.984-100.874 43.6-162.918 90-228 2.082-2.74 3.586-8.121 6-12 1.928 3.32 5.762 5.98 10 8l38 18c18.578 8.853 39.030 8.156 58 0l42-18c0.66-0.284 1.389 0.328 2 0 33.238 71.604 76.972 151.795 78 218 0 18.641-2.819 36.706-6 54 10.267-1.976 22.724-2 34-2 14.861 0 29.020 0.648 42 4 0.643-7.865 2-15.954 2-24 0-78.166-20.908-136.219-70-184-20.089-19.552-45.094-62.129-72-100 24.681-24.77 40-59.684 40-100 0-74.747-52.298-134-118-134zM438 130l-328 344 150 24-164 292 314-334-110-66 138-260zM600 238c19.902 0 34 16.895 34 40 0 3.188-1.461 7.006-2 10-3.639 0.476-6.208 2.208-10 4 0-17.37-11.314-32-24-32s-22 14.63-22 32c0 10.509 4.217 20.288 10 26-13.125-6.757-22-22.671-22-40 0-23.105 16.098-40 36-40zM696 240c19.902 0 36 16.895 36 40 0 17.329-8.875 33.243-22 40 4.623-5.753 6-14.772 6-24 0-17.37-9.314-32-22-32s-24 14.63-24 32c0 1.901-0.237 4.248 0 6-2.413-1.705-5.581-4.618-8-6-1.994-5.337-4-9.953-4-16 0-23.105 18.098-40 38-40zM646 304c9.671-0 20.724 3.831 28 10l36 32c10.315 8.746 14.721 21.763 10 32-1.499 1.031-2.207 1.229-4 2l-42 20c-18.97 8.156-39.422 8.853-58 0l-38-20c-1.353-0.645-2.925 0.788-4 0-5.798-10.88-0.914-24.747 10-34l36-32c7.276-6.169 16.329-10 26-10zM584 352c-1.797 1.815-4 4.010-4 6 0 11.058 31.255 20 68 20s64-8.942 64-20c0-1.99-0.205-4.185-2-6-7.318 8.665-30.929 14-62 14s-56.682-5.335-64-14zM788 684c-50.719 5.978-68 33.040-68 90 0 65.098-67.424 148 2 148s178-62.902 178-128c0-65.098-20.576-110-90-110-8.678 0-14.754-0.854-22 0zM462 692c-69.424 0-88 44.902-88 110s106.576 128 176 128c69.424 0 4-82.902 4-148s-22.576-90-92-90zM584 824l10 38 12 44c9.107 1.223 16.584 2 26 2 9.967 0 20.394-0.621 30-2 4.077-19.935 16-70 16-70l6-12c-15.711 7.673-32.308 12-50 12-18.109 0-33.944-4.058-50-12z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-zxve" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 432, + "id": 163, + "prevSize": 16, + "code": 59782, + "name": "it-server-zxve" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 134 + }, + { + "icon": { + "paths": [ + "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM184 208h656c30.953 0 56 25.979 56 58v12c0 32.021-25.047 58-56 58h-656c-30.953 0-56-25.979-56-58v-12c0-32.021 25.047-58 56-58zM184 476h656c30.953 0 56 25.979 56 58v12c0 32.021-25.047 58-56 58h-656c-30.953 0-56-25.979-56-58v-12c0-32.021 25.047-58 56-58zM184 744h656c30.953 0 56 25.979 56 58v12c0 32.021-25.047 58-56 58h-656c-30.953 0-56-25.979-56-58v-12c0-32.021 25.047-58 56-58z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-storage" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 433, + "id": 162, + "prevSize": 16, + "code": 59783, + "name": "it-storage" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 135 + }, + { + "icon": { + "paths": [ + "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM320 586c39.229 0 71.5 10.813 96 34 14.583 13.709 24.708 34.334 32 60l-64 16c-3.792-16.625-11.969-30.375-24-40s-26.792-14-44-14c-23.771 0-43.198 8.938-58 26s-22 43.792-22 82c-0 40.542 7.417 68.792 22 86s34.667 26 58 26c17.208 0 31.604-5.062 44-16s20.604-28.521 26-52l64 20c-9.625 35-25.615 61.010-48 78s-51.584 26-86 26c-42.583 0-76.583-14.906-104-44s-42-69.542-42-120c-0-53.375 14.437-94.468 42-124s63.083-44 108-44zM724 586c39.229 0 71.5 10.813 96 34 14.583 13.709 26.708 34.334 34 60l-64 16c-3.792-16.625-11.969-30.375-24-40s-26.792-14-44-14c-23.771 0-43.198 8.938-58 26s-22 43.792-22 82c-0 40.542 7.417 68.792 22 86s32.667 26 56 26c17.208 0 31.604-5.062 44-16s22.604-28.521 28-52l62 20c-9.625 35-25.615 61.010-48 78s-51.583 26-86 26c-42.583 0-76.583-14.906-104-44s-42-69.542-42-120c-0-53.375 14.437-94.468 42-124s63.083-44 108-44z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-storage-cisco-mds" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 434, + "id": 161, + "prevSize": 16, + "code": 59784, + "name": "it-storage-cisco-mds" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 136 + }, + { + "icon": { + "paths": [ + "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM76 598h94c21.391 0 38.778 3.844 50 8 15.079 5.641 27.246 13.603 38 28s18.389 31.146 24 52c5.611 20.854 8 47.424 8 78-0 26.865-0.74 50.556-6 70-6.429 23.748-16.077 43.306-28 58-9.001 11.132-20.687 17.766-36 24-11.456 4.602-26.83 10-46 10h-98v-328zM356 598h152v56h-88v72h76v54h-76v90h94v56h-158v-328zM568 602h64v268h100v56h-164v-324zM782 604h66v268h100v56h-166v-324zM128 654v216h38c14.495 0 25.571-1.922 32-4 8.416-2.672 14.447-5.617 20-12s10.493-17.38 14-32c3.507-14.62 6-34.767 6-60s-2.493-44.493-6-58c-3.507-13.507-7.688-24.43-14-32s-14.298-13.328-24-16c-7.248-2.077-22.842-2-44-2h-22z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-storage-md3000" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 435, + "id": 160, + "prevSize": 16, + "code": 59785, + "name": "it-storage-md3000" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 137 + }, + { + "icon": { + "paths": [ + "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM84 590h64l132 214v-214h60v320h-66l-128-208v208h-62v-320zM376 590h70l80 236 80-236h68l-116 320h-68l-114-320zM684 590h256v54h-96v266h-64v-266h-96v-54z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-storage-netvault" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 436, + "id": 159, + "prevSize": 16, + "code": 59786, + "name": "it-storage-netvault" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 138 + }, + { + "icon": { + "paths": [ + "M869.981 0h-715.962c-85.039 0-154.019 68.98-154.019 154.019v716.009c0 84.992 68.98 153.972 154.019 153.972h716.009c84.992 0 153.972-68.98 153.972-154.019v-715.962c0-85.039-68.98-154.019-154.019-154.019zM177.99 121.996h672.023c26.717 0 47.988 28.532 47.988 64s-21.271 64-47.988 64h-672.023c-26.764 0-47.988-28.532-47.988-64s21.271-64 47.988-64zM175.988 344.017h672.023c26.717 0 47.988 28.532 47.988 64s-21.271 64-47.988 64h-672.023c-26.764 0-47.988-28.532-47.988-64s21.271-64 47.988-64zM351.418 907.543h-253.533v-39.377l164.305-205.452c11.636-14.569 22.761-27.229 33.233-37.981h-178.921v-37.841h229.702v37.841l-180.038 222.441-19.456 22.528h204.707v37.841zM627.293 624.733h-106.077v282.81h-42.496v-282.81h-105.658v-37.841h254.185v37.841zM910.988 907.543h-239.337v-320.698h231.843v37.841h-189.347v98.211h177.385v37.609h-177.385v109.196h196.841v37.841z" + ], + "attrs": [ + { + "fill": "rgb(99, 147, 205)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-storage-sanswitch-zte" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 5 + ] + } + }, + "attrs": [ + { + "fill": "rgb(99, 147, 205)" + } + ], + "properties": { + "order": 437, + "id": 158, + "prevSize": 16, + "code": 59787, + "name": "it-storage-sanswitch-zte" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 139 + }, + { + "icon": { + "paths": [ + "M234 0l-234 228 140 134c59.702-39.324 131.164-62 208-62 47.699 0 93.962 9.903 136 26h186v-198h-436v-128zM788 244v128h-222c68.34 46.169 118.415 116.099 140 198h82v124l234-224-234-226zM346 334c-190.682 0-346 153.318-346 344s155.318 346 346 346c190.682 0 344-155.318 344-346s-153.318-344-344-344zM188 530h64l118 298h-64l-26-68h-120l-24 68h-64l116-298zM382 530h236v50h-88v248h-60v-248h-88v-50zM220 600l-40 110h80l-40-110z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-switch-at" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 438, + "id": 157, + "prevSize": 16, + "code": 59788, + "name": "it-switch-at" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 140 + }, + { + "icon": { + "paths": [ + "M234 0l-234 228 140 134c59.702-39.324 131.164-62 208-62 47.699 0 93.962 9.903 136 26h186v-198h-436v-128zM788 244v128h-222c68.34 46.169 118.415 116.099 140 198h82v124l234-224-234-226zM346 334c-190.682 0-346 153.318-346 344s155.318 346 346 346c190.682 0 344-155.318 344-346s-153.318-344-344-344zM204 524c36.427 0 67.25 12.469 90 34 13.541 12.729 23.229 30.167 30 54l-60 14c-3.521-15.437-10.828-27.062-22-36s-24.021-14-40-14c-22.073 0-40.255 8.156-54 24s-20 40.521-20 76c-0 37.646 6.458 66.021 20 82s30.333 24 52 24c15.979 0 30.489-5.844 42-16s18.989-26.198 24-48l58 18c-8.938 32.5-23.214 58.224-44 74s-48.042 22-80 22c-39.542-0-70.542-12.984-96-40s-38-63.146-38-110c-0-49.562 12.406-88.578 38-116s58.292-42 100-42zM506 524c36.427 0 65.25 12.469 88 34 13.541 12.729 23.229 30.167 30 54l-60 14c-3.521-15.437-10.828-27.062-22-36s-24.021-14-40-14c-22.073 0-40.255 8.156-54 24s-20 40.521-20 76c-0 37.646 6.458 66.021 20 82s30.333 24 52 24c15.979 0 30.489-5.844 42-16s18.989-26.198 24-48l60 18c-8.938 32.5-25.214 58.224-46 74s-46.042 22-78 22c-39.542-0-72.542-12.984-98-40s-38-63.146-38-110c-0-49.562 12.406-88.578 38-116s60.292-42 102-42z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-switch-cisco" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 439, + "id": 156, + "prevSize": 16, + "code": 59789, + "name": "it-switch-cisco" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 141 + }, + { + "icon": { + "paths": [ + "M697.809 543.651c32.349-20.573 70.563-32.908 111.756-32.908 47.709 0 91.183 16.477 126.371 43.38l88.064-84.108-234.449-225.978v128h-222.441c60.835 40.96 105.891 101.329 130.7 171.613z", + "M348.672 299.985c47.756 0 94.161 9.914 136.285 26.019h186.368v-198.004h-436.876v-128l-234.449 227.98 140.288 134.004c59.764-39.284 131.398-61.999 208.384-61.999z", + "M346.671 334.010c-191.069 0-346.671 153.321-346.671 343.971s155.601 346.019 346.671 346.019c128.791 0 240.314-70.703 299.52-175.151-28.346-35.607-45.94-80.151-45.94-129.117 0-61.999 27.555-117.062 70.516-155.369-47.011-134.097-173.196-230.353-324.096-230.353zM334.848 880.035h-42.543v-151.087h-167.005v151.087h-42.496v-320.698h42.543v131.677h166.959v-131.677h42.543v320.698zM569.53 856.529c-20.387 19.456-46.266 29.184-77.545 29.184-28.253 0-51.665-8.378-70.284-25.181-18.665-16.71-29.231-38.493-31.884-65.071l39.377-5.26c4.561 22.295 12.288 38.353 23.18 48.175 10.892 9.914 24.111 14.801 39.75 14.801 18.525 0 34.257-6.47 47.057-19.223 12.753-12.893 19.177-28.765 19.177-47.756 0-18.060-5.865-32.908-17.78-44.684-11.776-11.776-26.857-17.641-45.103-17.641-7.494 0-16.756 1.443-27.881 4.422l4.375-34.583c2.653 0.279 4.748 0.465 6.33 0.465 16.849 0 31.977-4.422 45.428-13.126s20.154-22.295 20.154-40.448c0-14.522-4.887-26.391-14.708-35.887-9.775-9.495-22.435-14.243-37.888-14.243-15.36 0-28.113 4.841-38.4 14.429-10.193 9.635-16.803 24.111-19.689 43.334l-39.517-6.982c4.887-26.345 15.825-46.871 32.861-61.347 17.175-14.522 38.4-21.737 63.814-21.737 17.548 0 33.699 3.77 48.407 11.264 14.755 7.494 26.065 17.734 33.885 30.72 7.866 12.986 11.729 26.764 11.729 41.425 0 13.824-3.677 26.391-11.124 37.841-7.447 11.357-18.479 20.387-33.047 27.089 18.991 4.375 33.699 13.452 44.218 27.276 10.519 13.731 15.779 30.999 15.779 51.665 0.047 27.881-10.147 51.572-30.673 71.075z", + "M879.29 828.649c-16.477 13.684-36.631 20.48-60.509 20.48-19.549 0-37.748-4.98-54.551-15.081-16.756-10.054-29.184-25.228-37.143-45.568s-11.962-44.125-11.962-71.447c0-21.132 3.398-41.658 10.1-61.533s18.385-35.793 34.956-47.569 37.283-17.734 61.905-17.734c21.504 0 39.377 5.353 53.481 16.012 14.15 10.612 24.995 27.601 32.442 51.014l41.844-9.868c-8.657-29.649-23.924-52.596-45.801-68.887-21.923-16.384-49.012-24.483-81.082-24.483-28.346 0-54.319 6.47-77.917 19.316-23.645 12.94-41.844 31.837-54.644 56.692s-19.13 53.993-19.13 87.412c0 30.58 5.632 59.206 16.943 86.016 11.357 26.577 27.881 47.057 49.524 61.114 21.737 14.103 49.897 21.132 84.433 21.132 33.559 0 61.812-9.169 84.992-27.508s39.191-44.87 48.081-79.732l-42.496-10.705c-5.772 26.81-16.943 47.151-33.466 60.928z" + ], + "attrs": [ + { + "fill": "rgb(99, 147, 205)" + }, + { + "fill": "rgb(99, 147, 205)" + }, + { + "fill": "rgb(99, 147, 205)" + }, + { + "fill": "rgb(99, 147, 205)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-switch-h3c" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 5, + 5, + 5, + 5 + ] + } + }, + "attrs": [ + { + "fill": "rgb(99, 147, 205)" + }, + { + "fill": "rgb(99, 147, 205)" + }, + { + "fill": "rgb(99, 147, 205)" + }, + { + "fill": "rgb(99, 147, 205)" + } + ], + "properties": { + "order": 440, + "id": 155, + "prevSize": 16, + "code": 59790, + "name": "it-switch-h3c" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 142 + }, + { + "icon": { + "paths": [ + "M234 0l-234 228 140 134c59.702-39.324 131.164-62 208-62 47.699 0 93.962 9.903 136 26h186v-198h-436v-128zM788 244v128h-222c68.34 46.169 118.415 116.099 140 198h82v124l234-224-234-226zM346 334c-190.682 0-346 153.318-346 344s155.318 346 346 346c190.682 0 344-155.318 344-346s-153.318-344-344-344zM226 516h64v202c-0 26.542-1.334 47.708-6 62-6.271 18.667-17.521 32.698-34 44s-39.021 18-66 18c-31.646-0-54.938-8.281-72-26s-25.854-43.729-26-78l60-8c0.729 18.375 3.333 32.417 8 40 7 11.521 17.708 16 32 16 14.437 0 24.021-3.76 30-12s10-26.042 10-52v-206zM360 516h104c39.375 0 64.041 0.792 76 4 18.375 4.813 33.604 15.886 46 32s20 36.479 20 62c-0 19.688-4.854 36.583-12 50s-14.99 24.344-26 32c-11.011 7.656-22.625 11.521-34 14-15.459 3.062-38.688 6-68 6h-42v120h-64v-320zM424 570v90h36c25.521 0 41.396-0.646 50-4s17.114-8.854 22-16c4.885-7.146 6-14.521 6-24-0-11.666-3.146-22.416-10-30s-15.5-12.104-26-14c-7.729-1.458-22.667-2-46-2h-32z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-switch-juniper" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 441, + "id": 154, + "prevSize": 16, + "code": 59791, + "name": "it-switch-juniper" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 143 + }, + { + "icon": { + "paths": [ + "M234 0l-234 228 140 134c59.702-39.324 131.164-62 208-62 47.699 0 93.962 9.903 136 26h186v-198h-436v-128zM788 244v128h-222c68.34 46.169 118.415 116.099 140 198h82v124l234-224-234-226zM346 334c-190.682 0-346 153.318-346 344s155.318 346 346 346c190.682 0 344-155.318 344-346s-153.318-344-344-344zM98 536h148v44l-112 194h116v48h-164v-52l106-186h-94v-48zM262 536h162v48h-60v238h-42v-238h-60v-48zM450 536h152v48h-110v64h102v48h-102v78h114v48h-156v-286z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-switch-zte" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 442, + "id": 153, + "prevSize": 16, + "code": 59792, + "name": "it-switch-zte" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 144 + }, + { + "icon": { + "paths": [ + "M60 0c-33.495 0-60 26.505-60 60v484c0 33.495 26.505 60 60 60h904c33.495 0 60-26.505 60-60v-484c0-33.495-26.505-60-60-60zM222 170h580c33.495 0 60 26.505 60 60v114c0 33.495-26.505 62-60 62h-580c-33.495 0-60-28.505-60-62v-114c0-33.495 26.505-60 60-60zM740 184c-54.503 0-98 43.497-98 98s43.497 98 98 98c54.503 0 98-43.497 98-98s-43.497-98-98-98zM284 194c-54.503 0-98 43.497-98 98s43.497 100 98 100c54.503 0 98-45.497 98-100s-43.497-98-98-98zM228 640.064v320h64v-140h128v140h64v-320h-64v126h-128v-126zM550 640.064v320h66v-120h42c29.312 0 52.541-2.938 68-6 11.375-2.479 20.989-6.344 32-14s20.854-18.583 28-32c7.146-13.417 10-30.312 10-50-0-25.521-5.604-45.885-18-62s-27.625-27.187-46-32c-11.959-3.208-38.625-4-78-4zM616 694.064h30c23.333 0 40.271 0.544 48 2 10.5 1.896 19.146 6.417 26 14s10 16.334 10 28c-0 9.479-3.115 18.854-8 26s-11.396 12.646-20 16c-8.604 3.354-24.479 4-50 4h-36z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-tapelib-hpmsl" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 443, + "id": 152, + "prevSize": 16, + "code": 59793, + "name": "it-tapelib-hpmsl" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 145 + }, + { + "icon": { + "paths": [ + "M60-2c-33.495 0-60 26.505-60 60v484c0 33.495 26.505 60 60 60h904c33.495 0 60-26.505 60-60v-484c0-33.495-26.505-60-60-60h-904zM222 168h580c33.495 0 60 26.505 60 60v114c0 33.495-26.505 62-60 62h-580c-33.495 0-60-28.505-60-62v-114c0-33.495 26.505-60 60-60zM740 182c-54.503 0-98 43.497-98 98s43.497 98 98 98c54.503 0 98-43.497 98-98s-43.497-98-98-98zM284 192c-54.503 0-98 43.497-98 98s43.497 100 98 100c54.503 0 98-45.497 98-100s-43.497-98-98-98zM642 630c-24.646 0-46.573 4.563-64 12s-30.74 17.782-40 32c-9.26 14.219-14 29.667-14 46-0 25.375 10.312 46.354 30 64 14 12.542 37.292 23.396 72 32 26.979 6.708 44.416 11.375 52 14 11.083 3.938 19.552 8.677 24 14s6 12.417 6 20c-0 11.813-5.427 21.177-16 30s-25.146 14-46 14c-19.688 0-36.406-6.083-48-16s-18.208-24.854-22-46l-64 6c4.229 35.875 18.271 63.26 40 82s51.458 28 92 28c27.854-0 51.333-4.198 70-12s33.791-19.958 44-36c10.208-16.042 16-31.625 16-50-0-20.271-5.469-38.219-14-52s-18.906-24.052-34-32c-15.094-7.948-38.5-16.562-70-24s-51.833-15.146-60-22c-6.417-5.396-10-10.416-10-18-0-8.312 3.146-15.041 10-20 10.646-7.729 25.187-12 44-12 18.229 0 32.885 2.781 42 10s15.229 19.521 18 36l64-2c-1.021-29.458-11.657-54.354-32-72s-49.75-26-90-26zM232 636v54h96v266h64v-266h94v-54h-254z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-tapelib-ibmts" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 444, + "id": 151, + "prevSize": 16, + "code": 59794, + "name": "it-tapelib-ibmts" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 146 + }, + { + "icon": { + "paths": [ + "M60 0c-33.495 0-60 26.505-60 60v484c0 33.495 26.505 60 60 60h904c33.495 0 60-26.505 60-60v-484c0-33.495-26.505-60-60-60zM222 170h580c33.495 0 60 26.505 60 60v114c0 33.495-26.505 62-60 62h-580c-33.495 0-60-28.505-60-62v-114c0-33.495 26.505-60 60-60zM740 184c-54.503 0-98 43.497-98 98s43.497 98 98 98c54.503 0 98-43.497 98-98s-43.497-98-98-98zM284 194c-54.503 0-98 43.497-98 98s43.497 100 98 100c54.503 0 98-45.497 98-100s-43.497-98-98-98zM194 638.718c-24.646 0-46.573 4.563-64 12s-30.74 17.782-40 32c-9.26 14.219-14 29.667-14 46-0 25.375 10.312 46.354 30 64 14 12.542 37.292 23.396 72 32 26.979 6.708 44.416 11.375 52 14 11.083 3.937 19.552 8.677 24 14s6 12.417 6 20c-0 11.813-5.427 21.177-16 30s-25.146 14-46 14c-19.688 0-36.406-6.083-48-16s-18.208-24.854-22-46l-64 6c4.229 35.875 18.271 63.26 40 82s53.458 28 94 28c27.854 0 49.333-4.198 68-12s33.791-19.958 44-36c10.208-16.042 16-33.625 16-52-0-20.271-5.469-36.219-14-50s-18.906-24.052-34-32c-15.094-7.948-38.5-16.562-70-24s-51.833-15.146-60-22c-6.417-5.396-10-10.416-10-18-0-8.312 3.146-15.041 10-20 10.646-7.729 25.187-12 44-12 18.229 0 32.885 2.781 42 10s15.229 19.521 18 36l64-2c-1.021-29.458-11.657-54.354-32-72s-49.75-26-90-26zM380 644.718v170c0 35.875 1.771 63.625 6 82 2.917 12.396 8.812 24.698 18 36s22.177 20.927 38 28c15.823 7.073 39.375 10 70 10 25.375 0 46.25-3.51 62-10s28.593-15.062 38-26c9.406-10.937 14.5-24.104 18-40s6-43.5 6-82v-168h-66v178c-0 25.375-0.104 43.063-2 54s-6.667 20.49-16 28c-9.334 7.511-23.625 10-42 10-18.083 0-33.573-4.052-44-12s-15.229-18.875-18-32c-1.604-8.167-4-24.437-4-52v-174zM704 644.718v320h60v-208l130 208h66v-320h-60v214l-132-214z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-tapelib-sunts" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 445, + "id": 150, + "prevSize": 16, + "code": 59795, + "name": "it-tapelib-sunts" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 147 + }, + { + "icon": { + "paths": [ + "M511.975 3.246l211.157 211.187-211.232 211.202-211.157-211.187 211.232-211.202z", + "M-0.023 507.944l211.202-211.202 211.202 211.202-211.202 211.202-211.202-211.202z", + "M601.514 507.838l211.232-211.172 211.218 211.277-211.232 211.172-211.218-211.277z", + "M511.954 1023.998l-211.202-211.202 211.157-211.157 211.202 211.202-211.157 211.157z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-Virtual network" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 446, + "id": 149, + "prevSize": 16, + "code": 59796, + "name": "it-Virtualnetwork" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 148 + }, + { + "icon": { + "paths": [ + "M496 0c-88.366 0-160 71.634-160 160 0 24.616 6.069 47.168 16 68-2.717-0.137-5.249 0-8 0-88.366 0-160 71.634-160 160 0 27.456 5.815 53.421 18 76-66.58 19.363-116 79.172-116 152 0 35.129 12.807 67.609 32 94-67.806 18.571-118 80.301-118 154 0 88.366 71.634 160 160 160 46.834 0 88.74-19.93 118-52 29.284 32.474 72.829 52 120 52 45.179 0 84.906-17.887 114-48 29.094 30.113 70.821 48 116 48 47.171 0 88.716-19.526 118-52 29.26 32.070 71.166 52 118 52 88.366 0 160-71.634 160-160 0-75.074-52.257-136.747-122-154 18.745-26.206 30-59.324 30-94 0-80.039-59.259-144.213-136-156 8.096-19.142 12-41.909 12-64 0-88.366-71.634-160-160-160-4.843 0-9.266 1.579-14 2 12.979-23.123 22-49.597 22-78 0-88.366-71.634-160-160-160zM486 320c3.384 0.214 6.562 0 10 0 4.814 0 9.294 0.416 14 0-4.875 8.722-10.808 16.369-14 26-2.494-9.021-6.040-17.694-10-26zM494 438c1.789 6.866 3.354 13.525 6 20-4.77 0.246-9.349 1.346-14 2 3.459-6.858 5.543-14.62 8-22z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "networkTree" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 447, + "id": 148, + "prevSize": 16, + "code": 59797, + "name": "networkTree" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 149 + }, + { + "icon": { + "paths": [ + "M192 0c-105.522 0-190 84.478-190 190v644c0 105.522 84.478 190 190 190h644c105.522 0 190-84.478 190-190v-644c0-105.522-84.478-190-190-190h-644zM800 96c52.598 0 96 43.403 96 96s-43.402 96-96 96c-52.598 0-94-43.403-94-96s41.402-96 94-96zM156 108h446v176h-446v-176zM804 418c52.598 0 96 43.403 96 96s-43.402 96-96 96c-52.598 0-94-43.403-94-96s41.402-96 94-96zM150 424h444v176h-444v-176zM156 740h446v176h-446v-176zM808 740c52.598 0 94 43.402 94 96s-41.402 96-94 96c-52.598 0-96-43.402-96-96s43.402-96 96-96z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "resourceType" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 448, + "id": 147, + "prevSize": 16, + "code": 59798, + "name": "resourceType" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 150 + }, + { + "icon": { + "paths": [ + "M384 0h256v256h-56.617v128h312.617v384h128v256h-384v-256h128v-256h-512v256h128v256h-384v-256h128v-384h322.873v-128h-66.873v-256z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "tree-icon" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 449, + "id": 146, + "prevSize": 16, + "code": 59799, + "name": "tree-icon" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 151 + }, + { + "icon": { + "paths": [ + "M0 256v192h96v320h-96v256h256v-256h-96v-320h320v320h-96v256h256v-256h-96v-320h320v320h-96v256h256v-256h-96v-320h96v-192z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "uep-topo-group20x20" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 450, + "id": 145, + "prevSize": 16, + "code": 59800, + "name": "uep-topo-group20x20" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 152 + }, + { + "icon": { + "paths": [ + "M86 0c-47.477 0-86 38.523-86 86v532c0 47.477 38.523 86 86 86h350l-44 172c108.143 38.808 178.516 26.928 240 0l-34-172h340c47.477 0 86-38.523 86-86v-532c0-47.477-38.523-86-86-86h-852zM110 112h804v468h-804v-468z", + "M304 840c-37.227 19.359-60 45.155-60 72 0 62.25 120.094 112 268 112s268-49.75 268-112c0-26.845-22.773-52.641-60-72-22.376 63.518-106.109 112-208 112s-185.624-48.482-208-112z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "uep-topo-root" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 451, + "id": 144, + "prevSize": 16, + "code": 59801, + "name": "uep-topo-root" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 153 + }, + { + "icon": { + "paths": [ + "M0 515.003h192v508.997h-192v-508.997z", + "M623.819 0v384l136-122v762h128v-746l136 122v-384l-192 172-208-188z", + "M298.857 515.003h192v508.997h-192v-508.997z", + "M597.714 515.003h192v508.997h-192v-508.997z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "uep-topo-virtual20x20" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 452, + "id": 143, + "prevSize": 16, + "code": 59802, + "name": "uep-topo-virtual20x20" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 154 + }, + { + "icon": { + "paths": [ + "M814-0.002c-115.833 0-208 94.371-208 210 0 115.623 92.167 208 208 208s210-92.377 210-208c0-115.629-94.167-210-210-210zM152 93.998c-84.432 0-152 67.717-152 152v626c0 84.277 67.568 152 152 152h628c84.432 0 150-67.723 150-152v-392c-35.867 16.242-74.050 26-116 26-157.445 0-286-126.827-286-284 0-45.721 10.802-89.719 30-128h-406zM704 105.998h70v206h-70v-206zM856 105.998h70v206h-70v-206zM110 291.998h84l176 228v-228h80v260c-15.173-4.433-31.583-6-48-6-32.083 0-61.605 10.229-88 26l-124-160v222h-80v-342zM414 597.998c34.617 0 62.38 9.577 84 30 12.869 12.071 23.565 27.389 30 50l-56 14c-3.346-14.642-9.383-25.522-20-34-10.617-8.487-24.815-12-40-12-20.976 0-38.938 6.966-52 22-13.062 15.024-18 40.34-18 74-0 35.718 5.131 60.85 18 76 12.869 15.155 31.41 22 52 22 15.185 0 27.061-4.383 38-14 10.938-9.635 17.238-25.321 22-46l56 18c-8.494 30.833-22.246 53.032-42 68-19.754 14.959-43.63 24-74 24-37.577 0-69.807-14.37-94-40s-36-59.552-36-104c0-47.014 11.678-83.987 36-110s56.364-38 96-38zM578 603.998h106c23.55 0 41.646-1.406 54 2 16.601 4.862 30.16 15.533 42 28 11.839 12.453 19.823 25.952 26 44s10 41.535 10 68c-0 23.25-4.21 43.175-10 60-7.078 20.553-16.874 37.271-30 50-9.909 9.631-23.142 16.606-40 22-12.612 3.966-28.895 6-50 6h-108v-280zM636 649.998v186h42c15.957 0 28.922-0.275 36-2 9.265-2.333 15.887-6.48 22-12 6.113-5.524 12.139-15.346 16-28s4-30.163 4-52c0-21.841-0.141-38.312-4-50-3.861-11.698-11.051-19.449-18-26s-15.319-11.681-26-14c-7.979-2.053-22.707-2-46-2h-26z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "common_ncd_stop" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 453, + "id": 142, + "prevSize": 16, + "code": 59803, + "name": "common_ncd_stop" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 155 + }, + { + "icon": { + "paths": [ + "M132-4c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM114 78h112l234 380v-380h106v570h-116l-230-372v372h-106v-570zM1028 640l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-netnumen" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 454, + "id": 141, + "prevSize": 16, + "code": 59804, + "name": "it-app-netnumen" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 156 + }, + { + "icon": { + "paths": [ + "M498 0c-82.532 2.144-165.473 23.817-242 68-244.886 141.385-329.386 455.113-188 700 110.457 191.318 326.328 283.858 532 248-67.447-15.471-126.088-49.392-172-98-19.648-4.043-39.322-7.308-58-14l32-18c-20.773-27.959-38.401-58.436-50-92l-90 52c-30.316-22.699-56.279-52.734-80-84l110-64c16.047 23.28 34.225 43.553 52 64-6.339-26.139-12-51.912-12-80 0-51.261 11.931-100.275 32-144l-42 24c-18.203-33.787-34.668-67.98-48-102l112-64 34 58c23.494-26.609 49.379-49.664 80-68l-24-42 104-60c14.891 18.474 28.283 37.666 42 58 18.097-2.934 35.074-6 54-6 60.481 0 118.588 16.641 168 44l50-30c11.932 28.367 20.080 58.668 26 88 0.673 0.673 1.332 1.322 2 2 45.731 46.49 78.423 105.65 92 172 23.66-117.806 6.802-243.76-58-356-97.203-168.36-276.429-260.716-458-256zM522 98c45.433 1.164 91.51 8.455 134 24l-64 36c-22.814-22.131-46.003-41.701-70-60zM394 114c39.593 25.649 77.216 56.275 114 92l-84 50-72-126c13.744-5.792 27.944-11.801 42-16zM760 178c31.169 23.019 57.714 49.989 82 82l-116 68c-20.416-32.76-40.879-63.373-64-92l88-52c3.203-1.849 7.605-3.435 10-6zM262 182l72 126-92 52c-12.711-49.321-17.254-97.18-20-144 12.392-12.18 25.886-23.294 40-34zM142 324c3.995 27.904 10.633 55.367 18 84l-58 34c7.125-40.791 21.178-80.958 40-118zM674 396c-158.574 0-286 129.426-286 288s127.426 286 286 286c158.574 0 288-127.426 288-286s-129.426-288-288-288zM192 506c13.398 34.314 27.679 69.994 46 104l-108 62c-15.217-36.176-27.5-72.396-32-110l94-56zM654 512c19.614 0 36 16.386 36 36 0 1.039 0.083 0.988 0 2l126 66c8.663-7.366 19.441-12 32-12 27.46 0 50 21.325 50 48s-22.54 48-50 48c-12.559 0-23.337-4.305-32-12l-76 50c0 1.051 0.147 0.989 0 2l92 62c4.905-3.888 8.99-6 16-6 16.568 0 32 11.905 32 28s-15.432 30-32 30c-16.568 0-28-13.905-28-30l-94-66c-2.938 1.163-6.665 2-10 2-13.338 0-26-9.043-26-22s12.662-24 26-24c4.798 0 8.156 1.697 12 4l76-48c-2.479-5.875-4-11.331-4-18 0-5.095 0.518-11.414 2-16l-122-64c-6.254 6.254-16.193 10-26 10-4.385 0-8.176-2.601-12-4l-90 114c8.642 9.928 12 23.723 12 38 0 31.383-24.617 56-56 56s-56-24.617-56-56c0-31.383 24.617-56 56-56 8.553 0 16.75 2.641 24 6l94-116c-3.186-5.279-6-9.223-6-16 0-19.614 14.386-36 34-36z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-sdn-vnet" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 455, + "id": 140, + "prevSize": 16, + "code": 59805, + "name": "it-sdn-vnet" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 157 + }, + { + "icon": { + "paths": [ + "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM180 588h64v126h128v-126h64v320h-64v-140h-128v140h-64v-320zM598 588h104c39.375 0 66.041 0.792 78 4 18.375 4.813 33.604 15.886 46 32s18 36.479 18 62c-0 19.688-2.854 36.584-10 50s-16.99 24.344-28 32c-11.011 7.656-22.625 11.521-34 14-15.458 3.062-36.688 6-66 6h-44v120h-64v-320zM662 642v90h36c25.521 0 43.396-0.646 52-4s15.114-8.854 20-16c4.885-7.146 8-14.521 8-24-0-11.666-5.146-22.416-12-30s-15.5-12.104-26-14c-7.729-1.458-22.667-1.999-46-2h-32z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-storage-sanswitch-hp" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 456, + "id": 139, + "prevSize": 16, + "code": 59806, + "name": "it-storage-sanswitch-hp" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 158 + }, + { + "icon": { + "paths": [ + "M526 0c-4.17-0.122-9.077-0.191-14-0.191-282.77 0-512 229.23-512 512 0 0.067 0 0.135 0 0.202-0 282.759 229.23 511.99 512 511.99s512-229.23 512-512c0-0.057 0-0.124 0-0.191 0-277.847-221.318-504.002-497.281-511.792zM294 112v78h562v96h-562v78l-126-126 126-126zM728 386l128 128-128 126v-78h-560v-96h560v-80zM294 658v80h562v96h-562v78l-126-126 126-128z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-switch" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 457, + "id": 138, + "prevSize": 16, + "code": 59807, + "name": "it-switch" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 159 + }, + { + "icon": { + "paths": [ + "M120 205.183l-58 124h894l-30-64h-424l-16-60zM0 430l64 594h898l62-594z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "uep-moc-root" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 458, + "id": 137, + "prevSize": 16, + "code": 59808, + "name": "uep-moc-root" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 160 + }, + { + "icon": { + "paths": [ + "M0 256v192h96v320h-96v256h256v-256h-96v-320h320v320h-96v256h256v-256h-96v-320h320v320h-96v256h256v-256h-96v-320h96v-192zM64 832h128v128h-128zM448 832h128v128h-128zM832 832h128v128h-128z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "uep-topo-undefinedgroup20x20" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 459, + "id": 136, + "prevSize": 16, + "code": 59809, + "name": "uep-topo-undefinedgroup20x20" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 161 + }, + { + "icon": { + "paths": [ + "M288.414 402.18c0 0.009 0 0.020 0 0.030 0 79.643-64.564 144.207-144.207 144.207s-144.207-64.564-144.207-144.207c0-0.011 0-0.021 0-0.032-0-0.007-0-0.018-0-0.029 0-79.643 64.564-144.207 144.207-144.207s144.207 64.564 144.207 144.207c0 0.011-0 0.021-0 0.032z", + "M287.26 811.728c0 0.007 0 0.016 0 0.025 0 64.352-52.167 116.519-116.519 116.519s-116.519-52.167-116.519-116.519c0-0.009 0-0.017 0-0.026-0-0.006-0-0.015-0-0.023 0-64.352 52.167-116.519 116.519-116.519s116.519 52.167 116.519 116.519c0 0.009-0 0.017-0 0.026z", + "M716.419 898.252c0 0.008 0 0.017 0 0.026 0 69.449-56.299 125.748-125.748 125.748s-125.748-56.299-125.748-125.748c0-0.009 0-0.019 0-0.028-0-0.006-0-0.016-0-0.025 0-69.449 56.299-125.748 125.748-125.748s125.748 56.299 125.748 125.748c0 0.009-0 0.019-0 0.028z", + "M748.721 227.979c0 0.014 0 0.031 0 0.047 0 124.243-100.719 224.963-224.963 224.963s-224.963-100.719-224.963-224.963c0-0.017 0-0.033 0-0.050-0-0.011-0-0.028-0-0.045 0-124.243 100.719-224.963 224.963-224.963s224.963 100.719 224.963 224.963c0 0.017-0 0.033-0 0.050z", + "M1025.598 541.773c0 0.011 0 0.024 0 0.037 0 97.483-79.026 176.509-176.509 176.509s-176.509-79.026-176.509-176.509c0-0.013 0-0.026 0-0.039-0-0.009-0-0.022-0-0.035 0-97.483 79.026-176.509 176.509-176.509s176.509 79.026 176.509 176.509c0 0.013-0 0.026-0 0.039z", + "M526.066 635.219c0 0.006 0 0.013 0 0.020 0 51.609-41.837 93.446-93.446 93.446s-93.446-41.837-93.446-93.446c0-0.007 0-0.014 0-0.021-0-0.005-0-0.012-0-0.019 0-51.609 41.837-93.446 93.446-93.446s93.446 41.837 93.446 93.446c0 0.007-0 0.014-0 0.021z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "analysis" + ] + }, + "attrs": [], + "properties": { + "order": 460, + "id": 135, + "prevSize": 16, + "code": 59810, + "name": "analysis" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 162 + }, + { + "icon": { + "paths": [ + "M316-2c-95.089 0-172 76.911-172 172 0 92.48 72.524 167.929 164 172-90.194 5.431-162 78.44-162 170 0 86.687 64.634 158.002 148 170-84.072 11.37-148 82.811-148 170 0 95.089 76.911 172 172 172s172-76.911 172-172c0-87.422-65.601-158.925-150-170 84.346-11.124 150-82.616 150-170 0-92.33-72.732-167.706-164-172 90.194-5.431 162-78.44 162-170 0-95.089-76.911-172-172-172zM750 206c-95.089 0-172 76.911-172 172s76.911 172 172 172c-94.127 1.118-170 77.608-170 172 0 95.089 76.911 172 172 172s174-76.911 174-172c0-95.089-78.911-172-174-172 94.18-1.057 170-77.569 170-172 0-95.089-76.911-172-172-172z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "bindingRelationship" + ] + }, + "attrs": [], + "properties": { + "order": 461, + "id": 134, + "prevSize": 16, + "code": 59811, + "name": "bindingRelationship" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 163 + }, + { + "icon": { + "paths": [ + "M0 0v1024h1024v-1024h-1024zM64 232h896v744h-896v-744zM154 380v64h386v-64h-386zM154 586v64h738v-64h-738zM154 798v64h738v-64h-738z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "browsePolicy" + ] + }, + "attrs": [], + "properties": { + "order": 462, + "id": 133, + "prevSize": 16, + "code": 59812, + "name": "browsePolicy" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 164 + }, + { + "icon": { + "paths": [ + "M0 0v1024h1024v-1024h-1024zM122 120h780v584h-198v198h-384v-198h-198v-584zM234 234v64h556v-64h-556zM234 446v64h556v-64h-556z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "businessManagment" + ] + }, + "attrs": [], + "properties": { + "order": 463, + "id": 132, + "prevSize": 16, + "code": 59813, + "name": "businessManagment" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 165 + }, + { + "icon": { + "paths": [ + "M0 205.472v818.528h1024v-818.528zM66 269.472h896v108.902h-896zM66 544.378h896v415.622h-896zM726 699.098v192h192v-192zM108 827.098v64h156v-64zM314 827.098v64h64v-64z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "cardData" + ] + }, + "attrs": [], + "properties": { + "order": 464, + "id": 131, + "prevSize": 16, + "code": 59814, + "name": "cardData" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 166 + }, + { + "icon": { + "paths": [ + "M340-4l-34 6-286 48 12 34 22 76h-54v862h1024v-585.229l-295.229-276.771h-262.771l-14-120-64 6 12 114h-46l-10-128zM282 72l8 88h-78l-22-50-44 18 12 32h-34l-20-58zM64 224h118l84 216 10 22 24-4 48-6 30-6-2-30-16-192h368.771v212.771h231.229v521.229h-896zM240 224h56l12 150zM142 578v64h762v-64zM142 764v64h762v-64z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "dailyManagment" + ] + }, + "attrs": [], + "properties": { + "order": 465, + "id": 130, + "prevSize": 16, + "code": 59815, + "name": "dailyManagment" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 167 + }, + { + "icon": { + "paths": [ + "M512 0l-512 322h1024l-512-322zM512 114c26.51 0 48 21.49 48 48s-21.49 48-48 48c-26.51 0-48-21.49-48-48s21.49-48 48-48z", + "M55.344 389.331l4 30.336v391.379l-4 31.853h174l-4-31.853v-391.379l4-30.336h-174zM301.344 389.331l4 30.336v391.379l-4 31.853h174l-4-31.853v-391.379l4-30.336h-174zM547.344 389.331l4 30.336v391.379l-4 31.853h174l-4-31.853v-391.379l4-30.336h-174zM793.344 389.331l4 30.336v391.379l-4 31.853h174l-4-31.853v-391.379l4-30.336h-174z", + "M33.331 897.344h957.338l33.331 126.656h-1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "enterpriseCustomer" + ] + }, + "attrs": [], + "properties": { + "order": 466, + "id": 129, + "prevSize": 16, + "code": 59816, + "name": "enterpriseCustomer" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 168 + }, + { + "icon": { + "paths": [ + "M96 0v1024h832v-554c-16.551 23.661-38.104 28.804-64 42v448h-704v-896h422c23.693-31.685 58.349-54.324 98-64h-584zM816 26c-114.539 0-206 93.461-206 208s91.461 208 206 208c114.54 0 208-93.461 208-208s-93.46-208-208-208zM220 120v64h248v-64h-248zM710 196h214v76h-214v-76zM220 222v206h248v-206h-248zM220 464v98h248v-98h-248zM218 646v64h578v-64h-578zM224 798v64h580v-64h-580z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "equipmentBlacklist" + ] + }, + "attrs": [], + "properties": { + "order": 467, + "id": 128, + "prevSize": 16, + "code": 59817, + "name": "equipmentBlacklist" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 169 + }, + { + "icon": { + "paths": [ + "M962.030 47.968c-8.838 62.893-26.692 87.763-47.41 100.083-20.708 12.307-50.544 12.506-82.517 12.282-31.978 0-67.463-2.432-98.328 22.835-15.428 12.595-26.625 30.035-29.849 52.672-0.25 1.728 0.198 3.52 0.011 5.248-51.048-20.41-232.3-46.931-275.527-8.051-1.923 1.792-5.16 1.664-7.021 3.52l-421.389 419.59 367.856 367.853 421.389-419.635c1.8-1.792 3.59-3.392 5.265-5.312 47.548-52.435 13.878-252.998-27.359-308.89-2.946-19.462-4.849-36.262-3.511-45.651 1.751-12.32 4.106-15.181 7.021-17.562 5.823-4.736 28.684-7.251 61.453-7.027 32.769 0.006 75.936 1.664 114.126-21.062 38.191-22.714 65.175-68.762 75.499-142.221l-59.699-8.781zM623.738 344.115c31.034 0 56.189 25.158 56.185 56.192 0.001 31.027-25.154 56.179-56.183 56.179s-56.184-25.152-56.185-56.179c-0.001-31.034 25.154-56.192 56.183-56.192z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "equipmentModel" + ] + }, + "attrs": [], + "properties": { + "order": 468, + "id": 127, + "prevSize": 16, + "code": 59818, + "name": "equipmentModel" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 170 + }, + { + "icon": { + "paths": [ + "M160 8c-25.903 30.044-41.331 62.192-48 94h-106v924h670c10.497 1.078 21.219 2 32 2 8.767 0 17.417-1.283 26-2h40v-6c140.119-31.085 246-156.583 246-306s-105.881-273.317-246-304v-308h-158c5.279-16.405 16.044-33.491 32-52l-48-42c-25.903 30.044-41.331 62.192-48 94h-80c5.311-16.271 14.187-33.658 30-52l-48-42c-25.903 30.044-41.331 62.192-48 94h-82c5.819-16.405 16.044-33.491 32-52l-50-42c-25.903 30.044-41.331 62.192-48 94h-82c5.279-16.405 16.044-33.491 32-52l-48-42zM86 182h28c8.23 31.167 24.037 60.201 44 88l52-36c-13.274-18.483-23.611-34.856-30-52h82c8.815 31.148 24.048 60.216 44 88l52-36c-13.245-18.443-23.056-34.89-30-52h80c8.23 31.167 24.037 60.201 44 88l52-36c-13.274-18.483-23.611-34.856-30-52h80c8.23 31.167 24.037 60.201 44 88l52-36c-13.274-18.483-23.611-34.856-30-52h76v220c-166.907 6.305-300 143.532-300 312 0 91.892 40.922 174.406 104 232h-414v-764zM888 582l46 44-226 230-28 26-22-30-128-180 52-38 106 150 200-202z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "examine" + ] + }, + "attrs": [], + "properties": { + "order": 469, + "id": 126, + "prevSize": 16, + "code": 59819, + "name": "examine" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 171 + }, + { + "icon": { + "paths": [ + "M0 0v1024h818v-106l-64 8v34h-690v-896h690v106l64 8v-178h-818zM730 228c-163.35 0-296 130.65-296 294s132.65 296 296 296c163.35 0 294-132.65 294-296s-130.65-294-294-294zM132 246v64h306v-64h-306zM704 324h48c17.845 0 35.574 14.224 34 32l-18 200c-1.574 17.776-14.155 32-32 32h-10c-17.845 0-30.060-14.261-32-32l-22-200c-1.94-17.739 14.155-32 32-32zM132 434v64h226v-64h-226zM132 622v64h226v-64h-226zM728 624c27.036 0 50 20.964 50 48s-22.964 50-50 50c-27.036 0-48-22.964-48-50s20.964-48 48-48zM132 812v64h354v-64h-354z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "failureList" + ] + }, + "attrs": [], + "properties": { + "order": 470, + "id": 125, + "prevSize": 16, + "code": 59820, + "name": "failureList" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 172 + }, + { + "icon": { + "paths": [ + "M448-0.001c-99.149 0-184 84.858-184 184s84.851 178 184 178c99.149 0 174-78.858 174-178s-74.851-184-174-184zM286 373.999c-129.705 57.273-217.877 186.935-226 336l-60 250c284.445-318.778 236-372.086 236 66h276.671v-270.561c3.512-99.722 66.764-160.188 121.919-172.125-17.49-54.214-25.625-122.175 3.41-167.313-5.942-21.014-17.153-35.182-36-42-1.835-1.639-2.149 0-4 0-40.421 38.476-89.792 64-150 64s-117.579-25.524-158-64c-1.347-1.639-2.68 1.639-4 0zM786 397.999c-60.168 0-112 51.224-112 112s51.832 110 112 110c60.168 0 106-49.224 106-110s-45.832-112-106-112zM1014 409.999c-65.69 147.654-105.651 269.621-246 250-36.537 0-71.471-14.414-96-38-0.818-1.005-1.199 1.005-2 0-74.281 35.109-67.145 38.621-110 130l4.464 254 63.536-178h10v192h254v-192h12c97.602-38.567 100.046-313.036 110-418z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "familyCustomer" + ] + }, + "attrs": [], + "properties": { + "order": 471, + "id": 124, + "prevSize": 16, + "code": 59821, + "name": "familyCustomer" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 173 + }, + { + "icon": { + "paths": [ + "M256 22v150h64v-54h398v54h64v-150h-526zM8 242v294h132v-64h96v64h600v-64h96v64h100v-294h-1024zM0 596v428h1024v-428h-92v64h-96v-64h-600v64h-96v-64h-140zM404 658l224 152-224 152v-304z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "fileTool" + ] + }, + "attrs": [], + "properties": { + "order": 472, + "id": 123, + "prevSize": 16, + "code": 59822, + "name": "fileTool" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 174 + }, + { + "icon": { + "paths": [ + "M0 0v1024h1024v-1024h-1024zM448 64h128v896h-128v-896zM120 112h208v210h-208v-210zM696 112h208v210h-208v-210zM120 414h208v210h-208v-210zM696 414h208v210h-208v-210zM120 716h208v210h-208v-210zM696 716h208v210h-208v-210z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "groupManagment" + ] + }, + "attrs": [], + "properties": { + "order": 473, + "id": 122, + "prevSize": 16, + "code": 59823, + "name": "groupManagment" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 175 + }, + { + "icon": { + "paths": [ + "M830 4.002c-3.954 0-6.163 1.654-10 2-21.087 1.899-42.52 9.182-60 20-150.563 49.266-299.814 132.472-452 140v310l470 160c6.045 2.682 13.576 4.251 20 6 2.196 0.595 3.76 1.518 6 2 8.682 1.868 16.664 2 26 2 62.639 0 110.185-44.115 142-102s50-131.924 50-216c0-84.083-18.185-164.115-50-222-31.815-57.892-79.361-102-142-102zM830 64.002c25.474 0 58.072 20.828 84 68 25.928 47.179 42 119.755 42 196 0 76.238-16.072 142.828-42 190-25.928 47.179-58.526 68-84 68s-56.072-20.821-82-68c-25.928-47.172-44-113.762-44-190 0-76.245 18.072-148.821 44-196 25.928-47.172 56.526-68 82-68zM72 166.002c-33.614 0-60 26.386-60 60v190c0 33.614 26.386 60 60 60h172v-310h-172zM830 226.002c-17.38 0-30 49.537-30 110s12.62 108 30 108c17.38 0 32-47.537 32-108s-14.62-110-32-110zM330 570.002c-6.68-0.112-12.981 0.409-20 2-9.358 2.121-19.412 5.042-28 10l-58 34c-34.354 19.839-42.526 54.103-34 84 32.971 115.619 74.038 226.209 176 302 25.476 18.866 55.648 31.828 90 12l56-32c34.353-19.834 64.686-68.57 36-84-110.803-59.587-141.877-183.942-176-304-4.781-16.821-21.959-23.665-42-24z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "notice" + ] + }, + "attrs": [], + "properties": { + "order": 474, + "id": 121, + "prevSize": 16, + "code": 59824, + "name": "notice" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 176 + }, + { + "icon": { + "paths": [ + "M516 0l-182 362h362l-180-362zM270 490l-104 206h696l-102-206h-490zM100 824l-100 200h1024l-100-200h-824z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "policy" + ] + }, + "attrs": [], + "properties": { + "order": 475, + "id": 120, + "prevSize": 16, + "code": 59825, + "name": "policy" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 177 + }, + { + "icon": { + "paths": [ + "M0 0v1024h1024v-1024h-1024zM74 74h876v132h-876v-132zM126 104v64h64v-64h-64zM258 104v64h64v-64h-64zM390 104v64h64v-64h-64zM74 270h876v680h-876v-680zM510 326l-284 194h572l-288-194zM272 558v320h478v-320h-478zM448 738h126v138h-126v-138z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "portal" + ] + }, + "attrs": [], + "properties": { + "order": 476, + "id": 119, + "prevSize": 16, + "code": 59826, + "name": "portal" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 178 + }, + { + "icon": { + "paths": [ + "M0 0v1024h818v-98h-64v34h-690v-896h690v114h64v-178h-818zM572 180c-147.574 0-268 123.722-268 276s120.426 276 268 276c50.852 0 97.535-16.556 138-42 2.376 5.114 5.882 11.751 10 16l188 194c19.466 20.086 50.534 20.086 70 0l24-24c19.466-20.086 19.466-51.914 0-72l-188-196c-4.077-4.207-9.099-7.555-14-10 24.048-41.386 38-90.234 38-142 0-152.278-118.426-276-266-276zM572 254c107.326 0 194 91.253 194 202s-86.674 200-194 200c-107.326 0-196-89.253-196-200s88.674-202 196-202zM134 466v64h82c-5.078-20.817-9.052-41.784-10-64h-72zM138 654v64h204c-24.807-17.419-47.038-40.025-66-64h-138zM138 824v64h452v-64h-452z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "recordQuery" + ] + }, + "attrs": [], + "properties": { + "order": 477, + "id": 118, + "prevSize": 16, + "code": 59827, + "name": "recordQuery" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 179 + }, + { + "icon": { + "paths": [ + "M116 30l-114 528h-2l2 6-2 6h2l102 454h840l78-454h2l-2-6 2-6h-2l-114-528h-792zM162 84h700l84 398h-868l84-398zM328 140v48h370v-48h-370zM236 250v58h554v-58h-554zM190 362v64h646v-64h-646zM378 750h268v60h-268v-60z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "resourceManagment" + ] + }, + "attrs": [], + "properties": { + "order": 478, + "id": 117, + "prevSize": 16, + "code": 59828, + "name": "resourceManagment" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 180 + }, + { + "icon": { + "paths": [ + "M0 768h1024v256h-1024v-256z", + "M155.869 132.442h192v535.838h-192v-535.838z", + "M880.115 476.282v192h-427.888v-192h427.888z", + "M871.413 132.442v192h-427.888v-192h427.888z", + "M0 0v1024h1024v-1024h-1024zM60 60h904v901.997h-904v-901.997z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "ruleManagment" + ] + }, + "attrs": [], + "properties": { + "order": 479, + "id": 116, + "prevSize": 16, + "code": 59829, + "name": "ruleManagment" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 181 + }, + { + "icon": { + "paths": [ + "M908 4l-440 1016h82l438-1016h-80zM586 56c-28.986 0-55.758 11.758-76 32s-34 50.999-34 88c0 37.001 13.758 67.758 34 88s47.014 32 76 32c28.986 0 55.758-11.758 76-32s34-50.999 34-88c0-37.001-13.758-67.758-34-88s-47.014-32-76-32zM586 104c24.033 0 45.497 11.497 60 26s22 29.982 22 46c0 16.018-7.497 33.497-22 48s-35.967 24-60 24c-24.033 0-45.497-9.497-60-24s-22-31.982-22-48c0-16.018 7.497-31.497 22-46s35.967-26 60-26zM462 342l-208 428-124-200-132 84 208 204 22 26 28-22 380-448-174-72zM872 740c-28.986 0-55.758 11.758-76 32s-36 50.999-36 88c0 37.001 15.758 67.758 36 88s47.014 32 76 32c28.986 0 53.758-11.758 74-32s36-50.999 36-88c0-37.001-15.758-67.758-36-88s-45.014-32-74-32zM872 788c24.033 0 45.497 11.497 60 26s20 29.982 20 46c0 16.018-5.497 33.497-20 48s-35.967 24-60 24c-24.033 0-45.497-9.497-60-24s-22-31.982-22-48c0-16.018 7.497-31.497 22-46s35.967-26 60-26z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "sucessRate" + ] + }, + "attrs": [], + "properties": { + "order": 480, + "id": 115, + "prevSize": 16, + "code": 59830, + "name": "sucessRate" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 182 + }, + { + "icon": { + "paths": [ + "M340 0c-188.394 0-340 151.606-340 340v344c0 188.394 151.606 340 340 340h344c188.394 0 340-151.606 340-340v-344c0-188.394-151.606-340-340-340h-344zM340 60h344c156.193 0 280 123.807 280 280v344c0 156.193-123.807 280-280 280h-344c-156.193 0-280-123.807-280-280v-344c0-156.193 123.807-280 280-280zM294 152l-118 98 140 172-148 204 116 86 224-284-214-276zM526 616v96h96v-96h-96zM758 616v96h96v-96h-96z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "terminalManagment" + ] + }, + "attrs": [], + "properties": { + "order": 481, + "id": 114, + "prevSize": 16, + "code": 59831, + "name": "terminalManagment" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 183 + }, + { + "icon": { + "paths": [ + "M232 10c-61.702 26.098-104 88.791-104 160 0 63.406 36.891 118.173 88 148v142h-28c-102.784 0-188 79.286-188 174v216c0 94.714 85.216 174 188 174h648c102.784 0 188-79.286 188-174v-216c0-94.714-85.216-174-188-174h-90v-272.744l32.242 10.697h75.758c9.891-1.512 13.281-2.842 20-18 16.523-50.182 124.738-56.639 146-37.954 3.52-58.704-84.581-96.842-148-94-38.653-1.549-114 0-114 0-12.518 0.026-23.19 12.302-28 28h-56v-8c0-29.134-22.866-54-52-54h-20c-29.134 0-54 24.866-54 54v108c0 29.134 24.866 54 54 54h20c10.645 0 19.738-4.604 28-10v240h-270v-138c55.309-28.606 92-85.473 92-152 0-71.885-45.362-134.327-108-160 0.91 2.929 4 6.714 4 10v176c0 15.687-14.009 28-28 28h-80c-13.991 0-28-12.313-28-28v-176c0-3.286 3.090-7.071 4-10-0.589 0.241-3.414-0.248-4 0zM188 560h648c45.538 0 82 32.037 82 74v16h-812v-16c0-41.963 36.462-74 82-74zM106 714h812v136c0 41.963-36.462 76-82 76h-648c-45.538 0-82-34.037-82-76z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "tools" + ] + }, + "attrs": [], + "properties": { + "order": 482, + "id": 113, + "prevSize": 16, + "code": 59832, + "name": "tools" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 184 + }, + { + "icon": { + "paths": [ + "M386.288 150.611c-64.504 2.92-124.19 43.881-109.558 141.846 15.955 106.825 15.406 172.256 93.327 158.057 87.588-15.961 108.823-82.844 103.471-164.136-5.847-88.81-26.616-138.511-87.24-135.767zM670.326 166.822c-46.129 2.217-72.376 54.29-93.327 119.556-33.015 102.851-30.356 144.937 48.692 149.951 88.855 5.637 118.134-31.147 131.875-111.45 13.208-77.193-5.994-141.384-64.923-156.030-7.366-1.831-15.727-2.343-22.317-2.026zM112.394 359.327c-60.726 0-106.386 63.689-111.586 141.846-7.171 107.77 33.666 156.045 111.586 141.846 87.588-15.961 115.64-60.605 109.558-141.846-5.847-78.094-48.831-141.846-109.558-141.846zM923.931 373.512c-43.702 4.545-86.594 41.033-113.615 93.213-49.679 95.935-32.478 154.168 44.635 172.241 86.68 20.316 129.302-8.204 156.221-85.107 25.876-73.924 13.064-150.038-42.606-174.268-13.918-6.057-30.067-7.594-44.635-6.079zM493.817 497.12c-80.695 0-167.197 57.335-200.855 176.294-89.884 44.495-159.755 129.365-137.961 214.795 35.956 140.948 185.98 135.767 338.817 135.767s326.644 1.514 326.644-143.872c0-145.386-173.807-382.983-326.644-382.983z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "track" + ] + }, + "attrs": [], + "properties": { + "order": 483, + "id": 112, + "prevSize": 16, + "code": 59833, + "name": "track" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 185 + }, + { + "icon": { + "paths": [ + "M325.771 135.155c-83.461 0-153.836 70.365-153.836 153.834 0 83.463 70.375 150.816 153.836 150.816s147.803-67.353 147.803-150.816c0-83.469-64.342-153.834-147.803-153.834zM190.033 448.859c-109.183 48.214-183.195 158.051-190.033 283.537h404.954l113.039-250.144c-12.772-8.111-48.521-27.215-62.517-33.393-1.545-1.312-1.458 0-3.017 0l-126.689 189.911-132.721-189.911c-1.134-1.312-1.905 1.312-3.016 0z", + "M703.355 355.176c-83.461 0-153.836 70.365-153.836 153.834 0 83.463 70.375 150.816 153.836 150.816s147.804-67.354 147.804-150.816c0-83.469-64.342-153.834-147.804-153.834zM567.617 668.88c-109.183 48.214-183.195 158.051-190.033 283.537h645.509c-6.838-125.486-80.85-235.323-190.033-283.537-1.546-1.312-1.459 0-3.017 0-71.621 110.94-177.699 111.193-259.41 0-1.134-1.312-1.905 1.312-3.016 0z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "userManagment" + ] + }, + "attrs": [], + "properties": { + "order": 484, + "id": 111, + "prevSize": 16, + "code": 59834, + "name": "userManagment" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 186 + }, + { + "icon": { + "paths": [ + "M128 0.25v481.997h-128l112 540.806h802l110-540.806h-128v-481.997zM192 64.25h640v417.997h-640zM244 192.25v64h270v-64zM242 322.246v64h520v-64z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "versionManagment" + ] + }, + "attrs": [], + "properties": { + "order": 485, + "id": 110, + "prevSize": 16, + "code": 59835, + "name": "versionManagment" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 187 + }, + { + "icon": { + "paths": [ + "M116 0v1024h792v-722h2l-282-300v-2h-512zM176 60h390v302h282v600h-672v-902zM628 96l192 206h-192v-206zM374 98v106h-114v84h114v112l140-154-140-148zM650 452v106h-114v84h114v112l140-154-140-148zM374 616v106h-114v84h114v112l140-154-140-148z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "workOrder" + ] + }, + "attrs": [], + "properties": { + "order": 486, + "id": 109, + "prevSize": 16, + "code": 59836, + "name": "workOrder" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 188 + }, + { + "icon": { + "paths": [ + "M888.686 0h-753.371c-74.606 0-135.314 62.171-135.314 138.606v746.862c0 76.361 60.709 138.533 135.314 138.533h753.371c74.606 0 135.314-62.171 135.314-138.606v-746.789c0-76.434-60.709-138.606-135.314-138.606zM888.686 950.857h-49.445v-59.831c0-77.531-64-140.581-142.702-140.581h-15.287c-13.239-22.601-37.010-38.473-65.463-38.473-42.35 0-76.8 33.646-76.8 75.118 0 41.399 34.45 75.191 76.8 75.191 28.526 0 52.517-16.091 65.609-38.766h15.141c38.327 0 69.559 30.208 69.559 67.438v59.904h-571.611v-59.831c0-37.23 31.232-67.438 69.559-67.438h51.785c13.239 22.747 37.157 38.766 65.682 38.766 42.35 0 76.727-33.792 76.727-75.191 0-41.472-34.377-75.118-76.727-75.118-28.453 0-52.297 15.872-65.536 38.4h-51.931c-78.702 0-142.702 63.049-142.702 140.581v56.832c-27.355-6.802-48.201-31.598-48.201-62.464v-263.68h109.568c10.679 13.605 26.697 22.894 45.568 22.894 32.329 0 58.441-25.6 58.441-57.198 0-31.671-26.039-57.344-58.441-57.344-21.65 0-39.863 12.069-49.957 29.33h-105.179v-91.429h111.835c10.752 11.776 25.893 19.602 43.301 19.602 32.329 0 58.441-25.673 58.441-57.271 0-31.671-26.039-57.344-58.441-57.344-23.186 0-42.789 13.531-52.224 32.695h-102.912v-267.045c0-36.133 27.867-65.463 62.171-65.463h266.459v108.032c-19.602 9.216-33.353 28.526-33.353 51.2 0 31.744 26.185 57.344 58.587 57.344 32.183 0 58.441-25.6 58.441-57.344 0-17.042-7.973-31.89-19.968-42.423v-116.809h93.33v110.226c-17.774 9.947-30.062 27.721-30.062 49.006 0 31.744 26.185 57.344 58.514 57.344 32.183 0 58.441-25.6 58.441-57.344 0-18.505-9.509-34.231-23.406-44.617v-114.615h266.459c34.231 0 62.098 29.33 62.098 65.463v267.045h-102.546c-9.435-19.163-28.965-32.695-52.224-32.695-32.329 0-58.441 25.673-58.441 57.344 0 31.598 26.039 57.271 58.441 57.271 17.408 0 32.475-7.826 43.301-19.602h111.47v91.429h-104.887c-10.094-17.262-28.306-29.33-49.957-29.33-32.329 0-58.441 25.673-58.441 57.344s26.039 57.198 58.441 57.198c18.871 0 34.962-9.362 45.568-22.894h109.275v263.68c0 36.133-27.867 65.463-62.171 65.463z", + "M356.206 377.637h294.985v275.529h-294.985v-275.529z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "cpu" + ] + }, + "attrs": [], + "properties": { + "order": 487, + "id": 108, + "prevSize": 16, + "code": 59837, + "name": "cpu" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 189 + }, + { + "icon": { + "paths": [ + "M1023.854 653.751l-97.938-566.491h-794.99l-130.706 566.491h-0.219v284.306h1024v-284.306h-0.146zM183.296 160.402h686.885l72.923 421.010h-856.942l97.134-421.010zM955.685 864.841h-887.369v-137.947h887.442v137.947z", + "M131.95 750.738h73.143v99.109h-73.143v-99.109z", + "M247.003 750.738h73.143v99.109h-73.143v-99.109z", + "M890.368 802.231c0 17.693-14.343 32.037-32.037 32.037s-32.037-14.343-32.037-32.037c0-17.693 14.343-32.037 32.037-32.037s32.037 14.343 32.037 32.037z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "memory" + ] + }, + "attrs": [], + "properties": { + "order": 488, + "id": 107, + "prevSize": 16, + "code": 59838, + "name": "memory" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 190 + }, + { + "icon": { + "paths": [ + "M512 0c-282.331 0-512 229.742-512 512s229.669 512 512 512c282.258 0 512-229.742 512-512s-229.742-512-512-512zM512 950.857c-242.030 0-438.857-196.827-438.857-438.857s196.827-438.857 438.857-438.857 438.857 196.827 438.857 438.857-196.827 438.857-438.857 438.857z", + "M757.906 631.296c-56.174-56.174-80.018-165.961-77.605-227.474 2.853-61.44-14.409-118.638-58.661-152.357-39.79-30.208-80.53-24.064-80.53-24.064l-2.414-21.431c0 0-8.923-6.949-26.77-6.949-16.823 0-26.697 6.949-26.697 6.949l-2.706 21.431c0 0-40.667-6.071-80.165 24.064-44.471 33.719-61.586 90.99-58.88 152.357 2.706 61.513-21.358 171.301-77.605 227.401-56.101 56.174-64.073 58.953-61.44 88.283 2.779 29.33 26.917 43.813 26.917 43.813h196.462c0 34.158 37.742 61.733 84.187 61.733 46.592 0 84.187-27.575 84.187-61.733h196.535c0 0 24.21-14.409 26.843-43.813s-5.266-32.11-61.659-88.21z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "currentAlarm" + ] + }, + "attrs": [], + "properties": { + "order": 489, + "id": 106, + "prevSize": 16, + "code": 59839, + "name": "currentAlarm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 191 + }, + { + "icon": { + "paths": [ + "M518.656 2.341c-282.331 0-512 229.669-512 512 0 282.258 229.669 512 512 512s512.073-229.742 512.073-512c0-282.331-229.742-512-512.073-512zM518.656 953.125c-242.030 0-438.857-196.827-438.857-438.857s196.827-438.857 438.857-438.857c242.103 0 438.93 196.827 438.93 438.857s-196.901 438.857-438.93 438.857z", + "M818.907 432.494c-1.755 0-3.365 1.243-5.339 1.463v-192.951c0 0-27.209-12.142-51.273 0-50.834 25.307-118.711 109.495-190.245 123.173-71.314 13.531-264.265-0.512-350.939 7.607-23.918 2.121-63.927 15.067-67.511 67.584-3.877 52.443 0 107.154 0 107.154s19.602 45.202 45.056 45.202c25.381 0 81.627 0 81.627 0s-2.121 107.447 0 143.287c3.145 50.176 18.871 62.318 38.107 88.137 11.045 15.141 73.655 49.737 112.347 25.966 21.504-13.385 39.643-36.425 31.89-65.536-9.509-35.182-44.105-1.39-54.711-44.105-10.679-42.496-7.607-127.561-7.607-127.561s18.286-25.893 42.642-31.963c5.413-1.463 74.459 4.608 74.459 4.608s190.464 66.779 235.52 129.097c31.963 44.032 60.635 13.531 60.635 13.531v-190.61c1.902 0.219 3.584 1.463 5.266 1.463 20.626 0 37.376-23.479 37.376-52.809 0.073-29.111-16.603-52.736-37.303-52.736zM781.824 668.087h-13.824c0 0 0 0-39.424-35.035-39.424-34.889-127.122-69.925-180.809-86.674-15.433-4.754-65.024-8.338-65.024-8.338v-112.347c6.437-0.146 17.262-4.389 37.815-3.73 107.886 2.999 249.198-129.243 249.198-129.243h12.142v375.369z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "noticeAlarm" + ] + }, + "attrs": [], + "properties": { + "order": 490, + "id": 105, + "prevSize": 16, + "code": 59840, + "name": "noticeAlarm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 192 + }, + { + "icon": { + "paths": [ + "M672.329 351.305l-117.906 100.571c-10.679-6.217-22.528-10.679-35.767-10.679-8.997 0-17.335 2.121-25.234 5.12l-182.491-182.491c-13.458-13.458-35.84-12.727-50.103 1.609-14.263 14.263-14.994 36.645-1.609 50.103l188.416 188.416c-0.512 3.511-2.121 6.656-2.121 10.386 0 40.375 32.768 73.143 73.143 73.143 39.643 0 71.534-31.671 72.704-71.022l128.439-109.568c15.36-13.093 17.189-36.133 4.169-51.493-13.166-15.433-36.279-17.262-51.639-4.096z", + "M518.656 206.848c20.187 0 36.571-16.384 36.571-36.571v-51.2c0-20.187-16.384-36.571-36.571-36.571s-36.571 16.384-36.571 36.571v51.2c0 20.187 16.311 36.571 36.571 36.571z", + "M518.656 820.736c-20.187 0-36.571 16.457-36.571 36.571v51.273c0 20.114 16.384 36.571 36.571 36.571s36.571-16.457 36.571-36.571v-51.273c0-20.187-16.384-36.571-36.571-36.571z", + "M910.336 477.769h-51.127c-20.187 0-36.571 16.384-36.571 36.571s16.384 36.571 36.571 36.571h51.127c20.261 0 36.571-16.384 36.571-36.571s-16.238-36.571-36.571-36.571z", + "M172.105 477.769h-51.2c-20.114 0-36.571 16.384-36.571 36.571s16.457 36.571 36.571 36.571h51.2c20.187 0 36.571-16.384 36.571-36.571s-16.384-36.571-36.571-36.571z", + "M518.656 2.341c-282.331 0-512 229.669-512 512 0 282.258 229.669 512 512 512s512.073-229.742 512.073-512c0-282.331-229.742-512-512.073-512zM518.656 953.125c-242.030 0-438.857-196.827-438.857-438.857s196.827-438.857 438.857-438.857c242.103 0 438.93 196.827 438.93 438.857s-196.901 438.857-438.93 438.857z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "historyAlarm" + ] + }, + "attrs": [], + "properties": { + "order": 491, + "id": 104, + "prevSize": 16, + "code": 59841, + "name": "historyAlarm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 193 + }, + { + "icon": { + "paths": [ + "M868.791 755.785l-251.026-245.102 245.175-250.88-107.154-104.521-245.029 250.88-251.026-245.029-104.521 107.008 251.026 245.102-245.175 251.026 107.081 104.448 245.102-250.953 251.026 245.175z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "close" + ] + }, + "attrs": [], + "properties": { + "order": 492, + "id": 103, + "prevSize": 16, + "code": 59842, + "name": "close" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 194 + }, + { + "icon": { + "paths": [ + "M36.571 73.143v950.857h950.857v-950.857h-950.857zM919.113 146.286v113.225h-814.226v-113.225h814.226zM688.567 332.654v165.23h-136.338v-165.23h136.338zM479.086 497.957h-144.018v-165.303h144.018v165.303zM261.925 497.957h-157.038v-165.303h157.038v165.303zM261.925 571.099v142.482h-157.038v-142.482h157.038zM335.067 571.099h144.018v142.482h-144.018v-142.482zM552.229 571.099h136.338v142.482h-136.338v-142.482zM761.71 571.099h157.403v142.482h-157.403v-142.482zM761.71 497.957v-165.303h157.403v165.23h-157.403zM104.887 950.93v-164.206h157.038v164.206h-157.038zM335.067 950.93v-164.206h144.018v164.206h-144.018zM552.229 950.93v-164.206h136.338v164.206h-136.338zM761.71 950.93v-164.206h157.403v164.206h-157.403z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "table" + ] + }, + "attrs": [], + "properties": { + "order": 493, + "id": 102, + "prevSize": 16, + "code": 59843, + "name": "table" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 195 + }, + { + "icon": { + "paths": [ + "M215.040 36.571l501.102 481.646v-481.573h146.286v950.784h-146.286v-463.506l-501.102 463.506z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "next" + ] + }, + "attrs": [], + "properties": { + "order": 494, + "id": 101, + "prevSize": 16, + "code": 59844, + "name": "next" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 196 + }, + { + "icon": { + "paths": [ + "M862.427 36.571l-501.102 481.646v-481.573h-146.286v950.784h146.286v-463.506l501.102 463.506z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "pre" + ] + }, + "attrs": [], + "properties": { + "order": 495, + "id": 100, + "prevSize": 16, + "code": 59845, + "name": "pre" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 197 + }, + { + "icon": { + "paths": [ + "M942.528 574.848c0 0-39.872-43.904-77.632-68.096-37.888-24.32-102.656-36.992-102.656-36.992l-3.392-31.104 6.848-4.608c0 0 27.776-56.64 32.384-69.312 4.544-12.736 12.8-12.736 18.56-19.648s12.032-51.84 8.128-58.88c-2.88-5.184-9.344-7.040-9.344-7.040l1.28-9.152c0 0 10.368-57.728 6.848-75.072s-11.648-45.12-21.888-58.88c-10.496-13.888-27.648-20.8-41.6-18.56-13.888 2.368-20.864-6.912-20.864-6.912s-26.368-23.104-51.84-24.256-98.304 17.344-113.28 85.504c-14.976 68.16 0 110.848 0 110.848l-6.976 2.304c0 0-3.456 28.864 3.52 49.664 6.848 20.736 24.256 33.408 24.256 33.408l3.456 6.976c0 0 4.032 9.344 9.28 20.672 53.44 35.776 90.176 104.704 90.176 184.96 0 46.080-12.224 88.384-32.576 123.072 11.2 0.704 22.464 1.344 33.6 1.088 134.208-3.648 236.672-42.24 243.712-61.888 6.848-19.52 0-68.096 0-68.096z", + "M355.136 580.736c0-78.912 35.52-146.88 87.552-183.168 6.528-13.76 12.864-27.456 14.848-32.896 4.48-12.672 12.736-12.672 18.496-19.584s12.032-51.84 8.128-58.88c-2.88-5.184-9.344-7.040-9.344-7.040l1.28-9.152c0 0 10.368-57.728 6.848-75.072s-11.648-45.12-21.888-58.88c-10.56-13.888-27.712-20.864-41.664-18.56-13.888 2.368-20.864-6.912-20.864-6.912s-26.368-23.104-51.84-24.256c-25.472-1.152-98.304 17.344-113.28 85.504s0 110.848 0 110.848l-6.912 2.304c0 0-3.456 28.864 3.456 49.664 6.912 20.736 24.256 33.408 24.256 33.408l3.456 6.976c0 0 22.016 51.968 31.168 60.032 9.28 8.128 2.304 28.928 2.304 28.928l-12.672 9.216c0 0-161.664 50.88-166.336 97.088s-6.464 55.808-3.264 69.888c2.176 9.344 129.664 68.096 249.28 64.768 10.048-0.256 19.392-1.152 29.056-1.728-20.032-34.688-32.064-76.736-32.064-122.496z", + "M568.832 429.504c0 0-26.368-23.104-51.84-24.256s-98.304 17.344-113.28 85.504c-14.976 68.16 0 110.848 0 110.848l-6.912 2.368c0 0-3.456 28.864 3.456 49.664 6.912 20.736 24.256 33.408 24.256 33.408l3.456 6.976c0 0 22.016 51.968 31.168 60.032 9.28 8.064 2.304 28.864 2.304 28.864l-12.672 9.216c0 0-161.664 50.88-166.336 97.088s-6.464 55.808-3.264 69.888c2.176 9.408 129.664 68.16 249.28 64.832 134.208-3.712 236.736-42.304 243.712-61.888 6.848-19.648 0-68.16 0-68.16s-39.872-43.904-77.632-68.096c-37.888-24.32-102.656-36.992-102.656-36.992l-3.392-31.104 6.848-4.608c0 0 27.776-56.64 32.384-69.312 4.48-12.672 12.736-12.672 18.496-19.648s12.032-51.84 8.128-58.88c-2.88-5.184-9.344-7.040-9.344-7.040l1.28-9.152c0 0 10.368-57.728 6.848-75.072s-11.648-45.12-21.888-58.88c-10.432-14.016-27.52-20.928-41.536-18.688-13.888 2.368-20.864-6.912-20.864-6.912z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "roleset" + ] + }, + "attrs": [], + "properties": { + "order": 496, + "id": 99, + "prevSize": 16, + "code": 59846, + "name": "roleset" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 198 + }, + { + "icon": { + "paths": [ + "M509.504 670.656c0 0 9.344-27.904-3.072-38.656-12.288-10.816-41.792-80.448-41.792-80.448l-4.608-9.344c0 0-23.232-16.96-32.512-44.864-0.64-1.856-0.768-3.968-1.28-5.888-17.152-4.544-28.928-6.848-28.928-6.848l-4.352-39.36 8.64-5.888c0 0 12.16-24.832 23.424-48.512-2.88-25.856-3.456-64 7.104-111.68 6.208-28.096 20.096-49.344 36.864-65.984 3.584-23.104 8.576-61.056 5.504-75.904-4.16-21.888-14.528-56.96-27.712-74.432-13.12-17.536-34.944-26.304-52.48-23.36s-26.24-8.768-26.24-8.768-33.472-29.248-65.6-30.656c-32.128-1.472-124.16 21.888-143.168 107.968-18.944 86.080 0 140.032 0 140.032l-8.64 3.008c0 0-4.416 36.544 4.288 62.72 8.768 26.304 30.656 42.368 30.656 42.368l4.352 8.768c0 0 27.84 65.664 39.424 75.904 11.648 10.112 2.88 36.48 2.88 36.48l-15.936 11.584c0 0-204.288 64.192-210.176 122.688-5.824 58.304-8.192 70.528-4.096 88.256 2.624 11.072 144.704 77.184 287.104 81.728 54.144-51.456 203.456-98.496 203.456-98.496l16.896-12.416z", + "M1019.84 849.536c0 0-53.376-58.816-104-91.328-50.752-32.576-137.344-49.472-137.344-49.472l-4.608-41.728 9.28-6.272c0 0 37.12-75.84 43.392-92.864 6.144-17.024 17.024-17.024 24.768-26.304s16-69.376 10.752-78.976c-3.776-6.912-12.224-9.344-12.224-9.344l1.344-12.224c0 0 13.888-77.376 9.28-100.608s-15.488-60.352-29.376-78.912c-14.016-18.624-37.12-27.904-55.744-24.832-18.624 3.136-27.904-9.28-27.904-9.28s-35.52-30.912-69.504-32.448c-34.112-1.536-131.648 23.168-151.744 114.56-20.096 91.264 0 148.48 0 148.48l-9.28 3.136c0 0-4.672 38.72 4.608 66.56 9.28 27.904 32.512 44.928 32.512 44.928l4.608 9.344c0 0 29.504 69.632 41.728 80.448 12.352 10.752 3.136 38.656 3.136 38.656l-17.024 12.288c0 0-216.64 68.096-222.848 130.048s-8.704 74.752-4.352 93.632c2.88 12.544 173.76 91.264 334.016 86.784 179.904-4.928 317.248-56.704 326.528-82.944 9.344-26.304 0-91.328 0-91.328z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "role" + ] + }, + "attrs": [], + "properties": { + "order": 497, + "id": 98, + "prevSize": 16, + "code": 59847, + "name": "role" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 199 + }, + { + "icon": { + "paths": [ + "M593.664 100.928c0 0-41.216-35.84-80.64-37.632-39.488-1.792-152.512 26.88-175.808 132.736-23.296 105.792 0 172.096 0 172.096l-10.688 3.648c0 0-5.376 44.864 5.312 77.184 10.752 32.256 37.696 51.968 37.696 51.968l5.376 10.816c0 0 34.112 80.704 48.384 93.184 14.4 12.48 3.584 44.8 3.584 44.8l-19.712 14.336c0 0-251.072 78.912-258.24 150.656s-10.048 86.656-5.056 108.48c3.328 14.592 201.344 105.728 386.944 100.608 208.512-5.76 367.68-65.664 378.432-96.128 10.752-30.528 0-105.792 0-105.792s-61.952-68.16-120.64-105.792c-58.752-37.76-159.104-57.344-159.104-57.344l-5.248-48.448 10.624-7.232c0 0 43.136-87.872 50.304-107.584 7.104-19.712 19.712-19.712 28.672-30.464s18.56-80.384 12.48-91.52c-4.352-8-14.336-10.88-14.336-10.88l1.792-14.208c0 0 16.064-89.664 10.688-116.544-5.312-26.88-17.92-69.952-34.048-91.456s-42.944-32.256-64.512-28.736c-21.568 3.648-32.256-10.752-32.256-10.752z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "user" + ] + }, + "attrs": [], + "properties": { + "order": 498, + "id": 97, + "prevSize": 16, + "code": 59848, + "name": "user" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 200 + }, + { + "icon": { + "paths": [ + "M490.639 255.969l-457.452 128.548 31.401 141.455-2.253-0.481v3.779l-45.338 141.681 402.376 96.333 77.45-145.454 1.884-3.779-411.1-87.199 434.191-129.428z", + "M62.336 701.619v205.455l436.372 115.231v-359.347l-66.514 126.766z", + "M531.937 619.74l1.889 3.779 77.445 145.459 402.381-96.338-45.348-141.681v-3.779l-1.367 0.287 33.623-151.404-447.601-120.095-31.16 145.454 442.87 126.525z", + "M531.937 664.648v359.352l436.367-115.236v-205.455l-369.848 88.1z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "empty" + ] + }, + "attrs": [], + "properties": { + "order": 499, + "id": 96, + "prevSize": 16, + "code": 59849, + "name": "empty" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 201 + }, + { + "icon": { + "paths": [ + "M544.427 403.183l179.849 222.788v295.424l119.74 102.605v-397.414l179.985-223.403h-479.573zM809.882 614.946v333.346l-51.473-39.458v-295.492l-138.923-176.503h333.858l-143.462 178.108z", + "M393.865 425.472c-35.601 8.499-61.269 42.598-62.362 44.032l-3.14 4.267-0.205 5.291c-0.137 4.164-3.686 103.185 9.899 155.136 9.83 37.717 35.635 40.482 51.029 42.052 12.834 1.399 14.336 1.843 16.691 10.138 8.431 30.071-19.422 50.381-31.676 57.617-37.717 21.914-106.701-12.937-116.873-26.317-3.618-4.676-7.134-8.943-10.513-13.073-18.091-21.982-30.071-36.42-32.939-81.203-2.628-40.994 0-165.751 0.034-167.049l0.375-17.442h-118.374c-13.141 0-30.413-23.279-39.014-40.585-0.853-13.483-3.823-68.164 0.205-120.286 3.789-50.62 44.237-61.679 68.028-63.795 47.002-4.198 98.202-3.243 147.763-2.321 63.556 1.126 123.563 2.287 174.046-6.861 59.187-10.786 114.449-54.511 163.226-93.082 27.785-21.948 54.033-42.735 76.015-53.146 13.756-6.554 29.286-4.949 39.287-2.765v234.598l19.831-3.277 3.721-1.502c15.735 0 29.047 20.651 29.047 45.056 0 7.817-1.468 15.462-4.403 22.767l31.744 12.629c4.506-11.366 6.793-23.279 6.793-35.43 0-39.868-22.357-72.021-52.599-78.131v-220.604l-10.513-4.403c-1.604-0.717-41.267-16.964-77.551 0.307-25.463 12.083-53.248 33.997-82.534 57.207-45.67 36.079-97.382 77.005-148.173 86.255-47.138 8.499-105.54 7.441-167.322 6.315-50.449-0.956-102.571-1.877-151.415 2.458-57.89 5.12-94.925 40.721-99.021 95.198-4.813 62.259-0.205 125.952 0 128.649l1.502 5.837c2.97 6.451 30.174 63.181 71.339 63.181h83.524c-0.614 36.352-1.775 119.159 0.375 152.508 3.618 55.774 20.753 76.595 40.653 100.727 3.209 3.891 6.519 7.885 9.83 12.151 13.107 17.135 65.092 46.558 114.142 46.558 16.555 0 32.802-3.379 47.070-11.708 39.834-23.586 57.481-59.597 47.206-96.324-8.738-30.857-32.017-33.348-45.943-34.816-13.585-1.399-17.681-1.809-21.572-16.759-10.581-40.516-9.489-118.101-8.977-139.605 7.543-8.67 22.938-23.313 38.059-26.999 6.588-0.478 50.039 2.458 86.699 5.564l8.533-33.143-4.198-0.887c-87.996-7.134-94.481-5.666-97.348-4.983z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "noticeFilter" + ] + }, + "attrs": [], + "properties": { + "order": 500, + "id": 95, + "prevSize": 16, + "code": 59850, + "name": "noticeFilter" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 202 + }, + { + "icon": { + "paths": [ + "M260.949 393.216c14.711-9.284 56.491-30.891 129.877-33.485 93.15-3.174 275.9 29.491 277.675 29.798l52.156 9.353-36.864-38.059c-5.905-6.076-145.681-148.651-287.369-158.618-68.574-4.881-119.159 4.233-146.33 11.196l-5.803-149.094-233.745 271.189 250.402 235.042v-177.323zM226.816 376.491v115.2l-169.097-158.72 155.819-180.736 4.267 108.51 22.323-8.704c0.512-0.171 58.914-22.391 153.873-15.77 85.026 6.007 172.954 68.301 223.198 110.217-63.181-9.694-164.215-22.972-227.601-20.855-106.325 3.755-154.795 44.032-156.809 45.739l-5.973 5.12z", + "M936.073 719.838l-27.477-27.136c-72.841-72.738-102.332-217.771-99.396-292.796 4.471-95.881-25.907-173.705-85.538-219.17-40.073-30.447-80.828-36.079-103.356-36.489l-2.253-20.105-5.7-4.437c-1.707-1.331-17.476-12.971-46.49-12.971-27.238 0-43.895 11.23-45.705 12.493l-6.144 4.335-2.628 20.719c-14.131 0.273-35.567 2.594-59.358 11.878l12.356 31.812c32.529-12.629 59.255-9.148 59.46-9.114l17.237 2.56 4.71-37.069c9.148-3.413 31.846-3.243 40.141-0.239l4.301 37.239 17.374-2.458c1.98-0.205 48.777-6.383 95.403 29.047 50.415 38.434 76.049 106.086 72.090 190.566-3.311 83.558 28.467 237.568 109.397 318.43l27.648 27.307c51.132 50.21 52.531 52.395 50.278 77.653-2.15 23.484-17.51 37.888-24.474 43.315h-275.831v17.067c0 36.318-43.145 65.911-96.119 65.911s-96.085-29.559-96.085-65.911v-17.067h-275.763c-6.929-5.461-22.391-20.070-24.576-43.315-2.253-25.259-0.853-27.443 49.971-77.517l27.75-27.511c68.13-68.062 100.489-187.631 107.52-269.346l-33.997-2.935c-6.519 75.981-36.045 186.539-97.655 248.149l-27.58 27.307c-51.541 50.756-63.795 62.839-60.006 104.96 4.471 47.514 42.769 70.895 44.407 71.851l4.028 2.423h253.645c10.581 47.070 64.102 82.978 128.341 82.978 64.273 0 117.794-35.908 128.375-82.978h253.679l4.028-2.389c1.638-0.956 40.073-24.405 44.373-71.953 3.721-42.121-8.602-54.238-60.382-105.097z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "alarmTurn" + ] + }, + "attrs": [], + "properties": { + "order": 501, + "id": 94, + "prevSize": 16, + "code": 59851, + "name": "alarmTurn" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 203 + }, + { + "icon": { + "paths": [ + "M846.814 118.818c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.42 21.060-41.847 52.326h-56.695c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.42 21.060-41.847 52.326h-56.695c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.42 21.060-41.847 52.326h-56.695c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.42 21.060-41.847 52.326h-56.695c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.454 21.060-41.847 52.326h-56.661c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.454 21.060-41.847 52.326h-56.661c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.454 21.060-41.847 52.326h-56.695c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.454 21.060-41.847 52.326h-114.005v705.434h927.778v-705.434h-138.172zM950.852 790.118h-859.511v-637.167h78.302c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.799-1.707-8.738-13.073-10.615-31.607h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.799-1.707-8.772-13.073-10.615-31.607h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.806-13.039-10.684-31.607h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.806-13.039-10.684-31.607h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.772-13.005-10.65-31.573h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.772-13.005-10.65-31.573h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.772-13.005-10.65-31.573h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.772-13.005-10.65-31.573h106.052v637.030z", + "M197.086 333.79h176.469v34.133h-176.469v-34.133z", + "M195.584 454.929h684.919v34.133h-684.919v-34.133z", + "M195.584 596.992h684.919v34.133h-684.919v-34.133z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "advice" + ] + }, + "attrs": [], + "properties": { + "order": 502, + "id": 93, + "prevSize": 16, + "code": 59852, + "name": "advice" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 204 + }, + { + "icon": { + "paths": [ + "M857.463 514.287c0-28.228-22.46-51.2-50.074-51.2h-224.939v-379.529c0-36.284-30.481-65.775-67.891-65.775-37.478 0-67.925 29.491-67.925 65.775v379.529h-222.72c-27.648 0-50.108 22.972-50.108 51.2v87.825l2.492 12.015 0.853 5.393 4.028 17.545c4.608 48.23 6.793 213.299-31.232 292.25l-4.096 9.045 5.052 7.987c6.076 9.523 17.033 10.001 35.874 10.001 114.483 0 632.866-48.435 654.848-50.483l15.565-1.468v-276.378h0.239v-113.732zM480.768 83.558c0-17.442 15.155-31.642 33.792-31.642s33.758 14.199 33.758 31.642v379.529h-67.55v-379.529zM207.94 514.287c0-9.421 7.168-17.067 15.974-17.067h583.475c8.806 0 15.94 7.646 15.94 17.067v79.565h-615.39v-79.565zM822.886 873.301c-88.337 8.158-525.21 48.094-632.9 48.913 31.437-87.927 30.071-228.727 25.19-285.15h607.71v236.237z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "clearAlarm" + ] + }, + "attrs": [], + "properties": { + "order": 503, + "id": 92, + "prevSize": 16, + "code": 59853, + "name": "clearAlarm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 205 + }, + { + "icon": { + "paths": [ + "M914.193 536.303h-814.182c-33.826 0-61.338-27.511-61.338-61.338v-186.948c0-33.826 27.511-61.338 61.338-61.338h814.182c33.826 0 61.338 27.511 61.338 61.338v186.948c-0 33.826-27.511 61.338-61.338 61.338zM100.011 260.813c-14.985 0-27.204 12.22-27.204 27.204v186.948c0 14.985 12.186 27.204 27.204 27.204h814.182c14.985 0 27.204-12.22 27.204-27.204v-186.948c0-14.985-12.186-27.204-27.204-27.204h-814.182z", + "M914.193 903.817h-814.182c-33.826 0-61.338-27.511-61.338-61.338v-186.948c0-33.826 27.511-61.338 61.338-61.338h814.182c33.826 0 61.338 27.511 61.338 61.338v186.948c-0 33.86-27.511 61.338-61.338 61.338zM100.011 628.361c-14.985 0-27.204 12.186-27.204 27.204v186.948c0 14.985 12.186 27.204 27.204 27.204h814.182c14.985 0 27.204-12.186 27.204-27.204v-186.948c0-14.985-12.186-27.204-27.204-27.204h-814.182z", + "M668.433 371.644c0 25.977-21.059 47.036-47.036 47.036s-47.036-21.059-47.036-47.036c0-25.977 21.059-47.036 47.036-47.036s47.036 21.059 47.036 47.036z", + "M848.282 371.644c0 25.977-21.059 47.036-47.036 47.036s-47.036-21.059-47.036-47.036c0-25.977 21.059-47.036 47.036-47.036s47.036 21.059 47.036 47.036z", + "M247.569 756.258c0 25.977-21.059 47.036-47.036 47.036s-47.036-21.059-47.036-47.036c0-25.977 21.059-47.036 47.036-47.036s47.036 21.059 47.036 47.036z", + "M452.369 756.258c0 25.977-21.059 47.036-47.036 47.036s-47.036-21.059-47.036-47.036c0-25.977 21.059-47.036 47.036-47.036s47.036 21.059 47.036 47.036z", + "M670.003 756.258c0 25.996-21.074 47.070-47.070 47.070s-47.070-21.074-47.070-47.070c0-25.996 21.074-47.070 47.070-47.070s47.070 21.074 47.070 47.070z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "alarmBox" + ] + }, + "attrs": [], + "properties": { + "order": 504, + "id": 91, + "prevSize": 16, + "code": 59854, + "name": "alarmBox" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 206 + }, + { + "icon": { + "paths": [ + "M487.083 899.618l-26.658-308.838 307.507 177.527-280.849 131.311zM500.053 653.073l16.828 194.97 177.254-82.91-194.082-112.060zM770.15 733.013l-280.337-161.792 260.233-450.697c21.163-36.693 69.666-49.835 106.496-28.57l145.306 83.9c37.786 21.845 50.347 68.608 28.57 106.462l-15.394 26.522 0.034 0.034-244.907 424.141zM536.474 558.729l221.218 127.659 210.773-365.056-221.218-127.727-210.773 365.124zM780.834 135.578l221.116 127.693c10.923-21.163 3.823-45.739-17.135-57.856l-145.306-83.9c-20.173-11.708-46.251-5.257-58.675 14.063z", + "M0 363.383h331.332v34.133h-331.332v-34.133z", + "M0 540.672h331.332v34.133h-331.332v-34.133z", + "M0 717.961h331.332v34.133h-331.332v-34.133z", + "M0 895.249h720.657v34.133h-720.657v-34.133z", + "M777.683 266.068l29.282 17.61-172.845 287.404-29.282-17.61 172.845-287.404z", + "M865.434 323.273l29.282 17.61-172.845 287.404-29.282-17.61 172.845-287.404z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "afreshDef" + ] + }, + "attrs": [], + "properties": { + "order": 505, + "id": 90, + "prevSize": 16, + "code": 59855, + "name": "afreshDef" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 207 + }, + { + "icon": { + "paths": [ + "M843.981 1024l-119.706-102.605v-295.424l-179.849-222.788h479.573l-180.019 223.437v397.38zM758.409 908.8l51.439 39.458v-333.346l143.497-178.108h-333.892l138.957 176.503v295.492z", + "M493.261 697.105c0 32.631-39.014 59.153-86.972 59.153-47.104 0-86.938-27.102-86.938-59.153v-17.067h-254.396c-6.417-5.086-19.729-17.954-21.641-38.571-2.048-22.562-0.751-24.542 45.466-70.076l25.6-25.327c75.127-75.059 104.175-216.951 100.796-293.751-3.413-77.278 20.002-139.059 66.014-173.943 40.516-30.891 84.48-26.658 86.255-26.419l17.271 2.56 4.369-34.679c8.090-2.901 26.931-2.731 34.304-0.239l4.062 34.782 17.34-2.423c2.15-0.307 45.807-4.608 86.665 26.419 45.978 35.089 69.359 96.836 65.741 174.012-0.717 17.203-1.809 28.262-0.683 43.418h34.406c-1.297-14.848-0.273-25.6 0.375-41.95 4.13-88.576-23.962-160.563-79.155-202.65-36.454-27.716-73.591-33.246-94.583-33.792l-2.048-17.886-5.666-4.403c-1.673-1.229-16.521-12.186-43.657-12.186-25.429 0-41.062 10.513-42.769 11.708l-6.144 4.335-2.321 18.466c-21.026 0.546-58.163 6.076-94.481 33.758-55.125 41.847-83.354 113.801-79.428 202.615 3.004 68.506-23.757 201.114-90.829 268.117l-25.395 25.156c-47.718 46.967-59.051 58.129-55.501 97.485 4.164 44.373 39.936 66.219 41.472 67.14l4.028 2.423h232.414c10.445 43.349 59.836 76.22 119.023 76.22 59.221 0 108.646-32.905 119.091-76.22h107.554v-34.133h-139.639v17.101z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "alarmFilter" + ] + }, + "attrs": [], + "properties": { + "order": 506, + "id": 89, + "prevSize": 16, + "code": 59856, + "name": "alarmFilter" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 208 + }, + { + "icon": { + "paths": [ + "M608.037 386.853c7.314 9.143 15.141 17.627 23.698 25.381l-16.823 35.986c-9.216 19.602 0.293 43.739 21.065 53.614l25.966 12.507c20.846 10.021 45.202 2.048 54.272-17.554l16.75-35.986c10.386 1.609 20.699 3.145 31.598 3.145 10.679 0 21.211-1.536 31.598-3.145l16.75 35.986c9.143 19.675 33.426 27.575 54.272 17.627l25.893-12.507c20.919-9.874 30.354-34.011 21.211-53.614l-16.75-36.133c8.558-7.68 16.457-16.238 23.698-25.381l36.279 15.287c19.822 8.411 43.154-2.414 51.858-23.991l10.971-26.917c8.997-21.65 0-45.861-19.822-54.199l-36.571-15.287c0.878-7.387 2.194-14.629 2.194-22.309 0-7.607-1.39-14.775-2.194-22.162l36.718-15.36c19.822-8.411 28.818-32.622 19.822-54.199l-10.898-26.99c-8.704-21.577-32.11-32.329-51.858-23.991l-36.425 15.287c-7.241-9.143-14.994-17.627-23.698-25.307l16.75-36.279c9.143-19.602-0.293-43.666-21.138-53.614l-26.039-12.434c-20.699-9.947-44.983-2.048-54.126 17.554l-16.75 36.059c-10.386-1.682-20.699-3.218-31.598-3.218s-21.211 1.536-31.598 3.218l-16.75-36.059c-9.143-19.602-33.499-27.502-54.199-17.554l-25.966 12.434c-20.919 10.021-30.427 34.011-21.211 53.614l16.75 36.206c-8.558 7.753-16.53 16.165-23.698 25.381l-36.425-15.36c-19.822-8.411-43.081 2.341-51.858 23.991l-11.045 26.99c-8.777 21.577 0.146 45.861 19.968 54.199l36.571 15.287c-0.878 7.461-2.267 14.629-2.267 22.235 0 7.68 1.536 14.921 2.267 22.382l-36.571 15.287c-19.749 8.411-28.745 32.549-19.968 54.199l11.045 26.917c8.777 21.504 32.037 32.329 51.785 23.991l36.498-15.214zM764.635 132.827c68.608 0 124.489 56.613 124.489 126.537 0 69.778-55.735 126.464-124.489 126.464s-124.562-56.686-124.562-126.464c0-69.925 55.808-126.537 124.562-126.537z", + "M2.926 1034.021h463.141v-386.56h-463.141v386.56zM392.923 960.878h-121.856v-240.274h121.856v240.274zM76.069 720.603h121.856v240.274h-121.856v-240.274z", + "M317.147 364.544l-133.559 8.119c14.19-31.378 35.84-58.953 65.463-79.872 106.13-74.679 191.269-42.789 191.269-42.789-76.946-54.491-160.11-59.099-227.182-12.507-49.957 34.523-86.235 81.774-102.839 136.997l-110.299 4.389 160.11 149.358 157.038-163.694z", + "M915.822 624.786l-198.729 109.275 129.755 32.183c-22.894 25.673-51.858 45.422-86.382 56.466-123.611 39.57-195.291-16.53-195.291-16.53 57.125 75.045 135.168 104.375 213.138 80.018 58.002-17.92 106.715-52.297 139.045-99.913l106.642 28.965-108.178-190.464z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "manAnalysis" + ] + }, + "attrs": [], + "properties": { + "order": 507, + "id": 88, + "prevSize": 16, + "code": 59857, + "name": "manAnalysis" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 209 + }, + { + "icon": { + "paths": [ + "M296.96 296.887c0 82.003-66.477 148.48-148.48 148.48s-148.48-66.477-148.48-148.48c0-82.003 66.477-148.48 148.48-148.48s148.48 66.477 148.48 148.48z", + "M551.936 807.79c0 82.003-66.477 148.48-148.48 148.48s-148.48-66.477-148.48-148.48c0-82.003 66.477-148.48 148.48-148.48s148.48 66.477 148.48 148.48z", + "M930.158 311.808c0 91.496-74.172 165.669-165.669 165.669s-165.669-74.172-165.669-165.669c0-91.496 74.172-165.669 165.669-165.669s165.669 74.172 165.669 165.669z", + "M1024 784.018c0 73.803-59.829 133.632-133.632 133.632s-133.632-59.829-133.632-133.632c0-73.803 59.829-133.632 133.632-133.632s133.632 59.829 133.632 133.632z", + "M732.286 362.027l55.324-19.275 166.956 479.199-55.324 19.275-166.956-479.199z", + "M812.421 225.214l46.39 35.785-460.695 597.214-46.39-35.785 460.695-597.214z", + "M112.914 300.476l52.061-26.868 293.504 568.704-52.061 26.868-293.504-568.704z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "drill" + ] + }, + "attrs": [], + "properties": { + "order": 508, + "id": 87, + "prevSize": 16, + "code": 59858, + "name": "drill" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 210 + }, + { + "icon": { + "paths": [ + "M977.774 586.313l-72.192-30.281c1.609-14.629 4.462-28.965 4.462-44.032s-2.779-29.257-4.462-43.886l72.338-30.427c39.058-16.457 56.759-64.293 39.278-106.862l-21.723-53.248c-17.335-42.715-63.195-63.854-102.254-47.397l-72.046 30.354c-14.263-18.066-29.696-34.743-46.738-50.030l33.134-71.534c17.993-38.766-0.658-86.235-41.765-105.911l-51.419-24.503c-41.106-19.675-89.015-4.096-107.081 34.67l-33.061 71.168c-20.407-3.291-40.96-6.363-62.318-6.363-21.285 0-41.838 3.072-62.245 6.363l-33.061-71.168c-18.066-38.766-66.048-54.345-107.081-34.67l-51.419 24.576c-41.106 19.675-59.831 67.145-41.765 105.838l33.134 71.461c-17.042 15.287-32.475 31.963-46.738 50.030l-71.973-30.281c-39.058-16.457-84.919 4.681-102.254 47.397l-21.797 53.248c-17.408 42.569 0.219 90.478 39.351 106.862l72.192 30.354c-1.536 14.702-4.315 28.891-4.315 43.959 0 15.141 2.779 29.403 4.389 44.105l-72.192 30.281c-39.131 16.603-56.832 64.219-39.497 106.935l21.87 53.175c17.335 42.569 63.269 63.781 102.327 47.397l71.899-30.208c14.263 17.993 29.696 34.743 46.665 50.030l-33.134 71.314c-18.066 38.693 0.658 86.309 41.765 105.838l51.419 24.722c41.106 19.675 89.088 4.023 107.081-34.816l32.987-71.095c20.407 3.291 40.96 6.363 62.245 6.363 21.358 0 41.911-3.072 62.391-6.363l32.987 71.095c17.993 38.766 65.975 54.418 107.081 34.816l51.419-24.722c41.179-19.602 59.758-67.145 41.765-105.838l-33.134-71.461c16.969-15.287 32.402-31.963 46.738-49.957l71.899 30.281c39.058 16.384 84.992-4.827 102.327-47.47l21.797-53.175c17.627-42.715-0.219-90.405-39.278-106.935zM512 761.71c-135.899 0-246.053-111.909-246.053-249.637 0-138.094 110.153-249.71 246.053-249.71 135.753 0 245.906 111.616 245.906 249.71 0 137.728-110.153 249.637-245.906 249.637z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "gear" + ] + }, + "attrs": [], + "properties": { + "order": 509, + "id": 86, + "prevSize": 16, + "code": 59859, + "name": "gear" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 211 + }, + { + "icon": { + "paths": [ + "M512 0c-282.317 0-512 229.683-512 512 0 282.33 229.683 512 512 512 282.33 0 512-229.67 512-512 0-282.317-229.67-512-512-512zM512 1011.379c-275.341 0-499.354-224.026-499.354-499.379 0-275.341 224.013-499.354 499.354-499.354 275.354 0 499.379 224.013 499.379 499.354-0 275.354-224.026 499.379-499.379 499.379z", + "M873.011 546.624c-15.206 0-29.312 4.71-40.973 12.723l-144.064-175.002c10.803-12.659 17.344-29.043 17.344-46.976 0-40-32.422-72.435-72.422-72.435s-72.448 32.435-72.448 72.435c0 22.144 9.971 41.946 25.638 55.219l-147.52 214.63c-12.48-10.202-28.416-16.32-45.786-16.32-19.917 0-37.952 8.051-51.059 21.069l-126.118-104.038c6.003-10.56 9.485-22.733 9.485-35.75 0-40-32.435-72.435-72.435-72.435s-72.435 32.435-72.435 72.435c0 40.013 32.435 72.435 72.435 72.435 22.374 0 42.368-10.15 55.654-26.099l125.184 103.27c-8.269 11.763-13.158 26.074-13.158 41.549 0 40.013 32.435 72.435 72.435 72.435s72.435-32.422 72.435-72.435c0-17.933-6.566-34.342-17.37-46.989l148.723-216.384c10.688 6.221 23.078 9.843 36.339 9.843 17.421 0 33.421-6.157 45.914-16.422l143.347 174.131c-13.312 13.133-21.594 31.373-21.594 51.558 0 40.013 32.435 72.435 72.435 72.435s72.422-32.422 72.422-72.435c0.013-40.013-32.41-72.448-72.41-72.448z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "process" + ] + }, + "attrs": [], + "properties": { + "order": 510, + "id": 85, + "prevSize": 16, + "code": 59860, + "name": "process" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 212 + }, + { + "icon": { + "paths": [ + "M950.857 950.857h-877.714v-877.714h482.011v-73.143h-555.154v1024h1024v-458.679h-73.143z", + "M526.19 277.285c-98.231 91.721-224.475 317.001-224.475 317.001s193.17-118.272 280.576-162.816c77.824-39.643 192.658-28.818 218.478-26.697l-0.658 184.466 223.89-308.297-224.402-280.942 0.585 183.077c-30.647 1.902-187.831 13.897-273.993 94.208z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "unacknownledge" + ] + }, + "attrs": [], + "properties": { + "order": 511, + "id": 84, + "prevSize": 16, + "code": 59861, + "name": "unacknownledge" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 213 + }, + { + "icon": { + "paths": [ + "M950.857 950.857h-877.714v-877.714h482.011v-73.143h-555.154v1024h1024v-458.679h-73.143z", + "M240.933 482.889l335.433 327.826 447.634-640-119.881-83.822-348.818 498.688-212.187-207.36z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "acknownledge" + ] + }, + "attrs": [], + "properties": { + "order": 512, + "id": 83, + "prevSize": 16, + "code": 59862, + "name": "acknownledge" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 214 + }, + { + "icon": { + "paths": [ + "M512.064 0c-282.304 0-512.064 229.696-512.064 512 0 282.368 229.76 512 512.064 512s511.936-229.632 511.936-512-229.632-512-511.936-512zM512.064 960c-246.976 0-448.064-201.024-448.064-448 0-247.040 201.088-448 448.064-448 247.040 0 447.936 201.024 447.936 448 0 246.912-200.896 448-447.936 448z", + "M615.872 427.072l-73.408-41.792 80.64-142.016c-72.576-19.648-152.192 10.624-191.168 79.232-36.224 63.744-26.048 140.608 18.944 193.28l-141.632 249.216c-15.616 27.52-6.016 62.528 21.504 78.144s62.528 6.016 78.144-21.504l141.568-249.28c68.352 11.776 139.712-18.88 175.872-82.56 38.976-68.544 24.384-152.384-29.76-204.864l-80.704 142.144z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "Operation" + ] + }, + "attrs": [], + "properties": { + "order": 513, + "id": 82, + "prevSize": 16, + "code": 59863, + "name": "Operation" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 215 + }, + { + "icon": { + "paths": [ + "M512 0c-282.317 0-512 229.683-512 512 0 282.33 229.683 512 512 512 282.33 0 512-229.67 512-512 0-282.317-229.67-512-512-512zM512 1011.366c-275.341 0-499.354-224.026-499.354-499.366s224.013-499.354 499.354-499.354 499.366 224.013 499.366 499.354-224.026 499.366-499.366 499.366z", + "M910.118 562.355c0-77.478-60.083-140.314-134.208-140.314-4.851 0-9.626 0.307-14.349 0.819-18.867-28.506-47.552-49.28-80.96-57.101-31.194-75.405-102.912-128.205-186.496-128.205-85.978 0-159.334 55.923-188.992 134.81-8.32-1.357-16.794-2.291-25.485-2.291-89.907 0-162.79 76.211-162.79 170.163 0 38.464 12.339 73.805 32.909 102.298-5.99 9.050-9.523 19.878-9.523 31.526 0 31.578 25.587 57.165 57.165 57.165h631.386c31.59 0 57.165-25.587 57.165-57.165 0-8.576-2.022-16.614-5.414-23.923 18.458-24.038 29.594-54.541 29.594-87.782z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "cloud" + ] + }, + "attrs": [], + "properties": { + "order": 514, + "id": 81, + "prevSize": 16, + "code": 59864, + "name": "cloud" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 216 + }, + { + "icon": { + "paths": [ + "M512 0c-282.317 0-512 229.683-512 512 0 282.33 229.683 512 512 512 282.33 0 512-229.67 512-512 0-282.317-229.67-512-512-512zM512 1011.366c-275.341 0-499.354-224.013-499.354-499.366 0-275.341 224.013-499.354 499.354-499.354 275.354 0 499.366 224.013 499.366 499.354 0 275.354-224.013 499.366-499.366 499.366z", + "M559.629 403.942h-364.096c-12.57 0-22.758 9.37-22.758 20.928v219.827c0 11.546 10.189 20.928 22.758 20.928h364.096c12.57 0 22.746-9.37 22.746-20.928v-219.827c0-11.558-10.176-20.928-22.746-20.928zM552.32 621.043c0 9.062-8.704 16.41-19.405 16.41h-310.682c-10.714 0-19.418-7.347-19.418-16.41v-172.506c0-9.062 8.704-16.422 19.418-16.422h310.682c10.701 0 19.405 7.36 19.405 16.422v172.506z", + "M377.587 675.584c-35.341 0-64 28.646-64 64h128c0-35.341-28.659-64-64-64z", + "M831.603 288h-182.4c-7.078 0-12.8 5.734-12.8 12.8v80h208v-80c0-7.066-5.734-12.8-12.8-12.8z", + "M636.403 393.6h208v67.2h-208v-67.2z", + "M636.403 726.4c0 7.078 5.722 12.8 12.8 12.8h182.4c7.078 0 12.8-5.722 12.8-12.8v-252.8h-208v252.8zM740.403 630.4c10.598 0 19.2 8.602 19.2 19.2s-8.602 19.2-19.2 19.2-19.2-8.602-19.2-19.2 8.602-19.2 19.2-19.2z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "computer" + ] + }, + "attrs": [], + "properties": { + "order": 515, + "id": 80, + "prevSize": 16, + "code": 59865, + "name": "computer" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 217 + }, + { + "icon": { + "paths": [ + "M512 64c-247.424 0-448 200.576-448 448 0 247.36 200.576 448 448 448 247.488 0 448-200.64 448-448 0-247.424-200.512-448-448-448zM444.032 908.032l41.6-365.696-253.632-6.336 300.032-432-33.344 321.472 222.4 20.864-277.056 461.696z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "alarm" + ] + }, + "attrs": [], + "properties": { + "order": 516, + "id": 79, + "prevSize": 16, + "code": 59866, + "name": "alarm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 218 + }, + { + "icon": { + "paths": [ + "M225.984 578.688l290.688 293.312 297.344-293.312-188.992-0.064c-1.728-31.616 9.28-106.688-41.024-253.632-53.312-155.648-242.688-310.336-242.688-310.336s66.688 154.688 90.688 322.112c15.552 108.48 5.312 205.312-17.472 242.88l-188.544-0.96z", + "M771.84 62.016v64h178.176v819.968h-876.032v-819.968h138.56v-64h-202.56v947.968h1004.032v-947.968z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "import" + ] + }, + "attrs": [], + "properties": { + "order": 517, + "id": 78, + "prevSize": 16, + "code": 59867, + "name": "import" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 219 + }, + { + "icon": { + "paths": [ + "M432 549.952c-24 167.36-90.688 322.048-90.688 322.048s189.312-154.688 242.688-310.336c50.304-146.88 39.296-222.016 41.024-253.632h188.992l-297.344-293.376-290.688 293.376 188.48-0.96c22.848 37.568 33.088 134.4 17.536 242.88z", + "M771.84 62.016v64h178.176v819.968h-876.032v-819.968h138.56v-64h-202.56v947.968h1004.032v-947.968z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "export" + ] + }, + "attrs": [], + "properties": { + "order": 518, + "id": 77, + "prevSize": 16, + "code": 59868, + "name": "export" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 220 + }, + { + "icon": { + "paths": [ + "M512-0.064c-282.304 0-512 229.696-512 512s229.696 512 512 512 512-229.696 512-512-229.696-512-512-512zM512 959.936c-247.040 0-448-201.024-448-448 0-247.040 200.96-448 448-448 246.976 0 448 200.96 448 448 0 246.976-201.024 448-448 448z", + "M786.816 451.648c0 61.312-56.96 111.040-127.040 111.040-70.208 0-127.168-49.728-127.168-111.040 0-6.656 0.96-12.992 2.24-19.328h-43.584c1.28 6.4 2.24 12.736 2.24 19.328 0 61.312-56.96 111.040-127.040 111.040-70.208 0-127.104-49.728-127.104-111.040 0-6.656 0.96-12.992 2.24-19.328h-42.56l67.84 310.656c0 0 101.952-29.76 248.384-29.76 130.368 0 248.64 29.76 248.64 29.76l67.648-310.656h-47.040c1.216 6.336 2.304 12.736 2.304 19.328z", + "M581.76 364.928c0 37.22-30.172 67.392-67.392 67.392s-67.392-30.172-67.392-67.392c0-37.22 30.172-67.392 67.392-67.392s67.392 30.172 67.392 67.392z", + "M273.92 375.872c0 31.175-25.273 56.448-56.448 56.448s-56.448-25.273-56.448-56.448c0-31.175 25.273-56.448 56.448-56.448s56.448 25.273 56.448 56.448z", + "M863.040 375.872c0 31.175-25.273 56.448-56.448 56.448s-56.448-25.273-56.448-56.448c0-31.175 25.273-56.448 56.448-56.448s56.448 25.273 56.448 56.448z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "Admin" + ] + }, + "attrs": [], + "properties": { + "order": 519, + "id": 76, + "prevSize": 16, + "code": 59869, + "name": "Admin" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 221 + }, + { + "icon": { + "paths": [ + "M512 0c-282.77 0-512 229.229-512 512s229.23 512 512 512c282.77 0 512-229.229 512-512s-229.23-512-512-512zM770 302l94 92-378 368-320-202 136-102 146 142 322-298z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "allSelected" + ] + }, + "attrs": [], + "properties": { + "order": 520, + "id": 75, + "prevSize": 16, + "code": 59870, + "name": "allSelected" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 222 + }, + { + "icon": { + "paths": [ + "M311.382 213.893l512 314.202-512 325.798z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "angleRight" + ] + }, + "attrs": [], + "properties": { + "order": 521, + "id": 74, + "prevSize": 16, + "code": 59871, + "name": "angleRight" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 223 + }, + { + "icon": { + "paths": [ + "M480-0l-480 512 480 512v-342.551h488c30.527 0 56-28.108 56-61.793v-218.354c0-33.685-25.473-61.793-56-61.793h-488z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "arrowLeft" + ] + }, + "attrs": [], + "properties": { + "order": 522, + "id": 73, + "prevSize": 16, + "code": 59872, + "name": "arrowLeft" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 224 + }, + { + "icon": { + "paths": [ + "M297.119 0l-297.119 317.333 79.585 85.333 376.705-402.667h-159.171zM567.71 5.333l-474.86 509.333 474.86 509.333v-341.333h400.58c30.278 0 55.71-27.75 55.71-61.333v-216c0-33.526-25.432-61.333-55.71-61.333h-400.58v-338.667zM652.601 146.667v109.333h363.44v-48c0-33.526-25.432-61.333-55.71-61.333h-307.731z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "arrowLeftAll" + ] + }, + "attrs": [], + "properties": { + "order": 523, + "id": 72, + "prevSize": 16, + "code": 59873, + "name": "arrowLeftAll" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 225 + }, + { + "icon": { + "paths": [ + "M544-0l480 512-480 512v-342.551h-488c-30.527 0-56-28.108-56-61.793v-218.354c0-33.685 25.473-61.793 56-61.793h488z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "arrowRight" + ] + }, + "attrs": [], + "properties": { + "order": 524, + "id": 71, + "prevSize": 16, + "code": 59874, + "name": "arrowRight" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 226 + }, + { + "icon": { + "paths": [ + "M726.881 0l297.119 317.333-79.585 85.333-376.705-402.667h159.171zM456.29 5.333l474.86 509.333-474.86 509.333v-341.333h-400.58c-30.278 0-55.71-27.75-55.71-61.333v-216c0-33.526 25.432-61.333 55.71-61.333h400.58v-338.667zM371.399 146.667v109.333h-363.44v-48c0-33.526 25.432-61.333 55.71-61.333h307.731z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "arrowRightAll" + ] + }, + "attrs": [], + "properties": { + "order": 525, + "id": 70, + "prevSize": 16, + "code": 59875, + "name": "arrowRightAll" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 227 + }, + { + "icon": { + "paths": [ + "M508 0c-31.119 0-58 24.881-58 56v46c-69.831 10.816-133.646 38.889-188 78l-42-40c-11.002-11.002-25.641-18-40-18s-26.998 6.998-38 18l-18 16c-22.005 22.005-22.005 57.995 0 80l42 40c-34.941 48.538-61.038 103.432-72 164h-36c-31.119 0-58 24.881-58 56v22c0 31.119 26.881 58 58 58h36c12.292 76.335 44.912 147.337 94 204l-34 36c-22.005 22.005-22.005 55.995 0 78l16 18c22.005 22.005 57.995 22.005 80 0l44-46c47.099 28.042 99.181 47.199 156 56v46c0 31.119 26.881 56 58 56h22c31.119 0 56-24.881 56-56v-46c27.753-4.228 54.286-11.152 80-20l-104-106c-14.44 2.229-28.936 4-44 4-159.058 0-288-128.942-288-288s128.942-288 288-288c159.058 0 288 128.942 288 288 0 47.853-13.349 92.29-34 132l104 98c33.635-49.218 58.247-105.432 68-166h22c31.119 0 56-26.881 56-58v-22c0-31.119-24.881-56-56-56h-22c-10.615-58.652-34.805-112.539-68-160l36-36c22.005-22.005 22.005-57.995 0-80l-16-16c-11.002-11.002-25.641-16-40-16s-28.998 4.998-40 16l-36 36c-55.735-41.399-121.471-70.951-194-82v-46c0-31.119-24.881-56-56-56h-22zM520 292c-126.678 0-230 103.322-230 230s103.322 228 230 228c29.501 0 58.095-5.855 84-16l210 210c22.005 22.005 55.995 22.005 78 0l10-10c22.005-22.005 22.005-55.995 0-78l-198-198c28.25-38.126 46-84.904 46-136 0-126.678-103.322-230-230-230zM520 400c67.275 0 122 54.725 122 122s-54.725 122-122 122c-67.275 0-122-54.725-122-122s54.725-122 122-122z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "autoFind" + ] + }, + "attrs": [], + "properties": { + "order": 526, + "id": 69, + "prevSize": 16, + "code": 59876, + "name": "autoFind" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 228 + }, + { + "icon": { + "paths": [ + "M674.24 1010.112l-481.28-481.344 485.696-485.824 45.312 45.248-440.512 440.576 436.032 436.096z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "back" + ] + }, + "attrs": [], + "properties": { + "order": 527, + "id": 68, + "prevSize": 16, + "code": 59877, + "name": "back" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 229 + }, + { + "icon": { + "paths": [ + "M366 0v364h-180v300h184v-52h52v52h40v-300h92v300h40v-52h54v52h184v-300h-174v-364h-292zM0 658v366h366v-152h-132v-92h-90v-122h-144zM880 658v122h-90v92h-132v152h366v-366h-144zM432 872v152h160v-152h-160z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "ball" + ] + }, + "attrs": [], + "properties": { + "order": 528, + "id": 67, + "prevSize": 16, + "code": 59878, + "name": "ball" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 230 + }, + { + "icon": { + "paths": [ + "M448.031 21.984v110.003c-111.249 27.552-192 127.68-192 248v93.997c-14.104 170.784-120.996 270.701-224 378.003 4.723 0 9.21-1.984 14-1.984h282c-1.498 8.525-1.997 17.030-1.997 25.997 0 82.726 65.275 148 148 148h34c82.725 0 150-65.274 150-148 0-8.986-2.49-17.459-4-25.997h320c4.787 0 9.277 1.728 14 1.984-103.004-107.302-209.896-207.219-224-378.003v-93.997c0-120.32-80.751-220.448-192-248v-110.003h-124zM396.031 849.984h32c-11.965 12.403-20 28.371-20 46.003 0 40.346 37.391 73.997 84 73.997-10.154 4.16-20.329 8-32 8-46.609 0-84-34.176-84-77.997 0-19.418 7.773-36.070 20-50.003z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "bell" + ] + }, + "attrs": [], + "properties": { + "order": 529, + "id": 66, + "prevSize": 16, + "code": 59879, + "name": "bell" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 231 + }, + { + "icon": { + "paths": [ + "M509.091 1.707c-134.448 0-242.544 108.704-242.544 244s108.096 246 242.544 246c134.448 0 242.544-110.704 242.544-246s-108.096-244-242.544-244zM769.528 447.707c-140.541 0-254.472 114.618-254.472 256s113.931 256 254.472 256c140.541 0 254.472-114.618 254.472-256s-113.931-256-254.472-256zM306.308 503.707c-346.855 195.91-302.524 531.61-306.162 520h685.883l-1.988-6c-135.113-23.090-238.568-141.499-238.568-284 0-50.008 13.499-97.017 35.785-138-72.082-7.589-136.306-42.513-174.95-92zM610.482 633.707h318.091v128h-318.091v-128z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "blackList" + ] + }, + "attrs": [], + "properties": { + "order": 530, + "id": 65, + "prevSize": 16, + "code": 59880, + "name": "blackList" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 232 + }, + { + "icon": { + "paths": [ + "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512c282.77 0 512-229.23 512-512s-229.23-512-512-512zM530 128l22 124-72 6-22-122 72-8zM276 170c70.131 0 128 57.239 128 130 0 15.422-1.298 30.22-6 44l86 90-66 70-86-86c-16.468 8.112-36.565 12-56 12-70.131 0-122-57.267-122-130 0-72.761 51.869-130 122-130zM760 210l54 82-162 116-54-86 162-112zM888 442l8 74-118 22-8-74 118-22zM246 482l8 74-118 20-8-72 118-22zM598 534l62 64c16.654-8.376 32.276-16 52-16 70.131 0 130 63.253 130 136 0 72.752-59.869 130-130 130s-124-57.248-124-130c0-15.163 5.459-32.45 10-46l-68-66 68-72zM372 612l54 90-166 108-50-82 162-116zM540 770l18 118-72 8-18-124 72-2z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "breakLink" + ] + }, + "attrs": [], + "properties": { + "order": 531, + "id": 64, + "prevSize": 16, + "code": 59881, + "name": "breakLink" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 233 + }, + { + "icon": { + "paths": [ + "M512 0c-282.77 0-512 229.229-512 512s229.23 512 512 512c282.77 0 512-229.229 512-512s-229.23-512-512-512zM128 314.003l180 104c61.902-49.734 140.551-80 226-80 198.617 0 360 163.379 360 361.997 0 2.944 0.070 5.056 0 8l-90 1.984c0.134-3.456 0-6.528 0-10.003 0-148.96-121.038-272-270-272-51.469 0-98.972 14.771-140 40l184 106.003-356 93.997-94-353.978z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "cancle" + ] + }, + "attrs": [], + "properties": { + "order": 532, + "id": 63, + "prevSize": 16, + "code": 59882, + "name": "cancle" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 234 + }, + { + "icon": { + "paths": [ + "M1024 512.002c0 282.77-229.23 512-512 512s-512-229.23-512-512c0-282.77 229.23-512 512-512s512 229.23 512 512z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "circle" + ] + }, + "attrs": [], + "properties": { + "order": 533, + "id": 62, + "prevSize": 16, + "code": 59883, + "name": "circle" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 235 + }, + { + "icon": { + "paths": [ + "M-0 5.333v341.333h122.667v445.333h362.667c17.783 132.745 129.128 234.667 266.667 234.667 149.839 0 272-122.278 272-272s-122.161-269.333-272-269.333c-133.011 0-240.954 95.465-264 221.333h-280v-360h133.333v-341.333h-341.333zM712 586.667h85.333v128h128v85.333h-128v128h-85.333v-128h-128v-85.333h128v-128z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "closeTree" + ] + }, + "attrs": [], + "properties": { + "order": 534, + "id": 61, + "prevSize": 16, + "code": 59884, + "name": "closeTree" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 236 + }, + { + "icon": { + "paths": [ + "M0 0v1024h400l-6-238 158-260-146-188-278 392v-602h768v120l128 74v-322h-1024zM796 290l-266 462 166 96 266-460-166-98zM1024 426l-8 16-290 534-58 48h356v-598zM486 828l14 166 152-70-166-96z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "configmap" + ] + }, + "attrs": [], + "properties": { + "order": 535, + "id": 60, + "prevSize": 16, + "code": 59885, + "name": "configmap" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 237 + }, + { + "icon": { + "paths": [ + "M135.461 125.513h789.211v73.143h-789.211v-73.143z", + "M430.373 61.147v107.666h199.387v-107.666h-199.387z", + "M286.281 463.36h99.035v395.045h-99.035v-395.045z", + "M480.549 463.36h99.035v395.045h-99.035v-395.045z", + "M674.816 463.36h99.035v395.045h-99.035v-395.045z", + "M922.697 999.863h-785.335v-714.606h785.335v714.606zM210.505 926.72h639.049v-568.32h-639.049v568.32z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "delete" + ] + }, + "attrs": [], + "properties": { + "order": 536, + "id": 59, + "prevSize": 16, + "code": 59886, + "name": "delete" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 238 + }, + { + "icon": { + "paths": [ + "M211.587 32l-205.602 224h429.166l-223.564-224zM0 304v720h1024v-496h-596.833v-224h-427.167zM77.845 406.003h95.813v96h-95.813v-96zM255.502 406.003h95.813v96h-95.813v-96zM77.845 614.003h95.813v96h-95.813v-96zM255.502 614.003h95.813v96h-95.813v-96zM680.67 614.003h95.813v96h-95.813v-96zM858.326 614.003h95.813v96h-95.813v-96zM501.020 620.019h63.875v296h-63.875v-296zM75.852 820.019h95.813v96h-95.813v-96zM253.502 820.019h95.813v96h-95.813v-96zM680.67 820.019h95.813v96h-95.813v-96zM858.326 820.019h95.813v96h-95.813v-96z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "department" + ] + }, + "attrs": [], + "properties": { + "order": 537, + "id": 58, + "prevSize": 16, + "code": 59887, + "name": "department" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 239 + }, + { + "icon": { + "paths": [ + "M0 45.333v170.667h1024v-170.667h-1024zM0 301.333v170.667h1024v-170.667h-1024zM0 557.333v170.667h1024v-170.667h-1024zM0 813.333v170.667h768v-170.667h-768z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "detail" + ] + }, + "attrs": [], + "properties": { + "order": 538, + "id": 57, + "prevSize": 16, + "code": 59888, + "name": "detail" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 240 + }, + { + "icon": { + "paths": [ + "M0 0v1024h862.766v-292h160l-192-192-190 192h158v228h-366.766v-896h366.503v204h-158l190 192 192-192h-160v-268h-560.503zM72 214h290v64h-290zM72 474h290v64h-290zM72 726h290v64h-290z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "displaySwitch" + ] + }, + "attrs": [], + "properties": { + "order": 539, + "id": 56, + "prevSize": 16, + "code": 59889, + "name": "displaySwitch" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 241 + }, + { + "icon": { + "paths": [ + "M120 0v1024h812l20-822-160-202h-672zM216 96h516l124 164-14 668h-626v-832zM298 178v140h146v-140h-146zM524 234v64h252v-64h-252zM298 386v64h478v-64h-478zM298 562v64h478v-64h-478zM298 738v64h478v-64h-478z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "file" + ] + }, + "attrs": [], + "properties": { + "order": 540, + "id": 55, + "prevSize": 16, + "code": 59890, + "name": "file" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 242 + }, + { + "icon": { + "paths": [ + "M0.006 0l0.497 77.36 415.5 392.907v329.797l192 223.936v-551.698l416.664-388.835-0.668-83.467h-1024zM254.006 101.789h514v44.787l-256 242.258-256-246.33-1.997-40.716z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "filter" + ] + }, + "attrs": [], + "properties": { + "order": 541, + "id": 54, + "prevSize": 16, + "code": 59891, + "name": "filter" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 243 + }, + { + "icon": { + "paths": [ + "M278-4c-16.425 0-30 13.575-30 30v132c0 16.425 13.575 30 30 30h132c16.425 0 30-13.575 30-30v-132c0-16.425-13.575-30-30-30h-132zM598-2c-16.425 0-30 13.575-30 30v132c0 16.425 13.575 30 30 30h132c16.425 0 30-13.575 30-30v-132c0-16.425-13.575-30-30-30h-132zM440 250l-270 2-114 274v368h208l30-30v-272l126-2c12.464-1.292 21.634-18.792 20-40v-300zM568 252v300c-1.634 21.208 7.536 38.708 20 40l126 2v272l30 30h208v-368l-114-274-270-2zM56 960v64h238v-64h-238zM714 962v64h238v-64h-238z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "find" + ] + }, + "attrs": [], + "properties": { + "order": 542, + "id": 53, + "prevSize": 16, + "code": 59892, + "name": "find" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 244 + }, + { + "icon": { + "paths": [ + "M96.8 136.576h200.277c43.173-0.136 53.665 12.675 68.962 42.158 0 0 38.028 112.952 79.827 152.074 13.079 12.242 22.734 21.78 49.133 21.78h432.201c53.627 0 96.8 43.571 96.8 97.694v486.13c0 54.122-43.173 97.694-96.8 97.694h-830.399c-53.627 0-96.8-43.571-96.8-97.694v-702.143c0-54.122 43.173-97.694 96.8-97.694z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "folder" + ] + }, + "attrs": [], + "properties": { + "order": 543, + "id": 52, + "prevSize": 16, + "code": 59893, + "name": "folder" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 245 + }, + { + "icon": { + "paths": [ + "M707.2 952.256h-675.52v-870.912h675.52v64h-611.52v742.912h611.52z", + "M737.92 798.272l-45.248-45.248 235.84-235.776-236.544-236.608 45.248-45.248 281.792 281.856z", + "M226.24 484.8h713.664v64h-713.664v-64z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "forceOut" + ] + }, + "attrs": [], + "properties": { + "order": 544, + "id": 51, + "prevSize": 16, + "code": 59894, + "name": "forceOut" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 246 + }, + { + "icon": { + "paths": [ + "M512 0l-224 256h448l-224-256zM256 288l-256 224 256 224v-448zM768 288v448l256-224-256-224zM288 768l224 256 224-256h-448z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "fullScreen" + ] + }, + "attrs": [], + "properties": { + "order": 545, + "id": 50, + "prevSize": 16, + "code": 59895, + "name": "fullScreen" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 247 + }, + { + "icon": { + "paths": [ + "M823.104 510.912c0 89.472-37.376 169.6-96.576 226.688l132.096 132.096c92.096-91.072 149.44-218.112 149.44-358.784v-0.064l-184.96 0.064z", + "M795.392 385.216h195.136c-49.024-191.36-205.312-338.56-400.896-368.896v191.936c92.736 23.616 167.808 89.984 205.76 176.96z", + "M611.392 806.656c-30.464 10.688-62.656 17.344-96.768 17.344-170.304 0-308.352-140.096-308.352-313.152 0-154.752 110.848-282.56 256.256-307.776v-190.272c-248.064 26.432-441.408 239.36-441.408 498.112 0 276.608 220.992 500.864 493.504 500.864 86.72 0 167.424-23.744 238.208-63.68l-141.44-141.44z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "Graphical" + ] + }, + "attrs": [], + "properties": { + "order": 546, + "id": 49, + "prevSize": 16, + "code": 59896, + "name": "Graphical" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 248 + }, + { + "icon": { + "paths": [ + "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512c282.77 0 512-229.23 512-512s-229.23-512-512-512zM508 154c46.383-1.856 85.454 3.072 114 14 28.545 10.93 51.941 26.114 74 44 22.058 17.888 38.725 39.581 48 64 9.273 24.42 13.365 47.981 12 74-1.804 25.729-7.361 51.469-18 76-10.64 24.532-25.936 48.956-46 72-20.065 23.044-44.056 45.493-72 68l-48 38v96h-140v-144c24.721-18.659 47.471-36.070 68-52s40.81-33.788 60-52c19.19-18.211 34.589-37.048 44-58s12.13-42.057 10-60c-3.115-23.536-12.211-39.974-28-52-15.789-12.025-34.516-20.198-56-22-21.485-1.8-39.222 3.978-54 14-13.986 9.106-22.307 19.262-24 30l-6 26-8 4-134 6c1.366-25.281 5.356-50.331 10-72 4.644-21.667 16.939-41.396 38-60 21.061-18.602 46.109-32.135 74-40 27.89-7.863 54.246-12.545 82-14zM428 800h148v94h-148v-94z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "helpTip" + ] + }, + "attrs": [], + "properties": { + "order": 547, + "id": 48, + "prevSize": 16, + "code": 59897, + "name": "helpTip" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 249 + }, + { + "icon": { + "paths": [ + "M368 0v596h-234l364 360h-498v70h1024v-70h-522l388-360h-234v-596h-288z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "hide" + ] + }, + "attrs": [], + "properties": { + "order": 548, + "id": 47, + "prevSize": 16, + "code": 59898, + "name": "hide" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 250 + }, + { + "icon": { + "paths": [ + "M167.615 186.842v487.328l34 73.35h572.385l38-75.226v-33.856h26c104.401 0 188-78.618 188-176.794 0-98.182-83.599-176.8-188-176.8h-26v-98.003zM812 346.912h14c66.898 0 122 51.821 122 114.733 0 62.906-55.102 112.845-122 112.845h-14zM0 843.443l108 180.557h834l82-180.557z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "history" + ] + }, + "attrs": [], + "properties": { + "order": 549, + "id": 46, + "prevSize": 16, + "code": 59899, + "name": "history" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 251 + }, + { + "icon": { + "paths": [ + "M212 6c-86.27 49.558-144 133.862-144 230 0 97.724 59.409 182.82 148 232l24-52c-65.834-40.067-108-105.085-108-180s42.166-141.933 108-182l-28-48zM848 6l-28 48c65.834 40.067 108 107.085 108 182s-42.166 139.933-108 180l24 52c88.591-49.18 148-134.276 148-232 0-96.138-57.73-180.442-144-230zM318 70c-57.742 35.475-98 97.182-98 166 0 69.953 40.705 130.796 100 166l16-38c-44.064-28.681-72-74.374-72-128s27.936-101.319 72-130l-18-36zM742 70l-18 36c44.064 28.681 72 76.374 72 130s-27.936 99.319-72 128l16 38c59.295-35.204 100-96.047 100-166 0-68.818-40.258-130.525-98-166zM406 140c-33.569 20.623-56 55.993-56 96 0 40.667 23.529 75.534 58 96l10-22c-25.617-16.673-42-42.824-42-74s16.383-59.327 42-76l-12-20zM654 140l-12 20c25.617 16.673 42 44.824 42 76s-16.383 57.327-42 74l10 22c34.471-20.466 58-55.333 58-96 0-40.007-22.431-75.377-56-96zM480 194l-28 830h156l-28-830h-100z", + "M218.989 560.393h121.908v463.389h-121.908v-463.389z", + "M88 655.783v368h152v-368h-152zM114 671.783h26v346h-26v-346z", + "M-4.535 844.191h99.537v179.809h-99.537v-179.809z", + "M592.5 803.154h82.665v223.6h-82.665v-223.6z", + "M662.092 580.19h78.332v446.564h-78.332v-446.564z", + "M738 706v318h94v-318h-94zM758 734h20v262h-20v-262z", + "M808 816v208h174v-208h-174zM864 860h82v146h-82v-146z", + "M967.595 914.101h68.362v109.899h-68.362v-109.899z", + "M331.201 818.275v208h143.859v-208h-143.859zM377.501 862.275h67.796v146h-67.796v-146z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "launchingTower" + ] + }, + "attrs": [], + "properties": { + "order": 550, + "id": 45, + "prevSize": 16, + "code": 59900, + "name": "launchingTower" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 252 + }, + { + "icon": { + "paths": [ + "M0 0v160h64v864h896v-864h64v-160h-1024zM192 258h640v640h-640v-640zM400 330l-172 174 172 174v-114h112v-124h-112v-110zM624 516v110h-112v124h112v114l172-174-172-174z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "layout" + ] + }, + "attrs": [], + "properties": { + "order": 551, + "id": 44, + "prevSize": 16, + "code": 59901, + "name": "layout" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 253 + }, + { + "icon": { + "paths": [ + "M1024 0v1024h-736.508v-1024zM168.136 0v1024h-168.136v-1024zM635.932 330l-182 182 182 182v-122h232v-120h-232z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "legendhide" + ] + }, + "attrs": [], + "properties": { + "order": 552, + "id": 43, + "prevSize": 16, + "code": 59902, + "name": "legendhide" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 254 + }, + { + "icon": { + "paths": [ + "M0 0v1024h602v-1024h-602zM704 0v1024h320v-1024h-320zM778 136h172v86h-172v-86zM336 330l182 182-182 182v-122h-232v-120h232v-122zM778 376h172v86h-172v-86zM778 616h172v86h-172v-86zM778 854h172v88h-172v-88z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "legendshow" + ] + }, + "attrs": [], + "properties": { + "order": 553, + "id": 42, + "prevSize": 16, + "code": 59903, + "name": "legendshow" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 255 + }, + { + "icon": { + "paths": [ + "M174 0c-95.761 0-174 78.239-174 174s78.239 172 174 172c30.236 0 57.252-6.394 82-20l442 442c-13.606 24.748-20 51.764-20 82 0 95.761 76.239 174 172 174s174-78.239 174-174c0-95.761-78.239-172-174-172-30.57 0-59.061 6.113-84 20l-442-438c14.951-25.628 22-54.19 22-86 0-95.761-76.239-174-172-174zM174 86c47.881 0 86 40.119 86 88s-38.119 86-86 86c-47.881 0-88-38.119-88-86s40.119-88 88-88zM850 764c47.881 0 88 38.119 88 86s-40.119 88-88 88c-47.881 0-86-40.119-86-88s38.119-86 86-86z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "link" + ] + }, + "attrs": [], + "properties": { + "order": 554, + "id": 41, + "prevSize": 16, + "code": 59904, + "name": "link" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 256 + }, + { + "icon": { + "paths": [ + "M510 8c-203.422 0-367.735 153.347-370 344h92c2.507-130.677 125.564-236 278-236s277.452 105.323 280 236h92c-2.292-190.653-168.578-344-372-344zM156 416c-56.19 0-102 43.81-102 100v406c0 56.19 45.81 102 102 102h710c56.19 0 102-45.81 102-102v-406c0-56.19-45.81-100-102-100h-710zM510 586c37.842 0 68 30.158 68 68 0 20.924-9.216 41.432-24 54v170h-90v-170c-14.784-12.568-24-33.076-24-54 0-37.842 32.158-68 70-68z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "lock" + ] + }, + "attrs": [], + "properties": { + "order": 555, + "id": 40, + "prevSize": 16, + "code": 59905, + "name": "lock" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 257 + }, + { + "icon": { + "paths": [ + "M839.68 794.944l-469.12-469.12 325.824-325.824h-696.384v696.384l325.312-325.312 469.12 469.12z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "ltArrow" + ] + }, + "attrs": [], + "properties": { + "order": 556, + "id": 39, + "prevSize": 16, + "code": 59906, + "name": "ltArrow" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 258 + }, + { + "icon": { + "paths": [ + "M384 0c-211.661 0-384 172.339-384 384s172.339 382 384 382c72.935 0 139.963-20.633 198-56 3.407 7.108 8.094 14.094 14 20l270 272c27.919 27.919 74.081 27.919 102 0l34-36c27.919-27.919 27.919-72.081 0-100l-272-272c-5.848-5.848-10.97-10.602-18-14 34.492-57.525 54-124.046 54-196 0-211.661-170.339-384-382-384zM384 104c153.936 0 278 126.064 278 280s-124.064 278-278 278c-153.936 0-280-124.064-280-278s126.064-280 280-280z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "Magnifier" + ] + }, + "attrs": [], + "properties": { + "order": 557, + "id": 38, + "prevSize": 16, + "code": 59907, + "name": "Magnifier" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 259 + }, + { + "icon": { + "paths": [ + "M512.064 0c-282.368 0-512.064 229.632-512.064 512 0 282.432 229.696 512 512.064 512 282.304 0 511.936-229.632 511.936-512s-229.632-512-511.936-512zM512.064 960c-247.040 0-448.064-201.024-448.064-448 0-247.040 201.024-448 448.064-448 246.976 0 447.936 200.96 447.936 448 0 246.976-200.96 448-447.936 448z", + "M734.976 372.224l20.672-55.808-49.408-32.896-3.84-59.392-58.56-9.856-27.52-52.672-57.728 14.72-46.592-36.864-46.656 36.864-57.6-14.72-27.52 52.672-58.688 9.92-3.712 59.392-49.536 32.832 20.672 55.808-31.808 50.24 41.536 42.496-8.64 58.816 55.296 21.824 13.952 49.92-88.64 237.504 91.648-25.152 46.656 76.736 97.92-262.272 5.12-2.56 3.264 1.6 95.488 255.872 46.656-76.608 91.648 25.152-84.992-227.776 14.656-52.416 55.296-21.824-8.704-58.816 41.6-42.496-31.936-50.24zM626.176 538.88l-105.024 39.104c-3.072 0.256-6.016 1.024-9.152 1.024-19.968 0-38.784-4.032-56.768-9.728l-21.44-8.064c-63.552-29.568-107.904-93.568-107.904-168.32 0-102.848 83.328-186.176 186.112-186.176 102.848 0 186.112 83.328 186.112 186.176 0 59.52-28.416 111.936-71.936 145.984z", + "M669.12 392.832c0 86.775-70.345 157.12-157.12 157.12s-157.12-70.345-157.12-157.12c0-86.775 70.345-157.12 157.12-157.12s157.12 70.345 157.12 157.12z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "Maintain" + ] + }, + "attrs": [], + "properties": { + "order": 558, + "id": 37, + "prevSize": 16, + "code": 59908, + "name": "Maintain" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 260 + }, + { + "icon": { + "paths": [ + "M177.898 320v704h704v-704zM273.457 599.763h512.883v326.237h-512.883z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "maximize" + ] + }, + "attrs": [], + "properties": { + "order": 559, + "id": 36, + "prevSize": 16, + "code": 59909, + "name": "maximize" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 261 + }, + { + "icon": { + "paths": [ + "M634.117 13.088c-39.104-22.577-87.176-9.696-109.753 29.408l-9.772 16.925 330.977 191.089 9.772-16.925c22.577-39.104 9.696-87.176-29.408-109.752l-191.816-110.745zM492.879 97.032l-300.749 520.912 330.977 191.089 300.749-520.912-330.976-191.089zM519.824 215.392l60.178 34.744-210.633 364.826-60.178-34.744 210.633-364.826zM647.702 289.222l60.178 34.744-210.633 364.826-60.178-34.743 210.633-364.826zM148.7 693.166l28.686 332.494 302.291-141.404-330.977-191.089z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "modify" + ] + }, + "attrs": [], + "properties": { + "order": 560, + "id": 35, + "prevSize": 16, + "code": 59910, + "name": "modify" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 262 + }, + { + "icon": { + "paths": [ + "M508.608 9.6c-282.368 0-512.064 229.696-512.064 512 0 282.432 229.696 512 512.064 512 282.304 0 511.936-229.632 512-512 0-282.368-229.632-512-512-512zM508.608 969.6c-247.040 0-448.064-201.024-448.064-448s201.024-448 448.064-448 447.936 201.024 448 448c0 246.976-200.96 448-448 448z", + "M610.048 709.504h-203.008v33.856h-168.96v64h540.928v-64h-168.96z", + "M206.080 666.624h604.928v-429.312h-604.928v429.312zM749.056 617.024h-68.032v-28.032h68.032v28.032zM270.080 301.312h476.928v250.688h-476.928v-250.688z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "Monitor" + ] + }, + "attrs": [], + "properties": { + "order": 561, + "id": 34, + "prevSize": 16, + "code": 59911, + "name": "Monitor" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 263 + }, + { + "icon": { + "paths": [ + "M497.019 10c-30.138 0-54 30.398-54 69.728v354.615l-62 15.938h-6v-241.058c0-39.33-23.862-71.72-54-71.72s-54 32.39-54 71.72v316.763l-44 63.751-10 13.946-100-99.611c-27.919-27.811-70.929-28.958-96-3.984s-21.919 67.816 6 95.626l212 209.183c31.677 130.522 169.028 229.105 332 229.105 175.44 0 317.928-115.646 334-260.981 2.746-8.499 4-16.066 4-25.899v-414.381c0-39.33-23.862-71.72-54-71.72s-56 32.39-56 71.72v153.401l-34-9.961-32-17.93v-318.755c0-39.33-25.862-71.72-56-71.72s-54 32.39-54 71.72v288.872l-44-1.992-24-3.984v-342.661c0-39.33-23.862-69.728-54-69.728z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "move" + ] + }, + "attrs": [], + "properties": { + "order": 562, + "id": 33, + "prevSize": 16, + "code": 59912, + "name": "move" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 264 + }, + { + "icon": { + "paths": [ + "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512c282.77 0 512-229.23 512-512s-229.23-512-512-512zM488 174h48c31.119 0 56 24.881 56 56v202h204c31.119 0 56 24.881 56 56v48c0 31.119-24.881 56-56 56h-204v204c0 31.119-24.881 56-56 56h-48c-31.119 0-56-24.881-56-56v-204h-204c-31.119 0-56-24.881-56-56v-48c0-31.119 24.881-56 56-56h204v-202c0-31.119 24.881-56 56-56z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "new" + ] + }, + "attrs": [], + "properties": { + "order": 563, + "id": 32, + "prevSize": 16, + "code": 59913, + "name": "new" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 265 + }, + { + "icon": { + "paths": [ + "M370 0v100h132v322h-132v98h-170v504h800v-810l-194-214h-436zM150 56v132h-132v128h132v132h128v-132h132v-128h-132v-132h-128zM704 504l204 204-198 198-2-132h-244v-156h242l-2-114zM352 616h40v158h-40v-158z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "newShortcut" + ] + }, + "attrs": [], + "properties": { + "order": 564, + "id": 31, + "prevSize": 16, + "code": 59914, + "name": "newShortcut" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 266 + }, + { + "icon": { + "paths": [ + "M800 0v82l-284 6h-32v390h-342v-88h120v-262h-262v262h78v154h406v384h316v96h224v-224h-224v64h-252v-320h252v80h224v-224h-224v78h-252v-326l252-6v78h224v-224h-224zM880 80h64v64h-64v-64zM880 480h64v64h-64v-64zM880 880h64v64h-64v-64z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "openTree" + ] + }, + "attrs": [], + "properties": { + "order": 565, + "id": 30, + "prevSize": 16, + "code": 59915, + "name": "openTree" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 267 + }, + { + "icon": { + "paths": [ + "M448 0v320h576v-320h-576zM0 448v576h1024v-576h-1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "poNode" + ] + }, + "attrs": [], + "properties": { + "order": 566, + "id": 29, + "prevSize": 16, + "code": 59916, + "name": "poNode" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 268 + }, + { + "icon": { + "paths": [ + "M272 0v200h480v-200h-480zM98 112c-54.122 0-98 43.878-98 98v358c0 54.122 43.878 98 98 98h828c54.122 0 98-43.878 98-98v-358c0-54.122-43.878-98-98-98h-110v168h-608v-168h-110zM284 724v300h484v-300h-484zM330 786h364v52h-364v-52zM332 894h264v50h-264v-50z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "print" + ] + }, + "attrs": [], + "properties": { + "order": 567, + "id": 28, + "prevSize": 16, + "code": 59917, + "name": "print" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 269 + }, + { + "icon": { + "paths": [ + "M186.869 0v1024h640v-1024h-640zM304.869 134.003h404v133.997h-404v-133.997zM304.869 502.003h186v64h-186v-64zM304.869 732h186v64h-186v-64z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "product" + ] + }, + "attrs": [], + "properties": { + "order": 568, + "id": 27, + "prevSize": 16, + "code": 59918, + "name": "product" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 270 + }, + { + "icon": { + "paths": [ + "M184.32 229.056l469.12 469.12-325.824 325.824h696.384v-696.384l-325.312 325.312-469.12-469.12z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "rbArrow" + ] + }, + "attrs": [], + "properties": { + "order": 569, + "id": 26, + "prevSize": 16, + "code": 59919, + "name": "rbArrow" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 271 + }, + { + "icon": { + "paths": [ + "M169.25 320v456h203.925v248h500.075v-456h-203.925v-248zM239.752 500h362.35v68h-228.928v110h-133.422zM443.677 746h360.71v178h-360.71z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "reduction" + ] + }, + "attrs": [], + "properties": { + "order": 570, + "id": 25, + "prevSize": 16, + "code": 59920, + "name": "reduction" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 272 + }, + { + "icon": { + "paths": [ + "M514 54c-101.166 0-194.73 36.006-268 98l-158-94 88 354 368-86-194-110c48.27-30.912 103.639-52 164-52 157.484 0 288.023 121.916 314 280l102-32c-38.978-204.361-210.106-358-416-358zM188 584l-100 32c38.978 204.361 208.106 358 414 358 101.166 0 194.73-36.006 268-98l160 94-88-354-368 84 194 112c-48.27 30.911-105.639 52-166 52-157.484 0-288.023-121.916-314-280z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "refresh" + ] + }, + "attrs": [], + "properties": { + "order": 571, + "id": 24, + "prevSize": 16, + "code": 59921, + "name": "refresh" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 273 + }, + { + "icon": { + "paths": [ + "M56 0c-31.119 0-56 24.881-56 56v618c0 31.119 24.881 56 56 56 0 0 226.78 4.516 260.648 0v-176c0-34.183 27.817-62 62-62h87.352l-36-92h-164l-34 94h-88l160-418h88l166 416h52.899c34.183 0 62 27.817 62 62v72h57.101v-570c0-31.119-24.881-56-56-56zM348 172l-56 156h112zM414 556v322.99h412v143.343l202-209.343-202-224.847v144.847h-266v-176.99z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "rename" + ] + }, + "attrs": [], + "properties": { + "order": 572, + "id": 23, + "prevSize": 16, + "code": 59922, + "name": "rename" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 274 + }, + { + "icon": { + "paths": [ + "M0 0v1024h1024v-856l-154-168h-870zM158 150h414v138h192v-138h102v240h-708v-240zM158 502h708v406h-708v-406zM254 596v76h516v-76h-516zM254 762v76h516v-76h-516z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "save" + ] + }, + "attrs": [], + "properties": { + "order": 573, + "id": 22, + "prevSize": 16, + "code": 59923, + "name": "save" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 275 + }, + { + "icon": { + "paths": [ + "M0 0l486 1024 96-396 442-142-1024-486zM156 168l666 304-308 82-60 234-298-620z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "select" + ] + }, + "attrs": [], + "properties": { + "order": 574, + "id": 21, + "prevSize": 16, + "code": 59924, + "name": "select" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 276 + }, + { + "icon": { + "paths": [ + "M68 0c-38.145 0-68 31.069-68 70v52c0 38.931 29.855 70 68 70h888c38.145 0 68-31.069 68-70v-52c0-38.931-29.855-70-68-70h-888zM68 268c-38.145 0-68 29.855-68 68v620c0 38.145 29.855 68 68 68h888c38.145 0 68-29.855 68-68v-620c0-38.145-29.855-68-68-68h-888zM810 388l124 10-460 528-320-264 144-124 154 222 358-372z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "selectAll" + ] + }, + "attrs": [], + "properties": { + "order": 575, + "id": 20, + "prevSize": 16, + "code": 59925, + "name": "selectAll" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 277 + }, + { + "icon": { + "paths": [ + "M354 2l-352 264 352 266v-140h434v278h-234v-64h-204v204h204v-76h104v188h-454v-98h-204v204h204v-42h518v-252h130v-342h172v-252h-670v-138z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "selectLeft" + ] + }, + "attrs": [], + "properties": { + "order": 576, + "id": 19, + "prevSize": 16, + "code": 59926, + "name": "selectLeft" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 278 + }, + { + "icon": { + "paths": [ + "M670 2l352 264-352 266v-140h-434v278h234v-64h204v204h-204v-76h-104v188h454v-98h204v204h-204v-42h-518v-252h-130v-342h-172v-252h670v-138z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "selectRight" + ] + }, + "attrs": [], + "properties": { + "order": 577, + "id": 18, + "prevSize": 16, + "code": 59927, + "name": "selectRight" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 279 + }, + { + "icon": { + "paths": [ + "M0 0v356h486l-352 348h234v250h-368v70h1024v-70h-368v-250h234l-374-348h508v-356h-1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "show" + ] + }, + "attrs": [], + "properties": { + "order": 578, + "id": 17, + "prevSize": 16, + "code": 59928, + "name": "show" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 280 + }, + { + "icon": { + "paths": [ + "M512 237.682l-512 786.318h1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "shrink" + ] + }, + "attrs": [], + "properties": { + "order": 579, + "id": 16, + "prevSize": 16, + "code": 59929, + "name": "shrink" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 281 + }, + { + "icon": { + "paths": [ + "M154 0c-85.352 0-154 68.648-154 154v716c0 85.352 68.648 154 154 154h716c85.352 0 154-68.648 154-154v-716c0-85.352-68.648-154-154-154h-716zM190 128h644c34.183 0 62 27.817 62 62v644c0 34.183-27.817 62-62 62h-644c-34.183 0-62-27.817-62-62v-644c0-34.183 27.817-62 62-62zM272 202v620l518-310-518-310z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "start" + ] + }, + "attrs": [], + "properties": { + "order": 580, + "id": 15, + "prevSize": 16, + "code": 59930, + "name": "start" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 282 + }, + { + "icon": { + "paths": [ + "M154 0c-85.352 0-154 68.648-154 154v716c0 85.352 68.648 154 154 154h716c85.352 0 154-68.648 154-154v-716c0-85.352-68.648-154-154-154h-716zM190 128h644c34.183 0 62 27.817 62 62v644c0 34.183-27.817 62-62 62h-644c-34.183 0-62-27.817-62-62v-644c0-34.183 27.817-62 62-62zM296 296v432h432v-432h-432z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "stop" + ] + }, + "attrs": [], + "properties": { + "order": 581, + "id": 14, + "prevSize": 16, + "code": 59931, + "name": "stop" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 283 + }, + { + "icon": { + "paths": [ + "M512 1024l-512-786.318h1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "stretch" + ] + }, + "attrs": [], + "properties": { + "order": 582, + "id": 13, + "prevSize": 16, + "code": 59932, + "name": "stretch" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 284 + }, + { + "icon": { + "paths": [ + "M194 0c-107.068 0-194 82.412-194 184v656c0 101.588 86.932 184 194 184h636c107.068 0 194-82.412 194-184v-656c0-101.588-86.932-184-194-184h-636zM256 166l254 254 254-254 92 90-256 254 258 258-90 90-258-258-258 258-90-90 258-258-254-254 90-90z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "strikeOut" + ] + }, + "attrs": [], + "properties": { + "order": 583, + "id": 12, + "prevSize": 16, + "code": 59933, + "name": "strikeOut" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 285 + }, + { + "icon": { + "paths": [ + "M494.591 0.25c-104.514 3.264-208.762 40.365-296.56 108.41 54.963 14.432 104.846 45.722 142.015 91.731 26.183 32.416 43.293 69.434 52.211 108.41 7.471-4.416 15.182-6.931 22.973-10.419 92.228-41.331 202.903-21.402 273.587 58.374 2.3 2.624 4.099 5.696 6.266 8.339 38.539-10.528 75.134-28.589 106.511-56.294 44.602-39.379 72.015-90.355 83.538-145.939-104.684-110.842-248.067-167.085-390.54-162.611zM129.112 171.2c-154.656 173.299-171.74 430.515-43.857 623.366 14.934-42.534 37.92-81.523 73.096-112.576 40.821-36.064 90.261-55.533 142.015-62.547-39.251-78.547-32.851-174.438 18.796-246.010-8.527-40.979-24.855-80.813-52.211-114.669-35.942-44.499-84.853-73.018-137.838-87.565zM945.696 242.086c-12.714 52.192-39.333 100.41-81.45 137.6-37.012 32.678-81.354 51.789-127.396 60.461 26.015 79.027 6.736 167.418-52.211 231.411 19.428 31.75 44.529 59.674 77.273 81.312 53.569 35.405 115.945 48.032 177.518 41.696 109.728-165.357 113.583-382.061 6.266-552.48zM356.753 690.33c-49.599 7.29-96.216 27.635-135.749 62.541-37.037 32.698-60.956 73.747-75.184 118.835 189.751 193.376 500.447 204.333 705.897 22.938 7.2-6.336 14.128-12.109 20.885-18.771-56.711 3.136-113.526-11.149-162.899-43.776-41.445-27.398-71.715-65.645-91.892-108.41-84.866 42.72-188.114 30.099-261.056-33.357z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "Synchronous" + ] + }, + "attrs": [], + "properties": { + "order": 584, + "id": 11, + "prevSize": 16, + "code": 59934, + "name": "Synchronous" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 286 + }, + { + "icon": { + "paths": [ + "M517.312 51.648c-261.504 0-474.24 212.736-474.24 474.24s212.736 474.24 474.24 474.24c261.44 0 474.176-212.736 474.176-474.24s-212.736-474.24-474.176-474.24zM517.312 936.128c-226.24 0-410.24-184.064-410.24-410.24 0-226.24 184-410.24 410.24-410.24 226.176 0 410.176 184 410.176 410.24 0 226.176-184 410.24-410.176 410.24z", + "M498.624 196.288l-45.312 45.248 245.632 245.632h-445.184v64h457.536l-244.16 244.224 45.248 45.248 315.264-315.328z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "toRight" + ] + }, + "attrs": [], + "properties": { + "order": 585, + "id": 10, + "prevSize": 16, + "code": 59935, + "name": "toRight" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 287 + }, + { + "icon": { + "paths": [ + "M172 0c-95.48 0-172 76.52-172 172v680c0 95.48 76.52 172 172 172h680c95.48 0 172-76.52 172-172v-680c0-95.48-76.52-172-172-172h-680zM244 178h432l104 132v536h-536v-668zM326 306v78h200v-78h-200zM328 478v76h374v-76h-374zM320 648v78h384v-78h-384z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "treefile" + ] + }, + "attrs": [], + "properties": { + "order": 586, + "id": 9, + "prevSize": 16, + "code": 59936, + "name": "treefile" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 288 + }, + { + "icon": { + "paths": [ + "M172 0c-95.48 0-172 76.52-172 172v680c0 95.48 76.52 172 172 172h680c95.48 0 172-76.52 172-172v-680c0-95.48-76.52-172-172-172zM238.712 241.729h206.949c27.848 0 50.787 21.897 50 48v144h316c28.751 0 52 23.249 52 52v266.237c0 28.751-23.249 52-52 52h-568.949c-28.751 0-51.098-23.263-52-52v-462.237c0-26.115 20.152-48 48-48z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "treeFolder" + ] + }, + "attrs": [], + "properties": { + "order": 587, + "id": 8, + "prevSize": 16, + "code": 59937, + "name": "treeFolder" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 289 + }, + { + "icon": { + "paths": [ + "M510 8c-202.717 0-366.626 152.266-370 342-0.012 0.659 0.008 1.34 0 2v66c-48.364 7.619-86 47.443-86 98v406c0 56.19 45.81 102 102 102h710c56.19 0 102-45.81 102-102v-406c0-56.19-45.81-100-102-100h-634v-66c3.722-129.746 126.346-234 278-234 125.236 0 230.961 71.332 266.403 169.184 9.788 9.965 18.88 19.916 30.894 22.829 12.716 3.084 41.895 4.16 53.558-6.145 7.663-6.77 13.476-15.71 11.628-22.481-37.206-155.677-185.523-271.387-362.482-271.387zM510 586c37.842 0 68 30.158 68 68 0 20.924-9.216 41.432-24 54v170h-90v-170c-14.784-12.568-24-33.076-24-54 0-37.842 32.158-68 70-68z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "unlock" + ] + }, + "attrs": [], + "properties": { + "order": 588, + "id": 7, + "prevSize": 16, + "code": 59938, + "name": "unlock" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 290 + }, + { + "icon": { + "paths": [ + "M430.051 1.837c-113.748 0-204 92.25-204 206.003 0 113.747 90.252 205.997 204 205.997s206-92.25 206-205.997c0-113.754-92.252-206.003-206-206.003zM260.051 423.84c-293.451 164.71-256.921 447.763-260 437.997h378c24.631-42.662 62.629-86.432 126-121.997l12-38.003v-1.984c-0.602-0.704-1.411-1.28-2-1.984-16.909-20.928-28.629-51.814-30-97.997 0-62.336 42.539-115.219 100-130.003l4-1.984v-1.984l14-41.997c-37.012 47.104-100.907 80-172 80s-132.988-32.896-170-80zM688.051 467.84c-73.692 0-134 58.304-134 132 0 73.69 60.308 133.997 134 133.997s132-60.307 132-133.997c0-73.696-58.308-132-132-132zM576.051 739.84c-190.112 106.707-166.005 290.323-168 284h558c-1.994 6.336 22.112-177.293-168-284-23.978 30.515-63.943 52-110 52s-88.022-21.485-112-52z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "userCompare" + ] + }, + "attrs": [], + "properties": { + "order": 589, + "id": 6, + "prevSize": 16, + "code": 59939, + "name": "userCompare" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 291 + }, + { + "icon": { + "paths": [ + "M512 0c-135.256 0-243.927 108.883-243.927 244.403 0 135.526 108.671 246.413 243.927 246.413s243.927-110.886 243.927-246.413c0-135.52-108.671-244.403-243.927-244.403zM308.061 502.842c-348.938 196.237-304.247 532.493-307.907 520.864h1023.692c-3.66 11.629 41.030-324.627-307.907-520.864-44.011 56.115-119.403 94.15-203.939 94.15-50.341 0-96.799-15.302-135.959-38.061 100.275 77.171 212.359 110.496 331.9 118.195l3.999-152.256 235.929 208.346-213.936 242.406-11.996-138.234c-166.671-50.202-400.945-148.48-413.876-334.547z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "userDispatch" + ] + }, + "attrs": [], + "properties": { + "order": 590, + "id": 5, + "prevSize": 16, + "code": 59940, + "name": "userDispatch" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 292 + }, + { + "icon": { + "paths": [ + "M130 0c-71.877 0-130 58.123-130 130v764c0 71.877 58.123 130 130 130h764c71.877 0 130-58.123 130-130v-506l-388-388h-506zM772 0l252 252v-122c0-71.877-58.123-130-130-130h-122zM56 352h76l64 102 62-102h76l-100 156 110 164h-78l-72-110-70 110h-78l110-168-100-152zM376 352h98l58 218 58-218h96v320h-60v-252l-64 252h-62l-64-252v252h-60v-320zM752 354h66v264h160v54h-226v-318z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "xml" + ] + }, + "attrs": [], + "properties": { + "order": 591, + "id": 4, + "prevSize": 16, + "code": 59941, + "name": "xml" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 293 + }, + { + "icon": { + "paths": [ + "M638 2c-211.661 0-382 172.339-382 384 0 71.954 19.508 138.475 54 196-7.030 3.398-12.152 8.152-18 14l-272 272c-27.919 27.919-27.919 72.081 0 100l34 36c27.919 27.919 74.081 27.919 102 0l270-272c5.906-5.906 10.593-12.892 14-20 58.037 35.367 125.065 56 198 56 211.661 0 384-170.339 384-382s-172.339-384-384-384zM638 106c153.936 0 280 126.064 280 280s-126.064 278-280 278c-153.936 0-278-124.064-278-278s124.064-280 278-280zM620 194c-25.053 0-46 20.947-46 46v84h-84c-25.053 0-44 18.947-44 44v38c0 25.053 18.947 46 44 46h84v84c0 25.053 20.947 44 46 44h38c25.053 0 44-18.947 44-44v-84h84c25.053 0 46-20.947 46-46v-38c0-25.053-20.947-44-46-44h-84v-84c0-25.053-18.947-46-44-46h-38z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "zoomIn" + ] + }, + "attrs": [], + "properties": { + "order": 592, + "id": 3, + "prevSize": 16, + "code": 59942, + "name": "zoomIn" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 294 + }, + { + "icon": { + "paths": [ + "M638.939 1.061c211.661 0 384 172.339 384 384s-172.339 382-384 382c-72.935 0-139.963-20.633-198-56-3.407 7.108-8.094 14.094-14 20l-270 272c-27.919 27.919-74.081 27.919-102 0l-34-36c-27.919-27.919-27.919-72.081 0-100l272-272c5.848-5.848 10.97-10.602 18-14-34.492-57.525-54-124.046-54-196 0-211.661 170.339-384 382-384zM638.939 105.061c-153.936 0-278 126.064-278 280s124.064 278 278 278c153.936 0 280-124.064 280-278s-126.064-280-280-280z", + "M490.9 323.499h295.725c24.975 0 45.222 20.247 45.222 45.222v37.556c0 24.975-20.247 45.222-45.222 45.222h-295.725c-24.975 0-45.222-20.247-45.222-45.222v-37.556c0-24.975 20.247-45.222 45.222-45.222z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "zoomOut" + ] + }, + "attrs": [], + "properties": { + "order": 593, + "id": 2, + "prevSize": 16, + "code": 59943, + "name": "zoomOut" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 295 + }, + { + "icon": { + "paths": [ + "M0 0v172l172-172h-172zM852 0l172 172v-172h-172zM128 128v768h768v-768h-768zM234 254h556v272l-42-56-72 86-66-194-114 230-104-122-158 162v-378zM0 852v172h172l-172-172zM1024 852l-172 172h172v-172z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "zoomOverView" + ] + }, + "attrs": [], + "properties": { + "order": 594, + "id": 1, + "prevSize": 16, + "code": 59944, + "name": "zoomOverView" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 296 + }, + { + "icon": { + "paths": [ + "M388 0l114 128 114-128h-228zM502 128h-374v768h768v-768h-394zM896 470l128 114v-228l-128 114zM512 896l-114 128h226l-112-128zM128 472l-128-112v226l128-114zM234 254h556v272l-42-56-72 86-66-194-114 230-104-122-158 162v-378z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "zoomReset" + ] + }, + "attrs": [], + "properties": { + "order": 595, + "id": 0, + "prevSize": 16, + "code": 59945, + "name": "zoomReset" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 297 + } + ], + "height": 1024, + "metadata": { + "name": "ZteIctIcons" + }, + "preferences": { + "showGlyphs": true, + "showQuickUse": true, + "showQuickUse2": true, + "showSVGs": true, + "fontPref": { + "prefix": "ict-", + "metadata": { + "fontFamily": "ZteIctIcons", + "majorVersion": 1, + "minorVersion": 0 + }, + "metrics": { + "emSize": 1024, + "baseline": 6.25, + "whitespace": 50 + }, + "embed": false + }, + "imagePref": { + "prefix": "icon-", + "png": true, + "useClassSelector": true, + "color": 4473924, + "bgColor": 16777215, + "classSelector": ".icon" + }, + "historySize": 100, + "showCodes": true, + "gridSize": 16, + "showLiga": false + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/style.css b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/style.css new file mode 100644 index 00000000..e014cbe1 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/style.css @@ -0,0 +1,921 @@ +@font-face { + font-family: 'ZteIctIcons'; + src: url('fonts/ZteIctIcons.eot?whxm2m'); + src: url('fonts/ZteIctIcons.eot?whxm2m#iefix') format('embedded-opentype'), + url('fonts/ZteIctIcons.ttf?whxm2m') format('truetype'), + url('fonts/ZteIctIcons.woff?whxm2m') format('woff'), + url('fonts/ZteIctIcons.svg?whxm2m#ZteIctIcons') format('svg'); + font-weight: normal; + font-style: normal; +} + +[class^="ict-"], [class*=" ict-"] { + /* use !important to prevent issues with browser extensions that change fonts */ + font-family: 'ZteIctIcons' !important; + speak: none; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + + /* Better Font Rendering =========== */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.ict-it-other-lenovo:before { + content: "\e900"; +} +.ict-it-router-alu7750:before { + content: "\e901"; +} +.ict-it-other-nds:before { + content: "\e902"; +} +.ict-it-other-php:before { + content: "\e903"; +} +.ict-it-app-glassfish:before { + content: "\e904"; +} +.ict-it-other-telnet:before { + content: "\e905"; +} +.ict-it-other-dns:before { + content: "\e906"; +} +.ict-it-other-url:before { + content: "\e907"; +} +.ict-it-database-mysql:before { + content: "\e908"; +} +.ict-it-other-ping:before { + content: "\e909"; +} +.ict-it-other-ftp:before { + content: "\e90a"; +} +.ict-it-other-rest:before { + content: "\e90b"; +} +.ict-it-other-soap:before { + content: "\e90c"; +} +.ict-it-server-macos:before { + content: "\e90d"; +} +.ict-it-server-openbsd:before { + content: "\e90e"; +} +.ict-it-server-debian:before { + content: "\e90f"; +} +.ict-it-app-iis:before { + content: "\e910"; +} +.ict-it-app-mailserver:before { + content: "\e911"; +} +.ict-it-app-websphere:before { + content: "\e912"; +} +.ict-it-app-apache:before { + content: "\e913"; +} +.ict-it-app-jboss:before { + content: "\e914"; +} +.ict-it-other-a10bala:before { + content: "\e915"; +} +.ict-NFV:before { + content: "\e916"; +} +.ict-VNFM:before { + content: "\e917"; +} +.ict-VNF:before { + content: "\e918"; +} +.ict-VNFC:before { + content: "\e919"; +} +.ict-VIM:before { + content: "\e91a"; +} +.ict-VDU:before { + content: "\e91b"; +} +.ict-host:before { + content: "\e91c"; +} +.ict-NS:before { + content: "\e91d"; +} +.ict-it-cluster-vcs:before { + content: "\e91e"; +} +.ict-it-diskraid-hpeva:before { + content: "\e91f"; +} +.ict-it-diskraid-zte:before { + content: "\e920"; +} +.ict-it-firewall-h3c:before { + content: "\e921"; +} +.ict-it-other-ibm-blade:before { + content: "\e922"; +} +.ict-it-other-secfox:before { + content: "\e923"; +} +.ict-it-other-segw:before { + content: "\e924"; +} +.ict-it-other-zteatca:before { + content: "\e925"; +} +.ict-it-other-zteips:before { + content: "\e926"; +} +.ict-it-sdn-controller:before { + content: "\e927"; +} +.ict-it-server-hpux:before { + content: "\e928"; +} +.ict-it-storage-ops:before { + content: "\e929"; +} +.ict-it-storage-sanswitch-brocade:before { + content: "\e92a"; +} +.ict-uep-moc-uca-public:before { + content: "\e92b"; +} +.ict-uep-topo-commongroup20x20:before { + content: "\e92c"; +} +.ict-vapel_chgpile:before { + content: "\e92d"; +} +.ict-car:before { + content: "\e92e"; +} +.ict-chgpile:before { + content: "\e92f"; +} +.ict-chgposition:before { + content: "\e930"; +} +.ict-chgstation:before { + content: "\e931"; +} +.ict-common_dc:before { + content: "\e932"; +} +.ict-common_ncd:before { + content: "\e933"; +} +.ict-common_ncd_break:before { + content: "\e934"; +} +.ict-common_sc:before { + content: "\e935"; +} +.ict-it:before { + content: "\e936"; +} +.ict-it-app:before { + content: "\e937"; +} +.ict-it-app-bind:before { + content: "\e938"; +} +.ict-it-app-dns:before { + content: "\e939"; +} +.ict-it-app-ems:before { + content: "\e93a"; +} +.ict-it-app-mediator:before { + content: "\e93b"; +} +.ict-it-app-ntp:before { + content: "\e93c"; +} +.ict-it-app-ota:before { + content: "\e93d"; +} +.ict-it-app-tomcat:before { + content: "\e93e"; +} +.ict-it-app-trend:before { + content: "\e93f"; +} +.ict-it-app-tsm:before { + content: "\e940"; +} +.ict-it-app-weblogic:before { + content: "\e941"; +} +.ict-it-cluster:before { + content: "\e942"; +} +.ict-it-cluster-hacmp:before { + content: "\e943"; +} +.ict-it-cluster-nec:before { + content: "\e944"; +} +.ict-it-cluster-ns:before { + content: "\e945"; +} +.ict-it-cluster-sg:before { + content: "\e946"; +} +.ict-it-database:before { + content: "\e947"; +} +.ict-it-database-mssql:before { + content: "\e948"; +} +.ict-it-database-oracle:before { + content: "\e949"; +} +.ict-it-database-sybase:before { + content: "\e94a"; +} +.ict-it-database-sybaseiq:before { + content: "\e94b"; +} +.ict-it-diskraid-dellmd:before { + content: "\e94c"; +} +.ict-it-diskraid-emc:before { + content: "\e94d"; +} +.ict-it-diskraid-eternus:before { + content: "\e94e"; +} +.ict-it-diskraid-fujitsu:before { + content: "\e94f"; +} +.ict-it-diskraid-hds:before { + content: "\e950"; +} +.ict-it-diskraid-hpaio:before { + content: "\e951"; +} +.ict-it-diskraid-hpmsa:before { + content: "\e952"; +} +.ict-it-diskraid-ibm:before { + content: "\e953"; +} +.ict-it-diskraid-ibmsm:before { + content: "\e954"; +} +.ict-it-diskraid-macrosan:before { + content: "\e955"; +} +.ict-it-diskraid-netapp:before { + content: "\e956"; +} +.ict-it-diskraid-sun:before { + content: "\e957"; +} +.ict-it-firewall:before { + content: "\e958"; +} +.ict-it-firewall-checkpoint:before { + content: "\e959"; +} +.ict-it-firewall-cisco:before { + content: "\e95a"; +} +.ict-it-firewall-cisco2:before { + content: "\e95b"; +} +.ict-it-firewall-juniper:before { + content: "\e95c"; +} +.ict-it-firewall-neteye:before { + content: "\e95d"; +} +.ict-it-firewall-zte:before { + content: "\e95e"; +} +.ict-it-firewall-ztemf:before { + content: "\e95f"; +} +.ict-it-firewall-zteutm:before { + content: "\e960"; +} +.ict-it-gather:before { + content: "\e961"; +} +.ict-it-ibp:before { + content: "\e962"; +} +.ict-it-ibp-ibp2000:before { + content: "\e963"; +} +.ict-it-net:before { + content: "\e964"; +} +.ict-it-other:before { + content: "\e965"; +} +.ict-it-other-alteon:before { + content: "\e966"; +} +.ict-it-other-appdirector:before { + content: "\e967"; +} +.ict-it-other-atca-lb10:before { + content: "\e968"; +} +.ict-it-other-cisco-ucs:before { + content: "\e969"; +} +.ict-it-other-dcs:before { + content: "\e96a"; +} +.ict-it-other-delta:before { + content: "\e96b"; +} +.ict-it-other-dp:before { + content: "\e96c"; +} +.ict-it-other-e9000:before { + content: "\e96d"; +} +.ict-it-other-f5bigip:before { + content: "\e96e"; +} +.ict-it-other-f5bigip2:before { + content: "\e96f"; +} +.ict-it-other-gbe2c:before { + content: "\e970"; +} +.ict-it-other-h3c:before { + content: "\e971"; +} +.ict-it-other-hpblc:before { + content: "\e972"; +} +.ict-it-other-imm:before { + content: "\e973"; +} +.ict-it-other-secsis:before { + content: "\e974"; +} +.ict-it-other-vc:before { + content: "\e975"; +} +.ict-it-other-ztepower:before { + content: "\e976"; +} +.ict-it-other-ztesgs:before { + content: "\e977"; +} +.ict-it-other-zxsdr-nt:before { + content: "\e978"; +} +.ict-it-router:before { + content: "\e979"; +} +.ict-it-router-cisco:before { + content: "\e97a"; +} +.ict-it-router-juniper:before { + content: "\e97b"; +} +.ict-it-router-zte:before { + content: "\e97c"; +} +.ict-it-sdn-host:before { + content: "\e97d"; +} +.ict-it-sdn-switch:before { + content: "\e97e"; +} +.ict-it-server:before { + content: "\e97f"; +} +.ict-it-server-aix:before { + content: "\e980"; +} +.ict-it-server-klinux:before { + content: "\e981"; +} +.ict-it-server-redhat:before { + content: "\e982"; +} +.ict-it-server-solaris:before { + content: "\e983"; +} +.ict-it-server-suse:before { + content: "\e984"; +} +.ict-it-server-windows:before { + content: "\e985"; +} +.ict-it-server-zxve:before { + content: "\e986"; +} +.ict-it-storage:before { + content: "\e987"; +} +.ict-it-storage-cisco-mds:before { + content: "\e988"; +} +.ict-it-storage-md3000:before { + content: "\e989"; +} +.ict-it-storage-netvault:before { + content: "\e98a"; +} +.ict-it-storage-sanswitch-zte:before { + content: "\e98b"; +} +.ict-it-switch-at:before { + content: "\e98c"; +} +.ict-it-switch-cisco:before { + content: "\e98d"; +} +.ict-it-switch-h3c:before { + content: "\e98e"; +} +.ict-it-switch-juniper:before { + content: "\e98f"; +} +.ict-it-switch-zte:before { + content: "\e990"; +} +.ict-it-tapelib-hpmsl:before { + content: "\e991"; +} +.ict-it-tapelib-ibmts:before { + content: "\e992"; +} +.ict-it-tapelib-sunts:before { + content: "\e993"; +} +.ict-it-Virtualnetwork:before { + content: "\e994"; +} +.ict-networkTree:before { + content: "\e995"; +} +.ict-resourceType:before { + content: "\e996"; +} +.ict-tree-icon:before { + content: "\e997"; +} +.ict-uep-topo-group20x20:before { + content: "\e998"; +} +.ict-uep-topo-root:before { + content: "\e999"; +} +.ict-uep-topo-virtual20x20:before { + content: "\e99a"; +} +.ict-common_ncd_stop:before { + content: "\e99b"; +} +.ict-it-app-netnumen:before { + content: "\e99c"; +} +.ict-it-sdn-vnet:before { + content: "\e99d"; +} +.ict-it-storage-sanswitch-hp:before { + content: "\e99e"; +} +.ict-it-switch:before { + content: "\e99f"; +} +.ict-uep-moc-root:before { + content: "\e9a0"; +} +.ict-uep-topo-undefinedgroup20x20:before { + content: "\e9a1"; +} +.ict-analysis:before { + content: "\e9a2"; +} +.ict-bindingRelationship:before { + content: "\e9a3"; +} +.ict-browsePolicy:before { + content: "\e9a4"; +} +.ict-businessManagment:before { + content: "\e9a5"; +} +.ict-cardData:before { + content: "\e9a6"; +} +.ict-dailyManagment:before { + content: "\e9a7"; +} +.ict-enterpriseCustomer:before { + content: "\e9a8"; +} +.ict-equipmentBlacklist:before { + content: "\e9a9"; +} +.ict-equipmentModel:before { + content: "\e9aa"; +} +.ict-examine:before { + content: "\e9ab"; +} +.ict-failureList:before { + content: "\e9ac"; +} +.ict-familyCustomer:before { + content: "\e9ad"; +} +.ict-fileTool:before { + content: "\e9ae"; +} +.ict-groupManagment:before { + content: "\e9af"; +} +.ict-notice:before { + content: "\e9b0"; +} +.ict-policy:before { + content: "\e9b1"; +} +.ict-portal:before { + content: "\e9b2"; +} +.ict-recordQuery:before { + content: "\e9b3"; +} +.ict-resourceManagment:before { + content: "\e9b4"; +} +.ict-ruleManagment:before { + content: "\e9b5"; +} +.ict-sucessRate:before { + content: "\e9b6"; +} +.ict-terminalManagment:before { + content: "\e9b7"; +} +.ict-tools:before { + content: "\e9b8"; +} +.ict-track:before { + content: "\e9b9"; +} +.ict-userManagment:before { + content: "\e9ba"; +} +.ict-versionManagment:before { + content: "\e9bb"; +} +.ict-workOrder:before { + content: "\e9bc"; +} +.ict-cpu:before { + content: "\e9bd"; +} +.ict-memory:before { + content: "\e9be"; +} +.ict-currentAlarm:before { + content: "\e9bf"; +} +.ict-noticeAlarm:before { + content: "\e9c0"; +} +.ict-historyAlarm:before { + content: "\e9c1"; +} +.ict-close:before { + content: "\e9c2"; +} +.ict-table:before { + content: "\e9c3"; +} +.ict-next:before { + content: "\e9c4"; +} +.ict-pre:before { + content: "\e9c5"; +} +.ict-roleset:before { + content: "\e9c6"; +} +.ict-role:before { + content: "\e9c7"; +} +.ict-user:before { + content: "\e9c8"; +} +.ict-empty:before { + content: "\e9c9"; +} +.ict-noticeFilter:before { + content: "\e9ca"; +} +.ict-alarmTurn:before { + content: "\e9cb"; +} +.ict-advice:before { + content: "\e9cc"; +} +.ict-clearAlarm:before { + content: "\e9cd"; +} +.ict-alarmBox:before { + content: "\e9ce"; +} +.ict-afreshDef:before { + content: "\e9cf"; +} +.ict-alarmFilter:before { + content: "\e9d0"; +} +.ict-manAnalysis:before { + content: "\e9d1"; +} +.ict-drill:before { + content: "\e9d2"; +} +.ict-gear:before { + content: "\e9d3"; +} +.ict-process:before { + content: "\e9d4"; +} +.ict-unacknownledge:before { + content: "\e9d5"; +} +.ict-acknownledge:before { + content: "\e9d6"; +} +.ict-Operation:before { + content: "\e9d7"; +} +.ict-cloud:before { + content: "\e9d8"; +} +.ict-computer:before { + content: "\e9d9"; +} +.ict-alarm:before { + content: "\e9da"; +} +.ict-import:before { + content: "\e9db"; +} +.ict-export:before { + content: "\e9dc"; +} +.ict-Admin:before { + content: "\e9dd"; +} +.ict-allSelected:before { + content: "\e9de"; +} +.ict-angleRight:before { + content: "\e9df"; +} +.ict-arrowLeft:before { + content: "\e9e0"; +} +.ict-arrowLeftAll:before { + content: "\e9e1"; +} +.ict-arrowRight:before { + content: "\e9e2"; +} +.ict-arrowRightAll:before { + content: "\e9e3"; +} +.ict-autoFind:before { + content: "\e9e4"; +} +.ict-back:before { + content: "\e9e5"; +} +.ict-ball:before { + content: "\e9e6"; +} +.ict-bell:before { + content: "\e9e7"; +} +.ict-blackList:before { + content: "\e9e8"; +} +.ict-breakLink:before { + content: "\e9e9"; +} +.ict-cancle:before { + content: "\e9ea"; +} +.ict-circle:before { + content: "\e9eb"; +} +.ict-closeTree:before { + content: "\e9ec"; +} +.ict-configmap:before { + content: "\e9ed"; +} +.ict-delete:before { + content: "\e9ee"; +} +.ict-department:before { + content: "\e9ef"; +} +.ict-detail:before { + content: "\e9f0"; +} +.ict-displaySwitch:before { + content: "\e9f1"; +} +.ict-file:before { + content: "\e9f2"; +} +.ict-filter:before { + content: "\e9f3"; +} +.ict-find:before { + content: "\e9f4"; +} +.ict-folder:before { + content: "\e9f5"; +} +.ict-forceOut:before { + content: "\e9f6"; +} +.ict-fullScreen:before { + content: "\e9f7"; +} +.ict-Graphical:before { + content: "\e9f8"; +} +.ict-helpTip:before { + content: "\e9f9"; +} +.ict-hide:before { + content: "\e9fa"; +} +.ict-history:before { + content: "\e9fb"; +} +.ict-launchingTower:before { + content: "\e9fc"; +} +.ict-layout:before { + content: "\e9fd"; +} +.ict-legendhide:before { + content: "\e9fe"; +} +.ict-legendshow:before { + content: "\e9ff"; +} +.ict-link:before { + content: "\ea00"; +} +.ict-lock:before { + content: "\ea01"; +} +.ict-ltArrow:before { + content: "\ea02"; +} +.ict-Magnifier:before { + content: "\ea03"; +} +.ict-Maintain:before { + content: "\ea04"; +} +.ict-maximize:before { + content: "\ea05"; +} +.ict-modify:before { + content: "\ea06"; +} +.ict-Monitor:before { + content: "\ea07"; +} +.ict-move:before { + content: "\ea08"; +} +.ict-new:before { + content: "\ea09"; +} +.ict-newShortcut:before { + content: "\ea0a"; +} +.ict-openTree:before { + content: "\ea0b"; +} +.ict-poNode:before { + content: "\ea0c"; +} +.ict-print:before { + content: "\ea0d"; +} +.ict-product:before { + content: "\ea0e"; +} +.ict-rbArrow:before { + content: "\ea0f"; +} +.ict-reduction:before { + content: "\ea10"; +} +.ict-refresh:before { + content: "\ea11"; +} +.ict-rename:before { + content: "\ea12"; +} +.ict-save:before { + content: "\ea13"; +} +.ict-select:before { + content: "\ea14"; +} +.ict-selectAll:before { + content: "\ea15"; +} +.ict-selectLeft:before { + content: "\ea16"; +} +.ict-selectRight:before { + content: "\ea17"; +} +.ict-show:before { + content: "\ea18"; +} +.ict-shrink:before { + content: "\ea19"; +} +.ict-start:before { + content: "\ea1a"; +} +.ict-stop:before { + content: "\ea1b"; +} +.ict-stretch:before { + content: "\ea1c"; +} +.ict-strikeOut:before { + content: "\ea1d"; +} +.ict-Synchronous:before { + content: "\ea1e"; +} +.ict-toRight:before { + content: "\ea1f"; +} +.ict-treefile:before { + content: "\ea20"; +} +.ict-treeFolder:before { + content: "\ea21"; +} +.ict-unlock:before { + content: "\ea22"; +} +.ict-userCompare:before { + content: "\ea23"; +} +.ict-userDispatch:before { + content: "\ea24"; +} +.ict-xml:before { + content: "\ea25"; +} +.ict-zoomIn:before { + content: "\ea26"; +} +.ict-zoomOut:before { + content: "\ea27"; +} +.ict-zoomOverView:before { + content: "\ea28"; +} +.ict-zoomReset:before { + content: "\ea29"; +} + diff --git a/openo-portal/portal-common/src/main/webapp/common/default.html b/openo-portal/portal-common/src/main/webapp/common/default.html index 588072a4..1ea020eb 100644 --- a/openo-portal/portal-common/src/main/webapp/common/default.html +++ b/openo-portal/portal-common/src/main/webapp/common/default.html @@ -35,6 +35,7 @@ + @@ -60,7 +61,7 @@ - +
@@ -86,12 +87,6 @@
  • -
    - - -
    diff --git a/openo-portal/portal-common/src/main/webapp/common/js/international/loadi18n.js b/openo-portal/portal-common/src/main/webapp/common/js/international/loadi18n.js index 2c63adff..e34794e3 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/international/loadi18n.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/international/loadi18n.js @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -var lang = getLanguage(); +var lang = 'en-US'; function loadProperties(propertiesFileName, propertiesFilePath , name_i18n) { jQuery.i18n.properties({ @@ -50,29 +50,3 @@ function loadi18n_WebFramework(propertiesFileName, propertiesFilePath, name_i18n loadProperties(propertiesFileName, propertiesFilePath, name_i18n); } -function loadPropertiesSideMenu(lang, propertiesFileNamePrefix, propertiesFilePath, name_I18n) { - if(!name_I18n) name_I18n='openo_main_page_i18n'; - jQuery.i18n.properties({ - language:lang, - name:propertiesFileNamePrefix, - path:propertiesFilePath, - mode:'map', - callback: function() { - var i18nItems = $('[name_i18n='+ name_I18n + ']'); - for (var i = 0; i < i18nItems.length; i++) { - var $item = $(i18nItems.eq(i)); - var itemId = $item.attr('id'); - if (typeof($item.attr("placeholder")) == "undefined") { - $item.text($.i18n.prop(itemId)); - } else { - $item.attr("placeholder", $.i18n.prop(itemId)); - } - } - } - }); -} - -function loadi18n_WebFramework_sideMenu() { - var srcpath ="i18n/"; - loadPropertiesSideMenu(lang , 'web-framework-i18n', srcpath); -} diff --git a/openo-portal/portal-common/src/main/webapp/common/json/menu_list.json b/openo-portal/portal-common/src/main/webapp/common/json/menu_list.json index ae0f6f7b..148b4bab 100644 --- a/openo-portal/portal-common/src/main/webapp/common/json/menu_list.json +++ b/openo-portal/portal-common/src/main/webapp/common/json/menu_list.json @@ -24,6 +24,11 @@ "id":"openo_menu_manage_view", "url":"", "iconClass":"fa fa-coffee" + }, + { + "id":"openo_menu_performance", + "url":"", + "iconClass":"fa fa-bar-chart" } ], "childMenus":[ @@ -80,6 +85,18 @@ "id":"openo_menu_manage_view_vnfm", "url":"../extsys/vnfm/vnfmView.html", "iconClass":"fa fa-coffee" + }, + { + "parentId":"openo_menu_performance", + "id":"openo_menu_performance_performance_query", + "url":"../performance/performance_view.html", + "iconClass":"fa fa-bar-chart" + }, + { + "parentId":"openo_menu_performance", + "id":"openo_menu_alarm_alarm_query", + "url":"../performance/alarm_view.html", + "iconClass":"fa fa-bell" } ] } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/avalon/avalon.modern.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/avalon/avalon.modern.js index e2f6fad2..048b4241 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/avalon/avalon.modern.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/avalon/avalon.modern.js @@ -1,15 +1,14 @@ /*================================================== - Copyright (c) 2013-2014 司徒正美 and other contributors + Copyright (c) 2013-2015 司徒正美 and other contributors http://www.cnblogs.com/rubylouvre/ https://github.com/RubyLouvre http://weibo.com/jslouvre/ - + Released under the MIT license - avalon.modern.js 1.39 build in 2015.1.15 -______________________________ - support IE6+ and other browsers + avalon.modern.js 1.43 built in 2015.5.21 + support IE10+ and other browsers ==================================================*/ -(function(global, factory) { +(function (global, factory) { if (typeof module === "object" && typeof module.exports === "object") { // For CommonJS and CommonJS-like environments where a proper `window` @@ -18,7 +17,7 @@ ______________________________ // (such as Node.js), expose a factory as module.exports. // This accentuates the need for the creation of a real `window`. // e.g. var avalon = require("avalon")(window); - module.exports = global.document ? factory(global, true) : function(w) { + module.exports = global.document ? factory(global, true) : function (w) { if (!w.document) { throw new Error("Avalon requires a window with a document") } @@ -29,897 +28,1014 @@ ______________________________ } // Pass this if window is not defined yet -}(typeof window !== "undefined" ? window : this, function(window, noGlobal){ +}(typeof window !== "undefined" ? window : this, function (window, noGlobal) { -/********************************************************************* - * 全局变量及方法 * - **********************************************************************/ -var expose = Date.now() + /********************************************************************* + * 全局变量及方法 * + **********************************************************************/ + var expose = Date.now() //http://stackoverflow.com/questions/7290086/javascript-use-strict-and-nicks-find-global-function -var DOC = window.document -var head = DOC.head //HEAD元素 -head.insertAdjacentHTML("afterBegin", '') -var ifGroup = head.firstChild + var DOC = window.document + var head = DOC.head //HEAD元素 + head.insertAdjacentHTML("afterBegin", '') + var ifGroup = head.firstChild -function log() { - if (avalon.config.debug) { + function log() { + if (avalon.config.debug) { // http://stackoverflow.com/questions/8785624/how-to-safely-wrap-console-log - console.log.apply(console, arguments) - } -} - -var subscribers = "$" + expose -var otherRequire = window.require -var otherDefine = window.define -var stopRepeatAssign = false -var rword = /[^, ]+/g //切割字符串为一个个小块,以空格或豆号分开它们,结合replace实现字符串的forEach -var rcomplexType = /^(?:object|array)$/ -var rsvg = /^\[object SVG\w*Element\]$/ -var rwindow = /^\[object (?:Window|DOMWindow|global)\]$/ -var oproto = Object.prototype -var ohasOwn = oproto.hasOwnProperty -var serialize = oproto.toString -var ap = Array.prototype -var aslice = ap.slice -var Registry = {} //将函数曝光到此对象上,方便访问器收集依赖 -var W3C = window.dispatchEvent -var root = DOC.documentElement -var hyperspace = DOC.createDocumentFragment() -var cinerator = DOC.createElement("div") -var class2type = {} -"Boolean Number String Function Array Date RegExp Object Error".replace(rword, function(name) { - class2type["[object " + name + "]"] = name.toLowerCase() -}) - - -function noop() { -} - - -function oneObject(array, val) { - if (typeof array === "string") { - array = array.match(rword) || [] - } - var result = {}, - value = val !== void 0 ? val : 1 - for (var i = 0, n = array.length; i < n; i++) { - result[array[i]] = value + console.log.apply(console, arguments) + } + } + + /** + * Creates a new object without a prototype. This object is useful for lookup without having to + * guard against prototypically inherited properties via hasOwnProperty. + * + * Related micro-benchmarks: + * - http://jsperf.com/object-create2 + * - http://jsperf.com/proto-map-lookup/2 + * - http://jsperf.com/for-in-vs-object-keys2 + */ + function createMap() { + return Object.create(null) + } + + var subscribers = "$" + expose + var otherRequire = window.require + var otherDefine = window.define + var innerRequire + var stopRepeatAssign = false + var rword = /[^, ]+/g //切割字符串为一个个小块,以空格或豆号分开它们,结合replace实现字符串的forEach + var rcomplexType = /^(?:object|array)$/ + var rsvg = /^\[object SVG\w*Element\]$/ + var rwindow = /^\[object (?:Window|DOMWindow|global)\]$/ + var oproto = Object.prototype + var ohasOwn = oproto.hasOwnProperty + var serialize = oproto.toString + var ap = Array.prototype + var aslice = ap.slice + var Registry = {} //将函数曝光到此对象上,方便访问器收集依赖 + var W3C = window.dispatchEvent + var root = DOC.documentElement + var hyperspace = DOC.createDocumentFragment() + var cinerator = DOC.createElement("div") + var class2type = {} + "Boolean Number String Function Array Date RegExp Object Error".replace(rword, function (name) { + class2type["[object " + name + "]"] = name.toLowerCase() + }) + + + function noop() { } - return result -} -function createCache(maxLength) { - var keys = [] - function cache(key, value) { - if (keys.push(key) > maxLength) { - delete cache[keys.shift()] + + function oneObject(array, val) { + if (typeof array === "string") { + array = array.match(rword) || [] + } + var result = {}, + value = val !== void 0 ? val : 1 + for (var i = 0, n = array.length; i < n; i++) { + result[array[i]] = value } - return cache[key] = value; + return result } - return cache; -} + //生成UUID http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript -var generateID = function(prefix) { - prefix = prefix || "avalon" - return (prefix + Math.random() + Math.random()).replace(/0\./g, "") -} -function IE() { - if (window.VBArray) { - var mode = document.documentMode - return mode ? mode : window.XMLHttpRequest ? 7 : 6 - } else { - return 0 - } -} -var IEVersion = IE() -/********************************************************************* - * avalon的静态方法定义区 * - **********************************************************************/ -avalon = function(el) { //创建jQuery式的无new 实例化结构 - return new avalon.init(el) -} - -avalon.init = function(el) { - this[0] = this.element = el -} -avalon.fn = avalon.prototype = avalon.init.prototype - -avalon.type = function(obj) { //取得目标的类型 - if (obj == null) { - return String(obj) - } - // 早期的webkit内核浏览器实现了已废弃的ecma262v4标准,可以将正则字面量当作函数使用,因此typeof在判定正则时会返回function - return typeof obj === "object" || typeof obj === "function" ? - class2type[serialize.call(obj)] || "object" : + var generateID = function (prefix) { + prefix = prefix || "avalon" + return String(Math.random() + Math.random()).replace(/\d\.\d{4}/, prefix) + } + + function IE() { + if (window.VBArray) { + var mode = document.documentMode + return mode ? mode : window.XMLHttpRequest ? 7 : 6 + } else { + return 0 + } + } + + var IEVersion = IE() + + avalon = function (el) { //创建jQuery式的无new 实例化结构 + return new avalon.init(el) + } + + /*视浏览器情况采用最快的异步回调*/ + avalon.nextTick = new function () {// jshint ignore:line + var tickImmediate = window.setImmediate + var tickObserver = window.MutationObserver + var tickPost = W3C && window.postMessage + if (tickImmediate) { + return tickImmediate.bind(window) + } + + var queue = [] + + function callback() { + var n = queue.length + for (var i = 0; i < n; i++) { + queue[i]() + } + queue = queue.slice(n) + } + + if (tickObserver) { + var node = document.createTextNode("avalon") + new tickObserver(callback).observe(node, {characterData: true})// jshint ignore:line + return function (fn) { + queue.push(fn) + node.data = Math.random() + } + } + + if (tickPost) { + window.addEventListener("message", function (e) { + var source = e.source + if ((source === window || source === null) && e.data === "process-tick") { + e.stopPropagation() + callback() + } + }) + + return function (fn) { + queue.push(fn) + window.postMessage('process-tick', '*') + } + } + + return function (fn) { + setTimeout(fn, 0) + } + }// jshint ignore:line + /********************************************************************* + * avalon的静态方法定义区 * + **********************************************************************/ + avalon.init = function (el) { + this[0] = this.element = el + } + avalon.fn = avalon.prototype = avalon.init.prototype + + avalon.type = function (obj) { //取得目标的类型 + if (obj == null) { + return String(obj) + } + // 早期的webkit内核浏览器实现了已废弃的ecma262v4标准,可以将正则字面量当作函数使用,因此typeof在判定正则时会返回function + return typeof obj === "object" || typeof obj === "function" ? + class2type[serialize.call(obj)] || "object" : typeof obj -} + } -var isFunction = function(fn) { - return serialize.call(fn) == "[object Function]" -} + var isFunction = function (fn) { + return serialize.call(fn) === "[object Function]" + } -avalon.isFunction = isFunction + avalon.isFunction = isFunction -avalon.isWindow = function(obj) { - return rwindow.test(serialize.call(obj)) -} + avalon.isWindow = function (obj) { + return rwindow.test(serialize.call(obj)) + } -/*判定是否是一个朴素的javascript对象(Object),不是DOM对象,不是BOM对象,不是自定义类的实例*/ + /*判定是否是一个朴素的javascript对象(Object),不是DOM对象,不是BOM对象,不是自定义类的实例*/ -avalon.isPlainObject = function(obj) { - // 简单的 typeof obj === "object"检测,会致使用isPlainObject(window)在opera下通不过 - return serialize.call(obj) === "[object Object]" && Object.getPrototypeOf(obj) === oproto -} + avalon.isPlainObject = function (obj) { + // 简单的 typeof obj === "object"检测,会致使用isPlainObject(window)在opera下通不过 + return serialize.call(obj) === "[object Object]" && Object.getPrototypeOf(obj) === oproto + } //与jQuery.extend方法,可用于浅拷贝,深拷贝 -avalon.mix = avalon.fn.mix = function() { - var options, name, src, copy, copyIsArray, clone, + avalon.mix = avalon.fn.mix = function () { + var options, name, src, copy, copyIsArray, clone, target = arguments[0] || {}, i = 1, length = arguments.length, deep = false - // 如果第一个参数为布尔,判定是否深拷贝 - if (typeof target === "boolean") { - deep = target - target = arguments[1] || {} - i++ - } + // 如果第一个参数为布尔,判定是否深拷贝 + if (typeof target === "boolean") { + deep = target + target = arguments[1] || {} + i++ + } - //确保接受方为一个复杂的数据类型 - if (typeof target !== "object" && !isFunction(target)) { - target = {} - } + //确保接受方为一个复杂的数据类型 + if (typeof target !== "object" && !isFunction(target)) { + target = {} + } - //如果只有一个参数,那么新成员添加于mix所在的对象上 - if (i === length) { - target = this - i-- - } + //如果只有一个参数,那么新成员添加于mix所在的对象上 + if (i === length) { + target = this + i-- + } - for (; i < length; i++) { - //只处理非空参数 - if ((options = arguments[i]) != null) { - for (name in options) { - src = target[name] - copy = options[name] - // 防止环引用 - if (target === copy) { - continue - } - if (deep && copy && (avalon.isPlainObject(copy) || (copyIsArray = Array.isArray(copy)))) { + for (; i < length; i++) { + //只处理非空参数 + if ((options = arguments[i]) != null) { + for (name in options) { + src = target[name] + copy = options[name] + // 防止环引用 + if (target === copy) { + continue + } + if (deep && copy && (avalon.isPlainObject(copy) || (copyIsArray = Array.isArray(copy)))) { - if (copyIsArray) { - copyIsArray = false - clone = src && Array.isArray(src) ? src : [] + if (copyIsArray) { + copyIsArray = false + clone = src && Array.isArray(src) ? src : [] - } else { - clone = src && avalon.isPlainObject(src) ? src : {} - } + } else { + clone = src && avalon.isPlainObject(src) ? src : {} + } - target[name] = avalon.mix(deep, clone, copy) - } else if (copy !== void 0) { - target[name] = copy + target[name] = avalon.mix(deep, clone, copy) + } else if (copy !== void 0) { + target[name] = copy + } } } } + return target } - return target -} - -function _number(a, len) { //用于模拟slice, splice的效果 - a = Math.floor(a) || 0 - return a < 0 ? Math.max(len + a, 0) : Math.min(a, len); -} -avalon.mix({ - rword: rword, - subscribers: subscribers, - version: 1.39, - ui: {}, - log: log, - slice: function(nodes, start, end) { - return aslice.call(nodes, start, end) - }, - noop: noop, - /*如果不用Error对象封装一下,str在控制台下可能会乱码*/ - error: function(str, e) { - throw new (e || Error)(str) - }, - /*将一个以空格或逗号隔开的字符串或数组,转换成一个键值都为1的对象*/ - oneObject: oneObject, - /* avalon.range(10) - => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - avalon.range(1, 11) - => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] - avalon.range(0, 30, 5) - => [0, 5, 10, 15, 20, 25] - avalon.range(0, -10, -1) - => [0, -1, -2, -3, -4, -5, -6, -7, -8, -9] - avalon.range(0) - => []*/ - range: function(start, end, step) { // 用于生成整数数组 - step || (step = 1) - if (end == null) { - end = start || 0 - start = 0 - } - var index = -1, - length = Math.max(0, Math.ceil((end - start) / step)), - result = Array(length) - while (++index < length) { - result[index] = start - start += step - } - return result - }, - eventHooks: {}, - /*绑定事件*/ - bind: function(el, type, fn, phase) { - var hooks = avalon.eventHooks - var hook = hooks[type] - if (typeof hook === "object") { - type = hook.type - if (hook.deel) { - fn = hook.deel(el, fn) - } - } - el.addEventListener(type, fn, !!phase) - return fn - }, - /*卸载事件*/ - unbind: function(el, type, fn, phase) { - var hooks = avalon.eventHooks - var hook = hooks[type] - var callback = fn || noop - if (typeof hook === "object") { - type = hook.type - } - el.removeEventListener(type, callback, !!phase) - }, - /*读写删除元素节点的样式*/ - css: function(node, name, value) { - if (node instanceof avalon) { - node = node[0] - } - var prop = /[_-]/.test(name) ? camelize(name) : name - name = avalon.cssName(prop) || prop - if (value === void 0 || typeof value === "boolean") { //获取样式 - var fn = cssHooks[prop + ":get"] || cssHooks["@:get"] - if (name === "background") { - name = "backgroundColor" - } - var val = fn(node, name) - return value === true ? parseFloat(val) || 0 : val - } else if (value === "") { //请除样式 - node.style[name] = "" - } else { //设置样式 - if (value == null || value !== value) { - return + + function _number(a, len) { //用于模拟slice, splice的效果 + a = Math.floor(a) || 0 + return a < 0 ? Math.max(len + a, 0) : Math.min(a, len); + } + + avalon.mix({ + rword: rword, + subscribers: subscribers, + version: 1.43, + ui: {}, + log: log, + slice: function (nodes, start, end) { + return aslice.call(nodes, start, end) + }, + noop: noop, + /*如果不用Error对象封装一下,str在控制台下可能会乱码*/ + error: function (str, e) { + throw new (e || Error)(str)// jshint ignore:line + }, + /*将一个以空格或逗号隔开的字符串或数组,转换成一个键值都为1的对象*/ + oneObject: oneObject, + /* avalon.range(10) + => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + avalon.range(1, 11) + => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] + avalon.range(0, 30, 5) + => [0, 5, 10, 15, 20, 25] + avalon.range(0, -10, -1) + => [0, -1, -2, -3, -4, -5, -6, -7, -8, -9] + avalon.range(0) + => []*/ + range: function (start, end, step) { // 用于生成整数数组 + step || (step = 1) + if (end == null) { + end = start || 0 + start = 0 } - if (isFinite(value) && !avalon.cssNumber[prop]) { - value += "px" + var index = -1, + length = Math.max(0, Math.ceil((end - start) / step)), + result = new Array(length) + while (++index < length) { + result[index] = start + start += step } - fn = cssHooks[prop + ":set"] || cssHooks["@:set"] - fn(node, name, value) - } - }, - /*遍历数组与对象,回调的第一个参数为索引或键名,第二个或元素或键值*/ - each: function(obj, fn) { - if (obj) { //排除null, undefined - var i = 0 - if (isArrayLike(obj)) { - for (var n = obj.length; i < n; i++) { - fn(i, obj[i]) + return result + }, + eventHooks: {}, + /*绑定事件*/ + bind: function (el, type, fn, phase) { + var hooks = avalon.eventHooks + var hook = hooks[type] + if (typeof hook === "object") { + type = hook.type + if (hook.deel) { + fn = hook.deel(el, type, fn, phase) } - } else { - for (i in obj) { - if (obj.hasOwnProperty(i)) { - fn(i, obj[i]) - } + } + if (!fn.unbind) + el.addEventListener(type, fn, !!phase) + return fn + }, + /*卸载事件*/ + unbind: function (el, type, fn, phase) { + var hooks = avalon.eventHooks + var hook = hooks[type] + var callback = fn || noop + if (typeof hook === "object") { + type = hook.type + if (hook.deel) { + fn = hook.deel(el, type, fn, false) } } - } - }, - //收集元素的data-{{prefix}}-*属性,并转换为对象 - getWidgetData: function(elem, prefix) { - var raw = avalon(elem).data() - var result = {} - for (var i in raw) { - if (i.indexOf(prefix) === 0) { - result[i.replace(prefix, "").replace(/\w/, function(a) { - return a.toLowerCase() - })] = raw[i] + el.removeEventListener(type, callback, !!phase) + }, + /*读写删除元素节点的样式*/ + css: function (node, name, value) { + if (node instanceof avalon) { + node = node[0] } - } - return result - }, - Array: { - /*只有当前数组不存在此元素时只添加它*/ - ensure: function(target, item) { - if (target.indexOf(item) === -1) { - return target.push(item) + var prop = /[_-]/.test(name) ? camelize(name) : name, fn + name = avalon.cssName(prop) || prop + if (value === void 0 || typeof value === "boolean") { //获取样式 + fn = cssHooks[prop + ":get"] || cssHooks["@:get"] + if (name === "background") { + name = "backgroundColor" + } + var val = fn(node, name) + return value === true ? parseFloat(val) || 0 : val + } else if (value === "") { //请除样式 + node.style[name] = "" + } else { //设置样式 + if (value == null || value !== value) { + return + } + if (isFinite(value) && !avalon.cssNumber[prop]) { + value += "px" + } + fn = cssHooks[prop + ":set"] || cssHooks["@:set"] + fn(node, name, value) } }, - /*移除数组中指定位置的元素,返回布尔表示成功与否*/ - removeAt: function(target, index) { - return !!target.splice(index, 1).length + /*遍历数组与对象,回调的第一个参数为索引或键名,第二个或元素或键值*/ + each: function (obj, fn) { + if (obj) { //排除null, undefined + var i = 0 + if (isArrayLike(obj)) { + for (var n = obj.length; i < n; i++) { + if (fn(i, obj[i]) === false) + break + } + } else { + for (i in obj) { + if (obj.hasOwnProperty(i) && fn(i, obj[i]) === false) { + break + } + } + } + } }, - /*移除数组中第一个匹配传参的那个元素,返回布尔表示成功与否*/ - remove: function(target, item) { - var index = target.indexOf(item) - if (~index) - return avalon.Array.removeAt(target, index) - return false + //收集元素的data-{{prefix}}-*属性,并转换为对象 + getWidgetData: function (elem, prefix) { + var raw = avalon(elem).data() + var result = {} + for (var i in raw) { + if (i.indexOf(prefix) === 0) { + result[i.replace(prefix, "").replace(/\w/, function (a) { + return a.toLowerCase() + })] = raw[i] + } + } + return result + }, + Array: { + /*只有当前数组不存在此元素时只添加它*/ + ensure: function (target, item) { + if (target.indexOf(item) === -1) { + return target.push(item) + } + }, + /*移除数组中指定位置的元素,返回布尔表示成功与否*/ + removeAt: function (target, index) { + return !!target.splice(index, 1).length + }, + /*移除数组中第一个匹配传参的那个元素,返回布尔表示成功与否*/ + remove: function (target, item) { + var index = target.indexOf(item) + if (~index) + return avalon.Array.removeAt(target, index) + return false + } } - } -}) + }) -var bindingHandlers = avalon.bindingHandlers = {} -var bindingExecutors = avalon.bindingExecutors = {} + var bindingHandlers = avalon.bindingHandlers = {} + var bindingExecutors = avalon.bindingExecutors = {} -/*判定是否类数组,如节点集合,纯数组,arguments与拥有非负整数的length属性的纯JS对象*/ -function isArrayLike(obj) { - if (obj && typeof obj === "object") { - var n = obj.length, + /*判定是否类数组,如节点集合,纯数组,arguments与拥有非负整数的length属性的纯JS对象*/ + function isArrayLike(obj) { + if (obj && typeof obj === "object") { + var n = obj.length, str = serialize.call(obj) - if (/(Array|List|Collection|Map|Arguments)\]$/.test(str)) { - return true - } else if (str === "[object Object]" && n === (n >>> 0)) { - return true //由于ecma262v5能修改对象属性的enumerable,因此不能用propertyIsEnumerable来判定了 - } - } - return false -} -/*视浏览器情况采用最快的异步回调(在avalon.ready里,还有一个分支,用于处理IE6-9)*/ -avalon.nextTick = window.setImmediate ? setImmediate.bind(window) : function(callback) { - setTimeout(callback, 0) //IE10-11 or W3C -} - -/********************************************************************* - * DOM 底层补丁 * - **********************************************************************/ -if (!root.contains) { //safari5+是把contains方法放在Element.prototype上而不是Node.prototype - Node.prototype.contains = function(arg) { - return !!(this.compareDocumentPosition(arg) & 16) - } -} -avalon.contains = function(root, el) { - try { - while ((el = el.parentNode)) - if (el === root) - return true; - return false - } catch (e) { + if (/(Array|List|Collection|Map|Arguments)\]$/.test(str)) { + return true + } else if (str === "[object Object]" && n === (n >>> 0)) { + return true //由于ecma262v5能修改对象属性的enumerable,因此不能用propertyIsEnumerable来判定了 + } + } return false } -} -if (window.SVGElement) { - var svgns = "http://www.w3.org/2000/svg" - var svg = DOC.createElementNS(svgns, "svg") - svg.innerHTML = '' - if (!rsvg.test(svg.firstChild)) {// #409 - - function enumerateNode(node, targetNode) { - if (node && node.childNodes) { - var nodes = node.childNodes - for (var i = 0, el; el = nodes[i++]; ) { - if (el.tagName) { - var svg = DOC.createElementNS(svgns, + + +// https://github.com/rsms/js-lru + var Cache = new function () {// jshint ignore:line + function LRU(maxLength) { + this.size = 0 + this.limit = maxLength + this.head = this.tail = void 0 + this._keymap = {} + } + + var p = LRU.prototype + + p.put = function (key, value) { + var entry = { + key: key, + value: value + } + this._keymap[key] = entry + if (this.tail) { + this.tail.newer = entry + entry.older = this.tail + } else { + this.head = entry + } + this.tail = entry + if (this.size === this.limit) { + this.shift() + } else { + this.size++ + } + return value + } + + p.shift = function () { + var entry = this.head + if (entry) { + this.head = this.head.newer + this.head.older = + entry.newer = + entry.older = + this._keymap[entry.key] = void 0 + } + } + p.get = function (key) { + var entry = this._keymap[key] + if (entry === void 0) + return + if (entry === this.tail) { + return entry.value + } + // HEAD--------------TAIL + // <.older .newer> + // <--- add direction -- + // A B C E + if (entry.newer) { + if (entry === this.head) { + this.head = entry.newer + } + entry.newer.older = entry.older // C <-- E. + } + if (entry.older) { + entry.older.newer = entry.newer // C. --> E + } + entry.newer = void 0 // D --x + entry.older = this.tail // D. --> E + if (this.tail) { + this.tail.newer = entry // E. <-- D + } + this.tail = entry + return entry.value + } + return LRU + }// jshint ignore:line + + /********************************************************************* + * DOM 底层补丁 * + **********************************************************************/ +//safari5+是把contains方法放在Element.prototype上而不是Node.prototype + if (!DOC.contains) { + Node.prototype.contains = function (arg) { + return !!(this.compareDocumentPosition(arg) & 16) + } + } + avalon.contains = function (root, el) { + try { + while ((el = el.parentNode)) + if (el === root) + return true + return false + } catch (e) { + return false + } + } + + if (window.SVGElement) { + var svgns = "http://www.w3.org/2000/svg" + var svg = DOC.createElementNS(svgns, "svg") + svg.innerHTML = '' + if (!rsvg.test(svg.firstChild)) {// #409 + /* jshint ignore:start */ + function enumerateNode(node, targetNode) { + if (node && node.childNodes) { + var nodes = node.childNodes + for (var i = 0, el; el = nodes[i++];) { + if (el.tagName) { + var svg = DOC.createElementNS(svgns, el.tagName.toLowerCase()) - // copy attrs - ap.forEach.call(el.attributes, function(attr) { - svg.setAttribute(attr.name, attr.value) - }) - // 递归处理子节点 - enumerateNode(el, svg) - targetNode.appendChild(svg) + // copy attrs + ap.forEach.call(el.attributes, function (attr) { + svg.setAttribute(attr.name, attr.value) + }) + // 递归处理子节点 + enumerateNode(el, svg) + targetNode.appendChild(svg) + } } } } - } - Object.defineProperties(SVGElement.prototype, { - "outerHTML": {//IE9-11,firefox不支持SVG元素的innerHTML,outerHTML属性 - enumerable: true, - configurable: true, - get: function() { - return new XMLSerializer().serializeToString(this) - }, - set: function(html) { - var tagName = this.tagName.toLowerCase(), + + /* jshint ignore:end */ + Object.defineProperties(SVGElement.prototype, { + "outerHTML": {//IE9-11,firefox不支持SVG元素的innerHTML,outerHTML属性 + enumerable: true, + configurable: true, + get: function () { + return new XMLSerializer().serializeToString(this) + }, + set: function (html) { + var tagName = this.tagName.toLowerCase(), par = this.parentNode, frag = avalon.parseHTML(html) - // 操作的svg,直接插入 - if (tagName === "svg") { - par.insertBefore(frag, this) - // svg节点的子节点类似 - } else { - var newFrag = DOC.createDocumentFragment() - enumerateNode(frag, newFrag) - par.insertBefore(newFrag, this) + // 操作的svg,直接插入 + if (tagName === "svg") { + par.insertBefore(frag, this) + // svg节点的子节点类似 + } else { + var newFrag = DOC.createDocumentFragment() + enumerateNode(frag, newFrag) + par.insertBefore(newFrag, this) + } + par.removeChild(this) } - par.removeChild(this) - } - }, - "innerHTML": { - enumerable: true, - configurable: true, - get: function() { - var s = this.outerHTML - var ropen = new RegExp("<" + this.nodeName + '\\b(?:(["\'])[^"]*?(\\1)|[^>])*>', "i") - var rclose = new RegExp("<\/" + this.nodeName + ">$", "i") - return s.replace(ropen, "").replace(rclose, "") }, - set: function(html) { - if (avalon.clearHTML) { - avalon.clearHTML(this) - var frag = avalon.parseHTML(html) - enumerateNode(frag, this) + "innerHTML": { + enumerable: true, + configurable: true, + get: function () { + var s = this.outerHTML + var ropen = new RegExp("<" + this.nodeName + '\\b(?:(["\'])[^"]*?(\\1)|[^>])*>', "i") + var rclose = new RegExp("<\/" + this.nodeName + ">$", "i") + return s.replace(ropen, "").replace(rclose, "") + }, + set: function (html) { + if (avalon.clearHTML) { + avalon.clearHTML(this) + var frag = avalon.parseHTML(html) + enumerateNode(frag, this) + } } } - } - }) + }) + } } -} //========================= event binding ==================== -var eventHooks = avalon.eventHooks + var eventHooks = avalon.eventHooks //针对firefox, chrome修正mouseenter, mouseleave(chrome30+) -if (!("onmouseenter" in root)) { - avalon.each({ - mouseenter: "mouseover", - mouseleave: "mouseout" - }, function(origType, fixType) { - eventHooks[origType] = { - type: fixType, - deel: function(elem, fn) { - return function(e) { - var t = e.relatedTarget - if (!t || (t !== elem && !(elem.compareDocumentPosition(t) & 16))) { - delete e.type - e.type = origType - return fn.call(elem, e) + if (!("onmouseenter" in root)) { + avalon.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" + }, function (origType, fixType) { + eventHooks[origType] = { + type: fixType, + deel: function (elem, _, fn) { + return function (e) { + var t = e.relatedTarget + if (!t || (t !== elem && !(elem.compareDocumentPosition(t) & 16))) { + delete e.type + e.type = origType + return fn.call(elem, e) + } } } } + }) + } +//针对IE9+, w3c修正animationend + avalon.each({ + AnimationEvent: "animationend", + WebKitAnimationEvent: "webkitAnimationEnd" + }, function (construct, fixType) { + if (window[construct] && !eventHooks.animationend) { + eventHooks.animationend = { + type: fixType + } } }) -} -//针对IE9+, w3c修正animationend -avalon.each({ - AnimationEvent: "animationend", - WebKitAnimationEvent: "webkitAnimationEnd" -}, function(construct, fixType) { - if (window[construct] && !eventHooks.animationend) { - eventHooks.animationend = { - type: fixType - } - } -}) - -if (DOC.onmousewheel === void 0) { - /* IE6-11 chrome mousewheel wheelDetla 下 -120 上 120 - firefox DOMMouseScroll detail 下3 上-3 - firefox wheel detlaY 下3 上-3 - IE9-11 wheel deltaY 下40 上-40 - chrome wheel deltaY 下100 上-100 */ - eventHooks.mousewheel = { - type: "wheel", - deel: function(elem, fn) { - return function(e) { - e.wheelDeltaY = e.wheelDelta = e.deltaY > 0 ? -120 : 120 - e.wheelDeltaX = 0 - Object.defineProperty(e, "type", { - value: "mousewheel" - }) - fn.call(elem, e) + + if (DOC.onmousewheel === void 0) { + /* IE6-11 chrome mousewheel wheelDetla 下 -120 上 120 + firefox DOMMouseScroll detail 下3 上-3 + firefox wheel detlaY 下3 上-3 + IE9-11 wheel deltaY 下40 上-40 + chrome wheel deltaY 下100 上-100 */ + eventHooks.mousewheel = { + type: "wheel", + deel: function (elem, _, fn) { + return function (e) { + e.wheelDeltaY = e.wheelDelta = e.deltaY > 0 ? -120 : 120 + e.wheelDeltaX = 0 + Object.defineProperty(e, "type", { + value: "mousewheel" + }) + fn.call(elem, e) + } } } } -} -/********************************************************************* - * 配置系统 * - **********************************************************************/ + /********************************************************************* + * 配置系统 * + **********************************************************************/ -function kernel(settings) { - for (var p in settings) { - if (!ohasOwn.call(settings, p)) - continue - var val = settings[p] - if (typeof kernel.plugins[p] === "function") { - kernel.plugins[p](val) - } else if (typeof kernel[p] === "object") { - avalon.mix(kernel[p], val) - } else { - kernel[p] = val - } - } - return this -} -var openTag, closeTag, rexpr, rexprg, rbind, rregexp = /[-.*+?^${}()|[\]\/\\]/g - -function escapeRegExp(target) { - //http://stevenlevithan.com/regex/xregexp/ - //将字符串安全格式化为正则表达式的源码 - return (target + "").replace(rregexp, "\\$&") -} -var innerRequire = noop -var plugins = { - loader: function(builtin) { - window.define = builtin ? innerRequire.define : otherDefine - window.require = builtin ? innerRequire : otherRequire - }, - interpolate: function(array) { - openTag = array[0] - closeTag = array[1] - if (openTag === closeTag) { - throw new SyntaxError("openTag!==closeTag") - } else if (array + "" === "") { - kernel.commentInterpolate = true - } else { - var test = openTag + "test" + closeTag - cinerator.innerHTML = test - if (cinerator.innerHTML !== test && cinerator.innerHTML.indexOf("<") > -1) { - throw new SyntaxError("此定界符不合法") - } - cinerator.innerHTML = "" - } - var o = escapeRegExp(openTag), - c = escapeRegExp(closeTag) - rexpr = new RegExp(o + "(.*?)" + c) - rexprg = new RegExp(o + "(.*?)" + c, "g") - rbind = new RegExp(o + ".*?" + c + "|\\sms-") - } -} - -kernel.debug = true -kernel.plugins = plugins -kernel.plugins['interpolate'](["{{", "}}"]) -kernel.paths = {} -kernel.shim = {} -kernel.maxRepeatSize = 100 -avalon.config = kernel -/********************************************************************* - * 事件总线 * - **********************************************************************/ -var EventBus = { - $watch: function(type, callback) { - if (typeof callback === "function") { - var callbacks = this.$events[type] - if (callbacks) { - callbacks.push(callback) + function kernel(settings) { + for (var p in settings) { + if (!ohasOwn.call(settings, p)) + continue + var val = settings[p] + if (typeof kernel.plugins[p] === "function") { + kernel.plugins[p](val) + } else if (typeof kernel[p] === "object") { + avalon.mix(kernel[p], val) } else { - this.$events[type] = [callback] + kernel[p] = val } - } else { //重新开始监听此VM的第一重简单属性的变动 - this.$events = this.$watch.backup } return this - }, - $unwatch: function(type, callback) { - var n = arguments.length - if (n === 0) { //让此VM的所有$watch回调无效化 - this.$watch.backup = this.$events - this.$events = {} - } else if (n === 1) { - this.$events[type] = [] - } else { - var callbacks = this.$events[type] || [] - var i = callbacks.length - while (~--i < 0) { - if (callbacks[i] === callback) { - return callbacks.splice(i, 1) + } + + var openTag, closeTag, rexpr, rexprg, rbind, rregexp = /[-.*+?^${}()|[\]\/\\]/g + + function escapeRegExp(target) { + //http://stevenlevithan.com/regex/xregexp/ + //将字符串安全格式化为正则表达式的源码 + return (target + "").replace(rregexp, "\\$&") + } + + var plugins = { + loader: function (builtin) { + var flag = innerRequire && builtin + window.require = flag ? innerRequire : otherRequire + window.define = flag ? innerRequire.define : otherDefine + }, + interpolate: function (array) { + openTag = array[0] + closeTag = array[1] + if (openTag === closeTag) { + throw new SyntaxError("openTag!==closeTag") + } else if (array + "" === "") { + kernel.commentInterpolate = true + } else { + var test = openTag + "test" + closeTag + cinerator.innerHTML = test + if (cinerator.innerHTML !== test && cinerator.innerHTML.indexOf("<") > -1) { + throw new SyntaxError("此定界符不合法") } + cinerator.innerHTML = "" } - } - return this - }, - $fire: function(type) { - var special - if (/^(\w+)!(\S+)$/.test(type)) { - special = RegExp.$1 - type = RegExp.$2 - } - var events = this.$events - var args = aslice.call(arguments, 1) - var detail = [type].concat(args) - if (special === "all") { - for (var i in avalon.vmodels) { - var v = avalon.vmodels[i] - if (v !== this) { - v.$fire.apply(v, detail) + var o = escapeRegExp(openTag), + c = escapeRegExp(closeTag) + rexpr = new RegExp(o + "(.*?)" + c) + rexprg = new RegExp(o + "(.*?)" + c, "g") + rbind = new RegExp(o + ".*?" + c + "|\\sms-") + } + } + + kernel.debug = true + kernel.plugins = plugins + kernel.plugins['interpolate'](["{{", "}}"]) + kernel.paths = {} + kernel.shim = {} + kernel.maxRepeatSize = 100 + avalon.config = kernel + var ravalon = /(\w+)\[(avalonctrl)="(\S+)"\]/ + var findNodes = function (str) { + return DOC.querySelectorAll(str) + } + /********************************************************************* + * 事件总线 * + **********************************************************************/ + var EventBus = { + $watch: function (type, callback) { + if (typeof callback === "function") { + var callbacks = this.$events[type] + if (callbacks) { + callbacks.push(callback) + } else { + this.$events[type] = [callback] + } + } else { //重新开始监听此VM的第一重简单属性的变动 + this.$events = this.$watch.backup + } + return this + }, + $unwatch: function (type, callback) { + var n = arguments.length + if (n === 0) { //让此VM的所有$watch回调无效化 + this.$watch.backup = this.$events + this.$events = {} + } else if (n === 1) { + this.$events[type] = [] + } else { + var callbacks = this.$events[type] || [] + var i = callbacks.length + while (~--i < 0) { + if (callbacks[i] === callback) { + return callbacks.splice(i, 1) + } } } - } else if (special === "up" || special === "down") { - var elements = events.expr ? findNodes(events.expr) : [] - if (elements.length === 0) + return this + }, + $fire: function (type) { + var special, i, v, callback + if (/^(\w+)!(\S+)$/.test(type)) { + special = RegExp.$1 + type = RegExp.$2 + } + var events = this.$events + if (!events) return - for (var i in avalon.vmodels) { - var v = avalon.vmodels[i] - if (v !== this) { - if (v.$events.expr) { - var eventNodes = findNodes(v.$events.expr) - if (eventNodes.length === 0) { - continue - } - //循环两个vmodel中的节点,查找匹配(向上匹配或者向下匹配)的节点并设置标识 - Array.prototype.forEach.call(eventNodes, function(node) { - Array.prototype.forEach.call(elements, function(element) { - var ok = special === "down" ? element.contains(node) : //向下捕获 + var args = aslice.call(arguments, 1) + var detail = [type].concat(args) + if (special === "all") { + for (i in avalon.vmodels) { + v = avalon.vmodels[i] + if (v !== this) { + v.$fire.apply(v, detail) + } + } + } else if (special === "up" || special === "down") { + var elements = events.expr ? findNodes(events.expr) : [] + if (elements.length === 0) + return + for (i in avalon.vmodels) { + v = avalon.vmodels[i] + if (v !== this) { + if (v.$events.expr) { + var eventNodes = findNodes(v.$events.expr) + if (eventNodes.length === 0) { + continue + } + //循环两个vmodel中的节点,查找匹配(向上匹配或者向下匹配)的节点并设置标识 + /* jshint ignore:start */ + Array.prototype.forEach.call(eventNodes, function (node) { + Array.prototype.forEach.call(elements, function (element) { + var ok = special === "down" ? element.contains(node) : //向下捕获 node.contains(element) //向上冒泡 - - if (ok) { - node._avalon = v //符合条件的加一个标识 - } - }); - }) + if (ok) { + node._avalon = v //符合条件的加一个标识 + } + }); + }) + /* jshint ignore:end */ + } } } - } - var nodes = DOC.getElementsByTagName("*") //实现节点排序 - var alls = [] - Array.prototype.forEach.call(nodes, function(el) { - if (el._avalon) { - alls.push(el._avalon) - el._avalon = "" - el.removeAttribute("_avalon") + var nodes = DOC.getElementsByTagName("*") //实现节点排序 + var alls = [] + Array.prototype.forEach.call(nodes, function (el) { + if (el._avalon) { + alls.push(el._avalon) + el._avalon = "" + el.removeAttribute("_avalon") + } + }) + if (special === "up") { + alls.reverse() } - }) - if (special === "up") { - alls.reverse() - } - for (var i = 0, el; el = alls[i++]; ) { - if (el.$fire.apply(el, detail) === false) { - break + for (i = 0; callback = alls[i++];) { + if (callback.$fire.apply(callback, detail) === false) { + break + } + } + } else { + var callbacks = events[type] || [] + var all = events.$all || [] + for (i = 0; callback = callbacks[i++];) { + if (isFunction(callback)) + callback.apply(this, args) + } + for (i = 0; callback = all[i++];) { + if (isFunction(callback)) + callback.apply(this, arguments) } - } - } else { - var callbacks = events[type] || [] - var all = events.$all || [] - for (var i = 0, callback; callback = callbacks[i++]; ) { - if (isFunction(callback)) - callback.apply(this, args) - } - for (var i = 0, callback; callback = all[i++]; ) { - if (isFunction(callback)) - callback.apply(this, arguments) } } } -} -var ravalon = /(\w+)\[(avalonctrl)="(\S+)"\]/ -var findNodes = function(str) { - //pc safari v5.1: typeof DOC.querySelectorAll(str) === 'function' - //https://gist.github.com/DavidBruant/1016007 - return DOC.querySelectorAll(str) -} -/********************************************************************* - * modelFactory * - **********************************************************************/ + /********************************************************************* + * modelFactory * + **********************************************************************/ //avalon最核心的方法的两个方法之一(另一个是avalon.scan),返回一个ViewModel(VM) -var VMODELS = avalon.vmodels = {} //所有vmodel都储存在这里 -avalon.define = function(id, factory) { - var $id = id.$id || id - if (!$id) { - log("warning: vm必须指定$id") - } - if (VMODELS[$id]) { - log("warning: " + $id + " 已经存在于avalon.vmodels中") - } - if (typeof id === "object") { - var model = modelFactory(id) - } else { - var scope = { - $watch: noop + var VMODELS = avalon.vmodels = createMap() //所有vmodel都储存在这里 + avalon.define = function (id, factory) { + var $id = id.$id || id + if (!$id) { + log("warning: vm必须指定$id") + } + if (VMODELS[$id]) { + log("warning: " + $id + " 已经存在于avalon.vmodels中") + } + if (typeof id === "object") { + var model = modelFactory(id) + } else { + var scope = { + $watch: noop + } + factory(scope) //得到所有定义 + model = modelFactory(scope) //偷天换日,将scope换为model + stopRepeatAssign = true + factory(model) + stopRepeatAssign = false } - factory(scope) //得到所有定义 - model = modelFactory(scope) //偷天换日,将scope换为model - stopRepeatAssign = true - factory(model) - stopRepeatAssign = false + model.$id = $id + return VMODELS[$id] = model } - model.$id = $id - return VMODELS[$id] = model -} //一些不需要被监听的属性 -var $$skipArray = String("$id,$watch,$unwatch,$fire,$events,$model,$skipArray").match(rword) + var $$skipArray = String("$id,$watch,$unwatch,$fire,$events,$model,$skipArray").match(rword) -function isObservable(name, value, $skipArray) { - if (isFunction(value) || value && value.nodeType) { - return false - } - if ($skipArray.indexOf(name) !== -1) { - return false - } - if ($$skipArray.indexOf(name) !== -1) { - return false - } - var $special = $skipArray.$special - if (name && name.charAt(0) === "$" && !$special[name]) { - return false - } - return true -} -//ms-with,ms-each, ms-repeat绑定生成的代理对象储存池 -var midway = {} -function getNewValue(accessor, name, value, $vmodel) { - switch (accessor.type) { - case 0://计算属性 - var getter = accessor.get - var setter = accessor.set - if (isFunction(setter)) { - var $events = $vmodel.$events - var lock = $events[name] - $events[name] = [] //清空回调,防止内部冒泡而触发多次$fire - setter.call($vmodel, value) - $events[name] = lock - } - return getter.call($vmodel) //同步$model - case 1://监控属性 - return value - case 2://对象属性(包括数组与哈希) - if (value !== $vmodel.$model[name]) { - var svmodel = accessor.svmodel = objectFactory($vmodel, name, value, accessor.valueType) - value = svmodel.$model //同步$model - var fn = midway[svmodel.$id] - fn && fn() //同步视图 - } - return value + function isObservable(name, value, $skipArray) { + if (isFunction(value) || value && value.nodeType) { + return false + } + if ($skipArray.indexOf(name) !== -1) { + return false + } + if ($$skipArray.indexOf(name) !== -1) { + return false + } + var $special = $skipArray.$special + if (name && name.charAt(0) === "$" && !$special[name]) { + return false + } + return true } -} -var defineProperty = Object.defineProperty -var canHideOwn = true -//如果浏览器不支持ecma262v5的Object.defineProperties或者存在BUG,比如IE8 -//标准浏览器使用__defineGetter__, __defineSetter__实现 -try { - defineProperty({}, "_", { - value: "x" - }) - var defineProperties = Object.defineProperties -} catch (e) { - canHideOwn = false -} -function modelFactory(source, $special, $model) { - if (Array.isArray(source)) { - var arr = source.concat() - source.length = 0 - var collection = Collection(source) - collection.pushArray(arr) - return collection - } - if (typeof source.nodeType === "number") { - return source - } - if (source.$id && source.$events) { //fix IE6-8 createWithProxy $val: val引发的BUG - return source - } - if (!Array.isArray(source.$skipArray)) { - source.$skipArray = [] - } - source.$skipArray.$special = $special || {} //强制要监听的属性 - var $vmodel = {} //要返回的对象, 它在IE6-8下可能被偷龙转凤 - $model = $model || {} //vmodels.$model属性 - var $events = {} //vmodel.$events属性 - var watchedProperties = {} //监控属性 - var initCallbacks = [] //初始化才执行的函数 - for (var i in source) { - (function(name, val) { - $model[name] = val - if (!isObservable(name, val, source.$skipArray)) { - return //过滤所有非监控属性 - } - //总共产生三种accessor - $events[name] = [] - var valueType = avalon.type(val) - var accessor = function(newValue) { - var name = accessor._name - var $vmodel = this - var $model = $vmodel.$model - var oldValue = $model[name] - var $events = $vmodel.$events - - if (arguments.length) { - if (stopRepeatAssign) { - return - } - //计算属性与对象属性需要重新计算newValue - if (accessor.type !== 1) { - newValue = getNewValue(accessor, name, newValue, $vmodel) - } - if (!isEqual(oldValue, newValue)) { - $model[name] = newValue - if ($events.$digest) { - if(accessor.pedding) +//ms-with,ms-each, ms-repeat绑定生成的代理对象储存池 + var midway = createMap() + + function getNewValue(accessor, name, value, $vmodel) { + switch (accessor.type) { + case 0://计算属性 + var getter = accessor.get + var setter = accessor.set + if (isFunction(setter)) { + var $events = $vmodel.$events + var lock = $events[name] + $events[name] = [] //清空回调,防止内部冒泡而触发多次$fire + setter.call($vmodel, value) + $events[name] = lock + } + return getter.call($vmodel) //同步$model + case 1://监控属性 + return value + case 2://对象属性(包括数组与哈希) + if (value !== $vmodel.$model[name]) { + var svmodel = accessor.svmodel = objectFactory($vmodel, name, value, accessor.valueType) + value = svmodel.$model //同步$model + var fn = midway[svmodel.$id] + fn && fn() //同步视图 + } + return value + } + } + + function modelFactory(source, $special, $model) { + if (Array.isArray(source)) { + var arr = source.concat() + source.length = 0 + var collection = Collection(source)// jshint ignore:line + collection.pushArray(arr) + return collection + } + //0 null undefined || Node || VModel + if (!source || source.nodeType > 0 || (source.$id && source.$events)) { + return source + } + if (!Array.isArray(source.$skipArray)) { + source.$skipArray = [] + } + source.$skipArray.$special = $special || createMap() //强制要监听的属性 + var $vmodel = {} //要返回的对象, 它在IE6-8下可能被偷龙转凤 + $model = $model || {} //vmodels.$model属性 + var $events = createMap() //vmodel.$events属性 + var watchedProperties = createMap() //监控属性 + var initCallbacks = [] //初始化才执行的函数 + for (var i in source) { + (function (name, val) { + $model[name] = val + if (!isObservable(name, val, source.$skipArray)) { + return //过滤所有非监控属性 + } + //总共产生三种accessor + $events[name] = [] + var valueType = avalon.type(val) + var accessor = function (newValue) { + var name = accessor._name + var $vmodel = this + var $model = $vmodel.$model + var oldValue = $model[name] + var $events = $vmodel.$events + + if (arguments.length) { + if (stopRepeatAssign) { + return + } + //计算属性与对象属性需要重新计算newValue + if (accessor.type !== 1) { + newValue = getNewValue(accessor, name, newValue, $vmodel) + if (!accessor.type) return - accessor.pedding = true - setTimeout(function() { - notifySubscribers($events[name]) //同步视图 - safeFire($vmodel, name, $model[name], oldValue) //触发$watch回调 - accessor.pedding = false - }) - } else { + } + if (!isEqual(oldValue, newValue)) { + $model[name] = newValue notifySubscribers($events[name]) //同步视图 safeFire($vmodel, name, newValue, oldValue) //触发$watch回调 } - } - } else { - if (accessor.type === 0) { //type 0 计算属性 1 监控属性 2 对象属性 - //计算属性不需要收集视图刷新函数,都是由其他监控属性代劳 - return $model[name] = accessor.get.call($vmodel) } else { - collectSubscribers($events[name]) //收集视图函数 - return accessor.svmodel || oldValue + if (accessor.type === 0) { //type 0 计算属性 1 监控属性 2 对象属性 + //计算属性不需要收集视图刷新函数,都是由其他监控属性代劳 + newValue = accessor.get.call($vmodel) + if (oldValue !== newValue) { + $model[name] = newValue + //这里不用同步视图 + safeFire($vmodel, name, newValue, oldValue) //触发$watch回调 + } + return newValue + } else { + collectSubscribers($events[name]) //收集视图函数 + return accessor.svmodel || oldValue + } } } - } - //总共产生三种accessor - if (valueType === "object" && isFunction(val.get) && Object.keys(val).length <= 2) { - //第1种为计算属性, 因变量,通过其他监控属性触发其改变 - accessor.set = val.set - accessor.get = val.get - accessor.type = 0 - initCallbacks.push(function() { - var data = { - evaluator: function() { - data.element = null - data.type = new Date - 0 - $model[name] = accessor.get.call($vmodel) - }, - element: head, - type: new Date - 0, - handler: noop, - args: [] - } - Registry[expose] = data - accessor.call($vmodel) - delete Registry[expose] - }) - } else if (rcomplexType.test(valueType)) { - //第2种为对象属性,产生子VM与监控数组 - accessor.type = 2 - accessor.valueType = val.valueType - initCallbacks.push(function() { - var svmodel = modelFactory(val, 0, $model[name]) - accessor.svmodel = svmodel - svmodel.$events[subscribers] = $events[name] - }) - } else { - accessor.type = 1 - //第3种为监控属性,对应简单的数据类型,自变量 - } - accessor._name = name - watchedProperties[name] = accessor - })(i, source[i]) - } + //总共产生三种accessor + if (valueType === "object" && isFunction(val.get) && Object.keys(val).length <= 2) { + //第1种为计算属性, 因变量,通过其他监控属性触发其改变 + accessor.set = val.set + accessor.get = val.get + accessor.type = 0 + initCallbacks.push(function () { + var data = { + evaluator: function () { + data.type = Math.random(), + data.element = null + $model[name] = accessor.get.call($vmodel) + }, + element: head, + type: Math.random(), + handler: noop, + args: [] + } + Registry[expose] = data + accessor.call($vmodel) + delete Registry[expose] + }) + } else if (rcomplexType.test(valueType)) { + //第2种为对象属性,产生子VM与监控数组 + accessor.type = 2 + accessor.valueType = valueType + initCallbacks.push(function () { + var svmodel = modelFactory(val, 0, $model[name]) + accessor.svmodel = svmodel + svmodel.$events[subscribers] = $events[name] + }) + } else { + accessor.type = 1 + //第3种为监控属性,对应简单的数据类型,自变量 + } + accessor._name = name + watchedProperties[name] = accessor + })(i, source[i])// jshint ignore:line + } - $$skipArray.forEach(function(name) { - delete source[name] - delete $model[name] //这些特殊属性不应该在$model中出现 - }) + $$skipArray.forEach(function (name) { + delete source[name] + delete $model[name] //这些特殊属性不应该在$model中出现 + }) - $vmodel = defineProperties($vmodel, descriptorFactory(watchedProperties), source) //生成一个空的ViewModel - for (var name in source) { - if (!watchedProperties[name]) { - $vmodel[name] = source[name] + $vmodel = Object.defineProperties($vmodel, descriptorFactory(watchedProperties), source) //生成一个空的ViewModel + for (var name in source) { + if (!watchedProperties[name]) { + $vmodel[name] = source[name] + } } - } - //添加$id, $model, $events, $watch, $unwatch, $fire - $vmodel.$id = generateID() - $vmodel.$model = $model - $vmodel.$events = $events - for (var i in EventBus) { - var fn = EventBus[i] - if (!W3C) { //在IE6-8下,VB对象的方法里的this并不指向自身,需要用bind处理一下 - fn = fn.bind($vmodel) + //添加$id, $model, $events, $watch, $unwatch, $fire + $vmodel.$id = generateID() + $vmodel.$model = $model + $vmodel.$events = $events + for (i in EventBus) { + $vmodel[i] = EventBus[i] } - $vmodel[i] = fn - } - if (canHideOwn) { Object.defineProperty($vmodel, "hasOwnProperty", { - value: function(name) { + value: function (name) { return name in this.$model }, writable: false, @@ -927,3483 +1043,3857 @@ function modelFactory(source, $special, $model) { configurable: true }) - } else { - $vmodel.hasOwnProperty = function(name) { - return name in $vmodel.$model - } + initCallbacks.forEach(function (cb) { //收集依赖 + cb() + }) + return $vmodel } - initCallbacks.forEach(function(cb) { //收集依赖 - cb() - }) - return $vmodel -} //比较两个值是否相等 -var isEqual = Object.is || function(v1, v2) { - if (v1 === 0 && v2 === 0) { - return 1 / v1 === 1 / v2 - } else if (v1 !== v1) { - return v2 !== v2 - } else { - return v1 === v2 - } -} + var isEqual = Object.is || function (v1, v2) { + if (v1 === 0 && v2 === 0) { + return 1 / v1 === 1 / v2 + } else if (v1 !== v1) { + return v2 !== v2 + } else { + return v1 === v2 + } + } -function safeFire(a, b, c, d) { - if (a.$events) { - EventBus.$fire.call(a, b, c, d) + function safeFire(a, b, c, d) { + if (a.$events) { + EventBus.$fire.call(a, b, c, d) + } } -} -var descriptorFactory = W3C ? function(obj) { - var descriptors = {} - for (var i in obj) { - descriptors[i] = { - get: obj[i], - set: obj[i], - enumerable: true, - configurable: true + var descriptorFactory = function (obj) { + var descriptors = createMap() + for (var i in obj) { + descriptors[i] = { + get: obj[i], + set: obj[i], + enumerable: true, + configurable: true + } } + return descriptors } - return descriptors -} : function(a) { - return a -} +//应用于第2种accessor + function objectFactory(parent, name, value, valueType) { + //a为原来的VM, b为新数组或新对象 + var son = parent[name] + if (valueType === "array") { + if (!Array.isArray(value) || son === value) { + return son //fix https://github.com/RubyLouvre/avalon/issues/261 + } + son._.$unwatch() + son.clear() + son._.$watch() + son.pushArray(value.concat()) + return son + } else { + var iterators = parent.$events[name] + var ret = modelFactory(value) + ret.$events[subscribers] = iterators + midway[ret.$id] = function (data) { + while (data = iterators.shift()) { + (function (el) { + avalon.nextTick(function () { + var type = el.type + if (type && bindingHandlers[type]) { //#753 + el.rollback && el.rollback() //还原 ms-with ms-on + bindingHandlers[type](el, el.vmodels) + } + }) + })(data)// jshint ignore:line + } + delete midway[ret.$id] + } + return ret + } + } + /********************************************************************* + * 监控数组(与ms-each, ms-repeat配合使用) * + **********************************************************************/ -//应用于第2种accessor -function objectFactory(parent, name, value, valueType) { - //a为原来的VM, b为新数组或新对象 - var son = parent[name] - if (valueType === "array") { - if (!Array.isArray(value) || son === value) { - return son //fix https://github.com/RubyLouvre/avalon/issues/261 - } - son.clear() - son.pushArray(value.concat()) - return son - } else { - var iterators = parent.$events[name] - var pool = son.$events.$withProxyPool - if (pool) { - recycleProxies(pool, "with") - son.$events.$withProxyPool = null - } - var ret = modelFactory(value) - ret.$events[subscribers] = iterators - midway[ret.$id] = function(data) { - while (data = iterators.shift()) { - (function(el) { - avalon.nextTick(function() { - if (el.type) { //重新绑定 - el.rollback && el.rollback() //还原 ms-with ms-on - bindingHandlers[el.type](el, el.vmodels) + function Collection(model) { + var array = [] + array.$id = generateID() + array.$model = model //数据模型 + array.$events = {} + array.$events[subscribers] = [] + array._ = modelFactory({ + length: model.length + }) + array._.$watch("length", function (a, b) { + array.$fire("length", a, b) + }) + for (var i in EventBus) { + array[i] = EventBus[i] + } + array.$map = { + el: 1 + } + array.$proxy = [] + avalon.mix(array, CollectionPrototype) + return array + } + + function mutateArray(method, pos, n, index, method2, pos2, n2) { + var oldLen = this.length, loop = 2 + while (--loop) { + switch (method) { + case "add": + /* jshint ignore:start */ + var m = pos + n + var array = this.$model.slice(pos, m).map(function (el) { + if (rcomplexType.test(avalon.type(el))) {//转换为VM + return el.$id ? el : modelFactory(el, 0, el) + } else { + return el } }) - })(data) + /* jshint ignore:end */ + for (var i = pos; i < m; i++) {//生成代理VM + var proxy = eachProxyAgent(i, this) + this.$proxy.splice(i, 0, proxy) + } + _splice.apply(this, [pos, 0].concat(array)) + this._fire("add", pos, n) + break + case "del": + var ret = this._splice(pos, n) + var removed = this.$proxy.splice(pos, n) //回收代理VM + recycleProxies(removed, "each") + this._fire("del", pos, n) + break } - delete midway[ret.$id] + if (method2) { + method = method2 + pos = pos2 + n = n2 + loop = 2 + method2 = 0 + } + } + resetIndex(this.$proxy, index) + if (this.length !== oldLen) { + this._.length = this.length } return ret } -} -/********************************************************************* - * 监控数组(与ms-each, ms-repeat配合使用) * - **********************************************************************/ - -function Collection(model) { - var array = [] - array.$id = generateID() - array.$model = model //数据模型 - array.$events = {} - array.$events[subscribers] = [] - array._ = modelFactory({ - length: model.length - }) - array._.$watch("length", function(a, b) { - array.$fire("length", a, b) - }) - for (var i in EventBus) { - array[i] = EventBus[i] - } - avalon.mix(array, CollectionPrototype) - return array -} - -function mutateArray(method, pos, n, index, method2, pos2, n2) { - var oldLen = this.length, loop = 2 - while (--loop) { - switch (method) { - case "add": - var array = this.$model.slice(pos, pos + n).map(function(el) { - if (rcomplexType.test(avalon.type(el))) { - return el.$id ? el : modelFactory(el, 0, el) - } else { - return el - } - }) - _splice.apply(this, [pos, 0].concat(array)) - this._fire("add", pos, n) - break - case "del": - var ret = this._splice(pos, n) - this._fire("del", pos, n) - break - } - if (method2) { - method = method2 - pos = pos2 - n = n2 - loop = 2 - method2 = 0 - } - } - this._fire("index", index) - if (this.length !== oldLen) { - this._.length = this.length - } - return ret -} - -var _splice = ap.splice -var CollectionPrototype = { - _splice: _splice, - _fire: function(method, a, b) { - var list = this.$events[subscribers] - for (var i = 0, fn; fn = list[i++]; ) { - if (fn.$repeat) { - fn.handler.call(fn, method, a, b) //处理监控数组的方法 - } - } - }, - size: function() { //取得数组长度,这个函数可以同步视图,length不能 - return this._.length - }, - pushArray: function(array) { - var m = array.length, n = this.length - if (m) { - ap.push.apply(this.$model, array) - mutateArray.call(this, "add", n, m, n) - } - return m + n - }, - push: function() { - //http://jsperf.com/closure-with-arguments - var array = [] - var i, n = arguments.length - for (i = 0; i < n; i++) { - array[i] = arguments[i] - } - return this.pushArray(arguments) - }, - unshift: function() { - var m = arguments.length, n = this.length - if (m) { - ap.unshift.apply(this.$model, arguments) - mutateArray.call(this, "add", 0, m, 0) - } - return m + n //IE67的unshift不会返回长度 - }, - shift: function() { - if (this.length) { - var el = this.$model.shift() - mutateArray.call(this, "del", 0, 1, 0) - return el //返回被移除的元素 - } - }, - pop: function() { - var m = this.length - if (m) { - var el = this.$model.pop() - mutateArray.call(this, "del", m - 1, 1, Math.max(0, m - 2)) - return el //返回被移除的元素 - } - }, - splice: function(start) { - var m = arguments.length, args = [], change - var removed = _splice.apply(this.$model, arguments) - if (removed.length) { //如果用户删掉了元素 - args.push("del", start, removed.length, 0) - change = true - } - if (m > 2) { //如果用户添加了元素 - args.splice(3, 1, 0, "add", start, m - 2) - change = true - } - if (change) { //返回被移除的元素 - return mutateArray.apply(this, args) - } else { + + var _splice = ap.splice + var CollectionPrototype = { + _splice: _splice, + _fire: function (method, a, b) { + notifySubscribers(this.$events[subscribers], method, a, b) + }, + size: function () { //取得数组长度,这个函数可以同步视图,length不能 + return this._.length + }, + pushArray: function (array) { + var m = array.length, n = this.length + if (m) { + ap.push.apply(this.$model, array) + mutateArray.call(this, "add", n, m, Math.max(0, n - 1)) + } + return m + n + }, + push: function () { + //http://jsperf.com/closure-with-arguments + var array = [] + var i, n = arguments.length + for (i = 0; i < n; i++) { + array[i] = arguments[i] + } + return this.pushArray(array) + }, + unshift: function () { + var m = arguments.length, n = this.length + if (m) { + ap.unshift.apply(this.$model, arguments) + mutateArray.call(this, "add", 0, m, 0) + } + return m + n //IE67的unshift不会返回长度 + }, + shift: function () { + if (this.length) { + var el = this.$model.shift() + mutateArray.call(this, "del", 0, 1, 0) + return el //返回被移除的元素 + } + }, + pop: function () { + var n = this.length + if (n) { + var el = this.$model.pop() + mutateArray.call(this, "del", n - 1, 1, Math.max(0, n - 2)) + return el //返回被移除的元素 + } + }, + splice: function (start) { + var m = arguments.length, args = [], change + var removed = _splice.apply(this.$model, arguments) + if (removed.length) { //如果用户删掉了元素 + args.push("del", start, removed.length, 0) + change = true + } + if (m > 2) { //如果用户添加了元素 + if (change) { + args.splice(3, 1, 0, "add", start, m - 2) + } else { + args.push("add", start, m - 2, 0) + } + change = true + } + if (change) { //返回被移除的元素 + return mutateArray.apply(this, args) + } else { + return [] + } + }, + contains: function (el) { //判定是否包含 + return this.indexOf(el) !== -1 + }, + remove: function (el) { //移除第一个等于给定值的元素 + return this.removeAt(this.indexOf(el)) + }, + removeAt: function (index) { //移除指定索引上的元素 + if (index >= 0) { + this.$model.splice(index, 1) + return mutateArray.call(this, "del", index, 1, 0) + } return [] - } - }, - contains: function(el) { //判定是否包含 - return this.indexOf(el) !== -1 - }, - remove: function(el) { //移除第一个等于给定值的元素 - return this.removeAt(this.indexOf(el)) - }, - removeAt: function(index) { //移除指定索引上的元素 - if (index >= 0) { - this.$model.splice(index, 1) - return mutateArray.call(this, "del", index, 1, 0) - } - return [] - }, - clear: function() { - this.$model.length = this.length = this._.length = 0 //清空数组 - this._fire("clear", 0) - return this - }, - removeAll: function(all) { //移除N个元素 - if (Array.isArray(all)) { - all.forEach(function(el) { - this.remove(el) - }, this) - } else if (typeof all === "function") { - for (var i = this.length - 1; i >= 0; i--) { - var el = this[i] - if (all(el, i)) { - this.removeAt(i) + }, + clear: function () { + recycleProxies(this.$proxy, "each") + this.$model.length = this.$proxy.length = this.length = this._.length = 0 //清空数组 + this._fire("clear", 0) + return this + }, + removeAll: function (all) { //移除N个元素 + if (Array.isArray(all)) { + all.forEach(function (el) { + this.remove(el) + }, this) + } else if (typeof all === "function") { + for (var i = this.length - 1; i >= 0; i--) { + var el = this[i] + if (all(el, i)) { + this.removeAt(i) + } } + } else { + this.clear() } - } else { - this.clear() - } - }, - ensure: function(el) { - if (!this.contains(el)) { //只有不存在才push - this.push(el) - } - return this - }, - set: function(index, val) { - if (index >= 0) { - var valueType = avalon.type(val) - if (val && val.$model) { - val = val.$model - } - var target = this[index] - if (valueType === "object") { - for (var i in val) { - if (target.hasOwnProperty(i)) { - target[i] = val[i] + }, + ensure: function (el) { + if (!this.contains(el)) { //只有不存在才push + this.push(el) + } + return this + }, + set: function (index, val) { + if (index >= 0) { + var valueType = avalon.type(val) + if (val && val.$model) { + val = val.$model + } + var target = this[index] + if (valueType === "object") { + for (var i in val) { + if (target.hasOwnProperty(i)) { + target[i] = val[i] + } } + } else if (valueType === "array") { + target.clear().push.apply(target, val) + } else if (target !== val) { + this[index] = val + this.$model[index] = val + var proxy = this.$proxy[index] + if (proxy) { + notifySubscribers(proxy.$events.el) + } + // this._fire("set", index, val) } - } else if (valueType === "array") { - target.clear().push.apply(target, val) - } else if (target !== val) { - this[index] = val - this.$model[index] = val - this._fire("set", index, val) } + return this + } + } +//相当于原来bindingExecutors.repeat 的index分支 + function resetIndex(array, pos) { + var last = array.length - 1 + for (var el; el = array[pos]; pos++) { + el.$index = pos + el.$first = pos === 0 + el.$last = pos === last } - return this } -} -function sortByIndex(array, indexes) { - var map = {}; - for (var i = 0, n = indexes.length; i < n; i++) { - map[i] = array[i] // preserve - var j = indexes[i] - if (j in map) { - array[i] = map[j] - delete map[j] - } else { - array[i] = array[j] - } - } -} - -"sort,reverse".replace(rword, function(method) { - CollectionPrototype[method] = function() { - var newArray = this.$model//这是要排序的新数组 - var oldArray = newArray.concat() //保持原来状态的旧数组 - var mask = Math.random() - var indexes = [] - var hasSort - ap[method].apply(newArray, arguments) //排序 - for (var i = 0, n = oldArray.length; i < n; i++) { - var neo = newArray[i] - var old = oldArray[i] - if (isEqual(neo, old)) { - indexes.push(i) + function sortByIndex(array, indexes) { + var map = {}; + for (var i = 0, n = indexes.length; i < n; i++) { + map[i] = array[i] // preserve + var j = indexes[i] + if (j in map) { + array[i] = map[j] + delete map[j] } else { - var index = oldArray.indexOf(neo) - indexes.push(index)//得到新数组的每个元素在旧数组对应的位置 - oldArray[index] = mask //屏蔽已经找过的元素 - hasSort = true + array[i] = array[j] } } - if (hasSort) { - sortByIndex(this, indexes) - this._fire("move", indexes) - this._fire("index", 0) - } - return this } -}) -/********************************************************************* - * 依赖调度系统 * - **********************************************************************/ -var ronduplex = /^(duplex|on)$/ - -function registerSubscriber(data) { - Registry[expose] = data //暴光此函数,方便collectSubscribers收集 - avalon.openComputedCollect = true - var fn = data.evaluator - if (fn) { //如果是求值函数 - try { - var c = ronduplex.test(data.type) ? data : fn.apply(0, data.args) - data.handler(c, data.element, data) - } catch (e) { - //log("warning:exception throwed in [registerSubscriber] " + e) - delete data.evaluator - var node = data.element - if (node.nodeType === 3) { - var parent = node.parentNode - if (kernel.commentInterpolate) { - parent.replaceChild(DOC.createComment(data.value), node) + "sort,reverse".replace(rword, function (method) { + CollectionPrototype[method] = function () { + var newArray = this.$model//这是要排序的新数组 + var oldArray = newArray.concat() //保持原来状态的旧数组 + var mask = Math.random() + var indexes = [] + var hasSort + ap[method].apply(newArray, arguments) //排序 + for (var i = 0, n = oldArray.length; i < n; i++) { + var neo = newArray[i] + var old = oldArray[i] + if (isEqual(neo, old)) { + indexes.push(i) } else { - node.data = openTag + data.value + closeTag + var index = oldArray.indexOf(neo) + indexes.push(index)//得到新数组的每个元素在旧数组对应的位置 + oldArray[index] = mask //屏蔽已经找过的元素 + hasSort = true + } + } + if (hasSort) { + sortByIndex(this, indexes) + sortByIndex(this.$proxy, indexes) + this._fire("move", indexes) + resetIndex(this.$proxy, 0) + } + return this + } + }) + + /********************************************************************* + * 依赖调度系统 * + **********************************************************************/ + var ronduplex = /^(duplex|on)$/ + + avalon.injectBinding = function (data) { + Registry[expose] = data //暴光此函数,方便collectSubscribers收集 + avalon.openComputedCollect = true + var fn = data.evaluator + if (fn) { //如果是求值函数 + try { + var c = ronduplex.test(data.type) ? data : fn.apply(0, data.args) + if (!data.noRefresh) + data.handler(c, data.element, data) + } catch (e) { + //log("warning:exception throwed in [avalon.injectBinding] " + e) + delete data.evaluator + var node = data.element + if (node.nodeType === 3) { + var parent = node.parentNode + if (kernel.commentInterpolate) { + parent.replaceChild(DOC.createComment(data.value), node) + } else { + node.data = openTag + data.value + closeTag + } } } } + avalon.openComputedCollect = false + delete Registry[expose] } - avalon.openComputedCollect = false - delete Registry[expose] -} -function collectSubscribers(list) { //收集依赖于这个访问器的订阅者 - var data = Registry[expose] - if (list && data && avalon.Array.ensure(list, data) && data.element) { //只有数组不存在此元素才push进去 - addSubscribers(data, list) + function collectSubscribers(list) { //收集依赖于这个访问器的订阅者 + var data = Registry[expose] + if (list && data && avalon.Array.ensure(list, data) && data.element) { //只有数组不存在此元素才push进去 + addSubscribers(data, list) + } } -} -function addSubscribers(data, list) { - data.$uuid = data.$uuid || generateID() - list.$uuid = list.$uuid || generateID() - var obj = { - data: data, - list: list, - $$uuid: data.$uuid + list.$uuid - } - if (!$$subscribers[obj.$$uuid]) { - $$subscribers[obj.$$uuid] = 1 - $$subscribers.push(obj) + function addSubscribers(data, list) { + data.$uuid = data.$uuid || generateID() + list.$uuid = list.$uuid || generateID() + var obj = { + data: data, + list: list, + $$uuid: data.$uuid + list.$uuid + } + if (!$$subscribers[obj.$$uuid]) { + $$subscribers[obj.$$uuid] = 1 + $$subscribers.push(obj) + } } -} -function disposeData(data) { - data.element = null - data.rollback && data.rollback() - for (var key in data) { - data[key] = null + function disposeData(data) { + data.element = null + data.rollback && data.rollback() + for (var key in data) { + data[key] = null + } } -} -function isRemove(el) { - try {//IE下,如果文本节点脱离DOM树,访问parentNode会报错 - if (!el.parentNode) { + function isRemove(el) { + try {//IE下,如果文本节点脱离DOM树,访问parentNode会报错 + if (!el.parentNode) { + return true + } + } catch (e) { return true } - } catch (e) { - return true - } - return el.msRetain ? 0 : (el.nodeType === 1 ? typeof el.sourceIndex === "number" ? - el.sourceIndex === 0 : !root.contains(el) : !avalon.contains(root, el)) -} -var $$subscribers = avalon.$$subscribers = [] -var beginTime = new Date() -var oldInfo = {} -function removeSubscribers() { - var i = $$subscribers.length - var n = i - var k = 0 - var obj - var types = [] - var newInfo = {} - var needTest = {} - while (obj = $$subscribers[--i]) { - var data = obj.data - var type = data.type - if (newInfo[type]) { - newInfo[type]++ - } else { - newInfo[type] = 1 - types.push(type) - } + return el.msRetain ? 0 : (el.nodeType === 1 ? typeof el.sourceIndex === "number" ? + el.sourceIndex === 0 : !root.contains(el) : !avalon.contains(root, el)) } - var diff = false - types.forEach(function(type) { - if (oldInfo[type] !== newInfo[type]) { - needTest[type] = 1 - diff = true - } - }) - i = n - //avalon.log("需要检测的个数 " + i) - if (diff) { - //avalon.log("有需要移除的元素") + + var $$subscribers = avalon.$$subscribers = [] + var beginTime = new Date() + var oldInfo = {} + + function removeSubscribers() { + var i = $$subscribers.length + var n = i + var k = 0 + var obj + var types = [] + var newInfo = {} + var needTest = {} while (obj = $$subscribers[--i]) { var data = obj.data - if (data.element === void 0) - continue - if (needTest[data.type] && isRemove(data.element)) { //如果它没有在DOM树 - k++ - $$subscribers.splice(i, 1) - delete $$subscribers[obj.$$uuid] - avalon.Array.remove(obj.list, data) - //log("debug: remove " + data.type) - disposeData(data) - obj.data = obj.list = null - } - } - } - oldInfo = newInfo - // avalon.log("已经移除的个数 " + k) - beginTime = new Date() -} - -function notifySubscribers(list) { //通知依赖于这个访问器的订阅者更新自身 - if (list && list.length) { - if (new Date() - beginTime > 444 && typeof list[0] === "object") { - removeSubscribers() - } - var args = aslice.call(arguments, 1) - for (var i = list.length, fn; fn = list[--i]; ) { - var el = fn.element - if (el && el.parentNode) { - if (fn.$repeat) { - fn.handler.apply(fn, args) //处理监控数组的方法 - } else if (fn.type !== "on") { //事件绑定只能由用户触发,不能由程序触发 - var fun = fn.evaluator || noop - fn.handler(fun.apply(0, fn.args || []), el, fn) + var type = data.type + if (newInfo[type]) { + newInfo[type]++ + } else { + newInfo[type] = 1 + types.push(type) + } + } + var diff = false + types.forEach(function (type) { + if (oldInfo[type] !== newInfo[type]) { + needTest[type] = 1 + diff = true + } + }) + i = n + //avalon.log("需要检测的个数 " + i) + if (diff) { + //avalon.log("有需要移除的元素") + while (obj = $$subscribers[--i]) { + data = obj.data + if (data.element === void 0) + continue + if (needTest[data.type] && isRemove(data.element)) { //如果它没有在DOM树 + k++ + $$subscribers.splice(i, 1) + delete $$subscribers[obj.$$uuid] + avalon.Array.remove(obj.list, data) + //log("debug: remove " + data.type) + disposeData(data) + obj.data = obj.list = null + } + } + } + oldInfo = newInfo + // avalon.log("已经移除的个数 " + k) + beginTime = new Date() + } + + function notifySubscribers(list) { //通知依赖于这个访问器的订阅者更新自身 + if (list && list.length) { + if (new Date() - beginTime > 444 && typeof list[0] === "object") { + removeSubscribers() + } + var args = aslice.call(arguments, 1) + for (var i = list.length, fn; fn = list[--i];) { + var el = fn.element + if (el && el.parentNode) { + if (fn.$repeat) { + fn.handler.apply(fn, args) //处理监控数组的方法 + } else if (fn.type !== "on") { //事件绑定只能由用户触发,不能由程序触发 + var fun = fn.evaluator || noop + fn.handler(fun.apply(0, fn.args || []), el, fn) + } } } } } -} -/************************************************************************ - * HTML处理(parseHTML, innerHTML, clearHTML) * - **************************************************************************/ + /************************************************************************ + * HTML处理(parseHTML, innerHTML, clearHTML) * + **************************************************************************/ //parseHTML的辅助变量 -var tagHooks = new function() { - avalon.mix(this, { - option: DOC.createElement("select"), - thead: DOC.createElement("table"), - td: DOC.createElement("tr"), - area: DOC.createElement("map"), - tr: DOC.createElement("tbody"), - col: DOC.createElement("colgroup"), - legend: DOC.createElement("fieldset"), - _default: DOC.createElement("div"), - "g": DOC.createElementNS("http://www.w3.org/2000/svg", "svg") + var tagHooks = new function () {// jshint ignore:line + avalon.mix(this, { + option: DOC.createElement("select"), + thead: DOC.createElement("table"), + td: DOC.createElement("tr"), + area: DOC.createElement("map"), + tr: DOC.createElement("tbody"), + col: DOC.createElement("colgroup"), + legend: DOC.createElement("fieldset"), + _default: DOC.createElement("div"), + "g": DOC.createElementNS("http://www.w3.org/2000/svg", "svg") + }) + this.optgroup = this.option + this.tbody = this.tfoot = this.colgroup = this.caption = this.thead + this.th = this.td + }// jshint ignore:line + + String("circle,defs,ellipse,image,line,path,polygon,polyline,rect,symbol,text,use").replace(rword, function (tag) { + tagHooks[tag] = tagHooks.g //处理SVG }) - this.optgroup = this.option - this.tbody = this.tfoot = this.colgroup = this.caption = this.thead - this.th = this.td -} - -tagHooks.optgroup = tagHooks.option -tagHooks.tbody = tagHooks.tfoot = tagHooks.colgroup = tagHooks.caption = tagHooks.thead -tagHooks.th = tagHooks.td - -String("circle,defs,ellipse,image,line,path,polygon,polyline,rect,symbol,text,use").replace(rword, function(tag) { - tagHooks[tag] = tagHooks.g //处理SVG -}) -var rtagName = /<([\w:]+)/ -var rxhtml = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig -var scriptTypes = oneObject(["", "text/javascript", "text/ecmascript", "application/ecmascript", "application/javascript"]) -var script = DOC.createElement("script") - -avalon.parseHTML = function(html) { - if (typeof html !== "string") { - html = html + "" - } - html = html.replace(rxhtml, "<$1>").trim() - var tag = (rtagName.exec(html) || ["", ""])[1].toLowerCase(), - //取得其标签名 + var rtagName = /<([\w:]+)/ + var rxhtml = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig + var scriptTypes = oneObject(["", "text/javascript", "text/ecmascript", "application/ecmascript", "application/javascript"]) + var script = DOC.createElement("script") + var rhtml = /<|&#?\w+;/ + avalon.parseHTML = function (html) { + var fragment = hyperspace.cloneNode(false) + if (typeof html !== "string") { + return fragment + } + if (!rhtml.test(html)) { + fragment.appendChild(DOC.createTextNode(html)) + return fragment + } + html = html.replace(rxhtml, "<$1>").trim() + var tag = (rtagName.exec(html) || ["", ""])[1].toLowerCase(), + //取得其标签名 wrapper = tagHooks[tag] || tagHooks._default, - fragment = hyperspace.cloneNode(false), firstChild - wrapper.innerHTML = html - var els = wrapper.getElementsByTagName("script") - if (els.length) { //使用innerHTML生成的script节点不会发出请求与执行text属性 - for (var i = 0, el; el = els[i++]; ) { - if (scriptTypes[el.type]) { - var neo = script.cloneNode(false) //FF不能省略参数 - ap.forEach.call(el.attributes, function(attr) { - neo.setAttribute(attr.name, attr.value) - }) - neo.text = el.text - el.parentNode.replaceChild(neo, el) + wrapper.innerHTML = html + var els = wrapper.getElementsByTagName("script") + if (els.length) { //使用innerHTML生成的script节点不会发出请求与执行text属性 + for (var i = 0, el; el = els[i++];) { + if (scriptTypes[el.type]) { + var neo = script.cloneNode(false) //FF不能省略参数 + ap.forEach.call(el.attributes, function (attr) { + neo.setAttribute(attr.name, attr.value) + })// jshint ignore:line + neo.text = el.text + el.parentNode.replaceChild(neo, el) + } } } - } - while (firstChild = wrapper.firstChild) { // 将wrapper上的节点转移到文档碎片上! - fragment.appendChild(firstChild) + while (firstChild = wrapper.firstChild) { // 将wrapper上的节点转移到文档碎片上! + fragment.appendChild(firstChild) + } + return fragment } - return fragment -} -avalon.innerHTML = function(node, html) { - var a = this.parseHTML(html) - this.clearHTML(node).appendChild(a) -} + avalon.innerHTML = function (node, html) { + var a = this.parseHTML(html) + this.clearHTML(node).appendChild(a) + } -avalon.clearHTML = function(node) { - node.textContent = "" - while (node.firstChild) { - node.removeChild(node.firstChild) + avalon.clearHTML = function (node) { + node.textContent = "" + while (node.firstChild) { + node.removeChild(node.firstChild) + } + return node } - return node -} -/********************************************************************* - * 扫描系统 * - **********************************************************************/ -avalon.scan = function(elem, vmodel, group) { - elem = elem || root - var vmodels = vmodel ? [].concat(vmodel) : [] - scanTag(elem, vmodels) -} + /********************************************************************* + * 扫描系统 * + **********************************************************************/ + + avalon.scan = function (elem, vmodel) { + elem = elem || root + var vmodels = vmodel ? [].concat(vmodel) : [] + scanTag(elem, vmodels) + } //http://www.w3.org/TR/html5/syntax.html#void-elements -var stopScan = oneObject("area,base,basefont,br,col,command,embed,hr,img,input,link,meta,param,source,track,wbr,noscript,script,style,textarea".toUpperCase()) - -function checkScan(elem, callback, innerHTML) { - var id = setTimeout(function() { - var currHTML = elem.innerHTML - clearTimeout(id) - if (currHTML === innerHTML) { - callback() - } else { - checkScan(elem, callback, currHTML) - } - }) -} + var stopScan = oneObject("area,base,basefont,br,col,command,embed,hr,img,input,link,meta,param,source,track,wbr,noscript,script,style,textarea".toUpperCase()) + + function checkScan(elem, callback, innerHTML) { + var id = setTimeout(function () { + var currHTML = elem.innerHTML + clearTimeout(id) + if (currHTML === innerHTML) { + callback() + } else { + checkScan(elem, callback, currHTML) + } + }) + } -function createSignalTower(elem, vmodel) { - var id = elem.getAttribute("avalonctrl") || vmodel.$id - elem.setAttribute("avalonctrl", id) - vmodel.$events.expr = elem.tagName + '[avalonctrl="' + id + '"]' -} + function createSignalTower(elem, vmodel) { + var id = elem.getAttribute("avalonctrl") || vmodel.$id + elem.setAttribute("avalonctrl", id) + vmodel.$events.expr = elem.tagName + '[avalonctrl="' + id + '"]' + } -var getBindingCallback = function(elem, name, vmodels) { - var callback = elem.getAttribute(name) - if (callback) { - for (var i = 0, vm; vm = vmodels[i++]; ) { - if (vm.hasOwnProperty(callback) && typeof vm[callback] === "function") { - return vm[callback] + var getBindingCallback = function (elem, name, vmodels) { + var callback = elem.getAttribute(name) + if (callback) { + for (var i = 0, vm; vm = vmodels[i++];) { + if (vm.hasOwnProperty(callback) && typeof vm[callback] === "function") { + return vm[callback] + } } } } -} -function executeBindings(bindings, vmodels) { - for (var i = 0, data; data = bindings[i++]; ) { - data.vmodels = vmodels - bindingHandlers[data.type](data, vmodels) - if (data.evaluator && data.element && data.element.nodeType === 1) { //移除数据绑定,防止被二次解析 - //chrome使用removeAttributeNode移除不存在的特性节点时会报错 https://github.com/RubyLouvre/avalon/issues/99 - data.element.removeAttribute(data.name) + function executeBindings(bindings, vmodels) { + for (var i = 0, data; data = bindings[i++];) { + data.vmodels = vmodels + bindingHandlers[data.type](data, vmodels) + if (data.evaluator && data.element && data.element.nodeType === 1) { //移除数据绑定,防止被二次解析 + //chrome使用removeAttributeNode移除不存在的特性节点时会报错 https://github.com/RubyLouvre/avalon/issues/99 + data.element.removeAttribute(data.name) + } } + bindings.length = 0 } - bindings.length = 0 -} //https://github.com/RubyLouvre/avalon/issues/636 -var mergeTextNodes = IEVersion && window.MutationObserver ? function (elem) { - var node = elem.firstChild, text - while (node) { - var aaa = node.nextSibling - if (node.nodeType === 3) { - if (text) { - text.nodeValue += node.nodeValue - elem.removeChild(node) + var mergeTextNodes = IEVersion && window.MutationObserver ? function (elem) { + var node = elem.firstChild, text + while (node) { + var aaa = node.nextSibling + if (node.nodeType === 3) { + if (text) { + text.nodeValue += node.nodeValue + elem.removeChild(node) + } else { + text = node + } } else { - text = node + text = null } - } else { - text = null - } - node = aaa - } -} : 0 - -var rmsAttr = /ms-(\w+)-?(.*)/ -var priorityMap = { - "if": 10, - "repeat": 90, - "data": 100, - "widget": 110, - "each": 1400, - "with": 1500, - "duplex": 2000, - "on": 3000 -} - -var events = oneObject("animationend,blur,change,input,click,dblclick,focus,keydown,keypress,keyup,mousedown,mouseenter,mouseleave,mousemove,mouseout,mouseover,mouseup,scan,scroll,submit") -var obsoleteAttrs = oneObject("value,title,alt,checked,selected,disabled,readonly,enabled") -function bindingSorter(a, b) { - return a.priority - b.priority -} - -function scanTag(elem, vmodels, node) { - //扫描顺序 ms-skip(0) --> ms-important(1) --> ms-controller(2) --> ms-if(10) --> ms-repeat(100) - //--> ms-if-loop(110) --> ms-attr(970) ...--> ms-each(1400)-->ms-with(1500)--〉ms-duplex(2000)垫后 - var a = elem.getAttribute("ms-skip") - var b = elem.getAttributeNode("ms-important") - var c = elem.getAttributeNode("ms-controller") - if (typeof a === "string") { - return - } else if (node = b || c) { - var newVmodel = avalon.vmodels[node.value] - if (!newVmodel) { - return + node = aaa } - //ms-important不包含父VM,ms-controller相反 - vmodels = node === b ? [newVmodel] : [newVmodel].concat(vmodels) - elem.removeAttribute(node.name) //removeAttributeNode不会刷新[ms-controller]样式规则 - elem.classList.remove(node.name) - createSignalTower(elem, newVmodel) - } - scanAttr(elem, vmodels) //扫描特性节点 -} -function scanNodeList(parent, vmodels) { - var node = parent.firstChild - while (node) { - var nextNode = node.nextSibling - scanNode(node, node.nodeType, vmodels) - node = nextNode - } -} - -function scanNodeArray(nodes, vmodels) { - for (var i = 0, node; node = nodes[i++]; ) { - scanNode(node, node.nodeType, vmodels) - } -} -function scanNode(node, nodeType, vmodels) { - if (nodeType === 1) { - scanTag(node, vmodels) //扫描元素节点 - } else if (nodeType === 3 && rexpr.test(node.data)){ - scanText(node, vmodels) //扫描文本节点 - } else if (kernel.commentInterpolate && nodeType === 8 && !rexpr.test(node.nodeValue)) { - scanText(node, vmodels) //扫描注释节点 - } -} -function scanAttr(elem, vmodels) { - //防止setAttribute, removeAttribute时 attributes自动被同步,导致for循环出错 - var attributes = elem.hasAttributes() ? avalon.slice(elem.attributes) : [] - var bindings = [], - msData = {}, + } : 0 + + var rmsAttr = /ms-(\w+)-?(.*)/ + var priorityMap = { + "if": 10, + "repeat": 90, + "data": 100, + "widget": 110, + "each": 1400, + "with": 1500, + "duplex": 2000, + "on": 3000 + } + + var events = oneObject("animationend,blur,change,input,click,dblclick,focus,keydown,keypress,keyup,mousedown,mouseenter,mouseleave,mousemove,mouseout,mouseover,mouseup,scan,scroll,submit") + var obsoleteAttrs = oneObject("value,title,alt,checked,selected,disabled,readonly,enabled") + + function bindingSorter(a, b) { + return a.priority - b.priority + } + + function scanAttr(elem, vmodels) { + //防止setAttribute, removeAttribute时 attributes自动被同步,导致for循环出错 + var attributes = elem.hasAttributes() ? avalon.slice(elem.attributes) : [] + var bindings = [], + msData = createMap(), match - for (var i = 0, attr; attr = attributes[i++]; ) { - if (attr.specified) { - if (match = attr.name.match(rmsAttr)) { - //如果是以指定前缀命名的 - var type = match[1] - var param = match[2] || "" - var value = attr.value - var name = attr.name - msData[name] = value - if (events[type]) { - param = type - type = "on" - } else if (obsoleteAttrs[type]) { - log("ms-" + type + "已经被废弃,请使用ms-attr-*代替") - if (type === "enabled") {//吃掉ms-enabled绑定,用ms-disabled代替 - type = "disabled" - value = "!(" + value + ")" - } - param = type - type = "attr" - elem.removeAttribute(name) - name = "ms-attr-" + param - elem.setAttribute(name, value) - match = [name] + for (var i = 0, attr; attr = attributes[i++];) { + if (attr.specified) { + if (match = attr.name.match(rmsAttr)) { + //如果是以指定前缀命名的 + var type = match[1] + var param = match[2] || "" + var value = attr.value + var name = attr.name msData[name] = value - } - if (typeof bindingHandlers[type] === "function") { - var binding = { - type: type, - param: param, - element: elem, - name: match[0], - value: value, - priority: type in priorityMap ? priorityMap[type] : type.charCodeAt(0) * 10 + (Number(param) || 0) - } - if (type === "html" || type === "text") { - var token = getToken(value) - avalon.mix(binding, token) - binding.filters = binding.filters.replace(rhasHtml, function() { - binding.type = "html" - binding.group = 1 - return "" - }) - } - if (name === "ms-if-loop") { - binding.priority += 100 + if (events[type]) { + param = type + type = "on" + } else if (obsoleteAttrs[type]) { + log("warning!请改用ms-attr-" + type + "代替ms-" + type + "!") + if (type === "enabled") {//吃掉ms-enabled绑定,用ms-disabled代替 + log("warning!ms-enabled或ms-attr-enabled已经被废弃") + type = "disabled" + value = "!(" + value + ")" + } + param = type + type = "attr" + elem.removeAttribute(name) + name = "ms-attr-" + param + elem.setAttribute(name, value) + match = [name] + msData[name] = value } - if (vmodels.length) { - bindings.push(binding) - if (type === "widget") { - elem.msData = elem.msData || msData + if (typeof bindingHandlers[type] === "function") { + var binding = { + type: type, + param: param, + element: elem, + name: match[0], + value: value, + priority: type in priorityMap ? priorityMap[type] : type.charCodeAt(0) * 10 + (Number(param) || 0) + } + if (type === "html" || type === "text") { + var token = getToken(value) + avalon.mix(binding, token) + binding.filters = binding.filters.replace(rhasHtml, function () { + binding.type = "html" + binding.group = 1 + return "" + })// jshint ignore:line + } + if (name === "ms-if-loop") { + binding.priority += 100 + } + if (vmodels.length) { + bindings.push(binding) + if (type === "widget") { + elem.msData = elem.msData || msData + } } } } } } + var control = elem.type + if (control && msData["ms-duplex"]) { + if (msData["ms-attr-checked"] && /radio|checkbox/.test(control)) { + log("warning!" + control + "控件不能同时定义ms-attr-checked与ms-duplex") + } + if (msData["ms-attr-value"] && /text|password/.test(control)) { + log("warning!" + control + "控件不能同时定义ms-attr-value与ms-duplex") + } + } + bindings.sort(bindingSorter) + var scanNode = true + for (i = 0; binding = bindings[i]; i++) { + type = binding.type + if (rnoscanAttrBinding.test(type)) { + return executeBindings(bindings.slice(0, i + 1), vmodels) + } else if (scanNode) { + scanNode = !rnoscanNodeBinding.test(type) + } + } + executeBindings(bindings, vmodels) + if (scanNode && !stopScan[elem.tagName] && rbind.test(elem.innerHTML + elem.textContent)) { + mergeTextNodes && mergeTextNodes(elem) + scanNodeList(elem, vmodels) //扫描子孙元素 + } + } + + var rnoscanAttrBinding = /^if|widget|repeat$/ + var rnoscanNodeBinding = /^each|with|html|include$/ + + function scanNodeList(parent, vmodels) { + var node = parent.firstChild + while (node) { + var nextNode = node.nextSibling + scanNode(node, node.nodeType, vmodels) + node = nextNode + } } - if (msData["ms-attr-checked"] && msData["ms-duplex"]) { - log("warning!一个元素上不能同时定义ms-attr-checked与ms-duplex") + + function scanNodeArray(nodes, vmodels) { + for (var i = 0, node; node = nodes[i++];) { + scanNode(node, node.nodeType, vmodels) + } } - bindings.sort(bindingSorter) - var scanNode = true - for (var i = 0, binding; binding = bindings[i]; i++) { - var type = binding.type - if (rnoscanAttrBinding.test(type)) { - return executeBindings(bindings.slice(0, i + 1), vmodels) - } else if (scanNode) { - scanNode = !rnoscanNodeBinding.test(type) + + function scanNode(node, nodeType, vmodels) { + if (nodeType === 1) { + scanTag(node, vmodels) //扫描元素节点 + if (node.msCallback) { + node.msCallback() + node.msCallback = void 0 + } + } else if (nodeType === 3 && rexpr.test(node.data)) { + scanText(node, vmodels) //扫描文本节点 + } else if (kernel.commentInterpolate && nodeType === 8 && !rexpr.test(node.nodeValue)) { + scanText(node, vmodels) //扫描注释节点 } } - executeBindings(bindings, vmodels) - if (scanNode && !stopScan[elem.tagName] && rbind.test(elem.innerHTML + elem.textContent)) { - mergeTextNodes && mergeTextNodes(elem) - scanNodeList(elem, vmodels) //扫描子孙元素 + + function scanTag(elem, vmodels, node) { + //扫描顺序 ms-skip(0) --> ms-important(1) --> ms-controller(2) --> ms-if(10) --> ms-repeat(100) + //--> ms-if-loop(110) --> ms-attr(970) ...--> ms-each(1400)-->ms-with(1500)--〉ms-duplex(2000)垫后 + var a = elem.getAttribute("ms-skip") + var b = elem.getAttributeNode("ms-important") + var c = elem.getAttributeNode("ms-controller") + if (typeof a === "string") { + return + } else if (node = b || c) { + var newVmodel = avalon.vmodels[node.value] + if (!newVmodel) { + return + } + //ms-important不包含父VM,ms-controller相反 + vmodels = node === b ? [newVmodel] : [newVmodel].concat(vmodels) + elem.removeAttribute(node.name) //removeAttributeNode不会刷新[ms-controller]样式规则 + elem.classList.remove(node.name) + createSignalTower(elem, newVmodel) + } + scanAttr(elem, vmodels) //扫描特性节点 } -} -var rnoscanAttrBinding = /^if|widget|repeat$/ -var rnoscanNodeBinding = /^each|with|html|include$/ -var rhasHtml = /\|\s*html\s*/, + var rhasHtml = /\|\s*html\s*/, r11a = /\|\|/g, rlt = /</g, - rgt = />/g + rgt = />/g, + rstringLiteral = /(['"])(\\\1|.)+?\1/g -function getToken(value) { - if (value.indexOf("|") > 0) { - var index = value.replace(r11a, "\u1122\u3344").indexOf("|") //干掉所有短路或 - if (index > -1) { - return { - filters: value.slice(index), - value: value.slice(0, index), - expr: true + function getToken(value) { + if (value.indexOf("|") > 0) { + var scapegoat = value.replace(rstringLiteral, function (_) { + return Array(_.length + 1).join("1")// jshint ignore:line + }) + var index = scapegoat.replace(r11a, "\u1122\u3344").indexOf("|") //干掉所有短路或 + if (index > -1) { + return { + filters: value.slice(index), + value: value.slice(0, index), + expr: true + } } } + return { + value: value, + filters: "", + expr: true + } } - return { - value: value, - filters: "", - expr: true - } -} -function scanExpr(str) { - var tokens = [], + function scanExpr(str) { + var tokens = [], value, start = 0, stop - do { - stop = str.indexOf(openTag, start) - if (stop === -1) { - break - } - value = str.slice(start, stop) - if (value) { // {{ 左边的文本 + do { + stop = str.indexOf(openTag, start) + if (stop === -1) { + break + } + value = str.slice(start, stop) + if (value) { // {{ 左边的文本 + tokens.push({ + value: value, + filters: "", + expr: false + }) + } + start = stop + openTag.length + stop = str.indexOf(closeTag, start) + if (stop === -1) { + break + } + value = str.slice(start, stop) + if (value) { //处理{{ }}插值表达式 + tokens.push(getToken(value)) + } + start = stop + closeTag.length + } while (1) + value = str.slice(start) + if (value) { //}} 右边的文本 tokens.push({ value: value, - filters: "", - expr: false + expr: false, + filters: "" }) } - start = stop + openTag.length - stop = str.indexOf(closeTag, start) - if (stop === -1) { - break - } - value = str.slice(start, stop) - if (value) { //处理{{ }}插值表达式 - tokens.push(getToken(value)) - } - start = stop + closeTag.length - } while (1) - value = str.slice(start) - if (value) { //}} 右边的文本 - tokens.push({ - value: value, - expr: false, - filters: "" - }) + return tokens } - return tokens -} -function scanText(textNode, vmodels) { - var bindings = [] - if (textNode.nodeType === 8) { - var token = getToken(textNode.nodeValue) - var tokens = [token] - } else { - tokens = scanExpr(textNode.data) - } - if (tokens.length) { - for (var i = 0, token; token = tokens[i++]; ) { - var node = DOC.createTextNode(token.value) //将文本转换为文本节点,并替换原来的文本节点 - if (token.expr) { - token.type = "text" - token.element = node - token.filters = token.filters.replace(rhasHtml, function() { - token.type = "html" - token.group = 1 - return "" - }) - bindings.push(token) //收集带有插值表达式的文本 + function scanText(textNode, vmodels) { + var bindings = [] + if (textNode.nodeType === 8) { + var token = getToken(textNode.nodeValue) + var tokens = [token] + } else { + tokens = scanExpr(textNode.data) + } + if (tokens.length) { + for (var i = 0; token = tokens[i++];) { + var node = DOC.createTextNode(token.value) //将文本转换为文本节点,并替换原来的文本节点 + if (token.expr) { + token.type = "text" + token.element = node + token.filters = token.filters.replace(rhasHtml, function () { + token.type = "html" + token.group = 1 + return "" + })// jshint ignore:line + bindings.push(token) //收集带有插值表达式的文本 + } + hyperspace.appendChild(node) } - hyperspace.appendChild(node) + textNode.parentNode.replaceChild(hyperspace, textNode) + if (bindings.length) + executeBindings(bindings, vmodels) } - textNode.parentNode.replaceChild(hyperspace, textNode) - if (bindings.length) - executeBindings(bindings, vmodels) } -} + /********************************************************************* + * avalon的原型方法定义区 * + **********************************************************************/ -/********************************************************************* - * avalon的原型方法定义区 * - **********************************************************************/ -function hyphen(target) { - //转换为连字符线风格 - return target.replace(/([a-z\d])([A-Z]+)/g, "$1-$2").toLowerCase() -} -function camelize(target) { - //转换为驼峰风格 - if (target.indexOf("-") < 0 && target.indexOf("_") < 0) { - return target //提前判断,提高getStyle等的效率 + function hyphen(target) { + //转换为连字符线风格 + return target.replace(/([a-z\d])([A-Z]+)/g, "$1-$2").toLowerCase() } - return target.replace(/[-_][^-_]/g, function(match) { - return match.charAt(1).toUpperCase() - }) -} - -"add,remove".replace(rword, function(method) { - avalon.fn[method + "Class"] = function(cls) { - var el = this[0] - //https://developer.mozilla.org/zh-CN/docs/Mozilla/Firefox/Releases/26 - if (cls && typeof cls === "string" && el && el.nodeType === 1) { - cls.replace(/\S+/g, function(c) { - el.classList[method](c) - }) + + function camelize(target) { + //转换为驼峰风格 + if (target.indexOf("-") < 0 && target.indexOf("_") < 0) { + return target //提前判断,提高getStyle等的效率 } - return this + return target.replace(/[-_][^-_]/g, function (match) { + return match.charAt(1).toUpperCase() + }) } -}) - -avalon.fn.mix({ - hasClass: function(cls) { - var el = this[0] || {} //IE10+, chrome8+, firefox3.6+, safari5.1+,opera11.5+支持classList,chrome24+,firefox26+支持classList2.0 - return el.nodeType === 1 && el.classList.contains(cls) - }, - toggleClass: function(value, stateVal) { - var className, i = 0 - var classNames = value.split(/\s+/) - var isBool = typeof stateVal === "boolean" - while ((className = classNames[i++])) { - var state = isBool ? stateVal : !this.hasClass(className) - this[state ? "addClass" : "removeClass"](className) - } - return this - }, - attr: function(name, value) { - if (arguments.length === 2) { - this[0].setAttribute(name, value) + + "add,remove".replace(rword, function (method) { + avalon.fn[method + "Class"] = function (cls) { + var el = this[0] + //https://developer.mozilla.org/zh-CN/docs/Mozilla/Firefox/Releases/26 + if (cls && typeof cls === "string" && el && el.nodeType === 1) { + cls.replace(/\S+/g, function (c) { + el.classList[method](c) + }) + } return this - } else { - return this[0].getAttribute(name) - } - }, - data: function(name, value) { - name = "data-" + hyphen(name || "") - switch (arguments.length) { - case 2: - this.attr(name, value) - return this - case 1: - var val = this.attr(name) - return parseData(val) - case 0: - var ret = {} - ap.forEach.call(this[0].attributes, function(attr) { - if (attr) { - name = attr.name - if (!name.indexOf("data-")) { - name = camelize(name.slice(5)) - ret[name] = parseData(attr.value) - } - } - }) - return ret } - }, - removeData: function(name) { - name = "data-" + hyphen(name) - this[0].removeAttribute(name) - return this - }, - css: function(name, value) { - if (avalon.isPlainObject(name)) { - for (var i in name) { - avalon.css(this, i, name[i]) + }) + + avalon.fn.mix({ + hasClass: function (cls) { + var el = this[0] || {} //IE10+, chrome8+, firefox3.6+, safari5.1+,opera11.5+支持classList,chrome24+,firefox26+支持classList2.0 + return el.nodeType === 1 && el.classList.contains(cls) + }, + toggleClass: function (value, stateVal) { + var className, i = 0 + var classNames = String(value).split(/\s+/) + var isBool = typeof stateVal === "boolean" + while ((className = classNames[i++])) { + var state = isBool ? stateVal : !this.hasClass(className) + this[state ? "addClass" : "removeClass"](className) } - } else { - var ret = avalon.css(this, name, value) - } - return ret !== void 0 ? ret : this - }, - position: function() { - var offsetParent, offset, + return this + }, + attr: function (name, value) { + if (arguments.length === 2) { + this[0].setAttribute(name, value) + return this + } else { + return this[0].getAttribute(name) + } + }, + data: function (name, value) { + name = "data-" + hyphen(name || "") + switch (arguments.length) { + case 2: + this.attr(name, value) + return this + case 1: + var val = this.attr(name) + return parseData(val) + case 0: + var ret = {} + ap.forEach.call(this[0].attributes, function (attr) { + if (attr) { + name = attr.name + if (!name.indexOf("data-")) { + name = camelize(name.slice(5)) + ret[name] = parseData(attr.value) + } + } + }) + return ret + } + }, + removeData: function (name) { + name = "data-" + hyphen(name) + this[0].removeAttribute(name) + return this + }, + css: function (name, value) { + if (avalon.isPlainObject(name)) { + for (var i in name) { + avalon.css(this, i, name[i]) + } + } else { + var ret = avalon.css(this, name, value) + } + return ret !== void 0 ? ret : this + }, + position: function () { + var offsetParent, offset, elem = this[0], parentOffset = { top: 0, left: 0 }; - if (!elem) { - return + if (!elem) { + return + } + if (this.css("position") === "fixed") { + offset = elem.getBoundingClientRect() + } else { + offsetParent = this.offsetParent() //得到真正的offsetParent + offset = this.offset() // 得到正确的offsetParent + if (offsetParent[0].tagName !== "HTML") { + parentOffset = offsetParent.offset() + } + parentOffset.top += avalon.css(offsetParent[0], "borderTopWidth", true) + parentOffset.left += avalon.css(offsetParent[0], "borderLeftWidth", true) + // Subtract offsetParent scroll positions + parentOffset.top -= offsetParent.scrollTop() + parentOffset.left -= offsetParent.scrollLeft() + } + return { + top: offset.top - parentOffset.top - avalon.css(elem, "marginTop", true), + left: offset.left - parentOffset.left - avalon.css(elem, "marginLeft", true) + } + }, + offsetParent: function () { + var offsetParent = this[0].offsetParent + while (offsetParent && avalon.css(offsetParent, "position") === "static") { + offsetParent = offsetParent.offsetParent; + } + return avalon(offsetParent || root) + }, + bind: function (type, fn, phase) { + if (this[0]) { //此方法不会链 + return avalon.bind(this[0], type, fn, phase) + } + }, + unbind: function (type, fn, phase) { + if (this[0]) { + avalon.unbind(this[0], type, fn, phase) + } + return this + }, + val: function (value) { + var node = this[0] + if (node && node.nodeType === 1) { + var get = arguments.length === 0 + var access = get ? ":get" : ":set" + var fn = valHooks[getValType(node) + access] + if (fn) { + var val = fn(node, value) + } else if (get) { + return (node.value || "").replace(/\r/g, "") + } else { + node.value = value + } + } + return get ? val : this } - if (this.css("position") === "fixed") { - offset = elem.getBoundingClientRect() - } else { - offsetParent = this.offsetParent() //得到真正的offsetParent - offset = this.offset() // 得到正确的offsetParent - if (offsetParent[0].tagName !== "HTML") { - parentOffset = offsetParent.offset() + }) + + if (root.dataset) { + avalon.fn.data = function (name, val) { + name = name && camelize(name) + var dataset = this[0].dataset + switch (arguments.length) { + case 2: + dataset[name] = val + return this + case 1: + val = dataset[name] + return parseData(val) + case 0: + var ret = createMap() + for (name in dataset) { + ret[name] = parseData(dataset[name]) + } + return ret } - parentOffset.top += avalon.css(offsetParent[0], "borderTopWidth", true) - parentOffset.left += avalon.css(offsetParent[0], "borderLeftWidth", true) } - return { - top: offset.top - parentOffset.top - avalon.css(elem, "marginTop", true), - left: offset.left - parentOffset.left - avalon.css(elem, "marginLeft", true) - } - }, - offsetParent: function() { - var offsetParent = this[0].offsetParent - while (offsetParent && avalon.css(offsetParent, "position") === "static") { - offsetParent = offsetParent.offsetParent; - } - return avalon(offsetParent) - }, - bind: function(type, fn, phase) { - if (this[0]) { //此方法不会链 - return avalon.bind(this[0], type, fn, phase) - } - }, - unbind: function(type, fn, phase) { - if (this[0]) { - avalon.unbind(this[0], type, fn, phase) + } + var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/ + avalon.parseJSON = JSON.parse + + function parseData(data) { + try { + if (typeof data === "object") + return data + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : +data + "" === data ? +data : rbrace.test(data) ? JSON.parse(data) : data + } catch (e) { } - return this - }, - val: function(value) { - var node = this[0] - if (node && node.nodeType === 1) { - var get = arguments.length === 0 - var access = get ? ":get" : ":set" - var fn = valHooks[getValType(node) + access] - if (fn) { - var val = fn(node, value) - } else if (get) { - return (node.value || "").replace(/\r/g, "") + return data + } + + avalon.each({ + scrollLeft: "pageXOffset", + scrollTop: "pageYOffset" + }, function (method, prop) { + avalon.fn[method] = function (val) { + var node = this[0] || {}, win = getWindow(node), + top = method === "scrollTop" + if (!arguments.length) { + return win ? win[prop] : node[method] } else { - node.value = value + if (win) { + win.scrollTo(!top ? val : win[prop], top ? val : win[prop]) + } else { + node[method] = val + } } } - return get ? val : this + }) + + function getWindow(node) { + return node.window && node.document ? node : node.nodeType === 9 ? node.defaultView : false } -}) -if (root.dataset) { - avalon.fn.data = function(name, val) { - var dataset = this[0].dataset - switch (arguments.length) { - case 2: - dataset[name] = val - return this - case 1: - val = dataset[name] - return parseData(val) - case 0: - var ret = {} - for (var name in dataset) { - ret[name] = parseData(dataset[name]) - } - return ret +//=============================css相关================================== + var cssHooks = avalon.cssHooks = createMap() + var prefixes = ["", "-webkit-", "-moz-", "-ms-"] //去掉opera-15的支持 + var cssMap = { + "float": "cssFloat" + } + avalon.cssNumber = oneObject("columnCount,order,fillOpacity,fontWeight,lineHeight,opacity,orphans,widows,zIndex,zoom") + + avalon.cssName = function (name, host, camelCase) { + if (cssMap[name]) { + return cssMap[name] + } + host = host || root.style + for (var i = 0, n = prefixes.length; i < n; i++) { + camelCase = camelize(prefixes[i] + name) + if (camelCase in host) { + return (cssMap[name] = camelCase) + } } + return null + } + cssHooks["@:set"] = function (node, name, value) { + node.style[name] = value } -} -var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/ -avalon.parseJSON = JSON.parse -function parseData(data) { - try { - if (typeof data === "object") - return data - data = data === "true" ? true : - data === "false" ? false : - data === "null" ? null : +data + "" === data ? +data : rbrace.test(data) ? JSON.parse(data) : data - } catch (e) { - } - return data -} -avalon.each({ - scrollLeft: "pageXOffset", - scrollTop: "pageYOffset" -}, function(method, prop) { - avalon.fn[method] = function(val) { - var node = this[0] || {}, win = getWindow(node), - top = method === "scrollTop" - if (!arguments.length) { - return win ? win[prop] : node[method] - } else { - if (win) { - win.scrollTo(!top ? val : avalon(win).scrollLeft(), top ? val : avalon(win).scrollTop()) - } else { - node[method] = val + cssHooks["@:get"] = function (node, name) { + if (!node || !node.style) { + throw new Error("getComputedStyle要求传入一个节点 " + node) + } + var ret, computed = getComputedStyle(node) + if (computed) { + ret = name === "filter" ? computed.getPropertyValue(name) : computed[name] + if (ret === "") { + ret = node.style[name] //其他浏览器需要我们手动取内联样式 } } + return ret + } + cssHooks["opacity:get"] = function (node) { + var ret = cssHooks["@:get"](node, "opacity") + return ret === "" ? "1" : ret } -}) -function getWindow(node) { - return node.window && node.document ? node : node.nodeType === 9 ? node.defaultView : false -} + "top,left".replace(rword, function (name) { + cssHooks[name + ":get"] = function (node) { + var computed = cssHooks["@:get"](node, name) + return /px$/.test(computed) ? computed : + avalon(node).position()[name] + "px" + } + }) + var cssShow = { + position: "absolute", + visibility: "hidden", + display: "block" + } + var rdisplayswap = /^(none|table(?!-c[ea]).+)/ + + function showHidden(node, array) { + //http://www.cnblogs.com/rubylouvre/archive/2012/10/27/2742529.html + if (node.offsetWidth <= 0) { //opera.offsetWidth可能小于0 + var styles = getComputedStyle(node, null) + if (rdisplayswap.test(styles["display"])) { + var obj = { + node: node + } + for (var name in cssShow) { + obj[name] = styles[name] + node.style[name] = cssShow[name] + } + array.push(obj) + } + var parent = node.parentNode + if (parent && parent.nodeType === 1) { + showHidden(parent, array) + } + } + } -//=============================css相关================================== -var cssHooks = avalon.cssHooks = {} -var prefixes = ["", "-webkit-", "-moz-", "-ms-"]//去掉opera-15的支持 -var cssMap = { - "float": "cssFloat" -} -avalon.cssNumber = oneObject("columnCount,order,fillOpacity,fontWeight,lineHeight,opacity,orphans,widows,zIndex,zoom") - -avalon.cssName = function(name, host, camelCase) { - if (cssMap[name]) { - return cssMap[name] - } - host = host || root.style - for (var i = 0, n = prefixes.length; i < n; i++) { - camelCase = camelize(prefixes[i] + name) - if (camelCase in host) { - return (cssMap[name] = camelCase) - } - } - return null -} -cssHooks["@:set"] = function(node, name, value) { - node.style[name] = value -} - -cssHooks["@:get"] = function(node, name) { - if (!node || !node.style) { - throw new Error("getComputedStyle要求传入一个节点 " + node) - } - var ret, computed = getComputedStyle(node, null) - if (computed) { - ret = name === "filter" ? computed.getPropertyValue(name) : computed[name] - if (ret === "") { - ret = node.style[name] //其他浏览器需要我们手动取内联样式 - } - } - return ret -} -cssHooks["opacity:get"] = function(node) { - var ret = cssHooks["@:get"](node, "opacity") - return ret === "" ? "1" : ret -} - -"top,left".replace(rword, function(name) { - cssHooks[name + ":get"] = function(node) { - var computed = cssHooks["@:get"](node, name) - return /px$/.test(computed) ? computed : - avalon(node).position()[name] + "px" - } -}) -var cssShow = { - position: "absolute", - visibility: "hidden", - display: "block" -} -var rdisplayswap = /^(none|table(?!-c[ea]).+)/ - -function showHidden(node, array) { - //http://www.cnblogs.com/rubylouvre/archive/2012/10/27/2742529.html - if (node.offsetWidth <= 0) { //opera.offsetWidth可能小于0 - var styles = getComputedStyle(node, null) - if (rdisplayswap.test(styles["display"])) { - var obj = { - node: node - } - for (var name in cssShow) { - obj[name] = styles[name] - node.style[name] = cssShow[name] - } - array.push(obj) - } - var parent = node.parentNode - if (parent && parent.nodeType === 1) { - showHidden(parent, array) - } - } -} - -"Width,Height".replace(rword, function(name) {//fix 481 - var method = name.toLowerCase(), + "Width,Height".replace(rword, function (name) { //fix 481 + var method = name.toLowerCase(), clientProp = "client" + name, scrollProp = "scroll" + name, offsetProp = "offset" + name - cssHooks[method + ":get"] = function(node, which, override) { - var boxSizing = -4 - if (typeof override === "number") { - boxSizing = override - } - which = name === "Width" ? ["Left", "Right"] : ["Top", "Bottom"] - var ret = node[offsetProp] // border-box 0 - if (boxSizing === 2) { // margin-box 2 + cssHooks[method + ":get"] = function (node, which, override) { + var boxSizing = -4 + if (typeof override === "number") { + boxSizing = override + } + which = name === "Width" ? ["Left", "Right"] : ["Top", "Bottom"] + var ret = node[offsetProp] // border-box 0 + if (boxSizing === 2) { // margin-box 2 + return ret + avalon.css(node, "margin" + which[0], true) + avalon.css(node, "margin" + which[1], true) + } + if (boxSizing < 0) { // padding-box -2 + ret = ret - avalon.css(node, "border" + which[0] + "Width", true) - avalon.css(node, "border" + which[1] + "Width", true) + } + if (boxSizing === -4) { // content-box -4 + ret = ret - avalon.css(node, "padding" + which[0], true) - avalon.css(node, "padding" + which[1], true) + } return ret - + avalon.css(node, "margin" + which[0], true) - + avalon.css(node, "margin" + which[1], true) - } - if (boxSizing < 0) { // padding-box -2 - ret = ret - - avalon.css(node, "border" + which[0] + "Width", true) - - avalon.css(node, "border" + which[1] + "Width", true) } - if (boxSizing === -4) { // content-box -4 - ret = ret - - avalon.css(node, "padding" + which[0], true) - - avalon.css(node, "padding" + which[1], true) + cssHooks[method + "&get"] = function (node) { + var hidden = []; + showHidden(node, hidden); + var val = cssHooks[method + ":get"](node) + for (var i = 0, obj; obj = hidden[i++];) { + node = obj.node + for (var n in obj) { + if (typeof obj[n] === "string") { + node.style[n] = obj[n] + } + } + } + return val; } - return ret - } - cssHooks[method + "&get"] = function(node) { - var hidden = []; - showHidden(node, hidden); - var val = cssHooks[method + ":get"](node) - for (var i = 0, obj; obj = hidden[i++]; ) { - node = obj.node - for (var n in obj) { - if (typeof obj[n] === "string") { - node.style[n] = obj[n] + avalon.fn[method] = function (value) { //会忽视其display + var node = this[0] + if (arguments.length === 0) { + if (node.setTimeout) { //取得窗口尺寸,IE9后可以用node.innerWidth /innerHeight代替 + return node["inner" + name] + } + if (node.nodeType === 9) { //取得页面尺寸 + var doc = node.documentElement + //FF chrome html.scrollHeight< body.scrollHeight + //IE 标准模式 : html.scrollHeight> body.scrollHeight + //IE 怪异模式 : html.scrollHeight 最大等于可视窗口多一点? + return Math.max(node.body[scrollProp], doc[scrollProp], node.body[offsetProp], doc[offsetProp], doc[clientProp]) } + return cssHooks[method + "&get"](node) + } else { + return this.css(method, value) } } - return val; - } - avalon.fn[method] = function(value) { //会忽视其display + avalon.fn["inner" + name] = function () { + return cssHooks[method + ":get"](this[0], void 0, -2) + } + avalon.fn["outer" + name] = function (includeMargin) { + return cssHooks[method + ":get"](this[0], void 0, includeMargin === true ? 2 : 0) + } + }) + avalon.fn.offset = function () { //取得距离页面左右角的坐标 var node = this[0] - if (arguments.length === 0) { - if (node.setTimeout) { //取得窗口尺寸,IE9后可以用node.innerWidth /innerHeight代替 - return node["inner" + name] || node.document.documentElement[clientProp] - } - if (node.nodeType === 9) { //取得页面尺寸 - var doc = node.documentElement - //FF chrome html.scrollHeight< body.scrollHeight - //IE 标准模式 : html.scrollHeight> body.scrollHeight - //IE 怪异模式 : html.scrollHeight 最大等于可视窗口多一点? - return Math.max(node.body[scrollProp], doc[scrollProp], node.body[offsetProp], doc[offsetProp], doc[clientProp]) - } - return cssHooks[method + "&get"](node) - } else { - return this.css(method, value) + try { + var rect = node.getBoundingClientRect() + // Make sure element is not hidden (display: none) or disconnected + // https://github.com/jquery/jquery/pull/2043/files#r23981494 + if (rect.width || rect.height || node.getClientRects().length) { + var doc = node.ownerDocument + var root = doc.documentElement + var win = doc.defaultView + return { + top: rect.top + win.pageYOffset - root.clientTop, + left: rect.left + win.pageXOffset - root.clientLeft + } + } + } catch (e) { + return { + left: 0, + top: 0 + } } } - avalon.fn["inner" + name] = function() { - return cssHooks[method + ":get"](this[0], void 0, -2) - } - avalon.fn["outer" + name] = function(includeMargin) { - return cssHooks[method + ":get"](this[0], void 0, includeMargin === true ? 2 : 0) - } -}) -avalon.fn.offset = function() { //取得距离页面左右角的坐标 - var node = this[0], box = { - left: 0, - top: 0 - } - if (!node || !node.tagName || !node.ownerDocument) { - return box - } - var doc = node.ownerDocument, - root = doc.documentElement, - win = doc.defaultView - if (!root.contains(node)) { - return box - } - if (node.getBoundingClientRect !== void 0) { - box = node.getBoundingClientRect() - } - return { - top: box.top + win.pageYOffset - root.clientTop, - left: box.left + win.pageXOffset - root.clientLeft + //=============================val相关======================= + + function getValType(elem) { + var ret = elem.tagName.toLowerCase() + return ret === "input" && /checkbox|radio/.test(elem.type) ? "checked" : ret } -} -//=============================val相关======================= -function getValType(el) { - var ret = el.tagName.toLowerCase() - return ret === "input" && /checkbox|radio/.test(el.type) ? "checked" : ret -} -var valHooks = { - "select:get": function(node, value) { - var option, options = node.options, + var valHooks = { + "select:get": function (node, value) { + var option, options = node.options, index = node.selectedIndex, one = node.type === "select-one" || index < 0, values = one ? null : [], max = one ? index + 1 : options.length, i = index < 0 ? max : one ? index : 0 - for (; i < max; i++) { - option = options[i] - //旧式IE在reset后不会改变selected,需要改用i === index判定 - //我们过滤所有disabled的option元素,但在safari5下,如果设置select为disable,那么其所有孩子都disable - //因此当一个元素为disable,需要检测其是否显式设置了disable及其父节点的disable情况 - if ((option.selected || i === index) && !option.disabled) { - value = option.value - if (one) { - return value + for (; i < max; i++) { + option = options[i] + //旧式IE在reset后不会改变selected,需要改用i === index判定 + //我们过滤所有disabled的option元素,但在safari5下,如果设置select为disable,那么其所有孩子都disable + //因此当一个元素为disable,需要检测其是否显式设置了disable及其父节点的disable情况 + if ((option.selected || i === index) && !option.disabled) { + value = option.value + if (one) { + return value + } + //收集所有selected值组成数组返回 + values.push(value) } - //收集所有selected值组成数组返回 - values.push(value) - } - } - return values - }, - "select:set": function(node, values, optionSet) { - values = [].concat(values) //强制转换为数组 - for (var i = 0, el; el = node.options[i++]; ) { - if ((el.selected = values.indexOf(el.value) > -1)) { - optionSet = true - } - } - if (!optionSet) { - node.selectedIndex = -1 - } - } -} - -/********************************************************************* - * 编译系统 * - **********************************************************************/ -var quote = JSON.stringify - -var keywords = - // 关键字 - "break,case,catch,continue,debugger,default,delete,do,else,false" + - ",finally,for,function,if,in,instanceof,new,null,return,switch,this" + - ",throw,true,try,typeof,var,void,while,with" - // 保留字 - + ",abstract,boolean,byte,char,class,const,double,enum,export,extends" + - ",final,float,goto,implements,import,int,interface,long,native" + - ",package,private,protected,public,short,static,super,synchronized" + - ",throws,transient,volatile" - // ECMA 5 - use strict - + ",arguments,let,yield" + ",undefined" -var rrexpstr = /\/\*[\w\W]*?\*\/|\/\/[^\n]*\n|\/\/[^\n]*$|"(?:[^"\\]|\\[\w\W])*"|'(?:[^'\\]|\\[\w\W])*'|[\s\t\n]*\.[\s\t\n]*[$\w\.]+/g -var rsplit = /[^\w$]+/g -var rkeywords = new RegExp(["\\b" + keywords.replace(/,/g, '\\b|\\b') + "\\b"].join('|'), 'g') -var rnumber = /\b\d[^,]*/g -var rcomma = /^,+|,+$/g -var cacheVars = createCache(512) -var getVariables = function(code) { - var key = "," + code.trim() - if (cacheVars[key]) { - return cacheVars[key] - } - var match = code + } + return values + }, + "select:set": function (node, values, optionSet) { + values = [].concat(values) //强制转换为数组 + for (var i = 0, el; el = node.options[i++];) { + if ((el.selected = values.indexOf(el.value) > -1)) { + optionSet = true + } + } + if (!optionSet) { + node.selectedIndex = -1 + } + } + } + /********************************************************************* + * 编译系统 * + **********************************************************************/ + var quote = JSON.stringify + + var keywords = [ + "break,case,catch,continue,debugger,default,delete,do,else,false", + "finally,for,function,if,in,instanceof,new,null,return,switch,this", + "throw,true,try,typeof,var,void,while,with", /* 关键字*/ + "abstract,boolean,byte,char,class,const,double,enum,export,extends", + "final,float,goto,implements,import,int,interface,long,native", + "package,private,protected,public,short,static,super,synchronized", + "throws,transient,volatile", /*保留字*/ + "arguments,let,yield,undefined" /* ECMA 5 - use strict*/].join(",") + var rrexpstr = /\/\*[\w\W]*?\*\/|\/\/[^\n]*\n|\/\/[^\n]*$|"(?:[^"\\]|\\[\w\W])*"|'(?:[^'\\]|\\[\w\W])*'|[\s\t\n]*\.[\s\t\n]*[$\w\.]+/g + var rsplit = /[^\w$]+/g + var rkeywords = new RegExp(["\\b" + keywords.replace(/,/g, '\\b|\\b') + "\\b"].join('|'), 'g') + var rnumber = /\b\d[^,]*/g + var rcomma = /^,+|,+$/g + var cacheVars = new Cache(512) + var getVariables = function (code) { + var key = "," + code.trim() + var ret = cacheVars.get(key) + if (ret) { + return ret + } + var match = code .replace(rrexpstr, "") .replace(rsplit, ",") .replace(rkeywords, "") .replace(rnumber, "") .replace(rcomma, "") .split(/^$|,+/) - return cacheVars(key, uniqSet(match)) -} -/*添加赋值语句*/ + return cacheVars.put(key, uniqSet(match)) + } + /*添加赋值语句*/ -function addAssign(vars, scope, name, data) { - var ret = [], + function addAssign(vars, scope, name, data) { + var ret = [], prefix = " = " + name + "." - for (var i = vars.length, prop; prop = vars[--i]; ) { - if (scope.hasOwnProperty(prop)) { - ret.push(prop + prefix + prop) - data.vars.push(prop) - if (data.type === "duplex") { - vars.get = name + "." + prop + var isProxy = /\$proxy\$each/.test(scope.$id) + for (var i = vars.length, prop; prop = vars[--i];) { + var el = isProxy && scope.$map[prop] ? "el" : prop + if (scope.hasOwnProperty(el)) { + ret.push(prop + prefix + el) + data.vars.push(prop) + if (data.type === "duplex") { + vars.get = name + "." + el + } + vars.splice(i, 1) } - vars.splice(i, 1) } + return ret } - return ret -} -function uniqSet(array) { - var ret = [], + function uniqSet(array) { + var ret = [], unique = {} - for (var i = 0; i < array.length; i++) { - var el = array[i] - var id = el && typeof el.$id === "string" ? el.$id : el - if (!unique[id]) { - unique[id] = ret.push(el) + for (var i = 0; i < array.length; i++) { + var el = array[i] + var id = el && typeof el.$id === "string" ? el.$id : el + if (!unique[id]) { + unique[id] = ret.push(el) + } } + return ret } - return ret -} + //缓存求值函数,以便多次利用 -var cacheExprs = createCache(128) + var cacheExprs = new Cache(128) //取得求值函数及其传参 -var rduplex = /\w\[.*\]|\w\.\w/ -var rproxy = /(\$proxy\$[a-z]+)\d+$/ -var rthimRightParentheses = /\)\s*$/ -var rthimOtherParentheses = /\)\s*\|/g -var rquoteFilterName = /\|\s*([$\w]+)/g -var rpatchBracket = /"\s*\["/g -var rthimLeftParentheses = /"\s*\(/g -function parseFilter(val, filters) { - filters = filters + var rduplex = /\w\[.*\]|\w\.\w/ + var rproxy = /(\$proxy\$[a-z]+)\d+$/ + var rthimRightParentheses = /\)\s*$/ + var rthimOtherParentheses = /\)\s*\|/g + var rquoteFilterName = /\|\s*([$\w]+)/g + var rpatchBracket = /"\s*\["/g + var rthimLeftParentheses = /"\s*\(/g + + function parseFilter(val, filters) { + filters = filters .replace(rthimRightParentheses, "")//处理最后的小括号 - .replace(rthimOtherParentheses, function() {//处理其他小括号 + .replace(rthimOtherParentheses, function () {//处理其他小括号 return "],|" }) - .replace(rquoteFilterName, function(a, b) { //处理|及它后面的过滤器的名字 + .replace(rquoteFilterName, function (a, b) { //处理|及它后面的过滤器的名字 return "[" + quote(b) }) - .replace(rpatchBracket, function() { + .replace(rpatchBracket, function () { return '"],["' }) - .replace(rthimLeftParentheses, function() { + .replace(rthimLeftParentheses, function () { return '",' }) + "]" - return "return avalon.filters.$filter(" + val + ", " + filters + ")" -} - -function parseExpr(code, scopes, data) { - var dataType = data.type - var filters = data.filters || "" - var exprId = scopes.map(function(el) { - return String(el.$id).replace(rproxy, "$1") - }) + code + dataType + filters - var vars = getVariables(code).concat(), + return "return avalon.filters.$filter(" + val + ", " + filters + ")" + } + + function parseExpr(code, scopes, data) { + var dataType = data.type + var filters = data.filters || "" + var exprId = scopes.map(function (el) { + return String(el.$id).replace(rproxy, "$1") + }) + code + dataType + filters + var vars = getVariables(code).concat(), assigns = [], names = [], args = [], prefix = "" - //args 是一个对象数组, names 是将要生成的求值函数的参数 - scopes = uniqSet(scopes) - data.vars = [] - for (var i = 0, sn = scopes.length; i < sn; i++) { - if (vars.length) { - var name = "vm" + expose + "_" + i - names.push(name) - args.push(scopes[i]) - assigns.push.apply(assigns, addAssign(vars, scopes[i], name, data)) - } - } - if (!assigns.length && dataType === "duplex") { - return - } - if (dataType !== "duplex" && (code.indexOf("||") > -1 || code.indexOf("&&") > -1)) { - //https://github.com/RubyLouvre/avalon/issues/583 - data.vars.forEach(function(v) { - var reg = new RegExp("\\b" + v + "(?:\\.\\w+|\\[\\w+\\])+", "ig") - code = code.replace(reg, function(_) { - var c = _.charAt(v.length) - var r = IEVersion ? code.slice(arguments[1] + _.length) : RegExp.rightContext - var method = /^\s*\(/.test(r) - if (c === "." || c === "[" || method) {//比如v为aa,我们只匹配aa.bb,aa[cc],不匹配aaa.xxx - var name = "var" + String(Math.random()).replace(/^0\./, "") - if (method) {//array.size() - var array = _.split(".") - if (array.length > 2) { - var last = array.pop() - assigns.push(name + " = " + array.join(".")) - return name + "." + last - } else { - return _ + //args 是一个对象数组, names 是将要生成的求值函数的参数 + scopes = uniqSet(scopes) + data.vars = [] + for (var i = 0, sn = scopes.length; i < sn; i++) { + if (vars.length) { + var name = "vm" + expose + "_" + i + names.push(name) + args.push(scopes[i]) + assigns.push.apply(assigns, addAssign(vars, scopes[i], name, data)) + } + } + if (!assigns.length && dataType === "duplex") { + return + } + if (dataType !== "duplex" && (code.indexOf("||") > -1 || code.indexOf("&&") > -1)) { + //https://github.com/RubyLouvre/avalon/issues/583 + data.vars.forEach(function (v) { + var reg = new RegExp("\\b" + v + "(?:\\.\\w+|\\[\\w+\\])+", "ig") + code = code.replace(reg, function (_) { + var c = _.charAt(v.length) + var r = IEVersion ? code.slice(arguments[1] + _.length) : RegExp.rightContext + var method = /^\s*\(/.test(r) + if (c === "." || c === "[" || method) {//比如v为aa,我们只匹配aa.bb,aa[cc],不匹配aaa.xxx + var name = "var" + String(Math.random()).replace(/^0\./, "") + if (method) {//array.size() + var array = _.split(".") + if (array.length > 2) { + var last = array.pop() + assigns.push(name + " = " + array.join(".")) + return name + "." + last + } else { + return _ + } } + assigns.push(name + " = " + _) + return name + } else { + return _ } - assigns.push(name + " = " + _) - return name - } else { - return _ - } + }) }) - }) - } - //---------------args---------------- - data.args = args - //---------------cache---------------- - var fn = cacheExprs[exprId] //直接从缓存,免得重复生成 - if (fn) { - data.evaluator = fn - return - } - var prefix = assigns.join(", ") - if (prefix) { - prefix = "var " + prefix - } - if (/\S/.test(filters)) { //文本绑定,双工绑定才有过滤器 - if (!/text|html/.test(data.type)) { - throw Error("ms-" + data.type + "不支持过滤器") - } - code = "\nvar ret" + expose + " = " + code + ";\r\n" - code += parseFilter("ret" + expose, filters) - } else if (dataType === "duplex") { //双工绑定 - var _body = "'use strict';\nreturn function(vvv){\n\t" + + } + //---------------args---------------- + data.args = args + //---------------cache---------------- + var fn = cacheExprs.get(exprId) //直接从缓存,免得重复生成 + if (fn) { + data.evaluator = fn + return + } + prefix = assigns.join(", ") + if (prefix) { + prefix = "var " + prefix + } + if (/\S/.test(filters)) { //文本绑定,双工绑定才有过滤器 + if (!/text|html/.test(data.type)) { + throw Error("ms-" + data.type + "不支持过滤器") + } + code = "\nvar ret" + expose + " = " + code + ";\r\n" + code += parseFilter("ret" + expose, filters) + } else if (dataType === "duplex") { //双工绑定 + var _body = "'use strict';\nreturn function(vvv){\n\t" + prefix + ";\n\tif(!arguments.length){\n\t\treturn " + code + "\n\t}\n\t" + (!rduplex.test(code) ? vars.get : code) + "= vvv;\n} " + try { + fn = Function.apply(noop, names.concat(_body)) + data.evaluator = cacheExprs.put(exprId, fn) + } catch (e) { + log("debug: parse error," + e.message) + } + return + } else if (dataType === "on") { //事件绑定 + if (code.indexOf("(") === -1) { + code += ".call(this, $event)" + } else { + code = code.replace("(", ".call(this,") + } + names.push("$event") + code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;") + var lastIndex = code.lastIndexOf("\nreturn") + var header = code.slice(0, lastIndex) + var footer = code.slice(lastIndex) + code = header + "\n" + footer + } else { //其他绑定 + code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;") + } try { - fn = Function.apply(noop, names.concat(_body)) - data.evaluator = cacheExprs(exprId, fn) + fn = Function.apply(noop, names.concat("'use strict';\n" + prefix + code)) + data.evaluator = cacheExprs.put(exprId, fn) } catch (e) { log("debug: parse error," + e.message) + } finally { + vars = assigns = names = null //释放内存 } - return - } else if (dataType === "on") { //事件绑定 - if (code.indexOf("(") === -1) { - code += ".call(this, $event)" - } else { - code = code.replace("(", ".call(this,") - } - names.push("$event") - code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;") - var lastIndex = code.lastIndexOf("\nreturn") - var header = code.slice(0, lastIndex) - var footer = code.slice(lastIndex) - code = header + "\n" + footer - } else { //其他绑定 - code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;") } - try { - fn = Function.apply(noop, names.concat("'use strict';\n" + prefix + code)) - data.evaluator = cacheExprs(exprId, fn) - } catch (e) { - log("debug: parse error," + e.message) - } finally { - vars = textBuffer = names = null //释放内存 - } -} //parseExpr的智能引用代理 -function parseExprProxy(code, scopes, data, tokens, noregister) { - if (Array.isArray(tokens)) { - code = tokens.map(function(el) { - return el.expr ? "(" + el.value + ")" : quote(el.value) - }).join(" + ") - } - parseExpr(code, scopes, data) - if (data.evaluator && !noregister) { - data.handler = bindingExecutors[data.handlerName || data.type] - //方便调试 - //这里非常重要,我们通过判定视图刷新函数的element是否在DOM树决定 - //将它移出订阅者列表 - registerSubscriber(data) - } -} -avalon.parseExprProxy = parseExprProxy -/********************************************************************* - * 各种指令 * - **********************************************************************/ -//ms-skip绑定已经在scanTag 方法中实现 -//ms-controller绑定已经在scanTag 方法中实现 -//ms-important绑定已经在scanTag 方法中实现 -var bools = "autofocus,autoplay,async,allowTransparency,checked,controls,declare,disabled,defer,defaultChecked,defaultSelected" + - "contentEditable,isMap,loop,multiple,noHref,noResize,noShade,open,readOnly,selected" -var boolMap = {} -bools.replace(rword, function(name) { - boolMap[name.toLowerCase()] = name -}) - -var propMap = {//属性名映射 - "accept-charset": "acceptCharset", - "char": "ch", - "charoff": "chOff", - "class": "className", - "for": "htmlFor", - "http-equiv": "httpEquiv" -} - -var anomaly = "accessKey,bgColor,cellPadding,cellSpacing,codeBase,codeType,colSpan," + "dateTime,defaultValue,frameBorder,longDesc,maxLength,marginWidth,marginHeight," + "rowSpan,tabIndex,useMap,vSpace,valueType,vAlign" -anomaly.replace(rword, function(name) { - propMap[name.toLowerCase()] = name -}) - -var rnoscripts = /(?:[\s\S]+?)<\/noscript>/img -var rnoscriptText = /([\s\S]+?)<\/noscript>/im - -var getXHR = function() { - return new (window.XMLHttpRequest || ActiveXObject)("Microsoft.XMLHTTP") -} - -var cacheTmpls = avalon.templateCache = {} - -bindingHandlers.attr = function(data, vmodels) { - var text = data.value.trim(), - simple = true - if (text.indexOf(openTag) > -1 && text.indexOf(closeTag) > 2) { - simple = false - if (rexpr.test(text) && RegExp.rightContext === "" && RegExp.leftContext === "") { + function parseExprProxy(code, scopes, data, tokens, noRegister) { + if (Array.isArray(tokens)) { + code = tokens.map(function (el) { + return el.expr ? "(" + el.value + ")" : quote(el.value) + }).join(" + ") + } + parseExpr(code, scopes, data) + if (data.evaluator && !noRegister) { + data.handler = bindingExecutors[data.handlerName || data.type] + //方便调试 + //这里非常重要,我们通过判定视图刷新函数的element是否在DOM树决定 + //将它移出订阅者列表 + avalon.injectBinding(data) + } + } + + avalon.parseExprProxy = parseExprProxy + var bools = ["autofocus,autoplay,async,allowTransparency,checked,controls", + "declare,disabled,defer,defaultChecked,defaultSelected", + "contentEditable,isMap,loop,multiple,noHref,noResize,noShade", + "open,readOnly,selected" + ].join(",") + var boolMap = {} + bools.replace(rword, function (name) { + boolMap[name.toLowerCase()] = name + }) + + var propMap = { //属性名映射 + "accept-charset": "acceptCharset", + "char": "ch", + "charoff": "chOff", + "class": "className", + "for": "htmlFor", + "http-equiv": "httpEquiv" + } + + var anomaly = ["accessKey,bgColor,cellPadding,cellSpacing,codeBase,codeType,colSpan", + "dateTime,defaultValue,frameBorder,longDesc,maxLength,marginWidth,marginHeight", + "rowSpan,tabIndex,useMap,vSpace,valueType,vAlign" + ].join(",") + anomaly.replace(rword, function (name) { + propMap[name.toLowerCase()] = name + }) + + var rnoscripts = /(?:[\s\S]+?)<\/noscript>/img + var rnoscriptText = /([\s\S]+?)<\/noscript>/im + + var getXHR = function () { + return new (window.XMLHttpRequest || ActiveXObject)("Microsoft.XMLHTTP") // jshint ignore:line + } + + var cacheTmpls = avalon.templateCache = {} + + bindingHandlers.attr = function (data, vmodels) { + var text = data.value.trim(), simple = true - text = RegExp.$1 + if (text.indexOf(openTag) > -1 && text.indexOf(closeTag) > 2) { + simple = false + if (rexpr.test(text) && RegExp.rightContext === "" && RegExp.leftContext === "") { + simple = true + text = RegExp.$1 + } } - } - if (data.type === "include") { - var elem = data.element - data.includeRendered = getBindingCallback(elem, "data-include-rendered", vmodels) - data.includeLoaded = getBindingCallback(elem, "data-include-loaded", vmodels) - var outer = data.includeReplaced = !!avalon(elem).data("includeReplace") - data.startInclude = DOC.createComment("ms-include") - data.endInclude = DOC.createComment("ms-include-end") - if (outer) { - data.element = data.startInclude - elem.parentNode.insertBefore(data.startInclude, elem) - elem.parentNode.insertBefore(data.endInclude, elem.nextSibling) - } else { - elem.insertBefore(data.startInclude, elem.firstChild) - elem.appendChild(data.endInclude) + if (data.type === "include") { + var elem = data.element + data.includeRendered = getBindingCallback(elem, "data-include-rendered", vmodels) + data.includeLoaded = getBindingCallback(elem, "data-include-loaded", vmodels) + var outer = data.includeReplace = !!avalon(elem).data("includeReplace") + if (avalon(elem).data("includeCache")) { + data.templateCache = {} + } + data.startInclude = DOC.createComment("ms-include") + data.endInclude = DOC.createComment("ms-include-end") + if (outer) { + data.element = data.startInclude + elem.parentNode.insertBefore(data.startInclude, elem) + elem.parentNode.insertBefore(data.endInclude, elem.nextSibling) + } else { + elem.insertBefore(data.startInclude, elem.firstChild) + elem.appendChild(data.endInclude) + } } + data.handlerName = "attr" //handleName用于处理多种绑定共用同一种bindingExecutor的情况 + parseExprProxy(text, vmodels, data, (simple ? 0 : scanExpr(data.value))) } - data.handlerName = "attr" //handleName用于处理多种绑定共用同一种bindingExecutor的情况 - parseExprProxy(text, vmodels, data, (simple ? 0 : scanExpr(data.value))) -} -bindingExecutors.attr = function(val, elem, data) { - var method = data.type, + bindingExecutors.attr = function (val, elem, data) { + var method = data.type, attrName = data.param - if (method === "css") { - avalon(elem).css(attrName, val) - } else if (method === "attr") { - // ms-attr-class="xxx" vm.xxx="aaa bbb ccc"将元素的className设置为aaa bbb ccc - // ms-attr-class="xxx" vm.xxx=false 清空元素的所有类名 - // ms-attr-name="yyy" vm.yyy="ooo" 为元素设置name属性 - if (boolMap[attrName]) { + if (method === "css") { + avalon(elem).css(attrName, val) + } else if (method === "attr") { + // ms-attr-class="xxx" vm.xxx="aaa bbb ccc"将元素的className设置为aaa bbb ccc + // ms-attr-class="xxx" vm.xxx=false 清空元素的所有类名 + // ms-attr-name="yyy" vm.yyy="ooo" 为元素设置name属性 + var toRemove = (val === false) || (val === null) || (val === void 0) + + if (!W3C && propMap[attrName]) { //旧式IE下需要进行名字映射 + attrName = propMap[attrName] + } var bool = boolMap[attrName] if (typeof elem[bool] === "boolean") { - // IE6-11不支持动态设置fieldset的disabled属性,IE11下样式是生效了,但无法阻止用户对其底下的input元素进行设值…… - return elem[bool] = !!val - } - } - var toRemove = (val === false) || (val === null) || (val === void 0) - - if (!W3C && propMap[attrName]) { //旧式IE下需要进行名字映射 - attrName = propMap[attrName] - } - if (toRemove) { - return elem.removeAttribute(attrName) - } - //SVG只能使用setAttribute(xxx, yyy), VML只能使用elem.xxx = yyy ,HTML的固有属性必须elem.xxx = yyy - var isInnate = rsvg.test(elem) ? false : (DOC.namespaces && isVML(elem)) ? true : attrName in elem.cloneNode(false) - if (isInnate) { - elem[attrName] = val - } else { - elem.setAttribute(attrName, val) - } - } else if (method === "include" && val) { - var vmodels = data.vmodels - var rendered = data.includeRendered - var loaded = data.includeLoaded - var replace = data.includeReplaced - var target = replace ? elem.parentNode : elem - function scanTemplate(text) { - if (loaded) { - text = loaded.apply(target, [text].concat(vmodels)) - } - if (rendered) { - checkScan(target, function() { - rendered.call(target) - }, NaN) - } - while (true) { - var node = data.startInclude.nextSibling - if (node && node !== data.endInclude) { - target.removeChild(node) - } else { - break + elem[bool] = !!val //布尔属性必须使用el.xxx = true|false方式设值 + if (!val) { //如果为false, IE全系列下相当于setAttribute(xxx,''),会影响到样式,需要进一步处理 + toRemove = true } } - var dom = avalon.parseHTML(text) - var nodes = avalon.slice(dom.childNodes) - target.insertBefore(dom, data.endInclude) - scanNodeArray(nodes, vmodels) - } - if (data.param === "src") { - if (cacheTmpls[val]) { - avalon.nextTick(function() { - scanTemplate(cacheTmpls[val]) - }) + if (toRemove) { + return elem.removeAttribute(attrName) + } + + //SVG只能使用setAttribute(xxx, yyy), VML只能使用elem.xxx = yyy ,HTML的固有属性必须elem.xxx = yyy + var isInnate = rsvg.test(elem) ? false : (DOC.namespaces && isVML(elem)) ? true : attrName in elem.cloneNode(false) + if (isInnate) { + elem[attrName] = val } else { - var xhr = getXHR() - xhr.onreadystatechange = function() { - if (xhr.readyState === 4) { - var s = xhr.status - if (s >= 200 && s < 300 || s === 304 || s === 1223) { - scanTemplate(cacheTmpls[val] = xhr.responseText) - } + elem.setAttribute(attrName, val) + } + } else if (method === "include" && val) { + var vmodels = data.vmodels + var rendered = data.includeRendered + var loaded = data.includeLoaded + var replace = data.includeReplace + var target = replace ? elem.parentNode : elem + var scanTemplate = function (text) { + if (loaded) { + var newText = loaded.apply(target, [text].concat(vmodels)) + if (typeof newText === "string") + text = newText + } + if (rendered) { + checkScan(target, function () { + rendered.call(target) + }, NaN) + } + var lastID = data.includeLastID + if (data.templateCache && lastID && lastID !== val) { + var lastTemplate = data.templateCache[lastID] + if (!lastTemplate) { + lastTemplate = data.templateCache[lastID] = DOC.createElement("div") + ifGroup.appendChild(lastTemplate) } } - xhr.open("GET", val, true) - if ("withCredentials" in xhr) { - xhr.withCredentials = true + data.includeLastID = val + while (true) { + var node = data.startInclude.nextSibling + if (node && node !== data.endInclude) { + target.removeChild(node) + if (lastTemplate) + lastTemplate.appendChild(node) + } else { + break + } } - xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest") - xhr.send(null) + var dom = getTemplateNodes(data, val, text) + var nodes = avalon.slice(dom.childNodes) + target.insertBefore(dom, data.endInclude) + scanNodeArray(nodes, vmodels) } - } else { - //IE系列与够新的标准浏览器支持通过ID取得元素(firefox14+) - //http://tjvantoll.com/2012/07/19/dom-element-references-as-global-variables/ - var el = val && val.nodeType === 1 ? val : DOC.getElementById(val) - if (el) { - if (el.tagName === "NOSCRIPT" && !(el.innerHTML || el.fixIE78)) { //IE7-8 innerText,innerHTML都无法取得其内容,IE6能取得其innerHTML - var xhr = getXHR() //IE9-11与chrome的innerHTML会得到转义的内容,它们的innerText可以 - xhr.open("GET", location, false) //谢谢Nodejs 乱炖群 深圳-纯属虚构 + + if (data.param === "src") { + if (typeof cacheTmpls[val] === "string") { + avalon.nextTick(function () { + scanTemplate(cacheTmpls[val]) + }) + } else if (Array.isArray(cacheTmpls[val])) { //#805 防止在循环绑定中发出许多相同的请求 + cacheTmpls[val].push(scanTemplate) + } else { + var xhr = getXHR() + xhr.onreadystatechange = function () { + if (xhr.readyState === 4) { + var s = xhr.status + if (s >= 200 && s < 300 || s === 304 || s === 1223) { + var text = xhr.responseText + for (var f = 0, fn; fn = cacheTmpls[val][f++];) { + fn(text) + } + cacheTmpls[val] = text + } + } + } + cacheTmpls[val] = [scanTemplate] + xhr.open("GET", val, true) + if ("withCredentials" in xhr) { + xhr.withCredentials = true + } + xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest") xhr.send(null) - //http://bbs.csdn.net/topics/390349046?page=1#post-393492653 - var noscripts = DOC.getElementsByTagName("noscript") - var array = (xhr.responseText || "").match(rnoscripts) || [] - var n = array.length - for (var i = 0; i < n; i++) { - var tag = noscripts[i] - if (tag) { //IE6-8中noscript标签的innerHTML,innerText是只读的 - tag.style.display = "none" //http://haslayout.net/css/noscript-Ghost-Bug - tag.fixIE78 = (array[i].match(rnoscriptText) || ["", " "])[1] + } + } else { + //IE系列与够新的标准浏览器支持通过ID取得元素(firefox14+) + //http://tjvantoll.com/2012/07/19/dom-element-references-as-global-variables/ + var el = val && val.nodeType === 1 ? val : DOC.getElementById(val) + if (el) { + if (el.tagName === "NOSCRIPT" && !(el.innerHTML || el.fixIE78)) { //IE7-8 innerText,innerHTML都无法取得其内容,IE6能取得其innerHTML + xhr = getXHR() //IE9-11与chrome的innerHTML会得到转义的内容,它们的innerText可以 + xhr.open("GET", location, false) //谢谢Nodejs 乱炖群 深圳-纯属虚构 + xhr.send(null) + //http://bbs.csdn.net/topics/390349046?page=1#post-393492653 + var noscripts = DOC.getElementsByTagName("noscript") + var array = (xhr.responseText || "").match(rnoscripts) || [] + var n = array.length + for (var i = 0; i < n; i++) { + var tag = noscripts[i] + if (tag) { //IE6-8中noscript标签的innerHTML,innerText是只读的 + tag.style.display = "none" //http://haslayout.net/css/noscript-Ghost-Bug + tag.fixIE78 = (array[i].match(rnoscriptText) || ["", " "])[1] + } } } + avalon.nextTick(function () { + scanTemplate(el.fixIE78 || el.value || el.innerText || el.innerHTML) + }) } - avalon.nextTick(function() { - scanTemplate(el.fixIE78 || el.value || el.innerText || el.innerHTML) - }) + } + } else { + if (!root.hasAttribute && typeof val === "string" && (method === "src" || method === "href")) { + val = val.replace(/&/g, "&") //处理IE67自动转义的问题 + } + elem[method] = val + if (window.chrome && elem.tagName === "EMBED") { + var parent = elem.parentNode //#525 chrome1-37下embed标签动态设置src不能发生请求 + var comment = document.createComment("ms-src") + parent.replaceChild(comment, elem) + parent.replaceChild(elem, comment) } } - } else { - if (!root.hasAttribute && typeof val === "string" && (method === "src" || method === "href")) { - val = val.replace(/&/g, "&") //处理IE67自动转义的问题 - } - elem[method] = val - if (window.chrome && elem.tagName === "EMBED") { - var parent = elem.parentNode //#525 chrome1-37下embed标签动态设置src不能发生请求 - var comment = document.createComment("ms-src") - parent.replaceChild(comment, elem) - parent.replaceChild(elem, comment) + } + + function getTemplateNodes(data, id, text) { + var div = data.templateCache && data.templateCache[id] + if (div) { + var dom = DOC.createDocumentFragment(), + firstChild + while (firstChild = div.firstChild) { + dom.appendChild(firstChild) + } + return dom } + return avalon.parseHTML(text) } -} //这几个指令都可以使用插值表达式,如ms-src="aaa/{{b}}/{{c}}.html" -"title,alt,src,value,css,include,href".replace(rword, function(name) { - bindingHandlers[name] = bindingHandlers.attr -}) -//ms-include绑定已由ms-attr绑定实现 - + "title,alt,src,value,css,include,href".replace(rword, function (name) { + bindingHandlers[name] = bindingHandlers.attr + }) //根据VM的属性值或表达式的值切换类名,ms-class="xxx yyy zzz:flag" //http://www.cnblogs.com/rubylouvre/archive/2012/12/17/2818540.html -bindingHandlers["class"] = function(data, vmodels) { - var oldStyle = data.param, + bindingHandlers["class"] = function (data, vmodels) { + var oldStyle = data.param, text = data.value, rightExpr - data.handlerName = "class" - if (!oldStyle || isFinite(oldStyle)) { - data.param = "" //去掉数字 - var noExpr = text.replace(rexprg, function(a) { - return a.replace(/./g, "0") - //return Math.pow(10, a.length - 1) //将插值表达式插入10的N-1次方来占位 - }) - var colonIndex = noExpr.indexOf(":") //取得第一个冒号的位置 - if (colonIndex === -1) { // 比如 ms-class="aaa bbb ccc" 的情况 - var className = text - } else { // 比如 ms-class-1="ui-state-active:checked" 的情况 - className = text.slice(0, colonIndex) - rightExpr = text.slice(colonIndex + 1) - parseExpr(rightExpr, vmodels, data) //决定是添加还是删除 - if (!data.evaluator) { - log("debug: ms-class '" + (rightExpr || "").trim() + "' 不存在于VM中") - return false - } else { - data._evaluator = data.evaluator - data._args = data.args + data.handlerName = "class" + if (!oldStyle || isFinite(oldStyle)) { + data.param = "" //去掉数字 + var noExpr = text.replace(rexprg, function (a) { + return a.replace(/./g, "0") + //return Math.pow(10, a.length - 1) //将插值表达式插入10的N-1次方来占位 + }) + var colonIndex = noExpr.indexOf(":") //取得第一个冒号的位置 + if (colonIndex === -1) { // 比如 ms-class="aaa bbb ccc" 的情况 + var className = text + } else { // 比如 ms-class-1="ui-state-active:checked" 的情况 + className = text.slice(0, colonIndex) + rightExpr = text.slice(colonIndex + 1) + parseExpr(rightExpr, vmodels, data) //决定是添加还是删除 + if (!data.evaluator) { + log("debug: ms-class '" + (rightExpr || "").trim() + "' 不存在于VM中") + return false + } else { + data._evaluator = data.evaluator + data._args = data.args + } } + var hasExpr = rexpr.test(className) //比如ms-class="width{{w}}"的情况 + if (!hasExpr) { + data.immobileClass = className + } + parseExprProxy("", vmodels, data, (hasExpr ? scanExpr(className) : 0)) + } else { + data.immobileClass = data.oldStyle = data.param + parseExprProxy(text, vmodels, data) } - var hasExpr = rexpr.test(className) //比如ms-class="width{{w}}"的情况 - if (!hasExpr) { - data.immobileClass = className - } - parseExprProxy("", vmodels, data, (hasExpr ? scanExpr(className) : 0)) - } else { - data.immobileClass = data.oldStyle = data.param - parseExprProxy(text, vmodels, data) } -} -bindingExecutors ["class"] = function(val, elem, data) { - var $elem = avalon(elem), + bindingExecutors["class"] = function (val, elem, data) { + var $elem = avalon(elem), method = data.type - if (method === "class" && data.oldStyle) { //如果是旧风格 - $elem.toggleClass(data.oldStyle, !!val) - } else { - //如果存在冒号就有求值函数 - data.toggleClass = data._evaluator ? !!data._evaluator.apply(elem, data._args) : true - data.newClass = data.immobileClass || val - if (data.oldClass && data.newClass !== data.oldClass) { - $elem.removeClass(data.oldClass) - } - data.oldClass = data.newClass - switch (method) { - case "class": - $elem.toggleClass(data.newClass, data.toggleClass) - break - case "hover": - case "active": - if (!data.hasBindEvent) { //确保只绑定一次 - var activate = "mouseenter" //在移出移入时切换类名 - var abandon = "mouseleave" - if (method === "active") { //在聚焦失焦中切换类名 - elem.tabIndex = elem.tabIndex || -1 - activate = "mousedown" - abandon = "mouseup" - var fn0 = $elem.bind("mouseleave", function() { + if (method === "class" && data.oldStyle) { //如果是旧风格 + $elem.toggleClass(data.oldStyle, !!val) + } else { + //如果存在冒号就有求值函数 + data.toggleClass = data._evaluator ? !!data._evaluator.apply(elem, data._args) : true + data.newClass = data.immobileClass || val + if (data.oldClass && data.newClass !== data.oldClass) { + $elem.removeClass(data.oldClass) + } + data.oldClass = data.newClass + switch (method) { + case "class": + $elem.toggleClass(data.newClass, data.toggleClass) + break + case "hover": + case "active": + if (!data.hasBindEvent) { //确保只绑定一次 + var activate = "mouseenter" //在移出移入时切换类名 + var abandon = "mouseleave" + if (method === "active") { //在聚焦失焦中切换类名 + elem.tabIndex = elem.tabIndex || -1 + activate = "mousedown" + abandon = "mouseup" + var fn0 = $elem.bind("mouseleave", function () { + data.toggleClass && $elem.removeClass(data.newClass) + }) + } + var fn1 = $elem.bind(activate, function () { + data.toggleClass && $elem.addClass(data.newClass) + }) + var fn2 = $elem.bind(abandon, function () { data.toggleClass && $elem.removeClass(data.newClass) }) + data.rollback = function () { + $elem.unbind("mouseleave", fn0) + $elem.unbind(activate, fn1) + $elem.unbind(abandon, fn2) + } + data.hasBindEvent = true } - var fn1 = $elem.bind(activate, function() { - data.toggleClass && $elem.addClass(data.newClass) - }) - var fn2 = $elem.bind(abandon, function() { - data.toggleClass && $elem.removeClass(data.newClass) - }) - data.rollback = function() { - $elem.unbind("mouseleave", fn0) - $elem.unbind(activate, fn1) - $elem.unbind(abandon, fn2) - } - data.hasBindEvent = true - } - break; + break; + } } } -} -"hover,active".replace(rword, function(method) { - bindingHandlers[method] = bindingHandlers["class"] -}) -// bindingHandlers.data 定义在if.js -bindingExecutors.data = function(val, elem, data) { - var key = "data-" + data.param - if (val && typeof val === "object") { - elem[key] = val - } else { - elem.setAttribute(key, String(val)) - } -} + "hover,active".replace(rword, function (method) { + bindingHandlers[method] = bindingHandlers["class"] + }) +//ms-controller绑定已经在scanTag 方法中实现 +//ms-css绑定已由ms-attr绑定实现 -// bindingHandlers.text 定义在if.js -bindingExecutors.text = function(val, elem) { - val = val == null ? "" : val //不在页面上显示undefined null - if (elem.nodeType === 3) { //绑定在文本节点上 - try { //IE对游离于DOM树外的节点赋值会报错 - elem.data = val - } catch (e) { - } - } else { //绑定在特性节点上 - elem.textContent = val - } -} -// bindingHandlers.html 定义在if.js -bindingExecutors.html = function(val, elem, data) { - val = val == null ? "" : val - var isHtmlFilter = "group" in data - var parent = isHtmlFilter ? elem.parentNode : elem - if (!parent) - return - if (val.nodeType === 11) { //将val转换为文档碎片 - var fragment = val - } else if (val.nodeType === 1 || val.item) { - var nodes = val.nodeType === 1 ? val.childNodes : val.item ? val : [] - fragment = hyperspace.cloneNode(true) - while (nodes[0]) { - fragment.appendChild(nodes[0]) +// bindingHandlers.data 定义在if.js + bindingExecutors.data = function (val, elem, data) { + var key = "data-" + data.param + if (val && typeof val === "object") { + elem[key] = val + } else { + elem.setAttribute(key, String(val)) } - } else { - fragment = avalon.parseHTML(val) - } - //插入占位符, 如果是过滤器,需要有节制地移除指定的数量,如果是html指令,直接清空 - var comment = DOC.createComment("ms-html") - if (isHtmlFilter) { - parent.insertBefore(comment, elem) - var n = data.group, i = 1 - while (i < n) { - var node = elem.nextSibling - if (node) { - parent.removeChild(node) - i++ - } - } - parent.removeChild(elem) - data.element = comment //防止被CG - } else { - avalon.clearHTML(parent).appendChild(comment) - } - if (isHtmlFilter) { - data.group = fragment.childNodes.length || 1 } - var nodes = avalon.slice(fragment.childNodes) - if (nodes[0]) { - if (comment.parentNode) - comment.parentNode.replaceChild(fragment, comment) - if (isHtmlFilter) { - data.element = nodes[0] +//双工绑定 + var duplexBinding = bindingHandlers.duplex = function (data, vmodels) { + var elem = data.element, + hasCast + parseExprProxy(data.value, vmodels, data, 0, 1) + + data.changed = getBindingCallback(elem, "data-duplex-changed", vmodels) || noop + if (data.evaluator && data.args) { + var params = [] + var casting = oneObject("string,number,boolean,checked") + if (elem.type === "radio" && data.param === "") { + data.param = "checked" + } + if (elem.msData) { + elem.msData["ms-duplex"] = data.value + } + data.param.replace(/\w+/g, function (name) { + if (/^(checkbox|radio)$/.test(elem.type) && /^(radio|checked)$/.test(name)) { + if (name === "radio") + log("ms-duplex-radio已经更名为ms-duplex-checked") + name = "checked" + data.isChecked = true + } + if (name === "bool") { + name = "boolean" + log("ms-duplex-bool已经更名为ms-duplex-boolean") + } else if (name === "text") { + name = "string" + log("ms-duplex-text已经更名为ms-duplex-string") + } + if (casting[name]) { + hasCast = true + } + avalon.Array.ensure(params, name) + }) + if (!hasCast) { + params.push("string") + } + data.param = params.join("-") + data.bound = function (type, callback) { + if (elem.addEventListener) { + elem.addEventListener(type, callback, false) + } else { + elem.attachEvent("on" + type, callback) + } + var old = data.rollback + data.rollback = function () { + elem.avalonSetter = null + avalon.unbind(elem, type, callback) + old && old() + } + } + for (var i in avalon.vmodels) { + var v = avalon.vmodels[i] + v.$fire("avalon-ms-duplex-init", data) + } + var cpipe = data.pipe || (data.pipe = pipe) + cpipe(null, data, "init") + var tagName = elem.tagName + duplexBinding[tagName] && duplexBinding[tagName](elem, data.evaluator.apply(null, data.args), data) } } - scanNodeArray(nodes, data.vmodels) -} +//不存在 bindingExecutors.duplex + + function fixNull(val) { + return val == null ? "" : val + } -bindingHandlers["if"] = - bindingHandlers.data = - bindingHandlers.text = - bindingHandlers.html = - function(data, vmodels) { - parseExprProxy(data.value, vmodels, data) - } - -bindingExecutors["if"] = function(val, elem, data) { - if (val) { //插回DOM树 - if (elem.nodeType === 8) { - elem.parentNode.replaceChild(data.template, elem) - elem = data.element = data.template //这时可能为null - } - if (elem.getAttribute(data.name)) { - elem.removeAttribute(data.name) - scanAttr(elem, data.vmodels) - } - data.rollback = null - } else { //移出DOM树,并用注释节点占据原位置 - if (elem.nodeType === 1) { - var node = data.element = DOC.createComment("ms-if") - elem.parentNode.replaceChild(node, elem) - data.template = elem //元素节点 - ifGroup.appendChild(elem) - data.rollback = function() { - if (elem.parentNode === ifGroup) { - ifGroup.removeChild(elem) + avalon.duplexHooks = { + checked: { + get: function (val, data) { + return !data.element.oldValue + } + }, + string: { + get: function (val) { //同步到VM + return val + }, + set: fixNull + }, + "boolean": { + get: function (val) { + return val === "true" + }, + set: fixNull + }, + number: { + get: function (val, data) { + var number = parseFloat(val) + if (-val === -number) { + return number } + var arr = /strong|medium|weak/.exec(data.element.getAttribute("data-duplex-number")) || ["medium"] + switch (arr[0]) { + case "strong": + return 0 + case "medium": + return val === "" ? "" : 0 + case "weak": + return val + } + }, + set: fixNull + } + } + + function pipe(val, data, action, e) { + data.param.replace(/\w+/g, function (name) { + var hook = avalon.duplexHooks[name] + if (hook && typeof hook[action] === "function") { + val = hook[action](val, data) } + }) + return val + } + + var TimerID, ribbon = [] + + avalon.tick = function (fn) { + if (ribbon.push(fn) === 1) { + TimerID = setInterval(ticker, 60) } } -} + function ticker() { + for (var n = ribbon.length - 1; n >= 0; n--) { + var el = ribbon[n] + if (el() === false) { + ribbon.splice(n, 1) + } + } + if (!ribbon.length) { + clearInterval(TimerID) + } + } + + var watchValueInTimer = noop + var rmsinput = /text|password|hidden/ + new function () { // jshint ignore:line + try { //#272 IE9-IE11, firefox + var setters = {} + var aproto = HTMLInputElement.prototype + var bproto = HTMLTextAreaElement.prototype + + function newSetter(value) { // jshint ignore:line + if (avalon.contains(root, this)) { + setters[this.tagName].call(this, value) + if (!rmsinput.test(this.type)) + return + if (!this.msFocus && this.avalonSetter) { + this.avalonSetter() + } + } + } + + var inputProto = HTMLInputElement.prototype + Object.getOwnPropertyNames(inputProto) //故意引发IE6-8等浏览器报错 + setters["INPUT"] = Object.getOwnPropertyDescriptor(aproto, "value").set + Object.defineProperty(aproto, "value", { + set: newSetter + }) + setters["TEXTAREA"] = Object.getOwnPropertyDescriptor(bproto, "value").set + Object.defineProperty(bproto, "value", { + set: newSetter + }) + } catch (e) { + //在chrome 43中 ms-duplex终于不需要使用定时器实现双向绑定了 + // http://updates.html5rocks.com/2015/04/DOM-attributes-now-on-the-prototype + // https://docs.google.com/document/d/1jwA8mtClwxI-QJuHT7872Z0pxpZz8PBkf2bGAbsUtqs/edit?pli=1 + watchValueInTimer = avalon.tick + } + } // jshint ignore:line +//处理radio, checkbox, text, textarea, password + duplexBinding.INPUT = function (element, evaluator, data) { + var $type = element.type, + bound = data.bound, + $elem = avalon(element), + composing = false -function parseDisplay(nodeName, val) { - //用于取得此类标签的默认display值 - var key = "_" + nodeName - if (!parseDisplay[key]) { - var node = DOC.createElement(nodeName) - root.appendChild(node) - if (W3C) { - val = getComputedStyle(node, null).display + function callback(value) { + data.changed.call(this, value, data) + } + + function compositionStart() { + composing = true + } + + function compositionEnd() { + composing = false + } + + //当value变化时改变model的值 + + var updateVModel = function () { + if (composing) //处理中文输入法在minlengh下引发的BUG + return + var val = element.oldValue = element.value //防止递归调用形成死循环 + var lastValue = data.pipe(val, data, "get") + if ($elem.data("duplexObserve") !== false) { + evaluator(lastValue) + callback.call(element, lastValue) + if ($elem.data("duplex-focus")) { + avalon.nextTick(function () { + element.focus() + }) + } + } + } + //当model变化时,它就会改变value的值 + data.handler = function () { + var val = data.pipe(evaluator(), data, "set") + "" + if (val !== element.oldValue) { + element.value = val + } + } + if (data.isChecked || $type === "radio") { + updateVModel = function () { + if ($elem.data("duplexObserve") !== false) { + var lastValue = data.pipe(element.value, data, "get") + evaluator(lastValue) + callback.call(element, lastValue) + } + } + data.handler = function () { + var val = evaluator() + var checked = data.isChecked ? !!val : val + "" === element.value + element.checked = element.oldValue = checked + } + bound("click", updateVModel) + } else if ($type === "checkbox") { + updateVModel = function () { + if ($elem.data("duplexObserve") !== false) { + var method = element.checked ? "ensure" : "remove" + var array = evaluator() + if (!Array.isArray(array)) { + log("ms-duplex应用于checkbox上要对应一个数组") + array = [array] + } + avalon.Array[method](array, data.pipe(element.value, data, "get")) + callback.call(element, array) + } + } + data.handler = function () { + var array = [].concat(evaluator()) //强制转换为数组 + element.checked = array.indexOf(data.pipe(element.value, data, "get")) > -1 + } + bound("change", updateVModel) } else { - val = node.currentStyle.display - } - root.removeChild(node) - parseDisplay[key] = val - } - return parseDisplay[key] -} - -avalon.parseDisplay = parseDisplay - -bindingHandlers.visible = function(data, vmodels) { - var elem = avalon(data.element) - var display = elem.css("display") - if (display === "none") { - var style = elem[0].style - var has = /visibility/i.test(style.cssText) - var visible = elem.css("visibility") - style.display = "" - style.visibility = "hidden" - display = elem.css("display") - if (display === "none") { - display = parseDisplay(elem[0].nodeName) + var events = element.getAttribute("data-duplex-event") || "input" + if (element.attributes["data-event"]) { + log("data-event指令已经废弃,请改用data-duplex-event") + } + events.replace(rword, function (name) { + switch (name) { + case "input": + bound("input", updateVModel) + bound("DOMAutoComplete", updateVModel) + if (!IEVersion) { + bound("compositionstart", compositionStart) + bound("compositionend", compositionEnd) + } + break + default: + bound(name, updateVModel) + break + } + }) + bound("focus", function () { + element.msFocus = true + }) + bound("blur", function () { + element.msFocus = false + }) + if (rmsinput.test($type)) { + watchValueInTimer(function () { + if (root.contains(element)) { + if (!element.msFocus && element.oldValue !== element.value) { + updateVModel() + } + } else if (!element.msRetain) { + return false + } + }) + } + + element.avalonSetter = updateVModel } - style.visibility = has ? visible : "" + + element.oldValue = element.value + avalon.injectBinding(data) + callback.call(element, element.value) } - data.display = display - parseExprProxy(data.value, vmodels, data) -} + duplexBinding.TEXTAREA = duplexBinding.INPUT + duplexBinding.SELECT = function (element, evaluator, data) { + var $elem = avalon(element) -bindingExecutors.visible = function(val, elem, data) { - elem.style.display = val ? data.display : "none" -} + function updateVModel() { + if ($elem.data("duplexObserve") !== false) { + var val = $elem.val() //字符串或字符串数组 + if (Array.isArray(val)) { + val = val.map(function (v) { + return data.pipe(v, data, "get") + }) + } else { + val = data.pipe(val, data, "get") + } + if (val + "" !== element.oldValue) { + evaluator(val) + } + data.changed.call(element, val, data) + } + } -var rdash = /\(([^)]*)\)/ -bindingHandlers.on = function(data, vmodels) { - var value = data.value - var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10 - if (typeof bindingHandlers.on[eventType + "Hook"] === "function") { - bindingHandlers.on[eventType + "Hook"](data) + data.handler = function () { + var val = evaluator() + val = val && val.$model || val + if (Array.isArray(val)) { + if (!element.multiple) { + log("ms-duplex在不能对应一个数组") + } + } + //必须变成字符串后才能比较 + val = Array.isArray(val) ? val.map(String) : val + "" + if (val + "" !== element.oldValue) { + $elem.val(val) + element.oldValue = val + "" + } + } + data.bound("change", updateVModel) + element.msCallback = function () { + avalon.injectBinding(data) + data.changed.call(element, evaluator(), data) + } } - if (value.indexOf("(") > 0 && value.indexOf(")") > -1) { - var matched = (value.match(rdash) || ["", ""])[1].trim() - if (matched === "" || matched === "$event") { // aaa() aaa($event)当成aaa处理 - value = value.replace(rdash, "") +// bindingHandlers.html 定义在if.js + bindingExecutors.html = function (val, elem, data) { + val = val == null ? "" : val + var isHtmlFilter = "group" in data + var parent = isHtmlFilter ? elem.parentNode : elem + if (!parent) + return + if (typeof val === "string") { + var fragment = avalon.parseHTML(val) + } else if (val.nodeType === 11) { //将val转换为文档碎片 + fragment = val + } else if (val.nodeType === 1 || val.item) { + var nodes = val.nodeType === 1 ? val.childNodes : val.item + fragment = hyperspace.cloneNode(true) + while (nodes[0]) { + fragment.appendChild(nodes[0]) + } + } + if (!fragment.firstChild) { + fragment.appendChild(DOC.createComment("ms-html")) + } + nodes = avalon.slice(fragment.childNodes) + //插入占位符, 如果是过滤器,需要有节制地移除指定的数量,如果是html指令,直接清空 + if (isHtmlFilter) { + var n = data.group, + i = 1 + + data.group = nodes.length + data.element = nodes[0] + + while (i < n) { + var node = elem.nextSibling + if (node) { + parent.removeChild(node) + i++ + } + } + parent.replaceChild(fragment, elem) + } else { + avalon.clearHTML(parent).appendChild(fragment) } + scanNodeArray(nodes, data.vmodels) } - parseExprProxy(value, vmodels, data) -} + bindingHandlers["if"] = + bindingHandlers.data = + bindingHandlers.text = + bindingHandlers.html = + function (data, vmodels) { + parseExprProxy(data.value, vmodels, data) + } -bindingExecutors.on = function(callback, elem, data) { - data.type = "on" - callback = function(e) { - var fn = data.evaluator || noop - return fn.apply(this, data.args.concat(e)) + bindingExecutors["if"] = function (val, elem, data) { + if (val) { //插回DOM树 + if (elem.nodeType === 8) { + elem.parentNode.replaceChild(data.template, elem) + elem = data.element = data.template //这时可能为null + } + if (elem.getAttribute(data.name)) { + elem.removeAttribute(data.name) + scanAttr(elem, data.vmodels) + } + data.rollback = null + } else { //移出DOM树,并用注释节点占据原位置 + if (elem.nodeType === 1) { + var node = data.element = DOC.createComment("ms-if") + elem.parentNode.replaceChild(node, elem) + data.template = elem //元素节点 + ifGroup.appendChild(elem) + data.rollback = function () { + if (elem.parentNode === ifGroup) { + ifGroup.removeChild(elem) + } + } + } + } } - var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10 - if (eventType === "scan") { - callback.call(elem, { - type: eventType - }) - } else if (typeof data.specialBind === "function") { - data.specialBind(elem, callback) - } else { - var removeFn = avalon.bind(elem, eventType, callback) +//ms-important绑定已经在scanTag 方法中实现 +//ms-include绑定已由ms-attr绑定实现 + + var rdash = /\(([^)]*)\)/ + bindingHandlers.on = function (data, vmodels) { + var value = data.value + data.type = "on" + var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10 + if (typeof bindingHandlers.on[eventType + "Hook"] === "function") { + bindingHandlers.on[eventType + "Hook"](data) + } + if (value.indexOf("(") > 0 && value.indexOf(")") > -1) { + var matched = (value.match(rdash) || ["", ""])[1].trim() + if (matched === "" || matched === "$event") { // aaa() aaa($event)当成aaa处理 + value = value.replace(rdash, "") + } + } + parseExprProxy(value, vmodels, data) } - data.rollback = function() { - if (typeof data.specialUnbind === "function") { - data.specialUnbind() + + bindingExecutors.on = function (callback, elem, data) { + callback = function (e) { + var fn = data.evaluator || noop + return fn.apply(this, data.args.concat(e)) + } + var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10 + if (eventType === "scan") { + callback.call(elem, { + type: eventType + }) + } else if (typeof data.specialBind === "function") { + data.specialBind(elem, callback) } else { - avalon.unbind(elem, eventType, removeFn) + var removeFn = avalon.bind(elem, eventType, callback) + } + data.rollback = function () { + if (typeof data.specialUnbind === "function") { + data.specialUnbind() + } else { + avalon.unbind(elem, eventType, removeFn) + } + } + } + bindingHandlers.repeat = function (data, vmodels) { + var type = data.type + parseExprProxy(data.value, vmodels, data, 0, 1) + var freturn = false + try { + var $repeat = data.$repeat = data.evaluator.apply(0, data.args || []) + var xtype = avalon.type($repeat) + if (xtype !== "object" && xtype !== "array") { + freturn = true + avalon.log("warning:" + data.value + "只能是对象或数组") + } + } catch (e) { + freturn = true + } + + var arr = data.value.split(".") || [] + if (arr.length > 1) { + arr.pop() + var n = arr[0] + for (var i = 0, v; v = vmodels[i++];) { + if (v && v.hasOwnProperty(n)) { + var events = v[n].$events || {} + events[subscribers] = events[subscribers] || [] + events[subscribers].push(data) + break + } + } + } + var elem = data.element + elem.removeAttribute(data.name) + + data.sortedCallback = getBindingCallback(elem, "data-with-sorted", vmodels) + data.renderedCallback = getBindingCallback(elem, "data-" + type + "-rendered", vmodels) + var signature = generateID(type) + var comment = data.element = DOC.createComment(signature + ":end") + data.clone = DOC.createComment(signature) + hyperspace.appendChild(comment) + + if (type === "each" || type === "with") { + data.template = elem.innerHTML.trim() + avalon.clearHTML(elem).appendChild(comment) + } else { + data.template = elem.outerHTML.trim() + elem.parentNode.replaceChild(comment, elem) + } + data.template = avalon.parseHTML(data.template) + data.rollback = function () { + var elem = data.element + if (!elem) + return + bindingExecutors.repeat.call(data, "clear") + var parentNode = elem.parentNode + var content = data.template + var target = content.firstChild + parentNode.replaceChild(content, elem) + var start = data.$with + start && start.parentNode && start.parentNode.removeChild(start) + target = data.element = data.type === "repeat" ? target : parentNode + } + if (freturn) { + return + } + data.handler = bindingExecutors.repeat + data.$outer = {} + var check0 = "$key" + var check1 = "$val" + if (Array.isArray($repeat)) { + $repeat.$map[data.param || "el"] = 1 + check0 = "$first" + check1 = "$last" + } + for (i = 0; v = vmodels[i++];) { + if (v.hasOwnProperty(check0) && v.hasOwnProperty(check1)) { + data.$outer = v + break + } + } + var $events = $repeat.$events + var $list = ($events || {})[subscribers] + if ($list && avalon.Array.ensure($list, data)) { + addSubscribers(data, $list) + } + if (xtype === "object") { + data.$with = true + var pool = !$events ? {} : $events.$withProxyPool || ($events.$withProxyPool = {}) + data.handler("append", $repeat, pool) + } else if ($repeat.length) { + data.handler("add", 0, $repeat.length) + } + } + + bindingExecutors.repeat = function (method, pos, el) { + if (method) { + var data = this, start, fragment + var end = data.element + var comments = getComments(data) + var parent = end.parentNode + var transation = hyperspace.cloneNode(false) + switch (method) { + case "add": //在pos位置后添加el数组(pos为插入位置,el为要插入的个数) + var n = pos + el + var fragments = [] + var array = data.$repeat + for (var i = pos; i < n; i++) { + var proxy = array.$proxy[i] + proxy.$outer = data.$outer + shimController(data, transation, proxy, fragments) + } + parent.insertBefore(transation, comments[pos] || end) + for (i = 0; fragment = fragments[i++];) { + scanNodeArray(fragment.nodes, fragment.vmodels) + fragment.nodes = fragment.vmodels = null + } + break + case "del": //将pos后的el个元素删掉(pos, el都是数字) + sweepNodes(comments[pos], comments[pos + el] || end) + break + case "clear": + start = comments[0] + if (start) { + sweepNodes(start, end) + } + break + case "move": + start = comments[0] + if (start) { + var signature = start.nodeValue + var rooms = [] + var room = [], + node + sweepNodes(start, end, function () { + room.unshift(this) + if (this.nodeValue === signature) { + rooms.unshift(room) + room = [] + } + }) + sortByIndex(rooms, pos) + while (room = rooms.shift()) { + while (node = room.shift()) { + transation.appendChild(node) + } + } + parent.insertBefore(transation, end) + } + break + case "append": //将pos的键值对从el中取出(pos为一个普通对象,el为预先生成好的代理VM对象池) + var pool = el + var keys = [] + fragments = [] + for (var key in pos) { //得到所有键名 + if (pos.hasOwnProperty(key) && key !== "hasOwnProperty") { + keys.push(key) + } + } + if (data.sortedCallback) { //如果有回调,则让它们排序 + var keys2 = data.sortedCallback.call(parent, keys) + if (keys2 && Array.isArray(keys2) && keys2.length) { + keys = keys2 + } + } + for (i = 0; key = keys[i++];) { + if (key !== "hasOwnProperty") { + if (!pool[key]) { + pool[key] = withProxyAgent(key, data) + } + shimController(data, transation, pool[key], fragments) + } + } + var comment = data.$with = data.clone + parent.insertBefore(comment, end) + parent.insertBefore(transation, end) + for (i = 0; fragment = fragments[i++];) { + scanNodeArray(fragment.nodes, fragment.vmodels) + fragment.nodes = fragment.vmodels = null + } + break + } + if (method === "clear") + method = "del" + var callback = data.renderedCallback || noop, + args = arguments + checkScan(parent, function () { + callback.apply(parent, args) + if (parent.oldValue && parent.tagName === "SELECT") { //fix #503 + avalon(parent).val(parent.oldValue.split(",")) + } + }, NaN) } } -} + "with,each".replace(rword, function (name) { + bindingHandlers[name] = bindingHandlers.repeat + }) -bindingHandlers.widget = function(data, vmodels) { - var args = data.value.match(rword) - var elem = data.element - var widget = args[0] - var id = args[1] - if (!id || id === "$") {//没有定义或为$时,取组件名+随机数 - id = generateID(widget) + function shimController(data, transation, proxy, fragments) { + var content = data.template.cloneNode(true) + var nodes = avalon.slice(content.childNodes) + if (!data.$with) { + content.insertBefore(data.clone.cloneNode(false), content.firstChild) + } + transation.appendChild(content) + var nv = [proxy].concat(data.vmodels) + var fragment = { + nodes: nodes, + vmodels: nv + } + fragments.push(fragment) + } + + function getComments(data) { + var end = data.element + var signature = end.nodeValue.replace(":end", "") + var node = end.previousSibling + var array = [] + while (node) { + if (node.nodeValue === signature) { + array.unshift(node) + } + node = node.previousSibling + } + return array } - var optName = args[2] || widget//没有定义,取组件名 - var constructor = avalon.ui[widget] - if (typeof constructor === "function") { //ms-widget="tabs,tabsAAA,optname" - vmodels = elem.vmodels || vmodels - for (var i = 0, v; v = vmodels[i++]; ) { - if (v.hasOwnProperty(optName) && typeof v[optName] === "object") { - var vmOptions = v[optName] - vmOptions = vmOptions.$model || vmOptions + + +//移除掉start与end之间的节点(保留end) + function sweepNodes(start, end, callback) { + while (true) { + var node = end.previousSibling + if (!node) + break + node.parentNode.removeChild(node) + callback && callback.call(node) + if (node === start) { break } } - if (vmOptions) { - var wid = vmOptions[widget + "Id"] - if (typeof wid === "string") { - id = wid - } - } - //抽取data-tooltip-text、data-tooltip-attr属性,组成一个配置对象 - var widgetData = avalon.getWidgetData(elem, widget) - data.value = [widget, id, optName].join(",") - data[widget + "Id"] = id - data.evaluator = noop - elem.msData["ms-widget-id"] = id - var options = data[widget + "Options"] = avalon.mix({}, constructor.defaults, vmOptions || {}, widgetData) - elem.removeAttribute("ms-widget") - var vmodel = constructor(elem, data, vmodels) || {} //防止组件不返回VM - if (vmodel.$id) { - avalon.vmodels[id] = vmodel - createSignalTower(elem, vmodel) - if (vmodel.hasOwnProperty("$init")) { - vmodel.$init(function() { - avalon.scan(elem, [vmodel].concat(vmodels)) - if (typeof options.onInit === "function") { - options.onInit.call(elem, vmodel, options, vmodels) + } + +// 为ms-each,ms-with, ms-repeat会创建一个代理VM, +// 通过它们保持一个下上文,让用户能调用$index,$first,$last,$remove,$key,$val,$outer等属性与方法 +// 所有代理VM的产生,消费,收集,存放通过xxxProxyFactory,xxxProxyAgent, recycleProxies,xxxProxyPool实现 + var eachProxyPool = [] + var withProxyPool = [] + + function eachProxyFactory() { + var source = { + $index: 0, + $first: false, + $last: false, + $map: {}, + $host: [], + $outer: {}, + $remove: avalon.noop, + el: { + get: function () { + var e = this.$events + var array = e.$index + e.$index = e.el //#817 通过$index为el收集依赖 + try { + return this.$host[this.$index] + } finally { + e.$index = array } - }) - } - data.rollback = function() { - try { - vmodel.widgetElement = null - vmodel.$remove() - } catch (e) { + }, + set: function (val) { + this.$host.set(this.$index, val) } - elem.msData = {} - delete avalon.vmodels[vmodel.$id] } - addSubscribers(data, widgetList) - if (window.chrome) { - elem.addEventListener("DOMNodeRemovedFromDocument", function() { - setTimeout(removeSubscribers) - }) + } + + var second = { + $last: 1, + $first: 1, + $index: 1 + } + var proxy = modelFactory(source, second) + proxy.$id = generateID("$proxy$each") + return proxy + } + + function eachProxyAgent(index, host) { + var proxy = eachProxyPool.shift() + if (!proxy) { + proxy = eachProxyFactory() + } + var last = host.length - 1 + proxy.$index = index + proxy.$first = index === 0 + proxy.$last = index === last + proxy.$map = host.$map + proxy.$host = host + proxy.$remove = function () { + return host.removeAt(proxy.$index) + } + return proxy + } + + function withProxyFactory() { + var proxy = modelFactory({ + $key: "", + $outer: {}, + $host: {}, + $val: { + get: function () { + return this.$host[this.$key] + }, + set: function (val) { + this.$host[this.$key] = val + } } + }, { + $val: 1 + }) + proxy.$id = generateID("$proxy$with") + return proxy + } + + function withProxyAgent(key, data) { + var proxy = withProxyPool.pop() + if (!proxy) { + proxy = withProxyFactory() + } + var host = data.$repeat + proxy.$key = key + proxy.$host = host + proxy.$outer = data.$outer + if (host.$events) { + proxy.$events.$val = host.$events[key] } else { - avalon.scan(elem, vmodels) + proxy.$events = {} + } + return proxy + } + + function recycleProxies(proxies, type) { + var proxyPool = type === "each" ? eachProxyPool : withProxyPool + avalon.each(proxies, function (key, proxy) { + if (proxy.$events) { + for (var i in proxy.$events) { + if (Array.isArray(proxy.$events[i])) { + proxy.$events[i].forEach(function (data) { + if (typeof data === "object") + disposeData(data) + }) // jshint ignore:line + proxy.$events[i].length = 0 + } + } + proxy.$host = proxy.$outer = {} + if (proxyPool.unshift(proxy) > kernel.maxRepeatSize) { + proxyPool.pop() + } + } + }) + if (type === "each") + proxies.length = 0 + } + + /********************************************************************* + * 各种指令 * + **********************************************************************/ +//ms-skip绑定已经在scanTag 方法中实现 +// bindingHandlers.text 定义在if.js + bindingExecutors.text = function (val, elem) { + val = val == null ? "" : val //不在页面上显示undefined null + if (elem.nodeType === 3) { //绑定在文本节点上 + try { //IE对游离于DOM树外的节点赋值会报错 + elem.data = val + } catch (e) { + } + } else { //绑定在特性节点上 + elem.textContent = val + } + } + function parseDisplay(nodeName, val) { + //用于取得此类标签的默认display值 + var key = "_" + nodeName + if (!parseDisplay[key]) { + var node = DOC.createElement(nodeName) + root.appendChild(node) + if (W3C) { + val = getComputedStyle(node, null).display + } else { + val = node.currentStyle.display + } + root.removeChild(node) + parseDisplay[key] = val } - } else if (vmodels.length) { //如果该组件还没有加载,那么保存当前的vmodels - elem.vmodels = vmodels + return parseDisplay[key] } -} -var widgetList = [] -//不存在 bindingExecutors.widget -//双工绑定 -var duplexBinding = bindingHandlers.duplex = function(data, vmodels) { - var elem = data.element, - hasCast - parseExprProxy(data.value, vmodels, data, 0, 1) - - data.changed = getBindingCallback(elem, "data-duplex-changed", vmodels) || noop - if (data.evaluator && data.args) { - var params = [] - var casting = oneObject("string,number,boolean,checked") - if (elem.type === "radio" && data.param === "") { - data.param = "checked" - } - if (elem.msData) { - elem.msData["ms-duplex"] = data.value - } - data.param.replace(/\w+/g, function(name) { - if (/^(checkbox|radio)$/.test(elem.type) && /^(radio|checked)$/.test(name)) { - if (name === "radio") - log("ms-duplex-radio已经更名为ms-duplex-checked") - name = "checked" - data.isChecked = true - } - if (name === "bool") { - name = "boolean" - log("ms-duplex-bool已经更名为ms-duplex-boolean") - } else if (name === "text") { - name = "string" - log("ms-duplex-text已经更名为ms-duplex-string") - } - if (casting[name]) { - hasCast = true - } - avalon.Array.ensure(params, name) - }) - if (!hasCast) { - params.push("string") + + avalon.parseDisplay = parseDisplay + + bindingHandlers.visible = function (data, vmodels) { + var elem = avalon(data.element) + var display = elem.css("display") + if (display === "none") { + var style = elem[0].style + var has = /visibility/i.test(style.cssText) + var visible = elem.css("visibility") + style.display = "" + style.visibility = "hidden" + display = elem.css("display") + if (display === "none") { + display = parseDisplay(elem[0].nodeName) + } + style.visibility = has ? visible : "" } - data.param = params.join("-") - data.bound = function(type, callback) { - if (elem.addEventListener) { - elem.addEventListener(type, callback, false) + data.display = display + parseExprProxy(data.value, vmodels, data) + } + + bindingExecutors.visible = function (val, elem, data) { + elem.style.display = val ? data.display : "none" + } + bindingHandlers.widget = function (data, vmodels) { + var args = data.value.match(rword) + var elem = data.element + var widget = args[0] + var id = args[1] + if (!id || id === "$") { //没有定义或为$时,取组件名+随机数 + id = generateID(widget) + } + var optName = args[2] || widget //没有定义,取组件名 + var constructor = avalon.ui[widget] + if (typeof constructor === "function") { //ms-widget="tabs,tabsAAA,optname" + vmodels = elem.vmodels || vmodels + for (var i = 0, v; v = vmodels[i++];) { + if (v.hasOwnProperty(optName) && typeof v[optName] === "object") { + var vmOptions = v[optName] + vmOptions = vmOptions.$model || vmOptions + break + } + } + if (vmOptions) { + var wid = vmOptions[widget + "Id"] + if (typeof wid === "string") { + log("warning!不再支持" + widget + "Id") + id = wid + } + } + //抽取data-tooltip-text、data-tooltip-attr属性,组成一个配置对象 + var widgetData = avalon.getWidgetData(elem, widget) + data.value = [widget, id, optName].join(",") + data[widget + "Id"] = id + data.evaluator = noop + elem.msData["ms-widget-id"] = id + var options = data[widget + "Options"] = avalon.mix({}, constructor.defaults, vmOptions || {}, widgetData) + elem.removeAttribute("ms-widget") + var vmodel = constructor(elem, data, vmodels) || {} //防止组件不返回VM + if (vmodel.$id) { + avalon.vmodels[id] = vmodel + createSignalTower(elem, vmodel) + try { + vmodel.$init(function () { + avalon.scan(elem, [vmodel].concat(vmodels)) + if (typeof options.onInit === "function") { + options.onInit.call(elem, vmodel, options, vmodels) + } + }) + } catch (e) { + } + data.rollback = function () { + try { + vmodel.widgetElement = null + vmodel.$remove() + } catch (e) { + } + elem.msData = {} + delete avalon.vmodels[vmodel.$id] + } + addSubscribers(data, widgetList) + if (window.chrome) { + elem.addEventListener("DOMNodeRemovedFromDocument", function () { + setTimeout(removeSubscribers) + }) + } } else { - elem.attachEvent("on" + type, callback) + avalon.scan(elem, vmodels) } - var old = data.rollback - data.rollback = function() { - elem.avalonSetter = null - avalon.unbind(elem, type, callback) - old && old() + } else if (vmodels.length) { //如果该组件还没有加载,那么保存当前的vmodels + elem.vmodels = vmodels + } + } + var widgetList = [] +//不存在 bindingExecutors.widget + /********************************************************************* + * 自带过滤器 * + **********************************************************************/ + var rscripts = /]*>([\S\s]*?)<\/script\s*>/gim + var ron = /\s+(on[^=\s]+)(?:=("[^"]*"|'[^']*'|[^\s>]+))?/g + var ropen = /<\w+\b(?:(["'])[^"]*?(\1)|[^>])*>/ig + var rsanitize = { + a: /\b(href)\=("javascript[^"]*"|'javascript[^']*')/ig, + img: /\b(src)\=("javascript[^"]*"|'javascript[^']*')/ig, + form: /\b(action)\=("javascript[^"]*"|'javascript[^']*')/ig + } + var rsurrogate = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g + var rnoalphanumeric = /([^\#-~| |!])/g; + + function numberFormat(number, decimals, point, thousands) { + //form http://phpjs.org/functions/number_format/ + //number 必需,要格式化的数字 + //decimals 可选,规定多少个小数位。 + //point 可选,规定用作小数点的字符串(默认为 . )。 + //thousands 可选,规定用作千位分隔符的字符串(默认为 , ),如果设置了该参数,那么所有其他参数都是必需的。 + number = (number + '') + .replace(/[^0-9+\-Ee.]/g, '') + var n = !isFinite(+number) ? 0 : +number, + prec = !isFinite(+decimals) ? 3 : Math.abs(decimals), + sep = thousands || ",", + dec = point || ".", + s = '', + toFixedFix = function (n, prec) { + var k = Math.pow(10, prec) + return '' + (Math.round(n * k) / k) + .toFixed(prec) } + // Fix for IE parseFloat(0.55).toFixed(0) = 0; + s = (prec ? toFixedFix(n, prec) : '' + Math.round(n)) + .split('.') + if (s[0].length > 3) { + s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep) } - for (var i in avalon.vmodels) { - var v = avalon.vmodels[i] - v.$fire("avalon-ms-duplex-init", data) + if ((s[1] || '') + .length < prec) { + s[1] = s[1] || '' + s[1] += new Array(prec - s[1].length + 1) + .join('0') } - var cpipe = data.pipe || (data.pipe = pipe) - cpipe(null, data, "init") - var tagName = elem.tagName - duplexBinding[tagName] && duplexBinding[tagName](elem, data.evaluator.apply(null, data.args), data) + return s.join(dec) } -} -//不存在 bindingExecutors.duplex -function fixNull(val) { - return val == null ? "" : val -} -avalon.duplexHooks = { - checked: { - get: function(val, data) { - return !data.element.oldValue - } - }, - string: { - get: function(val) { //同步到VM + + + var filters = avalon.filters = { + uppercase: function (str) { + return str.toUpperCase() + }, + lowercase: function (str) { + return str.toLowerCase() + }, + truncate: function (str, length, truncation) { + //length,新字符串长度,truncation,新字符串的结尾的字段,返回新字符串 + length = length || 30 + truncation = truncation === void(0) ? "..." : truncation + return str.length > length ? str.slice(0, length - truncation.length) + truncation : String(str) + }, + $filter: function (val) { + for (var i = 1, n = arguments.length; i < n; i++) { + var array = arguments[i] + var fn = avalon.filters[array.shift()] + if (typeof fn === "function") { + var arr = [val].concat(array) + val = fn.apply(null, arr) + } + } return val }, - set: fixNull - }, - "boolean": { - get: function(val) { - return val === "true" + camelize: camelize, + //https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet + // chrome + // chrome + // IE67chrome + // IE67chrome + // IE67chrome + sanitize: function (str) { + return str.replace(rscripts, "").replace(ropen, function (a, b) { + var match = a.toLowerCase().match(/<(\w+)\s/) + if (match) { //处理a标签的href属性,img标签的src属性,form标签的action属性 + var reg = rsanitize[match[1]] + if (reg) { + a = a.replace(reg, function (s, name, value) { + var quote = value.charAt(0) + return name + "=" + quote + "javascript:void(0)" + quote// jshint ignore:line + }) + } + } + return a.replace(ron, " ").replace(/\s+/g, " ") //移除onXXX事件 + }) + }, + escape: function (str) { + //将字符串经过 str 转义得到适合在页面中显示的内容, 例如替换 < 为 < + return String(str). + replace(/&/g, '&'). + replace(rsurrogate, function (value) { + var hi = value.charCodeAt(0) + var low = value.charCodeAt(1) + return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';' + }). + replace(rnoalphanumeric, function (value) { + return '&#' + value.charCodeAt(0) + ';' + }). + replace(//g, '>') }, - set: fixNull - }, - number: { - get: function(val) { - return isFinite(val) ? parseFloat(val) || 0 : val + currency: function (amount, symbol, fractionSize) { + return (symbol || "\uFFE5") + numberFormat(amount, isFinite(fractionSize) ? fractionSize : 2) }, - set: fixNull - } -} - -function pipe(val, data, action, e) { - data.param.replace(/\w+/g, function(name) { - var hook = avalon.duplexHooks[name] - if (hook && typeof hook[action] === "function") { - val = hook[action](val, data) - } - }) - return val -} - -var TimerID, ribbon = [] -function W3CFire(el, name, detail) { - var event = DOC.createEvent("Events") - event.initEvent(name, true, true) - event.fireByAvalon = true//签名,标记事件是由avalon触发 - //event.isTrusted = false 设置这个opera会报错 - if (detail) - event.detail = detail - el.dispatchEvent(event) -} - - -avalon.tick = function(fn) { - if (ribbon.push(fn) === 1) { - TimerID = setInterval(ticker, 60) - } -} - -function ticker() { - for (var n = ribbon.length - 1; n >= 0; n--) { - var el = ribbon[n] - if (el() === false) { - ribbon.splice(n, 1) - } - } - if (!ribbon.length) { - clearInterval(TimerID) - } -} - -var watchValueInTimer = noop -new function() { - try {//#272 IE9-IE11, firefox - var setters = {} - var aproto = HTMLInputElement.prototype - var bproto = HTMLTextAreaElement.prototype - function newSetter(value) { - if (avalon.contains(root, this)) { - setters[this.tagName].call(this, value) - if (this.avalonSetter) { - this.avalonSetter() + number: numberFormat + } + /* + 'yyyy': 4 digit representation of year (e.g. AD 1 => 0001, AD 2010 => 2010) + 'yy': 2 digit representation of year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10) + 'y': 1 digit representation of year, e.g. (AD 1 => 1, AD 199 => 199) + 'MMMM': Month in year (January-December) + 'MMM': Month in year (Jan-Dec) + 'MM': Month in year, padded (01-12) + 'M': Month in year (1-12) + 'dd': Day in month, padded (01-31) + 'd': Day in month (1-31) + 'EEEE': Day in Week,(Sunday-Saturday) + 'EEE': Day in Week, (Sun-Sat) + 'HH': Hour in day, padded (00-23) + 'H': Hour in day (0-23) + 'hh': Hour in am/pm, padded (01-12) + 'h': Hour in am/pm, (1-12) + 'mm': Minute in hour, padded (00-59) + 'm': Minute in hour (0-59) + 'ss': Second in minute, padded (00-59) + 's': Second in minute (0-59) + 'a': am/pm marker + 'Z': 4 digit (+sign) representation of the timezone offset (-1200-+1200) + format string can also be one of the following predefined localizable formats: + + 'medium': equivalent to 'MMM d, y h:mm:ss a' for en_US locale (e.g. Sep 3, 2010 12:05:08 pm) + 'short': equivalent to 'M/d/yy h:mm a' for en_US locale (e.g. 9/3/10 12:05 pm) + 'fullDate': equivalent to 'EEEE, MMMM d,y' for en_US locale (e.g. Friday, September 3, 2010) + 'longDate': equivalent to 'MMMM d, y' for en_US locale (e.g. September 3, 2010 + 'mediumDate': equivalent to 'MMM d, y' for en_US locale (e.g. Sep 3, 2010) + 'shortDate': equivalent to 'M/d/yy' for en_US locale (e.g. 9/3/10) + 'mediumTime': equivalent to 'h:mm:ss a' for en_US locale (e.g. 12:05:08 pm) + 'shortTime': equivalent to 'h:mm a' for en_US locale (e.g. 12:05 pm) + */ + new function () {// jshint ignore:line + function toInt(str) { + return parseInt(str, 10) || 0 + } + + function padNumber(num, digits, trim) { + var neg = "" + if (num < 0) { + neg = '-' + num = -num + } + num = "" + num + while (num.length < digits) + num = "0" + num + if (trim) + num = num.substr(num.length - digits) + return neg + num + } + + function dateGetter(name, size, offset, trim) { + return function (date) { + var value = date["get" + name]() + if (offset > 0 || value > -offset) + value += offset + if (value === 0 && offset === -12) { + value = 12 } + return padNumber(value, size, trim) } } - var inputProto = HTMLInputElement.prototype - Object.getOwnPropertyNames(inputProto) //故意引发IE6-8等浏览器报错 - setters["INPUT"] = Object.getOwnPropertyDescriptor(aproto, "value").set - Object.defineProperty(aproto, "value", { - set: newSetter - }) - setters["TEXTAREA"] = Object.getOwnPropertyDescriptor(bproto, "value").set - Object.defineProperty(bproto, "value", { - set: newSetter - }) - } catch (e) { - watchValueInTimer = avalon.tick - } -} + function dateStrGetter(name, shortForm) { + return function (date, formats) { + var value = date["get" + name]() + var get = (shortForm ? ("SHORT" + name) : name).toUpperCase() + return formats[get][value] + } + } -//处理radio, checkbox, text, textarea, password -duplexBinding.INPUT = function(element, evaluator, data) { - var type = element.type, - bound = data.bound, - $elem = avalon(element), - composing = false - function callback(value) { - data.changed.call(this, value, data) - } - function compositionStart() { - composing = true - } - function compositionEnd() { - composing = false - } - //当value变化时改变model的值 - function updateVModel() { - if (composing)//处理中文输入法在minlengh下引发的BUG - return - var val = element.oldValue = element.value //防止递归调用形成死循环 - var lastValue = data.pipe(val, data, "get") - if ($elem.data("duplex-observe") !== false) { - evaluator(lastValue) - callback.call(element, lastValue) - if ($elem.data("duplex-focus")) { - avalon.nextTick(function() { - element.focus() - }) + function timeZoneGetter(date) { + var zone = -1 * date.getTimezoneOffset() + var paddedZone = (zone >= 0) ? "+" : "" + paddedZone += padNumber(Math[zone > 0 ? "floor" : "ceil"](zone / 60), 2) + padNumber(Math.abs(zone % 60), 2) + return paddedZone + } + + //取得上午下午 + + function ampmGetter(date, formats) { + return date.getHours() < 12 ? formats.AMPMS[0] : formats.AMPMS[1] + } + + var DATE_FORMATS = { + yyyy: dateGetter("FullYear", 4), + yy: dateGetter("FullYear", 2, 0, true), + y: dateGetter("FullYear", 1), + MMMM: dateStrGetter("Month"), + MMM: dateStrGetter("Month", true), + MM: dateGetter("Month", 2, 1), + M: dateGetter("Month", 1, 1), + dd: dateGetter("Date", 2), + d: dateGetter("Date", 1), + HH: dateGetter("Hours", 2), + H: dateGetter("Hours", 1), + hh: dateGetter("Hours", 2, -12), + h: dateGetter("Hours", 1, -12), + mm: dateGetter("Minutes", 2), + m: dateGetter("Minutes", 1), + ss: dateGetter("Seconds", 2), + s: dateGetter("Seconds", 1), + sss: dateGetter("Milliseconds", 3), + EEEE: dateStrGetter("Day"), + EEE: dateStrGetter("Day", true), + a: ampmGetter, + Z: timeZoneGetter + } + var rdateFormat = /((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/ + var raspnetjson = /^\/Date\((\d+)\)\/$/ + filters.date = function (date, format) { + var locate = filters.date.locate, + text = "", + parts = [], + fn, match + format = format || "mediumDate" + format = locate[format] || format + if (typeof date === "string") { + if (/^\d+$/.test(date)) { + date = toInt(date) + } else if (raspnetjson.test(date)) { + date = +RegExp.$1 + } else { + var trimDate = date.trim() + var dateArray = [0, 0, 0, 0, 0, 0, 0] + var oDate = new Date(0) + //取得年月日 + trimDate = trimDate.replace(/^(\d+)\D(\d+)\D(\d+)/, function (_, a, b, c) { + var array = c.length === 4 ? [c, a, b] : [a, b, c] + dateArray[0] = toInt(array[0]) //年 + dateArray[1] = toInt(array[1]) - 1 //月 + dateArray[2] = toInt(array[2]) //日 + return "" + }) + var dateSetter = oDate.setFullYear + var timeSetter = oDate.setHours + trimDate = trimDate.replace(/[T\s](\d+):(\d+):?(\d+)?\.?(\d)?/, function (_, a, b, c, d) { + dateArray[3] = toInt(a) //小时 + dateArray[4] = toInt(b) //分钟 + dateArray[5] = toInt(c) //秒 + if (d) { //毫秒 + dateArray[6] = Math.round(parseFloat("0." + d) * 1000) + } + return "" + }) + var tzHour = 0 + var tzMin = 0 + trimDate = trimDate.replace(/Z|([+-])(\d\d):?(\d\d)/, function (z, symbol, c, d) { + dateSetter = oDate.setUTCFullYear + timeSetter = oDate.setUTCHours + if (symbol) { + tzHour = toInt(symbol + c) + tzMin = toInt(symbol + d) + } + return "" + }) + + dateArray[3] -= tzHour + dateArray[4] -= tzMin + dateSetter.apply(oDate, dateArray.slice(0, 3)) + timeSetter.apply(oDate, dateArray.slice(3)) + date = oDate + } + } + if (typeof date === "number") { + date = new Date(date) + } + if (avalon.type(date) !== "date") { + return + } + while (format) { + match = rdateFormat.exec(format) + if (match) { + parts = parts.concat(match.slice(1)) + format = parts.pop() + } else { + parts.push(format) + format = null + } + } + parts.forEach(function (value) { + fn = DATE_FORMATS[value] + text += fn ? fn(date, locate) : value.replace(/(^'|'$)/g, "").replace(/''/g, "'") + }) + return text + } + var locate = { + AMPMS: { + 0: "上午", + 1: "下午" + }, + DAY: { + 0: "星期日", + 1: "星期一", + 2: "星期二", + 3: "星期三", + 4: "星期四", + 5: "星期五", + 6: "星期六" + }, + MONTH: { + 0: "1月", + 1: "2月", + 2: "3月", + 3: "4月", + 4: "5月", + 5: "6月", + 6: "7月", + 7: "8月", + 8: "9月", + 9: "10月", + 10: "11月", + 11: "12月" + }, + SHORTDAY: { + "0": "周日", + "1": "周一", + "2": "周二", + "3": "周三", + "4": "周四", + "5": "周五", + "6": "周六" + }, + fullDate: "y年M月d日EEEE", + longDate: "y年M月d日", + medium: "yyyy-M-d H:mm:ss", + mediumDate: "yyyy-M-d", + mediumTime: "H:mm:ss", + "short": "yy-M-d ah:mm", + shortDate: "yy-M-d", + shortTime: "ah:mm" + } + locate.SHORTMONTH = locate.MONTH + filters.date.locate = locate + }// jshint ignore:line + /********************************************************************* + * AMD加载器 * + **********************************************************************/ +//https://www.devbridge.com/articles/understanding-amd-requirejs/ +//http://maxogden.com/nested-dependencies.html + var modules = avalon.modules = { + "domReady!": { + exports: avalon, + state: 3 + }, + "avalon": { + exports: avalon, + state: 4 + } + } +//Object(modules[id]).state拥有如下值 +// undefined 没有定义 +// 1(send) 已经发出请求 +// 2(loading) 已经被执行但还没有执行完成,在这个阶段define方法会被执行 +// 3(loaded) 执行完毕,通过onload/onreadystatechange回调判定,在这个阶段checkDeps方法会执行 +// 4(execute) 其依赖也执行完毕, 值放到exports对象上,在这个阶段fireFactory方法会执行 + modules.exports = modules.avalon + + new function () {// jshint ignore:line + var loadings = [] //正在加载中的模块列表 + var factorys = [] //放置define方法的factory函数 + var rjsext = /\.js$/i + + function makeRequest(name, config) { +//1. 去掉资源前缀 + var res = "js" + name = name.replace(/^(\w+)\!/, function (a, b) { + res = b + return "" + }) + if (res === "ready") { + log("debug: ready!已经被废弃,请使用domReady!") + res = "domReady" + } +//2. 去掉querystring, hash + var query = "" + name = name.replace(rquery, function (a) { + query = a + return "" + }) + //3. 去掉扩展名 + var suffix = "." + res + var ext = /js|css/.test(suffix) ? suffix : "" + name = name.replace(/\.[a-z0-9]+$/g, function (a) { + if (a === suffix) { + ext = a + return "" + } else { + return a + } + }) + var req = avalon.mix({ + query: query, + ext: ext, + res: res, + name: name, + toUrl: toUrl + }, config) + req.toUrl(name) + return req + } + + function fireRequest(req) { + var name = req.name + var res = req.res + //1. 如果该模块已经发出请求,直接返回 + var module = modules[name] + var urlNoQuery = name && req.urlNoQuery + if (module && module.state >= 1) { + return name } - } - } - //当model变化时,它就会改变value的值 - data.handler = function() { - var val = data.pipe(evaluator(), data, "set") - if (val !== element.oldValue) { - element.value = val - } - } - if (data.isChecked || element.type === "radio") { - updateVModel = function() { - if ($elem.data("duplex-observe") !== false) { - var lastValue = data.pipe(element.value, data, "get") - evaluator(lastValue) - callback.call(element, lastValue) + module = modules[urlNoQuery] + if (module && module.state >= 3) { + innerRequire(module.deps || [], module.factory, urlNoQuery) + return urlNoQuery } - } - data.handler = function() { - var val = evaluator() - var checked = data.isChecked ? !!val : val + "" === element.value - element.checked = element.oldValue = checked - } - bound("click", updateVModel) - } else if (type === "checkbox") { - updateVModel = function() { - if ($elem.data("duplex-observe") !== false) { - var method = element.checked ? "ensure" : "remove" - var array = evaluator() - if (!Array.isArray(array)) { - log("ms-duplex应用于checkbox上要对应一个数组") - array = [array] + if (name && !module) { + module = modules[urlNoQuery] = { + id: urlNoQuery, + state: 1 //send + } + var wrap = function (obj) { + resources[res] = obj + obj.load(name, req, function (a) { + if (arguments.length && a !== void 0) { + module.exports = a + } + module.state = 4 + checkDeps() + }) + } + + if (!resources[res]) { + innerRequire([res], wrap) + } else { + wrap(resources[res]) } - avalon.Array[method](array, data.pipe(element.value, data, "get")) - callback.call(element, array) } - } - data.handler = function() { - var array = [].concat(evaluator()) //强制转换为数组 - element.checked = array.indexOf(data.pipe(element.value, data, "get")) > -1 - } - bound("change", updateVModel) - } else { - var events = element.getAttribute("data-duplex-event") || element.getAttribute("data-event") || "input" - if (element.attributes["data-event"]) { - log("data-event指令已经废弃,请改用data-duplex-event") - } - events.replace(rword, function(name) { - switch (name) { - case "input": - bound("input", updateVModel) - bound("DOMAutoComplete", updateVModel) - if (!IEVersion) { - bound("compositionstart", compositionStart) - bound("compositionend", compositionEnd) + return name ? urlNoQuery : res + "!" + } + +//核心API之一 require + var requireQueue = [] + var isUserFirstRequire = false + innerRequire = avalon.require = function (array, factory, parentUrl, defineConfig) { + if (!isUserFirstRequire) { + requireQueue.push(avalon.slice(arguments)) + if (arguments.length <= 2) { + isUserFirstRequire = true + var queue = requireQueue.splice(0, requireQueue.length), args + while (args = queue.shift()) { + innerRequire.apply(null, args) } - break - default: - bound(name, updateVModel) - break + } + return } - }) - } - if (/text|password/.test(element.type)) { - watchValueInTimer(function() { - if (root.contains(element)) { - if (element.value !== element.oldValue) { - updateVModel() - } - } else if (!element.msRetain) { - return false + if (!Array.isArray(array)) { + avalon.error("require方法的第一个参数应为数组 " + array) } - }) - } - - element.avalonSetter = updateVModel - element.oldValue = element.value - registerSubscriber(data) - callback.call(element, element.value) -} -duplexBinding.TEXTAREA = duplexBinding.INPUT -duplexBinding.SELECT = function(element, evaluator, data) { - var $elem = avalon(element) - function updateVModel() { - if ($elem.data("duplex-observe") !== false) { - var val = $elem.val() //字符串或字符串数组 - if (Array.isArray(val)) { - val = val.map(function(v) { - return data.pipe(v, data, "get") - }) - } else { - val = data.pipe(val, data, "get") + var deps = [] // 放置所有依赖项的完整路径 + var uniq = createMap() + var id = parentUrl || "callback" + setTimeout("1")// jshint ignore:line + defineConfig = defineConfig || createMap() + defineConfig.baseUrl = kernel.baseUrl + var isBuilt = !!defineConfig.built + if (parentUrl) { + defineConfig.parentUrl = parentUrl.substr(0, parentUrl.lastIndexOf("/")) + defineConfig.mapUrl = parentUrl.replace(rjsext, "") } - if (val + "" !== element.oldValue) { - evaluator(val) + if (isBuilt) { + var req = makeRequest(defineConfig.defineName, defineConfig) + id = req.urlNoQuery + } else { + array.forEach(function (name) { + var req = makeRequest(name, defineConfig) + var url = fireRequest(req) //加载资源,并返回该资源的完整地址 + if (url) { + if (!uniq[url]) { + deps.push(url) + uniq[url] = "司徒正美" //去重 + } + } + }) } - data.changed.call(element, val, data) - } - } - data.handler = function() { - var val = evaluator() - val = val && val.$model || val - if (Array.isArray(val)) { - if (!element.multiple) { - log("ms-duplex在不能对应一个数组") - } - } - //必须变成字符串后才能比较 - val = Array.isArray(val) ? val.map(String) : val + "" - if (val + "" !== element.oldValue) { - $elem.val(val) - element.oldValue = val + "" - } - } - data.bound("change", updateVModel) - checkScan(element, function() { - registerSubscriber(data) - data.changed.call(element, evaluator(), data) - }, NaN) -} - - -bindingHandlers.repeat = function(data, vmodels) { - var type = data.type - parseExprProxy(data.value, vmodels, data, 0, 1) - data.proxies = [] - var freturn = false - try { - var $repeat = data.$repeat = data.evaluator.apply(0, data.args || []) - var xtype = avalon.type($repeat) - if (xtype !== "object" && xtype !== "array") { - freturn = true - avalon.log("warning:" + data.value + "对应类型不正确") - } - } catch (e) { - freturn = true - avalon.log("warning:" + data.value + "编译出错") - } - - var arr = data.value.split(".") || [] - if (arr.length > 1) { - arr.pop() - var n = arr[0] - for (var i = 0, v; v = vmodels[i++]; ) { - if (v && v.hasOwnProperty(n)) { - var events = v[n].$events || {} - events[subscribers] = events[subscribers] || [] - events[subscribers].push(data) - break + if (!module) { + //如果此模块是定义在另一个JS文件中, 那必须等该文件加载完毕, 才能放到检测列队中 + loadings.push(id) } + checkDeps() } - } - var elem = data.element - elem.removeAttribute(data.name) - - data.sortedCallback = getBindingCallback(elem, "data-with-sorted", vmodels) - data.renderedCallback = getBindingCallback(elem, "data-" + type + "-rendered", vmodels) - var signature = generateID(type) - var comment = data.element = DOC.createComment(signature + ":end") - data.clone = DOC.createComment(signature) - hyperspace.appendChild(comment) - if (type === "each" || type === "with") { - data.template = elem.innerHTML.trim() - avalon.clearHTML(elem).appendChild(comment) - } else { - data.template = elem.outerHTML.trim() - elem.parentNode.replaceChild(comment, elem) - } - data.template = avalon.parseHTML(data.template) - data.rollback = function() { - var elem = data.element - if (!elem) - return - bindingExecutors.repeat.call(data, "clear") - var parentNode = elem.parentNode - var content = data.template - var target = content.firstChild - parentNode.replaceChild(content, elem) - var start = data.$stamp - start && start.parentNode && start.parentNode.removeChild(start) - target = data.element = data.type === "repeat" ? target : parentNode - } - if (freturn) { - return - } - data.handler = bindingExecutors.repeat - data.$outer = {} - var check0 = "$key" - var check1 = "$val" - if (Array.isArray($repeat)) { - check0 = "$first" - check1 = "$last" - } - for (var i = 0, p; p = vmodels[i++]; ) { - if (p.hasOwnProperty(check0) && p.hasOwnProperty(check1)) { - data.$outer = p - break - } - } - var $events = $repeat.$events - var $list = ($events || {})[subscribers] - if ($list && avalon.Array.ensure($list, data)) { - addSubscribers(data, $list) - } - if (xtype === "object") { - data.$with = true - var pool = !$events ? {} : $events.$withProxyPool || ($events.$withProxyPool = {}) - data.handler("append", $repeat, pool) - } else if ($repeat.length) { - data.handler("add", 0, $repeat.length) - } -} - -bindingExecutors.repeat = function(method, pos, el) { - if (method) { - var data = this - var end = data.element - var parent = end.parentNode - var proxies = data.proxies - var transation = hyperspace.cloneNode(false) - switch (method) { - case "add": //在pos位置后添加el数组(pos为数字,el为数组) - var n = pos + el - var array = data.$repeat - var last = array.length - 1 - var fragments = [] - var start = locateNode(data, pos) - for (var i = pos; i < n; i++) { - var proxy = eachProxyAgent(i, data) - proxies.splice(i, 0, proxy) - shimController(data, transation, proxy, fragments) - } - parent.insertBefore(transation, start) - for (var i = 0, fragment; fragment = fragments[i++]; ) { - scanNodeArray(fragment.nodes, fragment.vmodels) - fragment.nodes = fragment.vmodels = null +//核心API之二 require + innerRequire.define = function (name, deps, factory) { //模块名,依赖列表,模块本身 + if (typeof name !== "string") { + factory = deps + deps = name + name = "anonymous" + } + if (!Array.isArray(deps)) { + factory = deps + deps = [] + } + var config = { + built: !isUserFirstRequire, //用r.js打包后,所有define会放到requirejs之前 + defineName: name + } + var args = [deps, factory, config] + factory.require = function (url) { + args.splice(2, 0, url) + if (modules[url]) { + modules[url].state = 3 //loaded + var isCycle = false + try { + isCycle = checkCycle(modules[url].deps, url) + } catch (e) { + } + if (isCycle) { + avalon.error(url + "模块与之前的模块存在循环依赖,请不要直接用script标签引入" + url + "模块") + } } - break - case "del": //将pos后的el个元素删掉(pos, el都是数字) - start = proxies[pos].$stamp - end = locateNode(data, pos + el) - sweepNodes(start, end) - var removed = proxies.splice(pos, el) - recycleProxies(removed, "each") - break - case "clear": - var check = data.$stamp || proxies[0] - if (check) { - start = check.$stamp || check - sweepNodes(start, end) + delete factory.require //释放内存 + innerRequire.apply(null, args) //0,1,2 --> 1,2,0 + } +//根据标准,所有遵循W3C标准的浏览器,script标签会按标签的出现顺序执行。 +//老的浏览器中,加载也是按顺序的:一个文件下载完成后,才开始下载下一个文件。 +//较新的浏览器中(IE8+ 、FireFox3.5+ 、Chrome4+ 、Safari4+),为了减小请求时间以优化体验, +//下载可以是并行的,但是执行顺序还是按照标签出现的顺序。 +//但如果script标签是动态插入的, 就未必按照先请求先执行的原则了,目测只有firefox遵守 +//唯一比较一致的是,IE10+及其他标准浏览器,一旦开始解析脚本, 就会一直堵在那里,直接脚本解析完毕 +//亦即,先进入loading阶段的script标签(模块)必然会先进入loaded阶段 + var url = config.built ? "unknown" : getCurrentScript() + if (url) { + var module = modules[url] + if (module) { + module.state = 2 } - recycleProxies(proxies, "each") - break - case "move": - start = proxies[0].$stamp - var signature = start.nodeValue - var rooms = [] - var room = [], node - sweepNodes(start, end, function() { - room.unshift(this) - if (this.nodeValue === signature) { - rooms.unshift(room) - room = [] - } + factory.require(url) + } else {//合并前后的safari,合并后的IE6-9走此分支 + factorys.push(factory) + } + } +//核心API之三 require.config(settings) + innerRequire.config = kernel + //核心API之四 define.amd 标识其符合AMD规范 + innerRequire.define.amd = modules + + //==========================对用户配置项进行再加工========================== + var allpaths = kernel["orig.paths"] = createMap() + var allmaps = kernel["orig.map"] = createMap() + var allpackages = kernel["packages"] = [] + var allargs = kernel["orig.args"] = createMap() + avalon.mix(plugins, { + paths: function (hash) { + avalon.mix(allpaths, hash) + kernel.paths = makeIndexArray(allpaths) + }, + map: function (hash) { + avalon.mix(allmaps, hash) + var list = makeIndexArray(allmaps, 1, 1) + avalon.each(list, function (_, item) { + item.val = makeIndexArray(item.val) }) - sortByIndex(proxies, pos) - sortByIndex(rooms, pos) - while (room = rooms.shift()) { - while (node = room.shift()) { - transation.appendChild(node) + kernel.map = list + }, + packages: function (array) { + array = array.concat(allpackages) + var uniq = createMap() + var ret = [] + for (var i = 0, pkg; pkg = array[i++];) { + pkg = typeof pkg === "string" ? {name: pkg} : pkg + var name = pkg.name + if (!uniq[name]) { + var url = joinPath(pkg.location || name, pkg.main || "main") + url = url.replace(rjsext, "") + ret.push(pkg) + uniq[name] = pkg.location = url + pkg.reg = makeMatcher(name) } } - parent.insertBefore(transation, end) - break - case "index": //将proxies中的第pos个起的所有元素重新索引 - var last = proxies.length - 1 - for (; el = proxies[pos]; pos++) { - el.$index = pos - el.$first = pos === 0 - el.$last = pos === last - } - return - case "set": //将proxies中的第pos个元素的VM设置为el(pos为数字,el任意) - var proxy = proxies[pos] - if (proxy) { - notifySubscribers(proxy.$events.$index) + kernel.packages = ret.sort() + }, + urlArgs: function (hash) { + if (typeof hash === "string") { + hash = {"*": hash} } - return - case "append": //将pos的键值对从el中取出(pos为一个普通对象,el为预先生成好的代理VM对象池) - var pool = el - var keys = [] - var fragments = [] - for (var key in pos) { //得到所有键名 - if (pos.hasOwnProperty(key) && key !== "hasOwnProperty") { - keys.push(key) + avalon.mix(allargs, hash) + kernel.urlArgs = makeIndexArray(allargs, 1) + }, + baseUrl: function (url) { + if (!isAbsUrl(url)) { + var baseElement = head.getElementsByTagName("base")[0] + if (baseElement) { + head.removeChild(baseElement) } - } - if (data.sortedCallback) { //如果有回调,则让它们排序 - var keys2 = data.sortedCallback.call(parent, keys) - if (keys2 && Array.isArray(keys2) && keys2.length) { - keys = keys2 + var node = DOC.createElement("a") + node.href = url + url = node.href + if (baseElement) { + head.insertBefore(baseElement, head.firstChild) } } - for (var i = 0, key; key = keys[i++]; ) { - if (key !== "hasOwnProperty") { - if (!pool[key]) { - pool[key] = withProxyAgent(key, data) + if (url.length > 3) + kernel.baseUrl = url + }, + shim: function (obj) { + for (var i in obj) { + var value = obj[i] + if (Array.isArray(value)) { + value = obj[i] = { + deps: value } - shimController(data, transation, pool[key], fragments) + } + if (!value.exportsFn && (value.exports || value.init)) { + value.exportsFn = makeExports(value) } } - var comment = data.$stamp = data.clone - parent.insertBefore(comment, end) - parent.insertBefore(transation, end) - for (var i = 0, fragment; fragment = fragments[i++]; ) { - scanNodeArray(fragment.nodes, fragment.vmodels) - fragment.nodes = fragment.vmodels = null - } - break - } - if (method === "clear") - method = "del" - var callback = data.renderedCallback || noop, - args = arguments - checkScan(parent, function() { - callback.apply(parent, args) - if (parent.oldValue && parent.tagName === "SELECT") { //fix #503 - avalon(parent).val(parent.oldValue.split(",")) + kernel.shim = obj } - }, NaN) - } -} - -"with,each".replace(rword, function(name) { - bindingHandlers[name] = bindingHandlers.repeat -}) -function shimController(data, transation, proxy, fragments) { - var content = data.template.cloneNode(true) - var nodes = avalon.slice(content.childNodes) - if (proxy.$stamp) { - content.insertBefore(proxy.$stamp, content.firstChild) - } - transation.appendChild(content) - var nv = [proxy].concat(data.vmodels) - var fragment = { - nodes: nodes, - vmodels: nv - } - fragments.push(fragment) -} + }) -function locateNode(data, pos) { - var proxy = data.proxies[pos] - return proxy ? proxy.$stamp : data.element -} -function sweepNodes(start, end, callback) { - while (true) { - var node = end.previousSibling - if (!node) - break - node.parentNode.removeChild(node) - callback && callback.call(node) - if (node === start) { - break + //==============================内部方法================================= + function checkCycle(deps, nick) { + //检测是否存在循环依赖 + for (var i = 0, id; id = deps[i++];) { + if (modules[id].state !== 4 && + (id === nick || checkCycle(modules[id].deps, nick))) { + return true + } + } } - } -} -// 为ms-each,ms-with, ms-repeat会创建一个代理VM, -// 通过它们保持一个下上文,让用户能调用$index,$first,$last,$remove,$key,$val,$outer等属性与方法 -// 所有代理VM的产生,消费,收集,存放通过xxxProxyFactory,xxxProxyAgent, recycleProxies,xxxProxyPool实现 -var eachProxyPool = [] -var withProxyPool = [] -function eachProxyFactory(name) { - var source = { - $host: [], - $outer: {}, - $stamp: 1, - $index: 0, - $first: false, - $last: false, - $remove: avalon.noop - } - source[name] = { - get: function() { - return this.$host[this.$index] - }, - set: function(val) { - this.$host.set(this.$index, val) - } - } - var second = { - $last: 1, - $first: 1, - $index: 1 - } - var proxy = modelFactory(source, second) - var e = proxy.$events - e[name] = e.$first = e.$last = e.$index - proxy.$id = generateID("$proxy$each") - return proxy -} - -function eachProxyAgent(index, data) { - var param = data.param || "el", proxy - for (var i = 0, n = eachProxyPool.length; i < n; i++) { - var candidate = eachProxyPool[i] - if (candidate && candidate.hasOwnProperty(param)) { - proxy = candidate - eachProxyPool.splice(i, 1) - } - } - if (!proxy) { - proxy = eachProxyFactory(param) - } - var host = data.$repeat - var last = host.length - 1 - proxy.$index = index - proxy.$first = index === 0 - proxy.$last = index === last - proxy.$host = host - proxy.$outer = data.$outer - proxy.$stamp = data.clone.cloneNode(false) - proxy.$remove = function() { - return host.removeAt(proxy.$index) - } - return proxy -} - -function withProxyFactory() { - var proxy = modelFactory({ - $key: "", - $outer: {}, - $host: {}, - $val: { - get: function() { - return this.$host[this.$key] - }, - set: function(val) { - this.$host[this.$key] = val + function checkFail(node, onError) { + var id = trimQuery(node.src) //检测是否死链 + node.onload = node.onerror = null + if (onError) { + setTimeout(function () { + head.removeChild(node) + node = null // 处理旧式IE下的循环引用问题 + }) + log("debug: 加载 " + id + " 失败" + onError + " " + (!modules[id].state)) + } else { + return true } } - }, { - $val: 1 - }) - proxy.$id = generateID("$proxy$with") - return proxy -} - -function withProxyAgent(key, data) { - var proxy = withProxyPool.pop() - if (!proxy) { - proxy = withProxyFactory() - } - var host = data.$repeat - proxy.$key = key - proxy.$host = host - proxy.$outer = data.$outer - if (host.$events) { - proxy.$events.$val = host.$events[key] - } else { - proxy.$events = {} - } - return proxy -} - -function recycleProxies(proxies, type) { - var proxyPool = type === "each" ? eachProxyPool : withProxyPool - avalon.each(proxies, function(key, proxy) { - if (proxy.$events) { - for (var i in proxy.$events) { - if (Array.isArray(proxy.$events[i])) { - proxy.$events[i].forEach(function(data) { - if (typeof data === "object") - disposeData(data) - }) - proxy.$events[i].length = 0 + + function checkDeps() { + //检测此JS模块的依赖是否都已安装完毕,是则安装自身 + loop: for (var i = loadings.length, id; id = loadings[--i];) { + var obj = modules[id], + deps = obj.deps + if (!deps) + continue + for (var j = 0, key; key = deps[j]; j++) { + if (Object(modules[key]).state !== 4) { + continue loop + } + } + //如果deps是空对象或者其依赖的模块的状态都是2 + if (obj.state !== 4) { + loadings.splice(i, 1) //必须先移除再安装,防止在IE下DOM树建完后手动刷新页面,会多次执行它 + fireFactory(obj.id, obj.deps, obj.factory) + checkDeps() //如果成功,则再执行一次,以防有些模块就差本模块没有安装好 } - } - proxy.$host = proxy.$outer = {} - if (proxyPool.unshift(proxy) > kernel.maxRepeatSize) { - proxyPool.pop() } } - }) - if (type === "each") - proxies.length = 0 -} - - - - -/********************************************************************* - * 自带过滤器 * - **********************************************************************/ -var rscripts = /]*>([\S\s]*?)<\/script\s*>/gim -var ron = /\s+(on[^=\s]+)(?:=("[^"]*"|'[^']*'|[^\s>]+))?/g -var ropen = /<\w+\b(?:(["'])[^"]*?(\1)|[^>])*>/ig -var rsanitize = { - a: /\b(href)\=("javascript[^"]*"|'javascript[^']*')/ig, - img: /\b(src)\=("javascript[^"]*"|'javascript[^']*')/ig, - form: /\b(action)\=("javascript[^"]*"|'javascript[^']*')/ig -} -var rsurrogate = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g -var rnoalphanumeric = /([^\#-~| |!])/g; - -function numberFormat(number, decimals, dec_point, thousands_sep) { - //form http://phpjs.org/functions/number_format/ - //number 必需,要格式化的数字 - //decimals 可选,规定多少个小数位。 - //dec_point 可选,规定用作小数点的字符串(默认为 . )。 - //thousands_sep 可选,规定用作千位分隔符的字符串(默认为 , ),如果设置了该参数,那么所有其他参数都是必需的。 - number = (number + '') - .replace(/[^0-9+\-Ee.]/g, '') - var n = !isFinite(+number) ? 0 : +number, - prec = !isFinite(+decimals) ? 0 : Math.abs(decimals), - sep = (typeof thousands_sep === 'undefined') ? ',' : thousands_sep, - dec = (typeof dec_point === 'undefined') ? '.' : dec_point, - s = '', - toFixedFix = function(n, prec) { - var k = Math.pow(10, prec) - return '' + (Math.round(n * k) / k) - .toFixed(prec) + + function loadJS(url, id, callback) { + //通过script节点加载目标模块 + var node = DOC.createElement("script") + node.className = subscribers //让getCurrentScript只处理类名为subscribers的script节点 + node.onload = function () { + var factory = factorys.pop() + factory && factory.require(id) + if (callback) { + callback() + } + log("debug: 已成功加载 " + url) + id && loadings.push(id) + checkDeps() } - // Fix for IE parseFloat(0.55).toFixed(0) = 0; - s = (prec ? toFixedFix(n, prec) : '' + Math.round(n)) - .split('.') - if (s[0].length > 3) { - s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep) - } - if ((s[1] || '') - .length < prec) { - s[1] = s[1] || '' - s[1] += new Array(prec - s[1].length + 1) - .join('0') - } - return s.join(dec) -} - - -var filters = avalon.filters = { - uppercase: function(str) { - return str.toUpperCase() - }, - lowercase: function(str) { - return str.toLowerCase() - }, - truncate: function(str, length, truncation) { - //length,新字符串长度,truncation,新字符串的结尾的字段,返回新字符串 - length = length || 30 - truncation = truncation === void(0) ? "..." : truncation - return str.length > length ? str.slice(0, length - truncation.length) + truncation : String(str) - }, - $filter: function(val) { - for (var i = 1, n = arguments.length; i < n; i++) { - var array = arguments[i] - var fn = avalon.filters[array.shift()] - if (typeof fn === "function") { - var arr = [val].concat(array) - val = fn.apply(null, arr) + node.onerror = function () { + checkFail(node, true) } + + head.insertBefore(node, head.firstChild) //chrome下第二个参数不能为null + node.src = url //插入到head的第一个节点前,防止IE6下head标签没闭合前使用appendChild抛错 + log("debug: 正准备加载 " + url) //更重要的是IE6下可以收窄getCurrentScript的寻找范围 } - return val - }, - camelize: camelize, - //https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet - // chrome - // chrome - // IE67chrome - // IE67chrome - // IE67chrome - sanitize: function(str) { - return str.replace(rscripts, "").replace(ropen, function(a, b) { - var match = a.toLowerCase().match(/<(\w+)\s/) - if (match) { //处理a标签的href属性,img标签的src属性,form标签的action属性 - var reg = rsanitize[match[1]] - if (reg) { - a = a.replace(reg, function(s, name, value) { - var quote = value.charAt(0) - return name + "=" + quote + "javascript:void(0)" + quote - }) + + var resources = innerRequire.plugins = { + //三大常用资源插件 js!, css!, text!, ready! + ready: { + load: noop + }, + js: { + load: function (name, req, onLoad) { + var url = req.url + var id = req.urlNoQuery + var shim = kernel.shim[name.replace(rjsext, "")] + if (shim) { //shim机制 + innerRequire(shim.deps || [], function () { + var args = avalon.slice(arguments) + loadJS(url, id, function () { + onLoad(shim.exportsFn ? shim.exportsFn.apply(0, args) : void 0) + }) + }) + } else { + loadJS(url, id) + } + } + }, + css: { + load: function (name, req, onLoad) { + var url = req.url + head.insertAdjacentHTML("afterBegin", '') + log("debug: 已成功加载 " + url) + onLoad() + } + }, + text: { + load: function (name, req, onLoad) { + var url = req.url + var xhr = getXHR() + xhr.onload = function () { + var status = xhr.status; + if (status > 399 && status < 600) { + avalon.error(url + " 对应资源不存在或没有开启 CORS") + } else { + log("debug: 已成功加载 " + url) + onLoad(xhr.responseText) + } + } + xhr.open("GET", url, true) + if ("withCredentials" in xhr) {//这是处理跨域 + xhr.withCredentials = true + } + xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest")//告诉后端这是AJAX请求 + xhr.send() + log("debug: 正准备加载 " + url) } } - return a.replace(ron, " ").replace(/\s+/g, " ") //移除onXXX事件 - }) - }, - escape: function(str) { - //将字符串经过 str 转义得到适合在页面中显示的内容, 例如替换 < 为 < - return String(str). - replace(/&/g, '&'). - replace(rsurrogate, function(value) { - var hi = value.charCodeAt(0) - var low = value.charCodeAt(1) - return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';' - }). - replace(rnoalphanumeric, function(value) { - return '&#' + value.charCodeAt(0) + ';' - }). - replace(//g, '>') - }, - currency: function(amount, symbol, fractionSize) { - return (symbol || "\uFFE5") + numberFormat(amount, isFinite(fractionSize) ? fractionSize: 2) - }, - number: function(number, fractionSize) { - return numberFormat(number, isFinite(fractionSize) ? fractionSize: 3 ) - } -} -/* - 'yyyy': 4 digit representation of year (e.g. AD 1 => 0001, AD 2010 => 2010) - 'yy': 2 digit representation of year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10) - 'y': 1 digit representation of year, e.g. (AD 1 => 1, AD 199 => 199) - 'MMMM': Month in year (January-December) - 'MMM': Month in year (Jan-Dec) - 'MM': Month in year, padded (01-12) - 'M': Month in year (1-12) - 'dd': Day in month, padded (01-31) - 'd': Day in month (1-31) - 'EEEE': Day in Week,(Sunday-Saturday) - 'EEE': Day in Week, (Sun-Sat) - 'HH': Hour in day, padded (00-23) - 'H': Hour in day (0-23) - 'hh': Hour in am/pm, padded (01-12) - 'h': Hour in am/pm, (1-12) - 'mm': Minute in hour, padded (00-59) - 'm': Minute in hour (0-59) - 'ss': Second in minute, padded (00-59) - 's': Second in minute (0-59) - 'a': am/pm marker - 'Z': 4 digit (+sign) representation of the timezone offset (-1200-+1200) - format string can also be one of the following predefined localizable formats: - - 'medium': equivalent to 'MMM d, y h:mm:ss a' for en_US locale (e.g. Sep 3, 2010 12:05:08 pm) - 'short': equivalent to 'M/d/yy h:mm a' for en_US locale (e.g. 9/3/10 12:05 pm) - 'fullDate': equivalent to 'EEEE, MMMM d,y' for en_US locale (e.g. Friday, September 3, 2010) - 'longDate': equivalent to 'MMMM d, y' for en_US locale (e.g. September 3, 2010 - 'mediumDate': equivalent to 'MMM d, y' for en_US locale (e.g. Sep 3, 2010) - 'shortDate': equivalent to 'M/d/yy' for en_US locale (e.g. 9/3/10) - 'mediumTime': equivalent to 'h:mm:ss a' for en_US locale (e.g. 12:05:08 pm) - 'shortTime': equivalent to 'h:mm a' for en_US locale (e.g. 12:05 pm) - */ -new function() { - function toInt(str) { - return parseInt(str, 10) - } - - function padNumber(num, digits, trim) { - var neg = "" - if (num < 0) { - neg = '-' - num = -num - } - num = "" + num - while (num.length < digits) - num = "0" + num - if (trim) - num = num.substr(num.length - digits) - return neg + num - } - - function dateGetter(name, size, offset, trim) { - return function(date) { - var value = date["get" + name]() - if (offset > 0 || value > -offset) - value += offset - if (value === 0 && offset === -12) { - value = 12 - } - return padNumber(value, size, trim) - } - } - - function dateStrGetter(name, shortForm) { - return function(date, formats) { - var value = date["get" + name]() - var get = (shortForm ? ("SHORT" + name) : name).toUpperCase() - return formats[get][value] - } - } - - function timeZoneGetter(date) { - var zone = -1 * date.getTimezoneOffset() - var paddedZone = (zone >= 0) ? "+" : "" - paddedZone += padNumber(Math[zone > 0 ? "floor" : "ceil"](zone / 60), 2) + padNumber(Math.abs(zone % 60), 2) - return paddedZone - } - //取得上午下午 - - function ampmGetter(date, formats) { - return date.getHours() < 12 ? formats.AMPMS[0] : formats.AMPMS[1] - } - var DATE_FORMATS = { - yyyy: dateGetter("FullYear", 4), - yy: dateGetter("FullYear", 2, 0, true), - y: dateGetter("FullYear", 1), - MMMM: dateStrGetter("Month"), - MMM: dateStrGetter("Month", true), - MM: dateGetter("Month", 2, 1), - M: dateGetter("Month", 1, 1), - dd: dateGetter("Date", 2), - d: dateGetter("Date", 1), - HH: dateGetter("Hours", 2), - H: dateGetter("Hours", 1), - hh: dateGetter("Hours", 2, -12), - h: dateGetter("Hours", 1, -12), - mm: dateGetter("Minutes", 2), - m: dateGetter("Minutes", 1), - ss: dateGetter("Seconds", 2), - s: dateGetter("Seconds", 1), - sss: dateGetter("Milliseconds", 3), - EEEE: dateStrGetter("Day"), - EEE: dateStrGetter("Day", true), - a: ampmGetter, - Z: timeZoneGetter - } - var DATE_FORMATS_SPLIT = /((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/, - NUMBER_STRING = /^\d+$/ - var riso8601 = /^(\d{4})-?(\d+)-?(\d+)(?:T(\d+)(?::?(\d+)(?::?(\d+)(?:\.(\d+))?)?)?(Z|([+-])(\d+):?(\d+))?)?$/ - // 1 2 3 4 5 6 7 8 9 10 11 - - function jsonStringToDate(string) { - var match - if (match = string.match(riso8601)) { - var date = new Date(0), - tzHour = 0, - tzMin = 0, - dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear, - timeSetter = match[8] ? date.setUTCHours : date.setHours - if (match[9]) { - tzHour = toInt(match[9] + match[10]) - tzMin = toInt(match[9] + match[11]) - } - dateSetter.call(date, toInt(match[1]), toInt(match[2]) - 1, toInt(match[3])) - var h = toInt(match[4] || 0) - tzHour - var m = toInt(match[5] || 0) - tzMin - var s = toInt(match[6] || 0) - var ms = Math.round(parseFloat('0.' + (match[7] || 0)) * 1000) - timeSetter.call(date, h, m, s, ms) - return date - } - return string - } - var rfixYMD = /^(\d+)\D(\d+)\D(\d+)/ - filters.date = function(date, format) { - var locate = filters.date.locate, - text = "", - parts = [], - fn, match - format = format || "mediumDate" - format = locate[format] || format - if (typeof date === "string") { - if (NUMBER_STRING.test(date)) { - date = toInt(date) - } else { - var trimDate = date.trim() - date = trimDate.replace(rfixYMD, function(a, b, c, d) { - var array = d.length === 4 ? [d, b, c] : [b, c, d] - return array.join("-") - }) - date = jsonStringToDate(date) - } - date = new Date(date) } - if (typeof date === "number") { - date = new Date(date) + innerRequire.checkDeps = checkDeps + + var rquery = /(\?[^#]*)$/ + + function trimQuery(url) { + return (url || "").replace(rquery, "") } - if (avalon.type(date) !== "date") { - return + + function isAbsUrl(path) { + //http://stackoverflow.com/questions/10687099/how-to-test-if-a-url-string-is-absolute-or-relative + return /^(?:[a-z]+:)?\/\//i.test(String(path)) } - while (format) { - match = DATE_FORMATS_SPLIT.exec(format) - if (match) { - parts = parts.concat(match.slice(1)) - format = parts.pop() - } else { - parts.push(format) - format = null + + + function getCurrentScript() { + // inspireb by https://github.com/samyk/jiagra/blob/master/jiagra.js + var stack + try { + a.b.c() //强制报错,以便捕获e.stack + } catch (e) { //safari5的sourceURL,firefox的fileName,它们的效果与e.stack不一样 + stack = e.stack } - } - parts.forEach(function(value) { - fn = DATE_FORMATS[value] - text += fn ? fn(date, locate) : value.replace(/(^'|'$)/g, "").replace(/''/g, "'") - }) - return text - } - var locate = { - AMPMS: { - 0: "上午", - 1: "下午" - }, - DAY: { - 0: "星期日", - 1: "星期一", - 2: "星期二", - 3: "星期三", - 4: "星期四", - 5: "星期五", - 6: "星期六" - }, - MONTH: { - 0: "1月", - 1: "2月", - 2: "3月", - 3: "4月", - 4: "5月", - 5: "6月", - 6: "7月", - 7: "8月", - 8: "9月", - 9: "10月", - 10: "11月", - 11: "12月" - }, - SHORTDAY: { - "0": "周日", - "1": "周一", - "2": "周二", - "3": "周三", - "4": "周四", - "5": "周五", - "6": "周六" - }, - fullDate: "y年M月d日EEEE", - longDate: "y年M月d日", - medium: "yyyy-M-d H:mm:ss", - mediumDate: "yyyy-M-d", - mediumTime: "H:mm:ss", - "short": "yy-M-d ah:mm", - shortDate: "yy-M-d", - shortTime: "ah:mm" - } - locate.SHORTMONTH = locate.MONTH - filters.date.locate = locate -} -/********************************************************************* - * AMD加载器 * - **********************************************************************/ -var modules = avalon.modules = { - "ready!": { - exports: avalon - }, - "avalon": { - exports: avalon, - state: 2 - } -} - -new function() { - var loadings = [] //正在加载中的模块列表 - var factorys = [] //储存需要绑定ID与factory对应关系的模块(标准浏览器下,先parse的script节点会先onload) - var basepath - - function trimHashAndQuery(url) { - return (url || "").replace(/[?#].*/, "") - } - - var cur = getCurrentScript(true) //求得当前avalon.js 所在的JS文件的路径 - if (!cur) { //处理window safari的Error没有stack的问题 - cur = avalon.slice(DOC.scripts).pop().src - } - var url = trimHashAndQuery(cur) - basepath = kernel.base = url.slice(0, url.lastIndexOf("/") + 1) - - function getCurrentScript(base) { - // 参考 https://github.com/samyk/jiagra/blob/master/jiagra.js - var stack - try { - a.b.c() //强制报错,以便捕获e.stack - } catch (e) { //safari的错误对象只有line,sourceId,sourceURL - stack = e.stack - if (!stack && window.opera) { - //opera 9没有e.stack,但有e.Backtrace,但不能直接取得,需要对e对象转字符串进行抽取 - stack = (String(e).match(/of linked script \S+/g) || []).join(" ") - } - } - if (stack) { - /**e.stack最后一行在所有支持的浏览器大致如下: - *chrome23: - * at http://113.93.50.63/data.js:4:1 - *firefox17: - *@http://113.93.50.63/query.js:4 - *opera12:http://www.oldapps.com/opera.php?system=Windows_XP - *@http://113.93.50.63/data.js:4 - *IE10: - * at Global code (http://113.93.50.63/data.js:4:1) - * //firefox4+ 可以用document.currentScript - */ - stack = stack.split(/[@ ]/g).pop() //取得最后一行,最后一个空格或@之后的部分 - stack = stack[0] === "(" ? stack.slice(1, -1) : stack.replace(/\s/, "") //去掉换行符 - return stack.replace(/(:\d+)?:\d+$/i, "") //去掉行号与或许存在的出错字符起始位置 - } - var nodes = (base ? DOC : head).getElementsByTagName("script") //只在head标签中寻找 - for (var i = nodes.length, node; node = nodes[--i]; ) { - if ((base || node.className === subscribers) && node.readyState === "interactive") { - return node.className = node.src - } - } - } - - innerRequire = avalon.require = function(array, factory, parent) { - if (!Array.isArray(array)) { - avalon.error("require的第一个参数必须是依赖列数,类型为数组 " + array) - } - var args = [] // 放置所有依赖项的完整路径 - var deps = {} // args的另一种表现形式,为的是方便去重 - var dn = 0 //需要安装的模块数 - var cn = 0 // 已安装完的模块数 - var id = parent || "callback" + setTimeout("1") - parent = parent || basepath - - array.forEach(function(el) { - var url = loadResources(el, parent) //加载资源,并返回能加载资源的完整路径 - if (url) { - dn++ - if (modules[url] && modules[url].state === 2) { - cn++ - } - if (!deps[url]) { - args.push(url) - deps[url] = "司徒正美" //去重 + if (stack) { + /**e.stack最后一行在所有支持的浏览器大致如下: + *chrome23: + * at http://113.93.50.63/data.js:4:1 + *firefox17: + *@http://113.93.50.63/query.js:4 + *opera12:http://www.oldapps.com/opera.php?system=Windows_XP + *@http://113.93.50.63/data.js:4 + *IE10: + * at Global code (http://113.93.50.63/data.js:4:1) + * //firefox4+ 可以用document.currentScript + */ + stack = stack.split(/[@ ]/g).pop() //取得最后一行,最后一个空格或@之后的部分 + stack = stack[0] === "(" ? stack.slice(1, -1) : stack.replace(/\s/, "") //去掉换行符 + return trimQuery(stack.replace(/(:\d+)?:\d+$/i, "")) //去掉行号与或许存在的出错字符起始位置 + } + var nodes = head.getElementsByTagName("script") //只在head标签中寻找 + for (var i = nodes.length, node; node = nodes[--i];) { + if (node.className === subscribers && node.readyState === "interactive") { + var url = node.src + return node.className = trimQuery(url) } } - }) - modules[id] = {//保存此模块的相关信息 - id: id, - factory: factory, - deps: deps, - args: args, - state: 1 - } - if (dn === cn) { //如果需要安装的等于已安装好的 - fireFactory(id, args, factory) //安装到框架中 - } else { - //放到检测列队中,等待checkDeps处理 - loadings.unshift(id) } - checkDeps() - } - innerRequire.define = function(urlOrId, deps, factory) { //模块名,依赖列表,模块本身 - var args = aslice.call(arguments) - if (typeof urlOrId === "string") { - var id = args.shift() - } - if (typeof args[0] === "function") { - args.unshift([]) - } - //上线合并后能直接得到模块ID,否则寻找当前正在解析中的script节点的src作为模块ID - //现在除了safari5,1-外,我们都能直接通过getCurrentScript一步到位得到当前执行的script节点, - //safari可通过onload+delay闭包组合解决 - var url = modules[id] && modules[id].state >= 1 ? id : trimHashAndQuery(getCurrentScript()) - if (!modules[url] && id) { - modules[url] = { - id: url, - factory: factory, - state: 1 + var rcallback = /^callback\d+$/ + + function fireFactory(id, deps, factory) { + var module = Object(modules[id]) + module.state = 4 + for (var i = 0, array = [], d; d = deps[i++];) { + if (d === "exports") { + var obj = module.exports || (module.exports = createMap()) + array.push(obj) + } else { + array.push(modules[d].exports) + } } - } - factory = args[1] - factory.id = id //用于调试 - factory.delay = function(d) { - args.push(d) - var isCycle = true try { - isCycle = checkCycle(modules[d].deps, d) + var ret = factory.apply(window, array) } catch (e) { + log("执行[" + id + "]模块的factory抛错: " + e) } - if (isCycle) { - avalon.error(d + "模块与之前的模块存在循环依赖,请不要直接用script标签引入" + d + "模块") + if (ret !== void 0) { + module.exports = ret } - delete factory.delay //释放内存 - innerRequire.apply(null, args) //0,1,2 --> 1,2,0 - } - if (url) { - factory.delay(url) - } else { //先进先出 - factorys.push(factory) - } - } - innerRequire.define.amd = modules - - function checkCycle(deps, nick) { - //检测是否存在循环依赖 - for (var id in deps) { - if (deps[id] === "司徒正美" && modules[id].state !== 2 && (id === nick || checkCycle(modules[id].deps, nick))) { - return true + if (rcallback.test(id)) { + delete modules[id] } + delete module.factory + return ret } - } - function checkDeps() { - //检测此JS模块的依赖是否都已安装完毕,是则安装自身 - loop: for (var i = loadings.length, id; id = loadings[--i]; ) { - - var obj = modules[id], - deps = obj.deps - for (var key in deps) { - if (ohasOwn.call(deps, key) && modules[key].state !== 2) { - continue loop - } + function toUrl(id) { + if (id.indexOf(this.res + "!") === 0) { + id = id.slice(this.res.length + 1) //处理define("css!style",[], function(){})的情况 + } + var url = id + //1. 是否命中paths配置项 + var usePath = 0 + var baseUrl = this.baseUrl + var rootUrl = this.parentUrl || baseUrl + eachIndexArray(id, kernel.paths, function (value, key) { + url = url.replace(key, value) + usePath = 1 + }) + //2. 是否命中packages配置项 + if (!usePath) { + eachIndexArray(id, kernel.packages, function (value, key, item) { + url = url.replace(item.name, item.location) + }) + } + //3. 是否命中map配置项 + if (this.mapUrl) { + eachIndexArray(this.mapUrl, kernel.map, function (array) { + eachIndexArray(url, array, function (mdValue, mdKey) { + url = url.replace(mdKey, mdValue) + rootUrl = baseUrl + }) + }) + } + var ext = this.ext + if (ext && usePath && url.slice(-ext.length) === ext) { + url = url.slice(0, -ext.length) } - //如果deps是空对象或者其依赖的模块的状态都是2 - if (obj.state !== 2) { - loadings.splice(i, 1) //必须先移除再安装,防止在IE下DOM树建完后手动刷新页面,会多次执行它 - fireFactory(obj.id, obj.args, obj.factory) - checkDeps() //如果成功,则再执行一次,以防有些模块就差本模块没有安装好 + //4. 转换为绝对路径 + if (!isAbsUrl(url)) { + rootUrl = this.built || /^\w/.test(url) ? baseUrl : rootUrl + url = joinPath(rootUrl, url) } + //5. 还原扩展名,query + var urlNoQuery = url + ext + url = urlNoQuery + this.query + //6. 处理urlArgs + eachIndexArray(id, kernel.urlArgs, function (value) { + url += (url.indexOf("?") === -1 ? "?" : "&") + value; + }) + this.url = url + return this.urlNoQuery = urlNoQuery } - } - function checkFail(node, onError, fuckIE) { - var id = trimHashAndQuery(node.src) //检测是否死链 - node.onload = node.onreadystatechange = node.onerror = null - if (onError || (fuckIE && !modules[id].state)) { - setTimeout(function() { - head.removeChild(node) - node = null // 处理旧式IE下的循环引用问题 - }) - log("debug: 加载 " + id + " 失败" + onError + " " + (!modules[id].state)) - } else { - return true + function makeIndexArray(hash, useStar, part) { + //创建一个经过特殊算法排好序的数组 + var index = hash2array(hash, useStar, part) + index.sort(descSorterByName) + return index } - } - var rdeuce = /\/\w+\/\.\./ - function loadResources(url, parent, ret, shim) { - //1. 特别处理mass|ready标识符 - if (url === "ready!" || (modules[url] && modules[url].state === 2)) { - return url + function makeMatcher(prefix) { + return new RegExp('^' + prefix + '(/|$)') } - //2. 处理text! css! 等资源 - var plugin - url = url.replace(/^\w+!/, function(a) { - plugin = a.slice(0, -1) - return "" - }) - plugin = plugin || "js" - plugin = plugins[plugin] || noop - //3. 转化为完整路径 - if (typeof kernel.shim[url] === "object") { - shim = kernel.shim[url] - } - url = url.split('/'); - //For each module name segment, see if there is a path - //registered for it. Start with most specific name - //and work up from it. - for (var i = url.length, parentModule, parentPath; i > 0; i -= 1) { - parentModule = url.slice(0, i).join('/'); - - parentPath = kernel.paths[parentModule]; - if (parentPath) { - //If an array, it means there are a few choices, - //Choose the one that is desired - if (Array.isArray(parentPath)) { - parentPath = parentPath[0]; + + function makeExports(value) { + return function () { + var ret + if (value.init) { + ret = value.init.apply(window, arguments) } - url.splice(0, i, parentPath); - break; + return ret || (value.exports && getGlobal(value.exports)) } } - //Join the path parts together, then figure out if baseUrl is needed. - url = url.join('/'); - //4. 补全路径 - if (/^(\w+)(\d)?:.*/.test(url)) { - ret = url - } else { - parent = parent.substr(0, parent.lastIndexOf("/")) - var tmp = url.charAt(0) - if (tmp !== "." && tmp !== "/") { //相对于根路径 - ret = basepath + url - } else if (url.slice(0, 2) === "./") { //相对于兄弟路径 - ret = parent + url.slice(1) - } else if (url.slice(0, 2) === "..") { //相对于父路径 - ret = parent + "/" + url - while (rdeuce.test(ret)) { - ret = ret.replace(rdeuce, "") + + function hash2array(hash, useStar, part) { + var array = []; + for (var key in hash) { + // if (hash.hasOwnProperty(key)) {//hash是由createMap创建没有hasOwnProperty + var item = { + name: key, + val: hash[key] } - } else if (tmp === "/") { - ret = url //相对于根路径 - } else { - avalon.error("不符合模块标识规则: " + url) - } - } - //5. 补全扩展名 - url = trimHashAndQuery(ret) - var ext = plugin.ext - if (ext) { - if (url.slice(0 - ext.length) !== ext) { - ret += ext + array.push(item) + item.reg = key === "*" && useStar ? /^/ : makeMatcher(key) + if (part && key !== "*") { + item.reg = new RegExp('\/' + key.replace(/^\//, "") + '(/|$)') + } + // } } + return array } - //6. 缓存处理 - if (kernel.nocache) { - ret += (ret.indexOf("?") === -1 ? "?" : "&") + (new Date - 0) - } - return plugin(ret, shim) - } - function loadJS(url, id, callback) { - //通过script节点加载目标模块 - var node = DOC.createElement("script") - node.className = subscribers //让getCurrentScript只处理类名为subscribers的script节点 - node[W3C ? "onload" : "onreadystatechange"] = function() { - if (W3C || /loaded|complete/i.test(node.readyState)) { - //mass Framework会在_checkFail把它上面的回调清掉,尽可能释放回存,尽管DOM0事件写法在IE6下GC无望 - var factory = factorys.pop() - factory && factory.delay(id) - if (callback) { - callback() - } - if (checkFail(node, false, !W3C)) { - log("debug: 已成功加载 " + url) + function eachIndexArray(moduleID, array, matcher) { + array = array || [] + for (var i = 0, el; el = array[i++];) { + if (el.reg.test(moduleID)) { + matcher(el.val, el.name, el) + return false } } } - node.onerror = function() { - checkFail(node, true) - } - node.src = url //插入到head的第一个节点前,防止IE6下head标签没闭合前使用appendChild抛错 - head.insertBefore(node, head.firstChild) //chrome下第二个参数不能为null - log("debug: 正准备加载 " + url) //更重要的是IE6下可以收窄getCurrentScript的寻找范围 - } - function fireFactory(id, deps, factory) { - for (var i = 0, array = [], d; d = deps[i++]; ) { - array.push(modules[d].exports) + // 根据元素的name项进行数组字符数逆序的排序函数 + function descSorterByName(a, b) { + var aaa = a.name + var bbb = b.name + if (bbb === "*") { + return -1 + } + if (aaa === "*") { + return 1 + } + return bbb.length - aaa.length } - var module = Object(modules[id]), - ret = factory.apply(window, array) - module.state = 2 - if (ret !== void 0) { - modules[id].exports = ret + + var rdeuce = /\/\w+\/\.\./ + + function joinPath(a, b) { + if (a.charAt(a.length - 1) !== "/") { + a += "/" + } + if (b.slice(0, 2) === "./") { //相对于兄弟路径 + return a + b.slice(2) + } + if (b.slice(0, 2) === "..") { //相对于父路径 + a += b + while (rdeuce.test(a)) { + a = a.replace(rdeuce, "") + } + return a + } + if (b.slice(0, 1) === "/") { + return a + b.slice(1) + } + return a + b } - return ret - } - plugins.js = function(url, shim) { - var id = trimHashAndQuery(url) - if (!modules[id]) { //如果之前没有加载过 - modules[id] = { - id: id, - exports: {} - } - if (shim) { //shim机制 - innerRequire(shim.deps || "", function() { - loadJS(url, id, function() { - modules[id].state = 2 - var s = shim.exports - if (s && modules[id].exports === void 0) { - modules[id].exports = typeof s === "function" ? - s() : window[s] - } - innerRequire.checkDeps() - }) - }) - } else { - loadJS(url, id) + function getGlobal(value) { + if (!value) { + return value } + var g = window + value.split(".").forEach(function (part) { + g = g[part] + }) + return g } - return id - } - plugins.css = function(url) { - var id = trimHashAndQuery(url).replace(/\W/g, "_") ////用于处理掉href中的hash与所有特殊符号 - if (!DOC.getElementById(id)) { - var node = DOC.createElement("link") - node.rel = "stylesheet" - node.href = url - node.id = id - head.insertBefore(node, head.firstChild) + + var mainNode = DOC.scripts[DOC.scripts.length - 1] + var dataMain = mainNode.getAttribute("data-main") + if (dataMain) { + plugins.baseUrl(dataMain) + var href = kernel.baseUrl + kernel.baseUrl = href.slice(0, href.lastIndexOf("/") + 1) + loadJS(href.replace(rjsext, "") + ".js") + } else { + var loaderUrl = trimQuery(mainNode.src) + kernel.baseUrl = loaderUrl.slice(0, loaderUrl.lastIndexOf("/") + 1) } - } - plugins.css.ext = ".css" - plugins.js.ext = ".js" + }// jshint ignore:line - plugins.text = function(url) { - var xhr = getXHR() - var id = trimHashAndQuery(url) - modules[id] = {} - xhr.onreadystatechange = function() { - if (xhr.readyState === 4) { - var status = xhr.status; - if (status > 399 && status < 600) { - avalon.error(url + " 对应资源不存在或没有开启 CORS") - } else { - modules[id].state = 2 - modules[id].exports = xhr.responseText - innerRequire.checkDeps() - } - } + /********************************************************************* + * DOMReady * + **********************************************************************/ + var readyList = [], isReady + var fireReady = function (fn) { + isReady = true + if (innerRequire) { + modules["domReady!"].state = 4 + innerRequire.checkDeps() } - xhr.open("GET", url, true) - if ("withCredentials" in xhr) { - xhr.withCredentials = true + while (fn = readyList.shift()) { + fn(avalon) } - xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest") - xhr.send() - return id } - innerRequire.config = kernel - innerRequire.checkDeps = checkDeps -} -/********************************************************************* - * DOMReady * - **********************************************************************/ -var readyList = [] -function fireReady() { - if (innerRequire) { - modules["ready!"].state = 2 - innerRequire.checkDeps()//隋性函数,防止IE9二次调用_checkDeps + if (DOC.readyState === "complete") { + setTimeout(fireReady) //如果在domReady之外加载 } else { - readyList.forEach(function(a) { - a(avalon) - }) + DOC.addEventListener("DOMContentLoaded", fireReady) } - fireReady = noop //隋性函数,防止IE9二次调用_checkDeps -} - -if (DOC.readyState === "complete") { - setTimeout(fireReady) //如果在domReady之外加载 -} else { - DOC.addEventListener("DOMContentLoaded", fireReady) window.addEventListener("load", fireReady) -} -avalon.ready = function(fn) { - if (innerRequire) { - innerRequire(["ready!"], fn) - } else if (fireReady === noop) { - fn(avalon) - } else { - readyList.push(fn) + avalon.ready = function (fn) { + if (!isReady) { + readyList.push(fn) + } else { + fn(avalon) + } } -} -avalon.config({ - loader: true -}) -avalon.ready(function() { - avalon.scan(DOC.body) -}) + avalon.config({ + loader: true + }) + avalon.ready(function () { + avalon.scan(DOC.body) + }) // Register as a named AMD module, since avalon can be concatenated with other // files that may use define, but not via a proper concatenation script that @@ -4418,23 +4908,28 @@ avalon.ready(function() { // AMD loader is present. avalon is a special case. For more information, see // https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon if (typeof define === "function" && define.amd) { - define("avalon", [], function() { + define("avalon", [], function () { return avalon }) } // Map over avalon in case of overwrite var _avalon = window.avalon - avalon.noConflict = function(deep) { + avalon.noConflict = function (deep) { if (deep && window.avalon === avalon) { - window.avalon = avalon + window.avalon = _avalon } return avalon } -// Expose avalon and $ identifiers, even in AMD +// Expose avalon identifiers, even in AMD // and CommonJS for browser emulators if (noGlobal === void 0) { window.avalon = avalon } + + window._injectTer = function (code) { + return eval(code) + } + return avalon -})); +})); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/bower.json b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/bower.json new file mode 100644 index 00000000..a2b8288c --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/bower.json @@ -0,0 +1,42 @@ +{ + "name": "iCheck", + "version": "1.0.2", + "description": "Highly customizable checkboxes and radio buttons (jQuery & Zepto)", + "keywords": [ + "icheck", + "checkbox", + "radio", + "input", + "field", + "form", + "custom", + "replacement", + "accessibility", + "skins", + "ui", + "checked", + "disabled", + "indeterminate" + ], + "main": [ + "./icheck.min.js" + ], + "dependencies": { + "jquery": ">=1.7" + }, + "ignore": [ + ".gitignore", + "CHANGELOG.md", + "README.md", + "demo/" + ], + "license": "MIT", + "authors": [ + { + "name": "Damir Sultanov", + "email": "info@fronteed.com", + "homepage": "http://fronteed.com/" + } + ], + "homepage": "http://fronteed.com/iCheck/" +} diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/Thumbs.db b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/Thumbs.db new file mode 100644 index 00000000..fd773ef4 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/Thumbs.db differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/banner.jpg b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/banner.jpg new file mode 100644 index 00000000..64b8f143 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/banner.jpg differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/custom.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/custom.css new file mode 100644 index 00000000..e1ed3b17 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/custom.css @@ -0,0 +1,261 @@ +@import url("normalize.css"); +@font-face{font-family:'MontserratRegular';src:url("./montserrat-regular.eot");src:url("./montserrat-regular.eot?#iefix") format('embedded-opentype'),url("./montserrat-regular.woff") format('woff'),url("./montserrat-regular.ttf") format('truetype'),url("./montserrat-regular.svg#MontserratRegular") format('svg');font-style:normal;font-weight:normal} +@font-face{font-family:'MontserratBold';src:url("./montserrat-bold.eot");src:url("./montserrat-bold.eot?#iefix") format('embedded-opentype'),url("./montserrat-bold.woff") format('woff'),url("./montserrat-bold.ttf") format('truetype'),url("./montserrat-bold.svg#MontserratBold") format('svg');font-style:normal;font-weight:bold} +html,body{height:100%} +body{font:14px/20px 'MontserratRegular',Helvetica,Arial,sans-serif;color:#222;background:#ebe7df url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAFZCAIAAAA96mnzAAACKklEQVR4Xn2VUW7kMAxD+QLf/1x7gv71LNwdKTLhZFtggMCwSVEUPdb3159/v0uSrM8HtGRZuoQk1R69J12o9ixJWvSnVyfLdbNw0XAXWe1fIL8BoqmNGiV/cHc9Gq4NXxLKHhteRyLpA28cl0SLdx0BckSWL4gkPlIVTg1nN9Ys3iyWI5AGDA5xOXB5BJaWmOw6KSLeU6+0P50QshQyEL2im/YMIL60dTSZ3RXenlkiJpMj8XPMAl1FtjMRW19NxzOE5VGWPVGrc7aSJgz1Y9ku57mpYSwn1h0ivFOXxoCKMCXiahbbZNIZR+tkphllPsomipCwb4GMkXTmPfVg40Jt2y4RQM/PqX5JTM4iiTN8Zz1XvbIAEEvoEW+3nxTLL3lB7t7J3WwyI7g5OVxKIeFEH4FIGLC9I+XqvSd4AxJM5O6WTPr54RAxLG44FVrEuz+kFdXyLiuX6kLPVLZL2ISlcHNlBIKm5rR8nEi9wJeA6Y8JZlJOyDiin0K5ag+AXHtALBicXasjIUu9h0STBbCMU+89gMnu/J05MU1QWqdbPMRPIZIzDgsi8Olg5t7wHhUg/pv5RUzO+BHDmczHkAfZWxlSYgNI5Ig5XRoc66dW9L45eHDkbkqCO7RLG5cna/HD7YhZnfINkFo8iNyj5kx6pFrxNGRlfhV2e1Zt5DnGU8T7Tud1ivi8jU8/3Zy88pkn6+zdXiJ7AVSFBZA3VcwDfXtt5UUHS38B35hQVuJip4MAAAAASUVORK5CYII=") repeat-x;*background-image:url("ie/header-line.png")} +a{color:#222;text-decoration:none;border-bottom:1px solid #bbb;} +a:hover{color:#000} +a,.self{-webkit-transition:color .1s;-moz-transition:color .1s;-ms-transition:color .1s;-o-transition:color .1s;transition:color .1s} +.self{color:#333;border-bottom:1px dotted #aaa;cursor:pointer;} +.self:hover{color:#000} +strong{font-family:'MontserratBold',Helvetica,Arial,sans-serif;font-weight:700} +p{margin:0 0 8px} +label{cursor:pointer} +h1,h2,h3,h4{margin:0;font:bold 20px/60px 'MontserratBold',Helvetica,Arial,sans-serif} +h2{height:60px;text-align:center;text-transform:uppercase} +h4{font-size:18px;line-height:24px} +ul{margin:0;padding:0;list-style:none} +table{width:100%;margin-bottom:21px} +th,td{padding:11px 20px 12px;vertical-align:top;font-weight:normal;text-align:left;border-bottom:2px solid #e7e5e0;} +thead th,thead td{background:#f3f2ef} +th{white-space:nowrap} +td{width:100%} +.focus{outline:1px dotted rgba(0,0,0,0.5) !important} +.clear{position:relative;*zoom:1;} +.clear:before,.clear:after{content:'';display:table;clear:both} +.layout{width:930px;margin:0 auto;padding:0 15px} +.header{padding:115px 0 73px;color:#fff;text-align:center;} +.header h1,.header strong{letter-spacing:-1px;text-transform:uppercase} +.header h1{padding-bottom:23px;font-size:22px;line-height:28px} +.header h3{position:relative;padding:35px 0 17px;font-size:120px;line-height:140px;letter-spacing:-5px;} +.header h3 span{font-size:30px;line-height:40px;letter-spacing:0;margin-left:-10px;vertical-align:baseline;} +.header h3:before{content:'';display:inline-block;width:72px;height:64px;margin-right:32px;vertical-align:middle;background:url("icheck.png")} +.header h3:after{content:'';position:absolute;top:0;left:50%;width:100px;margin-left:-50px;border-top:3px solid #fff} +.header strong{font:24px/30px 'MontserratRegular',Helvetica,Arial,sans-serif;} +.header strong a{color:#fff;border-bottom-color:#fff} +.features{position:relative;font-size:16px;color:#555;background:#fff;} +.features .self{color:#555;border-bottom-color:#bbb;} +.features .self:hover{color:#222} +.features .arrows{top:0} +.features:hover .arrows .bottom{left:0} +.features h2{color:#fff;background:#2489c5} +.features ul{padding:44px 60px 36px} +.features li{padding:0 0 9px 36px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABI0lEQVR4XpXSP0vDUBjF4ZtLkIr4EYzduogdXJTWWV2FLMVNoQrdAhlUUFAEcejo1q13svgFBAUdxA/g30kcdQoIIlL9DWcKuZEeeOCl99w3gTSI49h4MoFb/KCJz6KShS/rOh/TbEZZECLBiSQIR1nQQgAnAVr/LZjEnIq76OJbutjRGR26isUB3pDhBikucWoUzVdI1cl05zBk2MI5jvCKIfL5QluzxTS20bY6WENdl0ujTl13Ni3DABtwWEFp1HG6M7Aq9NHBGRbgy7w6HfTzX6GHCyyXPV2dnu9/MIUX+PIMOkRsbq7hHkZmxciDOrZoQRUVPCGCw504RDobR7VoQQ0f2Mejls1IRb/t4R10CcLc6/2igSVcw8gqFnEMOnSVPxQqQaPw2y7fAAAAAElFTkSuQmCC") 0 1px no-repeat;*background-image:url("ie/icon-star.png");} +.features li.offset{margin-top:20px} +.mark{padding:0 2px;color:#777;background:#e7e5e0;} +.skin-polaris .mark{background:#232830} +.skin-futurico .mark{background:#25262a} +.social{height:60px;margin-bottom:60px;padding:0 60px;font-size:16px;color:#555;background:#f5f3ef;} +.social a{color:#777;border-bottom-color:#ccc;} +.social a:hover{color:#444} +.social .left{float:left;padding-top:19px;} +.social .left li{float:left;padding-right:30px;} +.social .left li a{position:relative} +.social .right{float:right;padding-top:20px;} +.social .right li{float:right;padding-left:10px} +.social .right.local{padding-top:19px;} +.social .right.local li{padding-left:30px;font-size:14px} +.demo-holder{margin-bottom:97px} +.demo-title{padding-bottom:36px;font-size:26px;letter-spacing:-1px} +.demo{position:relative;} +.demo:hover .arrows .top,.demo:hover .arrows .bottom{left:0} +.demo-list{position:relative;margin-right:360px;padding:33px 57px 17px;color:#555;background:#fff;border:3px solid #ddd8ce;} +.demo-list ul{float:right;white-space:nowrap;} +.demo-list ul:first-child{float:left} +.demo-list ul li{position:relative;padding:0 0 18px 42px} +.demo-list ul input{position:absolute;top:4px;left:0} +.demo-list ul .icheckbox_square-blue,.demo-list ul .iradio_square-blue{position:absolute;top:-1px;left:0} +.demo-list ul span{color:#bbb} +.demo-methods{padding:21px 360px 0 0;} +.demo-methods .mark{background:#d3cfc6} +.demo-methods dt{position:relative;padding:17px 150px 18px 0;font:16px/24px 'MontserratRegular',Helvetica,Arial,sans-serif;color:#444;border-bottom:3px solid #ddd8ce;} +.demo-methods dt .self{cursor:pointer;} +.demo-methods dt .self:hover{color:#222} +.demo-methods dt .code{position:absolute;right:0;bottom:18px;color:#777;} +.demo-methods dt .code .self:hover{color:#444} +.demo-methods dd{position:relative;display:none;margin:0;background:#fff;border:3px solid #ddd8ce;border-top:none;} +.demo-methods dd:before{content:'';position:absolute;top:-13px;left:0;width:0;height:0;border:5px solid transparent;border-bottom-color:#ddd8ce;border-left-color:#ddd8ce} +.demo-methods dd .markup{margin:0;color:#888;background:#f5f3ef;border:none;} +.demo-methods dd .markup .comment{color:#aaa} +.demo-callbacks{position:absolute;top:0;right:0;bottom:0;width:300px;color:#aaa;background:#232323;border:3px solid #ddd8ce;} +.demo-callbacks h2{color:#fff;background:#6a5a8c} +.demo-callbacks ul{position:absolute;top:60px;width:100%;bottom:0;overflow:auto;} +.demo-callbacks ul::-webkit-scrollbar{width:10px;background:none;} +.demo-callbacks ul::-webkit-scrollbar-track{background:none;border:none;} +.demo-callbacks ul::-webkit-scrollbar-track-piece:disabled{display:none !important;} +.demo-callbacks ul::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25);border:none;} +.demo-callbacks ul::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.3);} +.demo-callbacks ul li{margin-top:-1px;padding:13px 20px 15px;border-top:1px solid #2e2e2e;} +.demo-callbacks ul li span{color:#888} +.skins{position:relative;*zoom:1;} +.skins h2{position:absolute;top:-38px;right:0;left:0;font-size:24px;text-align:center} +.arrows{position:absolute;top:3px;left:-60px;width:60px;overflow:hidden;} +.arrows .top,.arrows .bottom{position:relative;left:60px;width:60px;height:60px;cursor:pointer;-webkit-transition:left .3s,background-color .2s;-moz-transition:left .3s,background-color .2s;-ms-transition:left .3s,background-color .2s;-o-transition:left .3s,background-color .2s;transition:left .3s,background-color .2s} +.arrows .top{background:#83b3be url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAALCAYAAACZIGYHAAAAdklEQVR4Xo3MuwmFQBiE0b0FmAuutnRBsAARLMTYRzvWItiEYLq/s6CYyMwGXzTDcWbG8mhEf/ZjQIV2ZCigjiASMAVJIAVKAQ4FKWBDJVoYpAB/7z8GRaAQgBNQG8dZA28f0BmHBgUCKGh9hhpNKH8BWY8GlF2OH3hCC1zmdAAAAABJRU5ErkJggg==") 50% no-repeat;*background-image:url("ie/arrow-top.png");} +.arrows .top:hover{background-color:#6ba4b1} +.arrows .bottom{background:#e2b78d url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAALCAYAAACZIGYHAAAAf0lEQVR4Xo3MzQmEQBCE0TGAvQuOpiQIBiCCgXj2J52NRTAJwev0Vh+WOgjlNHyHguYFM/M6tKLSd2YTmtHHR48S8jtQzAB2430d2bgJvQLsdqRCZwZUPAFLaPjrjYAUMKLgwBtUK4CIhi4BEFGQBohISANEJKQBIqqIFtSqvx/0bXhCCUrgiAAAAABJRU5ErkJggg==") 50% no-repeat;*background-image:url("ie/arrow-bottom.png");} +.arrows .bottom:hover{background-color:#dba571} +@media screen and (max-width:1049px){.arrows,.fork-me{display:none} +}.skin{position:relative;margin-bottom:40px;} +.skin:hover .arrows .top,.skin:hover .arrows .bottom{left:0} +.skin h3{position:relative;z-index:20;float:left;height:60px;padding:0 57px;line-height:58px;background:#fff;border:3px solid #ddd8ce;border-bottom:none;} +.skin h3:before{content:'';position:absolute;top:100%;left:0;width:100%;height:2px;margin-top:-1px;background:#fff} +.skin.skin-polaris h3{color:#cacdd1;background:#2c323c;} +.skin.skin-polaris h3:before{background:#2c323c} +.skin.skin-futurico h3{color:#c3c3c3;background:#2e3035;} +.skin.skin-futurico h3:before{background:#2e3035} +.skin dl{z-index:10;width:100%;margin:0} +.skin dt{position:relative;top:-53px;right:-3px;float:right;height:47px;margin-right:-3px;padding:0 57px;line-height:47px;border:3px solid #ddd8ce;cursor:pointer;} +.skin dt:hover{background:#f0ede7;border-bottom:3px solid #ddd8ce} +.skin dt.selected{height:50px;background:#fff;border-bottom:none;cursor:default;} +.skin dt.selected:before{content:'';position:absolute;top:100%;left:0;width:100%;height:2px;margin-top:-1px;background:#fff} +.skin.skin-polaris dt{color:#cacdd1;background:#647083;} +.skin.skin-polaris dt:hover{background:#4a5361} +.skin.skin-polaris dt.selected{background:#2c323c;} +.skin.skin-polaris dt.selected:before{background:#2c323c} +.skin.skin-futurico dt{color:#c3c3c3;background:#676c77;} +.skin.skin-futurico dt:hover{background:#4b4e56} +.skin.skin-futurico dt.selected{background:#2e3035;} +.skin.skin-futurico dt.selected:before{background:#2e3035} +.skin dd{position:relative;display:none;float:left;width:100%;margin:-3px -100% 0 0;overflow:hidden;color:#444;background:#fff;border:3px solid #ddd8ce;} +.skin dd.selected{display:block} +.skin dd a{color:#444;} +.skin dd a:hover{color:#111} +.skin.skin-polaris dd{color:#7a828b;background:#2c323c;} +.skin.skin-polaris dd a{color:#7a828b;border-bottom-color:#4e596b;} +.skin.skin-polaris dd a:hover{color:#a2a7ae} +.skin.skin-futurico dd{color:#888;background:#2e3035;} +.skin.skin-futurico dd a{color:#888;border-bottom-color:#545861;} +.skin.skin-futurico dd a:hover{color:#aaa} +.skin-section{float:left;padding:42px 0 31px 57px;line-height:18px;} +.skin-section h4{padding-bottom:18px;} +.skin-polaris .skin-section h4{color:#959ba2} +.skin-futurico .skin-section h4{color:#a0a0a0} +.skin-section .list{float:left;padding-right:60px;} +.skin-section .list li{position:relative;padding-bottom:15px} +.skin-minimal .skin-section .list li{padding-left:38px} +.skin-square .skin-section .list li{padding-left:42px} +.skin-flat .skin-section .list li,.skin-line .skin-section label{padding-left:40px} +.skin-line .skin-section h4{padding-bottom:24px} +.skin-line .skin-section .list{padding-right:40px;} +.skin-line .skin-section .list li{padding-bottom:10px} +.skin-polaris .skin-section .list li{padding-left:37px} +.skin-futurico .skin-section .list li{padding-left:36px} +.icheckbox_minimal,.icheckbox_minimal-red,.icheckbox_minimal-green,.icheckbox_minimal-blue,.icheckbox_minimal-aero,.icheckbox_minimal-grey,.icheckbox_minimal-orange,.icheckbox_minimal-yellow,.icheckbox_minimal-pink,.icheckbox_minimal-purple,.iradio_minimal,.iradio_minimal-red,.iradio_minimal-green,.iradio_minimal-blue,.iradio_minimal-aero,.iradio_minimal-grey,.iradio_minimal-orange,.iradio_minimal-yellow,.iradio_minimal-pink,.iradio_minimal-purple{position:absolute;top:1px;left:0} +.skin input[type=checkbox],.skin input[type=radio]{position:absolute;top:2px;left:0} +.icheckbox_square,.icheckbox_square-red,.icheckbox_square-green,.icheckbox_square-blue,.icheckbox_square-aero,.icheckbox_square-grey,.icheckbox_square-orange,.icheckbox_square-yellow,.icheckbox_square-pink,.icheckbox_square-purple,.iradio_square,.iradio_square-red,.iradio_square-green,.iradio_square-blue,.iradio_square-aero,.iradio_square-grey,.iradio_square-orange,.iradio_square-yellow,.iradio_square-pink,.iradio_square-purple{position:absolute;top:-1px;left:0} +.icheckbox_flat,.icheckbox_flat-red,.icheckbox_flat-green,.icheckbox_flat-blue,.icheckbox_flat-aero,.icheckbox_flat-grey,.icheckbox_flat-orange,.icheckbox_flat-yellow,.icheckbox_flat-pink,.icheckbox_flat-purple,.iradio_flat,.iradio_flat-red,.iradio_flat-green,.iradio_flat-blue,.iradio_flat-aero,.iradio_flat-grey,.iradio_flat-orange,.iradio_flat-yellow,.iradio_flat-pink,.iradio_flat-purple{position:absolute;top:0;left:0} +.icheckbox_polaris,.iradio_polaris{position:absolute;top:-4px;left:-6px} +.icheckbox_futurico,.iradio_futurico{position:absolute;top:2px;left:0} +.skin-states{float:right;padding-right:57px;padding-left:0;} +.skin-states .state{cursor:default !important} +.skin-states .list{padding-right:0} +.skin-minimal .skin-states .list li{padding-left:71px} +.skin-square .skin-states .list li{padding-left:79px} +.skin-flat .skin-states .list li{padding-left:75px} +.skin-line .skin-states .list{padding-right:0} +.skin-polaris .skin-states .list li{padding-left:69px} +.skin-futurico .skin-states .list li{padding-left:67px} +.skin-states .iradio_minimal,.skin-states .iradio_minimal-red,.skin-states .iradio_minimal-green,.skin-states .iradio_minimal-blue,.skin-states .iradio_minimal-aero,.skin-states .iradio_minimal-grey,.skin-states .iradio_minimal-orange,.skin-states .iradio_minimal-yellow,.skin-states .iradio_minimal-pink,.skin-states .iradio_minimal-purple{left:33px} +.skin-states .iradio_square,.skin-states .iradio_square-red,.skin-states .iradio_square-green,.skin-states .iradio_square-blue,.skin-states .iradio_square-aero,.skin-states .iradio_square-grey,.skin-states .iradio_square-orange,.skin-states .iradio_square-yellow,.skin-states .iradio_square-pink,.skin-states .iradio_square-purple{left:37px} +.skin-states .iradio_flat,.skin-states .iradio_flat-red,.skin-states .iradio_flat-green,.skin-states .iradio_flat-blue,.skin-states .iradio_flat-aero,.skin-states .iradio_flat-grey,.skin-states .iradio_flat-orange,.skin-states .iradio_flat-yellow,.skin-states .iradio_flat-pink,.skin-states .iradio_flat-purple{left:35px} +.skin-states .iradio_polaris{left:26px} +.skin-states .iradio_futurico{left:31px} +.colors{clear:both;padding:24px 0 9px;} +.skin-line .colors{padding-top:28px} +.colors strong{float:left;line-height:20px;margin-right:20px} +.colors li{position:relative;float:left;width:16px;height:16px;margin:2px 1px 0 0;background:#000;cursor:pointer;filter:alpha(opacity=50);opacity:.5;-webkit-transition:opacity .2s;-moz-transition:opacity .2s;-ms-transition:opacity .2s;-o-transition:opacity .2s;transition:opacity .2s;} +.colors li:hover{filter:alpha(opacity=100);opacity:1} +.colors li.active{height:20px;margin-top:0;filter:alpha(opacity=75);opacity:.75} +.colors li.red{background:#d54e21} +.colors li.green{background:#78a300} +.colors li.blue{background:#0e76a8} +.colors li.aero{background:#9cc2cb} +.colors li.grey{background:#73716e} +.colors li.orange{background:#f70} +.colors li.yellow{background:#fc0} +.colors li.pink{background:#ff66b5} +.colors li.purple{background:#6a5a8c} +.skin-square .colors li.red{background:#e56c69} +.skin-square .colors li.green{background:#1b7e5a} +.skin-square .colors li.blue{background:#2489c5} +.skin-square .colors li.aero{background:#9cc2cb} +.skin-square .colors li.grey{background:#73716e} +.skin-square .colors li.yellow{background:#fc3} +.skin-square .colors li.pink{background:#a77a94} +.skin-square .colors li.purple{background:#6a5a8c} +.skin-square .colors li.orange{background:#f70} +.skin-flat .colors li.red{background:#ec7063} +.skin-flat .colors li.green{background:#1abc9c} +.skin-flat .colors li.blue{background:#3498db} +.skin-flat .colors li.grey{background:#95a5a6} +.skin-flat .colors li.orange{background:#f39c12} +.skin-flat .colors li.yellow{background:#f1c40f} +.skin-flat .colors li.pink{background:#af7ac5} +.skin-flat .colors li.purple{background:#8677a7} +.skin-line .colors li.yellow{background:#ffc414} +.skins-info{padding:13px 0 57px;font-size:16px;line-height:22px;text-align:center;} +.skins-info p{margin-bottom:17px} +.skins-info .skins-banner{margin:34px 0 3px;} +.skins-info .skins-banner a{display:block;width:728px;height:90px;margin:0 auto;overflow:hidden;text-indent:100%;white-space:nowrap;background:url(banner.jpg);-webkit-transition:opacity 0.4s ease;-moz-transition:opacity 0.4s ease;-o-transition:opacity 0.4s ease;transition:opacity 0.4s ease;border:none;} +.skins-info .skins-banner a:hover{opacity:.8;} +.skin-pre{padding:43px 60px 0} +.skin-usage{padding:19px 60px 8px;list-style:decimal outside;} +.skin-usage li{margin-bottom:23px} +.skin-usage .schemes{margin-bottom:-3px;padding:13px 0 0 20px;color:#888;} +.skin-usage .schemes ul{float:left;padding-right:60px} +.skin-usage .schemes li{margin:0;padding-bottom:3px} +.usage{position:relative;margin-bottom:80px;background:#fff;} +.usage a{border-bottom-color:#ddd} +.usage .self{border-bottom-color:#bbb} +.usage .arrows{top:0} +.usage:hover .arrows .top,.usage:hover .arrows .bottom{left:0} +.usage h2{color:#fff;background:#1f7f5c} +.usage h4{margin:26px 0 10px;} +.usage h4.indeterminate{margin-top:28px} +.usage p{margin-bottom:5px;} +.usage p.offset{margin-top:10px} +.usage p.callbacks-info{margin-bottom:19px} +.usage p.methods-info{margin-bottom:10px} +.usage p.methods-callback{margin-top:10px} +.usage p.issue-tracker{margin-top:31px} +.usage .markup{margin:9px 0 16px} +.usage .usage-inner{font-size:15px;line-height:23px;padding:41px 60px 39px} +.markup{margin:10px 0 18px;padding:8px 0 9px 17px;font:14px/20px 'MontserratRegular',Helvetica,Arial,sans-serif;color:#777;background:#e7e5e0;border-left:3px solid #d7d5cb;} +.markup .comment{color:#999;} +.markup .comment .self{color:#555;} +.markup .comment .self:hover{color:#333} +.skin-polaris .markup{background:#232830;border-left-color:#1f232a} +.skin-futurico .markup{background:#25262a;border-left-color:#202225} +.skin-polaris .markup .comment,.skin-futurico .markup .comment{color:#555} +.browsers{margin-bottom:74px;} +.browsers h2{margin-bottom:29px;font-size:24px} +.browsers-inner{padding:0 60px;font-size:15px;line-height:23px;} +.browsers-inner p{margin-bottom:15px} +.benefits{position:relative;margin-bottom:59px;color:#888;background:#232323;} +.benefits .arrows{top:0} +.benefits:hover .arrows .top,.benefits:hover .arrows .bottom{left:0} +.benefits h2{color:#fff;background:#6a5b8c} +.benefits a{color:#888;border-bottom-color:#444;} +.benefits a:hover{color:#aaa} +.benefits .mark{color:#777;background:#393939} +.benefits-inner{padding:41px 60px 29px;font-size:15px;line-height:23px;} +.benefits-inner p{margin-bottom:15px} +.benefits-inner ul{margin:-10px 0 15px} +.download{height:63px;text-align:center;} +.download a{display:block;height:60px;font-size:18px;line-height:58px;color:#fff;border-bottom:0 solid #e24f49;background:#e76b66;-webkit-transition:border-bottom .2s;-moz-transition:border-bottom .2s;-ms-transition:border-bottom .2s;-o-transition:border-bottom .2s;transition:border-bottom .2s;} +.download a:before{content:'';display:inline-block;width:26px;height:26px;margin-right:12px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAACYUlEQVR4Xr3VPWhTURjH4VOt0ES7ZRJbEJpsNsaimx9E0GpRCdgU/NhsRAdNBYcK0RirQcSkIIK2cRBRiragVayDhqBDLVWatFvsIKK2UMEp4KBcf8N/KNdwvcHWAw8c/rzvebk5yU2dZVnmf6wVNdb70Ca+5Rrkx0e8E/ZkyzCoAyuxBZu17/jXQV34jjwCytowjUk90Ywyo5q8errcDoriPgpoRhEj6MQrGHmpbARF1RbUG3Uz6Bae4iBacQNNSKEPRi4pa1JNq3pGcds+qNrXu4B1CKKCWtZqlPAZO/72RDGsRdKWh5ATIdOSpHpjbu6ojBfYBiPdOIQeHJMeZd0wsh1jKDsNakEc97AHo8o3IYCz2I1nGMYuZQHVGPXs1RlxtNgH+TCFtBpvIqua40ghqkGdOIp27VOqMcigX8PTKIKzWXwZDDbAQhDG5o6yx2iAkQY80T4HYxOEpbP/uCOnN+wq1Nlq6x3qrWp3NIcKJvAWV+FVzU804i6uwyNZZY34BaOeyzpjQmfOLR70DSGcwyxOIa7mAZzHQ+QxLHllCdUYnMYZzOqsjeBsPbp8QFZ7Lw7gCt4jhGu4qCEGa5SVVWPUM4Yjbn5HfrTjNYzk8AAZ5CSjbBBG3qjXr0CqX+YAviJpy6cQg9NKIoJBN6+gIGbwA16kMY5eeGDEo2xcNV71TCPo5qM7iX14hJIueB4XkICRhLJ51ZTUsx8n3AwawmGE8QUhRDR4J4yElUUQUm1YvUPOfxPO4khj66KL70W/m+Z6uF3P0YdJBRVlZqkHlbEezQo+YWHJB8mC1Lx+Ayeq7nRIoewwAAAAAElFTkSuQmCC");*background-image:url("ie/icon-options.png");vertical-align:middle} +.download a:hover{border-bottom-width:3px} +.license{color:#444;text-align:center;padding:30px 0 75px} +.footer{padding-top:28px;height:60px;color:#666;background:#e2dfd8;} +.footer ul{float:left;} +.footer ul li{float:left;padding:2px 10px 0 0} +.footer ul.local li{padding:0 30px 0 0} +.footer .code{float:right} +.footer a{color:#444;} +.footer a:hover{color:#222} +.footer-inner{width:930px;margin:0 auto;overflow:hidden} +.fork-me{position:fixed;*position:absolute;top:0;right:0;width:40px;height:40px;overflow:hidden;text-indent:100%;white-space:nowrap;background:#28545b url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAnElEQVR4XqVSgQmEMAyszw/gCI7wK7iBblBHcISfxG6gG/gjuIGO0A3ygaYQCCG2HhweF+6aShsAcDcBJBpuvlwFagqGJwUf5EL6kgV2eEe2yIgc9QI73CMPs8AOywI7nHDSzCxYxcnJ6+hrFnQkJrb2nGclP3Fj+vf0IUV1AgCZHiS86lOObxD4qqSD5mtXmAq1e2fB3vqXact3f/JmXumJlVq1AAAAAElFTkSuQmCC") 50% no-repeat;*background-image:url("ie/icon-fork.png");} +.fork-me:hover{background-color:#1f7f5c} +.skin dt,.fork-me{-webkit-transition:background-color .2s;-moz-transition:background-color .2s;-ms-transition:background-color .2s;-o-transition:background-color .2s;transition:background-color .2s} + \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/custom.styl b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/custom.styl new file mode 100644 index 00000000..7f66121a --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/custom.styl @@ -0,0 +1,1191 @@ +/* Reset +----------------------------------- */ +@import url("normalize.css") + + +/* Fonts +----------------------------------- */ +$font = 'MontserratRegular' +$fontBold = 'MontserratBold' +$stack = $font, Helvetica, Arial, sans-serif +$stackBold = $fontBold, Helvetica, Arial, sans-serif + +@font-face + font-family $font + src url('./montserrat-regular.eot') + src url('./montserrat-regular.eot?#iefix') format('embedded-opentype'), + url('./montserrat-regular.woff') format('woff'), + url('./montserrat-regular.ttf') format('truetype'), + url('./montserrat-regular.svg#' + $font + '') format('svg') + font-style normal + font-weight normal + +@font-face + font-family $fontBold + src url('./montserrat-bold.eot') + src url('./montserrat-bold.eot?#iefix') format('embedded-opentype'), + url('./montserrat-bold.woff') format('woff'), + url('./montserrat-bold.ttf') format('truetype'), + url('./montserrat-bold.svg#' + $fontBold + '') format('svg') + font-style normal + font-weight bold + + +/* Demo +----------------------------------- */ +html +body + height 100% + +body + font 14px/20px $stack + color #222 + background #ebe7df url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAFZCAIAAAA96mnzAAACKklEQVR4Xn2VUW7kMAxD+QLf/1x7gv71LNwdKTLhZFtggMCwSVEUPdb3159/v0uSrM8HtGRZuoQk1R69J12o9ixJWvSnVyfLdbNw0XAXWe1fIL8BoqmNGiV/cHc9Gq4NXxLKHhteRyLpA28cl0SLdx0BckSWL4gkPlIVTg1nN9Ys3iyWI5AGDA5xOXB5BJaWmOw6KSLeU6+0P50QshQyEL2im/YMIL60dTSZ3RXenlkiJpMj8XPMAl1FtjMRW19NxzOE5VGWPVGrc7aSJgz1Y9ku57mpYSwn1h0ivFOXxoCKMCXiahbbZNIZR+tkphllPsomipCwb4GMkXTmPfVg40Jt2y4RQM/PqX5JTM4iiTN8Zz1XvbIAEEvoEW+3nxTLL3lB7t7J3WwyI7g5OVxKIeFEH4FIGLC9I+XqvSd4AxJM5O6WTPr54RAxLG44FVrEuz+kFdXyLiuX6kLPVLZL2ISlcHNlBIKm5rR8nEi9wJeA6Y8JZlJOyDiin0K5ag+AXHtALBicXasjIUu9h0STBbCMU+89gMnu/J05MU1QWqdbPMRPIZIzDgsi8Olg5t7wHhUg/pv5RUzO+BHDmczHkAfZWxlSYgNI5Ig5XRoc66dW9L45eHDkbkqCO7RLG5cna/HD7YhZnfINkFo8iNyj5kx6pFrxNGRlfhV2e1Zt5DnGU8T7Tud1ivi8jU8/3Zy88pkn6+zdXiJ7AVSFBZA3VcwDfXtt5UUHS38B35hQVuJip4MAAAAASUVORK5CYII=") repeat-x + *background-image url(ie/header-line.png) + +a + color #222 + text-decoration none + border-bottom 1px solid #bbb + + &:hover + color #000 + +a +.self + -webkit-transition color .1s + -moz-transition color .1s + -ms-transition color .1s + -o-transition color .1s + transition color .1s + +.self + color #333 + border-bottom 1px dotted #aaa + cursor pointer + + &:hover + color #000 + +strong + font-family $stackBold + font-weight 700 + +p + margin 0 0 8px + +label + cursor pointer + +h1 +h2 +h3 +h4 + margin 0 + font bold 20px/60px $stackBold + +h2 + height 60px + text-align center + text-transform uppercase + +h4 + font-size 18px + line-height 24px + +ul + margin 0 + padding 0 + list-style none + +table + width 100% + margin-bottom 21px + +th +td + padding 11px 20px 12px + vertical-align top + font-weight normal + text-align left + border-bottom 2px solid #E7E5E0 + + thead & + background lighten(#E7E5E0, 50%) + +th + white-space nowrap + +td + width 100% + +.focus + outline 1px dotted rgba(0,0,0,.5) !important + +.clear + position relative + *zoom 1 + + &:before + &:after + content '' + display table + clear both + +.layout + width 930px + margin 0 auto + padding 0 15px + +.header + padding 115px 0 73px + color #fff + text-align center + + h1 + strong + letter-spacing -1px + text-transform uppercase + + h1 + padding-bottom 23px + font-size 22px + line-height 28px + + h3 + position relative + padding 35px 0 17px + font-size 120px + line-height 140px + letter-spacing -5px + + &:before + content '' + display inline-block + width 72px + height 64px + margin-right 32px + vertical-align middle + background url(icheck.png) + + &:after + content '' + position absolute + top 0 + left 50% + width 100px + margin-left -50px + border-top 3px solid #fff + + strong + font 24px/30px $stack + + a + color #fff + border-bottom-color #fff + +.features + position relative + font-size 16px + color #555 + background #fff + + .self + color #555 + border-bottom-color #bbb + + &:hover + color #222 + + .arrows + top 0 + + &:hover .arrows .bottom + left 0 + + h2 + color #fff + background #2489c5 + + ul + padding 44px 60px 36px + + li + padding 0 0 9px 36px + background url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABI0lEQVR4XpXSP0vDUBjF4ZtLkIr4EYzduogdXJTWWV2FLMVNoQrdAhlUUFAEcejo1q13svgFBAUdxA/g30kcdQoIIlL9DWcKuZEeeOCl99w3gTSI49h4MoFb/KCJz6KShS/rOh/TbEZZECLBiSQIR1nQQgAnAVr/LZjEnIq76OJbutjRGR26isUB3pDhBikucWoUzVdI1cl05zBk2MI5jvCKIfL5QluzxTS20bY6WENdl0ujTl13Ni3DABtwWEFp1HG6M7Aq9NHBGRbgy7w6HfTzX6GHCyyXPV2dnu9/MIUX+PIMOkRsbq7hHkZmxciDOrZoQRUVPCGCw504RDobR7VoQQ0f2Mejls1IRb/t4R10CcLc6/2igSVcw8gqFnEMOnSVPxQqQaPw2y7fAAAAAElFTkSuQmCC") 0 1px no-repeat + *background-image url(ie/icon-star.png) + + &.offset + margin-top 20px + +.mark + padding 0 2px + color lighten(#555, 20%) + background lighten(#d7d4cc, 40%) + + .skin-polaris & + background darken(#2C323C, 20%) + + .skin-futurico & + background darken(#2E3035, 20%) + +.social + height 60px + margin-bottom 60px + padding 0 60px + font-size 16px + color #555 + background lighten(#EBE7DF, 50%) + + a + color #777 + border-bottom-color #ccc + + &:hover + color #444 + + .left + float left + padding-top 19px + + li + float left + padding-right 30px + + a + position relative + + .right + float right + padding-top 20px + + li + float right + padding-left 10px + + &.local + padding-top 19px + + li + padding-left 30px + font-size 14px + +.demo-holder + margin-bottom 97px + +.demo-title + padding-bottom 36px + font-size 26px + letter-spacing -1px + +.demo + position relative + + &:hover .arrows .top + &:hover .arrows .bottom + left 0 + +.demo-list + position relative + margin-right 360px + padding 33px 57px 17px + color #555 + background #fff + border 3px solid #ddd8ce + + ul + float right + white-space nowrap + + &:first-child + float left + + li + position relative + padding 0 0 18px 42px + + input + position absolute + top 4px + left 0 + + .icheckbox_square-blue + .iradio_square-blue + position absolute + top -1px + left 0 + + span + color #bbb + +.demo-methods + padding 21px 360px 0 0 + + .mark + background darken(#e7e5e0, 10%) + + dt + position relative + padding 17px 150px 18px 0 + font 16px/24px $stack + color #444 + border-bottom 3px solid #ddd8ce + + .self + cursor pointer + + &:hover + color #222 + + .code + position absolute + right 0 + bottom 18px + color #777 + + .self:hover + color #444 + + dd + position relative + display none + margin 0 + background #fff + border 3px solid #ddd8ce + border-top none + + &:before + content '' + position absolute + top -13px + left 0 + width 0 + height 0 + border 5px solid transparent + border-bottom-color #ddd8ce + border-left-color #ddd8ce + + .markup + margin 0 + color #888 + background lighten(#ebe7df, 50%) + border none + + .comment + color #aaa + +.demo-callbacks + position absolute + top 0 + right 0 + bottom 0 + width 300px + color #aaa + background #232323 + border 3px solid #ddd8ce + + h2 + color #fff + background #6a5a8c + + ul + position absolute + top 60px + width 100% + bottom 0 + overflow auto + + li + margin-top -1px + padding 13px 20px 15px + border-top 1px solid #2e2e2e + + span + color #888 + +.skins + position relative + *zoom 1 + + h2 + position absolute + top -38px + right 0 + left 0 + font-size 24px + text-align center + +.arrows + position absolute + top 3px + left -60px + width 60px + overflow hidden + + .top + .bottom + position relative + left 60px + width 60px + height 60px + cursor pointer + -webkit-transition left .3s, background-color .2s + -moz-transition left .3s, background-color .2s + -ms-transition left .3s, background-color .2s + -o-transition left .3s, background-color .2s + transition left .3s, background-color .2s + + .top + background lighten(#5a9aa8, 25%) url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAALCAYAAACZIGYHAAAAdklEQVR4Xo3MuwmFQBiE0b0FmAuutnRBsAARLMTYRzvWItiEYLq/s6CYyMwGXzTDcWbG8mhEf/ZjQIV2ZCigjiASMAVJIAVKAQ4FKWBDJVoYpAB/7z8GRaAQgBNQG8dZA28f0BmHBgUCKGh9hhpNKH8BWY8GlF2OH3hCC1zmdAAAAABJRU5ErkJggg==") 50% no-repeat + *background-image url(ie/arrow-top.png) + + &:hover + background-color lighten(#5a9aa8, 10%) + + .bottom + background lighten(#dba571, 20%) url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAALCAYAAACZIGYHAAAAf0lEQVR4Xo3MzQmEQBCE0TGAvQuOpiQIBiCCgXj2J52NRTAJwev0Vh+WOgjlNHyHguYFM/M6tKLSd2YTmtHHR48S8jtQzAB2430d2bgJvQLsdqRCZwZUPAFLaPjrjYAUMKLgwBtUK4CIhi4BEFGQBohISANEJKQBIqqIFtSqvx/0bXhCCUrgiAAAAABJRU5ErkJggg==") 50% no-repeat + *background-image url(ie/arrow-bottom.png) + + &:hover + background-color #dba571 + +@media screen and (max-width:1049px) + .arrows + .fork-me + display none + +.skin + position relative + margin-bottom 40px + + &:hover .arrows .top + &:hover .arrows .bottom + left 0 + + h3 + position relative + z-index 20 + float left + height 60px + padding 0 57px + line-height 58px + background #fff + border 3px solid #ddd8ce + border-bottom none + + &:before + content '' + position absolute + top 100% + left 0 + width 100% + height 2px + margin-top -1px + background #fff + + &.skin-polaris h3 + color lighten(#7a828b, 60%) + background #2c323c + + &:before + background #2c323c + + &.skin-futurico h3 + color lighten(#888, 50%) + background #2e3035 + + &:before + background #2e3035 + + dl + z-index 10 + width 100% + margin 0 + + dt + position relative + top -53px + right -3px + float right + height 47px + margin-right -3px + padding 0 57px + line-height 47px + border 3px solid #ddd8ce + cursor pointer + + &:hover + background #f0ede7 + border-bottom 3px solid #ddd8ce + + &.selected + height 50px + background #fff + border-bottom none + cursor default + + &:before + content '' + position absolute + top 100% + left 0 + width 100% + height 2px + margin-top -1px + background #fff + + &.skin-polaris dt + color lighten(#7a828b, 60%) + background lighten(#30363f, 30%) + + &:hover + background lighten(#30363f, 15%) + + &.selected + background #2c323c + + &:before + background #2c323c + + &.skin-futurico dt + color lighten(#888, 50%) + background lighten(#2e3035, 30%) + + &:hover + background lighten(#2e3035, 15%) + + &.selected + background #2e3035 + + &:before + background #2e3035 + + dd + position relative + display none + float left + width 100% + margin -3px -100% 0 0 + overflow hidden + color #444 + background #fff + border 3px solid #ddd8ce + + &.selected + display block + + a + color #444 + + &:hover + color #111 + + &.skin-polaris dd + color #7a828b + background #2c323c + + a + color #7a828b + border-bottom-color lighten(#2c323c, 20%) + + &:hover + color lighten(#7a828b, 30%) + + &.skin-futurico dd + color #888 + background #2e3035 + + a + color #888 + border-bottom-color lighten(#2e3035, 20%) + + &:hover + color #aaa + +.skin-section + float left + padding 42px 0 31px 57px + line-height 18px + + h4 + padding-bottom 18px + + .skin-polaris & + color lighten(#7a828b, 20%) + + .skin-futurico & + color lighten(#888, 20%) + + .list + float left + padding-right 60px + + li + position relative + padding-bottom 15px + + .skin-minimal & .list li + padding-left 38px + + .skin-square & .list li + padding-left 42px + + .skin-flat & .list li + .skin-line & label + padding-left 40px + + .skin-line & h4 + padding-bottom 24px + + .skin-line & .list + padding-right 40px + + li + padding-bottom 10px + + .skin-polaris & .list li + padding-left 37px + + .skin-futurico & .list li + padding-left 36px + +.icheckbox_minimal +.icheckbox_minimal-red +.icheckbox_minimal-green +.icheckbox_minimal-blue +.icheckbox_minimal-aero +.icheckbox_minimal-grey +.icheckbox_minimal-orange +.icheckbox_minimal-yellow +.icheckbox_minimal-pink +.icheckbox_minimal-purple +.iradio_minimal +.iradio_minimal-red +.iradio_minimal-green +.iradio_minimal-blue +.iradio_minimal-aero +.iradio_minimal-grey +.iradio_minimal-orange +.iradio_minimal-yellow +.iradio_minimal-pink +.iradio_minimal-purple + position absolute + top 1px + left 0 + +.skin input[type=checkbox] +.skin input[type=radio] + position absolute + top 2px + left 0 + +.icheckbox_square +.icheckbox_square-red +.icheckbox_square-green +.icheckbox_square-blue +.icheckbox_square-aero +.icheckbox_square-grey +.icheckbox_square-orange +.icheckbox_square-yellow +.icheckbox_square-pink +.icheckbox_square-purple +.iradio_square +.iradio_square-red +.iradio_square-green +.iradio_square-blue +.iradio_square-aero +.iradio_square-grey +.iradio_square-orange +.iradio_square-yellow +.iradio_square-pink +.iradio_square-purple + position absolute + top -1px + left 0 + +.icheckbox_flat +.icheckbox_flat-red +.icheckbox_flat-green +.icheckbox_flat-blue +.icheckbox_flat-aero +.icheckbox_flat-grey +.icheckbox_flat-orange +.icheckbox_flat-yellow +.icheckbox_flat-pink +.icheckbox_flat-purple +.iradio_flat +.iradio_flat-red +.iradio_flat-green +.iradio_flat-blue +.iradio_flat-aero +.iradio_flat-grey +.iradio_flat-orange +.iradio_flat-yellow +.iradio_flat-pink +.iradio_flat-purple + position absolute + top 0 + left 0 + +.icheckbox_polaris +.iradio_polaris + position absolute + top -4px + left -6px + +.icheckbox_futurico +.iradio_futurico + position absolute + top 2px + left 0 + +.skin-states + float right + padding-right 57px + padding-left 0 + + .state + cursor default !important + + .list + padding-right 0 + + .skin-minimal & .list li + padding-left 71px + + .skin-square & .list li + padding-left 79px + + .skin-flat & .list li + padding-left 75px + + .skin-line & .list + padding-right 0 + + .skin-polaris & .list li + padding-left 69px + + .skin-futurico & .list li + padding-left 67px + + .iradio_minimal + .iradio_minimal-red + .iradio_minimal-green + .iradio_minimal-blue + .iradio_minimal-aero + .iradio_minimal-grey + .iradio_minimal-orange + .iradio_minimal-yellow + .iradio_minimal-pink + .iradio_minimal-purple + left 33px + + .iradio_square + .iradio_square-red + .iradio_square-green + .iradio_square-blue + .iradio_square-aero + .iradio_square-grey + .iradio_square-orange + .iradio_square-yellow + .iradio_square-pink + .iradio_square-purple + left 37px + + .iradio_flat + .iradio_flat-red + .iradio_flat-green + .iradio_flat-blue + .iradio_flat-aero + .iradio_flat-grey + .iradio_flat-orange + .iradio_flat-yellow + .iradio_flat-pink + .iradio_flat-purple + left 35px + + .iradio_polaris + left 26px + + .iradio_futurico + left 31px + +.colors + clear both + padding 24px 0 9px + + .skin-line & + padding-top 28px + + strong + float left + line-height 20px + margin-right 20px + + li + position relative + float left + width 16px + height 16px + margin 2px 1px 0 0 + background #000 + cursor pointer + filter unquote('alpha(opacity=50)') + opacity .5 + -webkit-transition opacity .2s + -moz-transition opacity .2s + -ms-transition opacity .2s + -o-transition opacity .2s + transition opacity .2s + + &:hover + filter unquote('alpha(opacity=100)') + opacity 1 + + &.active + height 20px + margin-top 0 + filter unquote('alpha(opacity=75)') + opacity .75 + + &.red + background #d54e21 + + &.green + background #78a300 + + &.blue + background #0e76a8 + + &.aero + background #9cc2cb + + &.grey + background #73716e + + &.orange + background #f70 + + &.yellow + background #fc0 + + &.pink + background #ff66b5 + + &.purple + background #6a5a8c + + .skin-square &.red + background #e56c69 + + .skin-square &.green + background #1b7e5a + + .skin-square &.blue + background #2489c5 + + .skin-square &.aero + background #9cc2cb + + .skin-square &.grey + background #73716e + + .skin-square &.yellow + background #fc3 + + .skin-square &.pink + background #a77a94 + + .skin-square &.purple + background #6a5a8c + + .skin-square &.orange + background #f70 + + .skin-flat &.red + background #ec7063 + + .skin-flat &.green + background #1abc9c + + .skin-flat &.blue + background #3498db + + .skin-flat &.grey + background #95a5a6 + + .skin-flat &.orange + background #f39c12 + + .skin-flat &.yellow + background #f1c40f + + .skin-flat &.pink + background #af7ac5 + + .skin-flat &.purple + background #8677a7 + + .skin-line &.yellow + background #FFC414 + +.skins-info + padding 13px 0 57px + font-size 16px + line-height 22px + text-align center + + p + margin-bottom 17px + +.skin-pre + padding 43px 60px 0 + +.skin-usage + padding 19px 60px 8px + list-style decimal outside + + li + margin-bottom 23px + + .schemes + margin-bottom -3px + padding 13px 0 0 20px + color #888 + + ul + float left + padding-right 60px + + li + margin 0 + padding-bottom 3px + +.usage + position relative + margin-bottom 80px + background #fff + + a + border-bottom-color #ddd + + .self + border-bottom-color #bbb + + .arrows + top 0 + + &:hover .arrows .top + &:hover .arrows .bottom + left 0 + + h2 + color #fff + background #1f7f5c + + h4 + margin 26px 0 10px + + &.indeterminate + margin-top 28px + + p + margin-bottom 5px + + &.offset + margin-top 10px + + &.callbacks-info + margin-bottom 19px + + &.methods-info + margin-bottom 10px + + &.methods-callback + margin-top 10px + + &.issue-tracker + margin-top 31px + + .markup + margin 9px 0 16px + + .usage-inner + font-size 15px + line-height 23px + padding 41px 60px 39px + +.markup + margin 10px 0 18px + padding 8px 0 9px 17px + font 14px/20px $stack + color lighten(#555, 20%) + background lighten(#d7d4cc, 40%) + border-left 3px solid darken(#ebeae5, 10%) + + .comment + color lighten(#555, 40%) + + .self + color #555 + + &:hover + color #333 + + .skin-polaris & + background darken(#2C323C, 20%) + border-left-color darken(#2C323C, 30%) + + .skin-futurico & + background darken(#2E3035, 20%) + border-left-color darken(#2E3035, 30%) + + .skin-polaris & + .skin-futurico & + + .comment + color #555 + +.browsers + margin-bottom 74px + + h2 + margin-bottom 29px + font-size 24px + +.browsers-inner + padding 0 60px + font-size 15px + line-height 23px + + p + margin-bottom 15px + +.benefits + position relative + margin-bottom 59px + color #888 + background #232323 + + .arrows + top 0 + + &:hover .arrows .top + &:hover .arrows .bottom + left 0 + + h2 + color #fff + background #6a5b8c + + a + color #888 + border-bottom-color #444 + + &:hover + color #aaa + + .mark + color #777 + background lighten(#232323, 10%) + +.benefits-inner + padding 41px 60px 29px + font-size 15px + line-height 23px + + p + margin-bottom 15px + + ul + margin -10px 0 15px + +.download + height 63px + text-align center + + a + display block + height 60px + font-size 18px + line-height 58px + color #fff + border-bottom 0 solid darken(#E76B66, 10%) + background #E76B66 + -webkit-transition border-bottom .2s + -moz-transition border-bottom .2s + -ms-transition border-bottom .2s + -o-transition border-bottom .2s + transition border-bottom .2s + + &:before + content '' + display inline-block + width 26px + height 26px + margin-right 12px + background url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAACYUlEQVR4Xr3VPWhTURjH4VOt0ES7ZRJbEJpsNsaimx9E0GpRCdgU/NhsRAdNBYcK0RirQcSkIIK2cRBRiragVayDhqBDLVWatFvsIKK2UMEp4KBcf8N/KNdwvcHWAw8c/rzvebk5yU2dZVnmf6wVNdb70Ca+5Rrkx0e8E/ZkyzCoAyuxBZu17/jXQV34jjwCytowjUk90Ywyo5q8errcDoriPgpoRhEj6MQrGHmpbARF1RbUG3Uz6Bae4iBacQNNSKEPRi4pa1JNq3pGcds+qNrXu4B1CKKCWtZqlPAZO/72RDGsRdKWh5ATIdOSpHpjbu6ojBfYBiPdOIQeHJMeZd0wsh1jKDsNakEc97AHo8o3IYCz2I1nGMYuZQHVGPXs1RlxtNgH+TCFtBpvIqua40ghqkGdOIp27VOqMcigX8PTKIKzWXwZDDbAQhDG5o6yx2iAkQY80T4HYxOEpbP/uCOnN+wq1Nlq6x3qrWp3NIcKJvAWV+FVzU804i6uwyNZZY34BaOeyzpjQmfOLR70DSGcwyxOIa7mAZzHQ+QxLHllCdUYnMYZzOqsjeBsPbp8QFZ7Lw7gCt4jhGu4qCEGa5SVVWPUM4Yjbn5HfrTjNYzk8AAZ5CSjbBBG3qjXr0CqX+YAviJpy6cQg9NKIoJBN6+gIGbwA16kMY5eeGDEo2xcNV71TCPo5qM7iX14hJIueB4XkICRhLJ51ZTUsx8n3AwawmGE8QUhRDR4J4yElUUQUm1YvUPOfxPO4khj66KL70W/m+Z6uF3P0YdJBRVlZqkHlbEezQo+YWHJB8mC1Lx+Ayeq7nRIoewwAAAAAElFTkSuQmCC") + *background-image url(ie/icon-options.png) + vertical-align middle + + &:hover + border-bottom-width 3px + +.license + color #444 + text-align center + padding 30px 0 75px + +.footer + padding-top 28px + height 60px + color #666 + background #e2dfd8 + + ul + float left + + li + float left + padding 2px 10px 0 0 + + &.local li + padding 0 30px 0 0 + + .code + float right + + a + color #444 + + &:hover + color #222 + +.footer-inner + width 930px + margin 0 auto + overflow hidden + +.fork-me + position fixed + *position absolute + top 0 + right 0 + width 40px + height 40px + overflow hidden + text-indent 100% + white-space nowrap + background #28545b url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAnElEQVR4XqVSgQmEMAyszw/gCI7wK7iBblBHcISfxG6gG/gjuIGO0A3ygaYQCCG2HhweF+6aShsAcDcBJBpuvlwFagqGJwUf5EL6kgV2eEe2yIgc9QI73CMPs8AOywI7nHDSzCxYxcnJ6+hrFnQkJrb2nGclP3Fj+vf0IUV1AgCZHiS86lOObxD4qqSD5mtXmAq1e2fB3vqXact3f/JmXumJlVq1AAAAAElFTkSuQmCC") 50% no-repeat + *background-image url(ie/icon-fork.png) + + &:hover + background-color #1f7f5c + +.skin dt +.fork-me + -webkit-transition background-color .2s + -moz-transition background-color .2s + -ms-transition background-color .2s + -o-transition background-color .2s + transition background-color .2s \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/icheck.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/icheck.png new file mode 100644 index 00000000..497c5e66 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/icheck.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/arrow-bottom.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/arrow-bottom.png new file mode 100644 index 00000000..a815b3f6 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/arrow-bottom.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/arrow-top.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/arrow-top.png new file mode 100644 index 00000000..0836c0e3 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/arrow-top.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/header-line.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/header-line.png new file mode 100644 index 00000000..f6240feb Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/header-line.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-fork.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-fork.png new file mode 100644 index 00000000..2c3e3b9c Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-fork.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-github.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-github.png new file mode 100644 index 00000000..ed781862 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-github.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-lab.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-lab.png new file mode 100644 index 00000000..4d42726a Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-lab.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-options.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-options.png new file mode 100644 index 00000000..20cbb613 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-options.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-star.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-star.png new file mode 100644 index 00000000..a1c11692 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/ie/icon-star.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/montserrat-bold.eot b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/montserrat-bold.eot new file mode 100644 index 00000000..69ddb387 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/montserrat-bold.eot differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/montserrat-bold.svg b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/montserrat-bold.svg new file mode 100644 index 00000000..b7e99a4d --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/css/montserrat-bold.svg @@ -0,0 +1,1490 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -162 -186q96 -25 148.5 -95.5t52.5 -158.5q0 -137 -95 -217t-243.5 -80t-308.5 110l94 170q117 -88 219 -88q49 0 81 24.5t32 74t-44 75t-111.5 25.5t-119.5 -25v154l150 178h-250zM1491 537h186v-172h95v-164 h-95v-201h-186v201h-367v157l301 506h226l-299 -499h139v172z" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -88t-37 -90t-89 -38t-89 37z" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Checkboxes and radio buttons customization (jQuery and Zepto) plugin + + + + + + + + + +
    +
    +

    super customized checkboxes and radio buttons for jQuery & Zepto

    +

    iCheck v1.0.2

    + @Fronteed +
    +
    +
    +
    +
    +

    Plugin features

    +
      +
    • + Identical inputs across different browsers and devices — both desktop and mobile +
    • +
    • + Touch devices support — iOS, Android, BlackBerry, Windows Phone, Amazon Kindle +
    • +
    • + Keyboard accessible inputsTab, Spacebar, Arrow up/down and other shortcuts +
    • +
    • + Screenreader accessible inputsARIA attributes for VoiceOver and others +
    • +
    • + Customization freedom — use any HTML and CSS to style inputs (try 6 Retina-ready skins) +
    • +
    • + jQuery and Zepto JavaScript libraries support from single file +
    • +
    • + Lightweight size — 1 kb gzipped +
    • +
    • + 32 options to customize checkboxes and radio buttons +
    • +
    • + 11 callbacks to handle changes +
    • +
    • + 9 methods to make changes programmatically +
    • +
    • + Saves changes to original inputs, works carefully with any selectors +
    • +
    +
    + +
    +

    Demo

    +
    +
    +
    +
    +
    +
    +
      +
    • + + +
    • +
    • + + +
    • +
    +
      +
    • + + +
    • +
    • + + +
    • +
    + +
    +
    +
    + Add checked state to 1 and 3 inputs + + show code + +
    +
    +
    +$('#input-1, #input-3').iCheck('check');
    +
    +
    +
    + Remove checked state from 1 and 3 inputs + + show code + +
    +
    +
    +$('#input-1, #input-3').iCheck('uncheck');
    +
    +
    +
    + Add disabled state to 2 and 4 inputs + + show code + +
    +
    +
    +$('#input-2, #input-4').iCheck('disable');
    +
    +
    +
    + Remove disabled state from 2 and 4 inputs + + show code + +
    +
    +
    +$('#input-2, #input-4').iCheck('enable');
    +
    +
    +
    + Remove all traces of iCheck + + show code + +
    +
    +
    +$('input').iCheck('destroy');
    +
    +
    +
    +
    +

    Callbacks

    +
      +
      +
      +
      +
      +

      Skins

      +
      +
      +
      +
      +
      +

      Minimal skin

      +
      +
      +
      +

      Live

      +
        +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      +
        +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      +
      + Color schemes +
        +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      +
      +
      +
      +

      States

      +
        +
      • +
        +
        + Normal +
      • +
      • +
        +
        + Hover +
      • +
      • +
        +
        + Checked +
      • +
      • +
        +
        + Disabled +
      • +
      • +
        +
        + Disabled & checked +
      • +
      +
      + +
      +
      Demo
      +
      +
      +

      + Make sure jQuery v1.7+ (or Zepto [polyfill, event, data]) is loaded before the icheck.js. +

      +
      +
        +
      1. + Choose a color scheme, there are 10 different styles available: +
        +
          +
        • Black — minimal.css
        • +
        • Red — red.css
        • +
        • Green — green.css
        • +
        • Blue — blue.css
        • +
        • Aero — aero.css
        • +
        +
          +
        • Grey — grey.css
        • +
        • Orange — orange.css
        • +
        • Yellow — yellow.css
        • +
        • Pink — pink.css
        • +
        • Purple — purple.css
        • +
        +
        +
      2. +
      3. + Copy /skins/minimal/ folder and icheck.js file to your site. +
      4. +
      5. +

        Insert before </head> in your HTML (replace your-path and color-scheme):

        +
        +<link href="your-path/minimal/color-scheme.css" rel="stylesheet">
        +<script src="your-path/icheck.js"></script>
        +
        +

        Example for a Red color scheme:

        +
        +<link href="your-path/minimal/red.css" rel="stylesheet">
        +<script src="your-path/icheck.js"></script>
        +
        +
      6. +
      7. +

        Add some checkboxes and radio buttons to your HTML:

        +
        +<input type="checkbox">
        +<input type="checkbox" checked>
        +<input type="radio" name="iCheck">
        +<input type="radio" name="iCheck" checked>
        +
        +
      8. +
      9. +

        Add JavaScript to your HTML to launch iCheck plugin:

        +
        +<script>
        +$(document).ready(function(){
        +  $('input').iCheck({
        +    checkboxClass: 'icheckbox_minimal',
        +    radioClass: 'iradio_minimal',
        +    increaseArea: '20%' // optional
        +  });
        +});
        +</script>
        +
        +

        For different from black color schemes use this code (example for Red):

        +
        +<script>
        +$(document).ready(function(){
        +  $('input').iCheck({
        +    checkboxClass: 'icheckbox_minimal-red',
        +    radioClass: 'iradio_minimal-red',
        +    increaseArea: '20%' // optional
        +  });
        +});
        +</script>
        +
        +
      10. +
      11. Done.
      12. +
      +
      +
      Usage
      +
      +
      +
      +
      +
      +
      +
      +

      Square skin

      +
      +
      +
      +

      Live

      +
        +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      +
        +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      +
      + Color schemes +
        +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      +
      +
      +
      +

      States

      +
        +
      • +
        +
        + Normal +
      • +
      • +
        +
        + Hover +
      • +
      • +
        +
        + Checked +
      • +
      • +
        +
        + Disabled +
      • +
      • +
        +
        + Disabled & checked +
      • +
      +
      + +
      +
      Demo
      +
      +
      +

      + Make sure jQuery v1.7+ (or Zepto [polyfill, event, data]) is loaded before the icheck.js. +

      +
      +
        +
      1. + Choose a color scheme, there are 10 different styles available: +
        +
          +
        • Black — square.css
        • +
        • Red — red.css
        • +
        • Green — green.css
        • +
        • Blue — blue.css
        • +
        • Aero — aero.css
        • +
        +
          +
        • Grey — grey.css
        • +
        • Orange — orange.css
        • +
        • Yellow — yellow.css
        • +
        • Pink — pink.css
        • +
        • Purple — purple.css
        • +
        +
        +
      2. +
      3. + Copy /skins/square/ folder and icheck.js file to your site. +
      4. +
      5. +

        Insert before </head> in your HTML (replace your-path and color-scheme):

        +
        +<link href="your-path/square/color-scheme.css" rel="stylesheet">
        +<script src="your-path/icheck.js"></script>
        +
        +

        Example for a Red color scheme:

        +
        +<link href="your-path/square/red.css" rel="stylesheet">
        +<script src="your-path/icheck.js"></script>
        +
        +
      6. +
      7. +

        Add some checkboxes and radio buttons to your HTML:

        +
        +<input type="checkbox">
        +<input type="checkbox" checked>
        +<input type="radio" name="iCheck">
        +<input type="radio" name="iCheck" checked>
        +
        +
      8. +
      9. +

        Add JavaScript to your HTML to launch iCheck plugin:

        +
        +<script>
        +$(document).ready(function(){
        +  $('input').iCheck({
        +    checkboxClass: 'icheckbox_square',
        +    radioClass: 'iradio_square',
        +    increaseArea: '20%' // optional
        +  });
        +});
        +</script>
        +
        +

        For different from black color schemes use this code (example for Red):

        +
        +<script>
        +$(document).ready(function(){
        +  $('input').iCheck({
        +    checkboxClass: 'icheckbox_square-red',
        +    radioClass: 'iradio_square-red',
        +    increaseArea: '20%' // optional
        +  });
        +});
        +</script>
        +
        +
      10. +
      11. Done.
      12. +
      +
      +
      Usage
      +
      +
      +
      +
      +
      +
      +
      +

      Flat skin

      +
      +
      +
      +

      Live

      +
        +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      +
        +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      +
      + Color schemes +
        +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      +
      +
      +
      +

      States

      +
        +
      • +
        +
        + Normal +
      • +
      • +
        +
        + Checked +
      • +
      • +
        +
        + Disabled +
      • +
      • +
        +
        + Disabled & checked +
      • +
      +
      + +
      +
      Demo
      +
      +
      +

      + Make sure jQuery v1.7+ (or Zepto [polyfill, event, data]) is loaded before the icheck.js. +

      +
      +
        +
      1. + Choose a color scheme, there are 10 different styles available: +
        +
          +
        • Black — flat.css
        • +
        • Red — red.css
        • +
        • Green — green.css
        • +
        • Blue — blue.css
        • +
        • Aero — aero.css
        • +
        +
          +
        • Grey — grey.css
        • +
        • Orange — orange.css
        • +
        • Yellow — yellow.css
        • +
        • Pink — pink.css
        • +
        • Purple — purple.css
        • +
        +
        +
      2. +
      3. + Copy /skins/flat/ folder and icheck.js file to your site. +
      4. +
      5. +

        Insert before </head> in your HTML (replace your-path and color-scheme):

        +
        +<link href="your-path/flat/color-scheme.css" rel="stylesheet">
        +<script src="your-path/icheck.js"></script>
        +
        +

        Example for a Red color scheme:

        +
        +<link href="your-path/flat/red.css" rel="stylesheet">
        +<script src="your-path/icheck.js"></script>
        +
        +
      6. +
      7. +

        Add some checkboxes and radio buttons to your HTML:

        +
        +<input type="checkbox">
        +<input type="checkbox" checked>
        +<input type="radio" name="iCheck">
        +<input type="radio" name="iCheck" checked>
        +
        +
      8. +
      9. +

        Add JavaScript to your HTML to launch iCheck plugin:

        +
        +<script>
        +$(document).ready(function(){
        +  $('input').iCheck({
        +    checkboxClass: 'icheckbox_flat',
        +    radioClass: 'iradio_flat'
        +  });
        +});
        +</script>
        +
        +

        For different from black color schemes use this code (example for Red):

        +
        +<script>
        +$(document).ready(function(){
        +  $('input').iCheck({
        +    checkboxClass: 'icheckbox_flat-red',
        +    radioClass: 'iradio_flat-red'
        +  });
        +});
        +</script>
        +
        +
      10. +
      11. Done.
      12. +
      +
      +
      Usage
      +
      +
      +
      +
      +
      +
      +
      +

      Line skin

      +
      +
      +
      +

      Live

      +
        +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      +
        +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      +
      + Color schemes +
        +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      +
      +
      +
      +

      States

      +
        +
      • +
        +
        + Normal +
        +
      • +
      • +
        +
        + Hover +
        +
      • +
      • +
        +
        + Checked +
        +
      • +
      • +
        +
        + Disabled +
        +
      • +
      • +
        +
        + Disabled & checked +
        +
      • +
      +
      + +
      +
      Demo
      +
      +
      +

      + Make sure jQuery v1.7+ (or Zepto [polyfill, event, data]) is loaded before the icheck.js. +

      +
      +
        +
      1. + Choose a color scheme, there are 10 different styles available: +
        +
          +
        • Black — line.css
        • +
        • Red — red.css
        • +
        • Green — green.css
        • +
        • Blue — blue.css
        • +
        • Aero — aero.css
        • +
        +
          +
        • Grey — grey.css
        • +
        • Orange — orange.css
        • +
        • Yellow — yellow.css
        • +
        • Pink — pink.css
        • +
        • Purple — purple.css
        • +
        +
        +
      2. +
      3. + Copy /skins/line/ folder and icheck.js file to your site. +
      4. +
      5. +

        Insert before </head> in your HTML (replace your-path and color-scheme):

        +
        +<link href="your-path/line/color-scheme.css" rel="stylesheet">
        +<script src="your-path/icheck.js"></script>
        +
        +

        Example for a Red color scheme:

        +
        +<link href="your-path/line/red.css" rel="stylesheet">
        +<script src="your-path/icheck.js"></script>
        +
        +
      6. +
      7. +

        Add some checkboxes, radio buttons and labels to your HTML:

        +
        +<input type="checkbox">
        +<label>Checkbox 1</label>
        +
        +<input type="checkbox" checked>
        +<label>Checkbox 2</label>
        +
        +<input type="radio" name="iCheck">
        +<label>Radio button 1</label>
        +
        +<input type="radio" name="iCheck" checked>
        +<label>Radio button 2</label>
        +
        +
      8. +
      9. +

        Add JavaScript to your HTML to launch iCheck plugin:

        +
        +<script>
        +$(document).ready(function(){
        +  $('input').each(function(){
        +    var self = $(this),
        +      label = self.next(),
        +      label_text = label.text();
        +
        +    label.remove();
        +    self.iCheck({
        +      checkboxClass: 'icheckbox_line',
        +      radioClass: 'iradio_line',
        +      insert: '<div class="icheck_line-icon"></div>' + label_text
        +    });
        +  });
        +});
        +</script>
        +
        +

        For different from black color schemes use this code (example for Red):

        +
        +<script>
        +$(document).ready(function(){
        +  $('input').each(function(){
        +    var self = $(this),
        +      label = self.next(),
        +      label_text = label.text();
        +
        +    label.remove();
        +    self.iCheck({
        +      checkboxClass: 'icheckbox_line-red',
        +      radioClass: 'iradio_line-red',
        +      insert: '<div class="icheck_line-icon"></div>' + label_text
        +    });
        +  });
        +});
        +</script>
        +
        +
      10. +
      11. Done.
      12. +
      +
      +
      Usage
      +
      +
      +
      +
      +
      +
      +
      +

      Polaris skin

      +
      +
      +
      +

      Live

      +
        +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      +
        +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      +
      +
      +

      States

      +
        +
      • +
        +
        + Normal +
      • +
      • +
        +
        + Hover +
      • +
      • +
        +
        + Checked +
      • +
      • +
        +
        + Disabled +
      • +
      • +
        +
        + Disabled & checked +
      • +
      +
      + +
      +
      Demo
      +
      +
      +

      + Make sure jQuery v1.7+ (or Zepto [polyfill, event, data]) is loaded before the icheck.js. +

      +
      +
        +
      1. + Copy /skins/polaris/ folder and icheck.js file to your site. +
      2. +
      3. +

        Insert before </head> in your HTML (replace your-path and color-scheme):

        +
        +<link href="your-path/polaris/polaris.css" rel="stylesheet">
        +<script src="your-path/icheck.js"></script>
        +
        +
      4. +
      5. +

        Add some checkboxes and radio buttons to your HTML:

        +
        +<input type="checkbox">
        +<input type="checkbox" checked>
        +<input type="radio" name="iCheck">
        +<input type="radio" name="iCheck" checked>
        +
        +
      6. +
      7. +

        Add JavaScript to your HTML to launch iCheck plugin:

        +
        +<script>
        +$(document).ready(function(){
        +  $('input').iCheck({
        +    checkboxClass: 'icheckbox_polaris',
        +    radioClass: 'iradio_polaris',
        +    increaseArea: '-10%' // optional
        +  });
        +});
        +</script>
        +
        +
      8. +
      9. Done.
      10. +
      +
      +
      Usage
      +
      +
      +
      +
      +
      +
      +
      +

      Futurico skin

      +
      +
      +
      +

      Live

      +
        +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      +
        +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      • + + +
      • +
      +
      +
      +

      States

      +
        +
      • +
        +
        + Normal +
      • +
      • +
        +
        + Checked +
      • +
      • +
        +
        + Disabled +
      • +
      • +
        +
        + Disabled & checked +
      • +
      +
      + +
      +
      Demo
      +
      +
      +

      + Make sure jQuery v1.7+ (or Zepto [polyfill, event, data]) is loaded before the icheck.js. +

      +
      +
        +
      1. + Copy /skins/futurico/ folder and icheck.js file to your site. +
      2. +
      3. +

        Insert before </head> in your HTML (replace your-path and color-scheme):

        +
        +<link href="your-path/futurico/futurico.css" rel="stylesheet">
        +<script src="your-path/icheck.js"></script>
        +
        +
      4. +
      5. +

        Add some checkboxes and radio buttons to your HTML:

        +
        +<input type="checkbox">
        +<input type="checkbox" checked>
        +<input type="radio" name="iCheck">
        +<input type="radio" name="iCheck" checked>
        +
        +
      6. +
      7. +

        Add JavaScript to your HTML to launch iCheck plugin:

        +
        +<script>
        +$(document).ready(function(){
        +  $('input').iCheck({
        +    checkboxClass: 'icheckbox_futurico',
        +    radioClass: 'iradio_futurico',
        +    increaseArea: '20%' // optional
        +  });
        +});
        +</script>
        +
        +
      8. +
      9. Done.
      10. +
      +
      +
      Usage
      +
      +
      +
      +

      All skins (except Line) are transparent, you may use them on any background.

      +

      Square, Flat, Polaris and Futurico skins are based on Designmodo's UI packs.

      +

      + Awesome UI packs +

      +
      +
      +
      +
      +
      +
      +
      +

      Simple usage

      +
      +

      + iCheck plugin works with checkboxes and radio buttons like a constructor. +
      It wraps each input with a div, which may be customized by you or using one of the available skins. +
      You may also place inside that div some HTML code or text using insert option. +

      +

      For this HTML:

      +
      +<label>
      +  <input type="checkbox" name="quux[1]" disabled>
      +  Foo
      +</label>
      +
      +<label for="baz[1]">Bar</label>
      +<input type="radio" name="quux[2]" id="baz[1]" checked>
      +
      +<label for="baz[2]">Bar</label>
      +<input type="radio" name="quux[2]" id="baz[2]">
      +
      +

      With default options you'll get nearly this:

      +
      +<label>
      +  <div class="icheckbox disabled">
      +    <input type="checkbox" name="quux[1]" disabled>
      +  </div>
      +  Foo
      +</label>
      +
      +<label for="baz[1]">Bar</label>
      +<div class="iradio checked">
      +  <input type="radio" name="quux[2]" id="baz[1]" checked>
      +</div>
      +
      +<label for="baz[2]">Bar</label>
      +<div class="iradio">
      +  <input type="radio" name="quux[2]" id="baz[2]">
      +</div>
      +
      +

      By default, iCheck doesn't provide any CSS styles for wrapper divs (if you don't use skins).

      +

      Options

      +

      These options are default:

      +
      +{
      +  // 'checkbox' or 'radio' to style only checkboxes or radio buttons, both by default
      +  handle: '',
      +
      +  // base class added to customized checkboxes
      +  checkboxClass: 'icheckbox',
      +
      +  // base class added to customized radio buttons
      +  radioClass: 'iradio',
      +
      +  // class added on checked state (input.checked = true)
      +  checkedClass: 'checked',
      +
      +    // if not empty, used instead of 'checkedClass' option (input type specific)
      +    checkedCheckboxClass: '',
      +    checkedRadioClass: '',
      +
      +  // if not empty, added as class name on unchecked state (input.checked = false)
      +  uncheckedClass: '',
      +
      +    // if not empty, used instead of 'uncheckedClass' option (input type specific)
      +    uncheckedCheckboxClass: '',
      +    uncheckedRadioClass: '',
      +
      +  // class added on disabled state (input.disabled = true)
      +  disabledClass: 'disabled',
      +
      +    // if not empty, used instead of 'disabledClass' option (input type specific)
      +    disabledCheckboxClass: '',
      +    disabledRadioClass: '',
      +
      +  // if not empty, added as class name on enabled state (input.disabled = false)
      +  enabledClass: '',
      +
      +    // if not empty, used instead of 'enabledClass' option (input type specific)
      +    enabledCheckboxClass: '',
      +    enabledRadioClass: '',
      +
      +  // class added on indeterminate state (input.indeterminate = true)
      +  indeterminateClass: 'indeterminate',
      +
      +    // if not empty, used instead of 'indeterminateClass' option (input type specific)
      +    indeterminateCheckboxClass: '',
      +    indeterminateRadioClass: '',
      +
      +  // if not empty, added as class name on determinate state (input.indeterminate = false)
      +  determinateClass: '',
      +
      +    // if not empty, used instead of 'determinateClass' option (input type specific)
      +    determinateCheckboxClass: '',
      +    determinateRadioClass: '',
      +
      +  // class added on hover state (pointer is moved onto input)
      +  hoverClass: 'hover',
      +
      +  // class added on focus state (input has gained focus)
      +  focusClass: 'focus',
      +
      +  // class added on active state (mouse button is pressed on input)
      +  activeClass: 'active',
      +
      +  // adds hoverClass to customized input on label hover and labelHoverClass to label on input hover
      +  labelHover: true,
      +
      +    // class added to label if labelHover set to true
      +    labelHoverClass: 'hover',
      +
      +  // increase clickable area by given % (negative number to decrease)
      +  increaseArea: '',
      +
      +  // true to set 'pointer' CSS cursor over enabled inputs and 'default' over disabled
      +  cursor: false,
      +
      +  // set true to inherit original input's class name
      +  inheritClass: false,
      +
      +  // if set to true, input's id is prefixed with 'iCheck-' and attached
      +  inheritID: false,
      +
      +  // set true to activate ARIA support
      +  aria: false,
      +
      +  // add HTML code or text inside customized input
      +  insert: ''
      +}
      +
      +

      There's no need to copy and paste all of them, you can just mention the ones you need:

      +
      +$('input').iCheck({
      +  labelHover: false,
      +  cursor: true
      +});
      +
      +

      You can choose any class names and slyle them as you want.

      +

      Initialize

      +

      Just include icheck.js after jQuery v1.7+ (or Zepto [polyfill, event, data]).

      +

      iCheck supports any selectors, but handles only checkboxes and radio buttons:

      +
      +// customize all inputs (will search for checkboxes and radio buttons)
      +$('input').iCheck();
      +
      +// handle inputs only inside $('.block')
      +$('.block input').iCheck();
      +
      +// handle only checkboxes inside $('.test')
      +$('.test input').iCheck({
      +  handle: 'checkbox'
      +});
      +
      +// handle .vote class elements (will search inside the element, if it's not an input)
      +$('.vote').iCheck();
      +
      +// you can also change options after inputs are customized
      +$('input.some').iCheck({
      +  // different options
      +});
      +
      +

      Indeterminate

      +

      HTML5 allows specifying indeterminate ("partially" checked) state for checkboxes. iCheck supports it for both checkboxes and radio buttons.

      +

      You can make an input indeterminate through HTML using additional attributes (supported by iCheck). Both do the same job, but indeterminate="true" may not work in some browsers (like IE7):

      +
      +<!-- indeterminate="true" -->
      +<input type="checkbox" indeterminate="true">
      +<input type="radio" indeterminate="true">
      +
      +<!-- determinate="false" -->
      +<input type="checkbox" determinate="false">
      +<input type="radio" determinate="false">
      +
      +

      indeterminate and determinate methods can be used to toggle indeterminate state.

      +

      Callbacks

      +

      iCheck provides plenty callbacks, which may be used to handle changes.

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Callback nameWhen used
      ifClickeduser clicked on a customized input or an assigned label
      ifChangedinput's checked, disabled or indeterminate state is changed
      ifCheckedinput's state is changed to checked
      ifUncheckedchecked state is removed
      ifToggledinput's checked state is changed
      ifDisabledinput's state is changed to disabled
      ifEnableddisabled state is removed
      ifIndeterminateinput's state is changed to indeterminate
      ifDeterminateindeterminate state is removed
      ifCreatedinput is just customized
      ifDestroyedcustomization is just removed
      +

      Use on() method to bind them to inputs:

      +

      +$('input').on('ifChecked', function(event){
      +  alert(event.type + ' callback');
      +});
      +
      +

      ifCreated callback should be binded before plugin init.

      +

      Methods

      +

      These methods can be used to make changes programmatically (any selectors can be used):

      +

      $('input').iCheck('check'); — change input's state to checked

      +

      $('input').iCheck('uncheck'); — remove checked state

      +

      $('input').iCheck('toggle'); — toggle checked state

      +

      $('input').iCheck('disable'); — change input's state to disabled

      +

      $('input').iCheck('enable'); — remove disabled state

      +

      $('input').iCheck('indeterminate'); — change input's state to indeterminate

      +

      $('input').iCheck('determinate'); — remove indeterminate state

      +

      $('input').iCheck('update'); — apply input changes, which were done outside the plugin

      +

      $('input').iCheck('destroy'); — remove all traces of iCheck

      +

      You may also specify some function, that will be executed on each method call:

      +
      +$('input').iCheck('check', function(){
      +  alert('Well done, Sir');
      +});
      +
      +

      Feel free to fork and submit pull-request or submit an issue if you find something not working.

      +
      +
      +
      +
      +
      +
      +
      +

      Comparison

      +
      +

      iCheck is created to avoid routine of reinventing the wheel when working with checkboxes and radio buttons. It provides an expected identical result for the huge number of browsers, devices and their versions. Callbacks and methods can be used to easily handle and make changes at customized inputs.

      +

      There are some CSS3 ways available to style checkboxes and radio buttons, like this one. You have to know about some of the disadvantages of similar methods:

      +
        +
      • + — inputs are keyboard inaccessible, since display: none or visibility: hidden used to hide them +
      • +
      • + — poor browser support +
      • +
      • + — multiple bugs on mobile devices +
      • +
      • + — tricky, harder to maintain CSS code +
      • +
      • + — JavaScript is still needed to fix specific issues +
      • +
      +

      While CSS3 method is quite limited solution, iCheck is made to be an everyday replacement covering most of the tasks.

      +
      +
      +
      +

      Browser support

      +
      +

      iCheck is verified to work in Internet Explorer 6+, Firefox 2+, Opera 9+, Google Chrome and Safari browsers. Should also work in many others.

      +

      Mobile browsers (like Opera mini, Chrome mobile, Safari mobile, Android browser, Silk and others) are also supported. Tested on iOS (iPad, iPhone, iPod), Android, BlackBerry and Windows Phone devices.

      +
      +
      + +
      iCheck plugin is released under the MIT License. Feel free to use it in personal and commercial projects.
      +
      + + Fork me on GitHub + + + \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/js/custom.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/js/custom.js new file mode 100644 index 00000000..eace30ed --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/js/custom.js @@ -0,0 +1,109 @@ +$(document).ready(function() { + var hash = window.location.hash.replace('#', ''); + + if (hash && $('.' + hash).length) { + var point = $('.' + hash).offset().top - 40; + + if (window.Zepto) { + window.scrollTo(0, point); + } else { + $(window).scrollTop($('.' + hash).offset().top - 40); + }; + }; + + $('.skin dt').click(function() { + $(this).siblings().removeClass('selected').end().prev('dd').andSelf().addClass('selected'); + }); + + $('.arrows .top, .arrows .bottom, .features .self, .skins-info .self, .usage .self').click(function(event) { + var target = $(this).data('to'), + target_offset = $('.' + target).offset().top; + + event.preventDefault(); + window.location.hash = target; + + if (window.Zepto) { + window.scrollTo(0, target_offset - 40); + } else { + $('html, body').stop().animate({scrollTop: target_offset - 40}, 600); + }; + }); + + $('.colors li').click(function() { + var self = $(this); + + if (!self.hasClass('active')) { + self.siblings().removeClass('active'); + + var skin = self.closest('.skin'), + color = self.attr('class') ? '-' + self.attr('class') : '', + checkbox = skin.data('icheckbox'), + radio = skin.data('iradio'), + checkbox_default = 'icheckbox_minimal', + radio_default = 'iradio_minimal'; + + if (skin.hasClass('skin-square')) { + checkbox_default = 'icheckbox_square', radio_default = 'iradio_square'; + checkbox == undefined && (checkbox = 'icheckbox_square-green', radio = 'iradio_square-green'); + }; + + if (skin.hasClass('skin-flat')) { + checkbox_default = 'icheckbox_flat', radio_default = 'iradio_flat'; + checkbox == undefined && (checkbox = 'icheckbox_flat-red', radio = 'iradio_flat-red'); + }; + + if (skin.hasClass('skin-line')) { + checkbox_default = 'icheckbox_line', radio_default = 'iradio_line'; + checkbox == undefined && (checkbox = 'icheckbox_line-blue', radio = 'iradio_line-blue'); + }; + + checkbox == undefined && (checkbox = checkbox_default, radio = radio_default); + + skin.find('input, .skin-states .state').each(function() { + var element = $(this).hasClass('state') ? $(this) : $(this).parent(), + element_class = element.attr('class').replace(checkbox, checkbox_default + color).replace(radio, radio_default + color); + + element.attr('class', element_class); + }); + + skin.data('icheckbox', checkbox_default + color); + skin.data('iradio', radio_default + color); + self.addClass('active'); + }; + }); + + $('.demo-methods dt .self').click(function() { + var self = $(this), + self_class = self.attr('class').replace('self ', ''); + + switch (self_class) { + case 'do-check': + $('#input-1, #input-3').iCheck('check'); + break; + case 'do-uncheck': + $('#input-1, #input-3').iCheck('uncheck'); + break; + case 'do-disable': + $('#input-2, #input-4').iCheck('disable'); + break; + case 'do-enable': + $('#input-2, #input-4').iCheck('enable'); + break; + case 'do-destroy': + $('.demo-list input').iCheck('destroy'); + break; + default: + var text = self.hasClass('active') ? 'show code' : 'hide code'; + + self.toggleClass('active').text(text); + + if (window.Zepto) { + $(this).closest('dt').next().toggle(); + } else { + $(this).closest('dt').next().slideToggle(200); + }; + + break; + }; + }); +}); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/js/custom.min.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/js/custom.min.js new file mode 100644 index 00000000..cd9ab216 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/js/custom.min.js @@ -0,0 +1,5 @@ +$(document).ready(function(){var h=window.location.hash.replace("#","");if(h&&$("."+h).length){var k=$("."+h).offset().top-40;window.Zepto?window.scrollTo(0,k):$(window).scrollTop($("."+h).offset().top-40)}$(".skin dt").click(function(){$(this).siblings().removeClass("selected").end().prev("dd").andSelf().addClass("selected")});$(".arrows .top, .arrows .bottom, .features .self, .skins-info .self, .usage .self").click(function(b){var a=$(this).data("to"),d=$("."+a).offset().top;b.preventDefault(); +window.location.hash=a;window.Zepto?window.scrollTo(0,d-40):$("html, body").stop().animate({scrollTop:d-40},600)});$(".colors li").click(function(){var b=$(this);if(!b.hasClass("active")){b.siblings().removeClass("active");var a=b.closest(".skin"),d=b.attr("class")?"-"+b.attr("class"):"",c=a.data("icheckbox"),g=a.data("iradio"),e="icheckbox_minimal",f="iradio_minimal";a.hasClass("skin-square")&&(e="icheckbox_square",f="iradio_square",void 0==c&&(c="icheckbox_square-green",g="iradio_square-green")); +a.hasClass("skin-flat")&&(e="icheckbox_flat",f="iradio_flat",void 0==c&&(c="icheckbox_flat-red",g="iradio_flat-red"));a.hasClass("skin-line")&&(e="icheckbox_line",f="iradio_line",void 0==c&&(c="icheckbox_line-blue",g="iradio_line-blue"));void 0==c&&(c=e,g=f);a.find("input, .skin-states .state").each(function(){var a=$(this).hasClass("state")?$(this):$(this).parent(),b=a.attr("class").replace(c,e+d).replace(g,f+d);a.attr("class",b)});a.data("icheckbox",e+d);a.data("iradio",f+d);b.addClass("active")}}); +$(".demo-methods dt .self").click(function(){var b=$(this);switch(b.attr("class").replace("self ","")){case "do-check":$("#input-1, #input-3").iCheck("check");break;case "do-uncheck":$("#input-1, #input-3").iCheck("uncheck");break;case "do-disable":$("#input-2, #input-4").iCheck("disable");break;case "do-enable":$("#input-2, #input-4").iCheck("enable");break;case "do-destroy":$(".demo-list input").iCheck("destroy");break;default:var a=b.hasClass("active")?"show code":"hide code";b.toggleClass("active").text(a); +window.Zepto?$(this).closest("dt").next().toggle():$(this).closest("dt").next().slideToggle(200)}})}); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/js/jquery.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/js/jquery.js new file mode 100644 index 00000000..569f77d1 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/demo/js/jquery.js @@ -0,0 +1,4 @@ +/*! + * jQuery v1.8.3 jquery.com | jquery.org/license + */ +(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else r=t}return r}function B(e){var t;for(t in e){if(t==="data"&&v.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function et(){return!1}function tt(){return!0}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function at(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function ft(e,t,n){t=t||0;if(v.isFunction(t))return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return v.grep(e,function(e,r){return e===t===n});if(typeof t=="string"){var r=v.grep(e,function(e){return e.nodeType===1});if(it.test(t))return v.filter(t,r,!n);t=v.filter(t,r)}return v.grep(e,function(e,r){return v.inArray(e,t)>=0===n})}function lt(e){var t=ct.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function At(e,t){if(t.nodeType!==1||!v.hasData(e))return;var n,r,i,s=v._data(e),o=v._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r").appendTo(i.body),n=t.css("display");t.remove();if(n==="none"||n===""){Pt=i.body.appendChild(Pt||v.extend(i.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!Ht||!Pt.createElement)Ht=(Pt.contentWindow||Pt.contentDocument).document,Ht.write(""),Ht.close();t=Ht.body.appendChild(Ht.createElement(e)),n=Dt(t,"display"),i.body.removeChild(Pt)}return Wt[e]=n,n}function fn(e,t,n,r){var i;if(v.isArray(t))v.each(t,function(t,i){n||sn.test(e)?r(e,i):fn(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&v.type(t)==="object")for(i in t)fn(e+"["+i+"]",t[i],n,r);else r(e,t)}function Cn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i,s,o=t.toLowerCase().split(y),u=0,a=o.length;if(v.isFunction(n))for(;u)[^>]*$|#([\w\-]*)$)/,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,S=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,T=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,N=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,C=/^-ms-/,k=/-([\da-z])/gi,L=function(e,t){return(t+"").toUpperCase()},A=function(){i.addEventListener?(i.removeEventListener("DOMContentLoaded",A,!1),v.ready()):i.readyState==="complete"&&(i.detachEvent("onreadystatechange",A),v.ready())},O={};v.fn=v.prototype={constructor:v,init:function(e,n,r){var s,o,u,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?s=[null,e,null]:s=w.exec(e);if(s&&(s[1]||!n)){if(s[1])return n=n instanceof v?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:i,e=v.parseHTML(s[1],a,!0),E.test(s[1])&&v.isPlainObject(n)&&this.attr.call(e,n,!0),v.merge(this,e);o=i.getElementById(s[2]);if(o&&o.parentNode){if(o.id!==s[2])return r.find(e);this.length=1,this[0]=o}return this.context=i,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return v.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),v.makeArray(e,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return l.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=v.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,t==="find"?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return v.each(this,e,t)},ready:function(e){return v.ready.promise().done(e),this},eq:function(e){return e=+e,e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(l.apply(this,arguments),"slice",l.call(arguments).join(","))},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:[].sort,splice:[].splice},v.fn.init.prototype=v.fn,v.extend=v.fn.extend=function(){var e,n,r,i,s,o,u=arguments[0]||{},a=1,f=arguments.length,l=!1;typeof u=="boolean"&&(l=u,u=arguments[1]||{},a=2),typeof u!="object"&&!v.isFunction(u)&&(u={}),f===a&&(u=this,--a);for(;a0)return;r.resolveWith(i,[v]),v.fn.trigger&&v(i).trigger("ready").off("ready")},isFunction:function(e){return v.type(e)==="function"},isArray:Array.isArray||function(e){return v.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):O[h.call(e)]||"object"},isPlainObject:function(e){if(!e||v.type(e)!=="object"||e.nodeType||v.isWindow(e))return!1;try{if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||p.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return!e||typeof e!="string"?null:(typeof t=="boolean"&&(n=t,t=0),t=t||i,(r=E.exec(e))?[t.createElement(r[1])]:(r=v.buildFragment([e],t,n?null:[]),v.merge([],(r.cacheable?v.clone(r.fragment):r.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;t=v.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(S.test(t.replace(T,"@").replace(N,"]").replace(x,"")))return(new Function("return "+t))();v.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!="string")return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(s){r=t}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&v.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&g.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(C,"ms-").replace(k,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,s=0,o=e.length,u=o===t||v.isFunction(e);if(r){if(u){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;s0&&e[0]&&e[a-1]||a===0||v.isArray(e));if(f)for(;u-1)a.splice(n,1),i&&(n<=o&&o--,n<=u&&u--)}),this},has:function(e){return v.inArray(e,a)>-1},empty:function(){return a=[],this},disable:function(){return a=f=n=t,this},disabled:function(){return!a},lock:function(){return f=t,n||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],a&&(!r||f)&&(i?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},v.extend({Deferred:function(e){var t=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return v.Deferred(function(n){v.each(t,function(t,r){var s=r[0],o=e[t];i[r[1]](v.isFunction(o)?function(){var e=o.apply(this,arguments);e&&v.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===i?n:this,[e])}:n[s])}),e=null}).promise()},promise:function(e){return e!=null?v.extend(e,r):r}},i={};return r.pipe=r.then,v.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=o.fire,i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=l.call(arguments),r=n.length,i=r!==1||e&&v.isFunction(e.promise)?r:0,s=i===1?e:v.Deferred(),o=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?l.call(arguments):r,n===u?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){u=new Array(r),a=new Array(r),f=new Array(r);for(;t
      a",n=p.getElementsByTagName("*"),r=p.getElementsByTagName("a")[0];if(!n||!r||!n.length)return{};s=i.createElement("select"),o=s.appendChild(i.createElement("option")),u=p.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.value==="on",optSelected:o.selected,getSetAttribute:p.className!=="t",enctype:!!i.createElement("form").enctype,html5Clone:i.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:i.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked=!0,t.noCloneChecked=u.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",h=function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick"),p.detachEvent("onclick",h)),u=i.createElement("input"),u.value="t",u.setAttribute("type","radio"),t.radioValue=u.value==="t",u.setAttribute("checked","checked"),u.setAttribute("name","t"),p.appendChild(u),a=i.createDocumentFragment(),a.appendChild(p.lastChild),t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=u.checked,a.removeChild(u),a.appendChild(p);if(p.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})f="on"+l,c=f in p,c||(p.setAttribute(f,"return;"),c=typeof p[f]=="function"),t[l+"Bubbles"]=c;return v(function(){var n,r,s,o,u="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=i.getElementsByTagName("body")[0];if(!a)return;n=i.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(n,a.firstChild),r=i.createElement("div"),n.appendChild(r),r.innerHTML="
      t
      ",s=r.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",c=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=c&&s[0].offsetHeight===0,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=r.offsetWidth===4,t.doesNotIncludeMarginInBodyOffset=a.offsetTop!==1,e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(r,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(r,null)||{width:"4px"}).width==="4px",o=i.createElement("div"),o.style.cssText=r.style.cssText=u,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!="undefined"&&(r.innerHTML="",r.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=r.offsetWidth===3,r.style.display="block",r.style.overflow="visible",r.innerHTML="
      ",r.firstChild.style.width="5px",t.shrinkWrapBlocks=r.offsetWidth!==3,n.style.zoom=1),a.removeChild(n),n=r=s=o=null}),a.removeChild(p),n=r=s=o=u=a=p=null,t}();var D=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;v.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(v.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?v.cache[e[v.expando]]:e[v.expando],!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e))return;var s,o,u=v.expando,a=typeof n=="string",f=e.nodeType,l=f?v.cache:e,c=f?e[u]:e[u]&&u;if((!c||!l[c]||!i&&!l[c].data)&&a&&r===t)return;c||(f?e[u]=c=v.deletedIds.pop()||v.guid++:c=u),l[c]||(l[c]={},f||(l[c].toJSON=v.noop));if(typeof n=="object"||typeof n=="function")i?l[c]=v.extend(l[c],n):l[c].data=v.extend(l[c].data,n);return s=l[c],i||(s.data||(s.data={}),s=s.data),r!==t&&(s[v.camelCase(n)]=r),a?(o=s[n],o==null&&(o=s[v.camelCase(n)])):o=s,o},removeData:function(e,t,n){if(!v.acceptData(e))return;var r,i,s,o=e.nodeType,u=o?v.cache:e,a=o?e[v.expando]:v.expando;if(!u[a])return;if(t){r=n?u[a]:u[a].data;if(r){v.isArray(t)||(t in r?t=[t]:(t=v.camelCase(t),t in r?t=[t]:t=t.split(" ")));for(i=0,s=t.length;i1,null,!1))},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=v._data(e,t),n&&(!r||v.isArray(n)?r=v._data(e,t,v.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.length,i=n.shift(),s=v._queueHooks(e,t),o=function(){v.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v._data(e,n)||v._data(e,n,{empty:v.Callbacks("once memory").add(function(){v.removeData(e,t+"queue",!0),v.removeData(e,n,!0)})})}}),v.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return e=v.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(y);for(n=0,r=this.length;n=0)r=r.replace(" "+n[s]+" "," ");i.className=e?v.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t=="boolean";return v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&v._data(this,"__className__",this.className),this.className=this.className||e===!1?"":v._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(R,""):r==null?"":r);return}return i=v.isFunction(e),this.each(function(r){var s,o=v(this);if(this.nodeType!==1)return;i?s=e.call(this,r,o.val()):s=e,s==null?s="":typeof s=="number"?s+="":v.isArray(s)&&(s=v.map(s,function(e){return e==null?"":e+""})),n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t)this.value=s})}}),v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2)return;if(i&&v.isFunction(v.fn[n]))return v(e)[n](r);if(typeof e.getAttribute=="undefined")return v.prop(e,n,r);u=a!==1||!v.isXMLDoc(e),u&&(n=n.toLowerCase(),o=v.attrHooks[n]||(X.test(n)?F:j));if(r!==t){if(r===null){v.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o=0}})});var $=/^(?:textarea|input|select)$/i,J=/^([^\.]*|)(?:\.(.+)|)$/,K=/(?:^|\s)hover(\.\S+|)\b/,Q=/^key/,G=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=function(e){return v.event.special.hover?e:e.replace(K,"mouseenter$1 mouseleave$1")};v.event={add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType===3||e.nodeType===8||!n||!r||!(o=v._data(e)))return;r.handler&&(d=r,r=d.handler,s=d.selector),r.guid||(r.guid=v.guid++),a=o.events,a||(o.events=a={}),u=o.handle,u||(o.handle=u=function(e){return typeof v=="undefined"||!!e&&v.event.triggered===e.type?t:v.event.dispatch.apply(u.elem,arguments)},u.elem=e),n=v.trim(Z(n)).split(" ");for(f=0;f=0&&(y=y.slice(0,-1),a=!0),y.indexOf(".")>=0&&(b=y.split("."),y=b.shift(),b.sort());if((!s||v.event.customEvent[y])&&!v.event.global[y])return;n=typeof n=="object"?n[v.expando]?n:new v.Event(y,n):new v.Event(y),n.type=y,n.isTrigger=!0,n.exclusive=a,n.namespace=b.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h=y.indexOf(":")<0?"on"+y:"";if(!s){u=v.cache;for(f in u)u[f].events&&u[f].events[y]&&v.event.trigger(n,r,u[f].handle.elem,!0);return}n.result=t,n.target||(n.target=s),r=r!=null?v.makeArray(r):[],r.unshift(n),p=v.event.special[y]||{};if(p.trigger&&p.trigger.apply(s,r)===!1)return;m=[[s,p.bindType||y]];if(!o&&!p.noBubble&&!v.isWindow(s)){g=p.delegateType||y,l=Y.test(g+y)?s:s.parentNode;for(c=s;l;l=l.parentNode)m.push([l,g]),c=l;c===(s.ownerDocument||i)&&m.push([c.defaultView||c.parentWindow||e,g])}for(f=0;f=0:v.find(h,this,null,[s]).length),u[h]&&f.push(c);f.length&&w.push({elem:s,matches:f})}d.length>m&&w.push({elem:this,matches:d.slice(m)});for(r=0;r0?this.on(t,null,e,n):this.trigger(t)},Q.test(t)&&(v.event.fixHooks[t]=v.event.keyHooks),G.test(t)&&(v.event.fixHooks[t]=v.event.mouseHooks)}),function(e,t){function nt(e,t,n,r){n=n||[],t=t||g;var i,s,a,f,l=t.nodeType;if(!e||typeof e!="string")return n;if(l!==1&&l!==9)return[];a=o(t);if(!a&&!r)if(i=R.exec(e))if(f=i[1]){if(l===9){s=t.getElementById(f);if(!s||!s.parentNode)return n;if(s.id===f)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(f))&&u(t,s)&&s.id===f)return n.push(s),n}else{if(i[2])return S.apply(n,x.call(t.getElementsByTagName(e),0)),n;if((f=i[3])&&Z&&t.getElementsByClassName)return S.apply(n,x.call(t.getElementsByClassName(f),0)),n}return vt(e.replace(j,"$1"),t,n,r,a)}function rt(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function it(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function st(e){return N(function(t){return t=+t,N(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function ot(e,t,n){if(e===t)return n;var r=e.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,l=L[d][e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=i.preFilter;while(u){if(!n||(r=F.exec(u)))r&&(u=u.slice(r[0].length)||u),a.push(s=[]);n=!1;if(r=I.exec(u))s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=r[0].replace(j," ");for(o in i.filter)(r=J[o].exec(u))&&(!f[o]||(r=f[o](r)))&&(s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=o,n.matches=r);if(!n)break}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var i=t.dir,s=r&&t.dir==="parentNode",o=w++;return t.first?function(t,n,r){while(t=t[i])if(s||t.nodeType===1)return e(t,n,r)}:function(t,r,u){if(!u){var a,f=b+" "+o+" ",l=f+n;while(t=t[i])if(s||t.nodeType===1){if((a=t[d])===l)return t.sizset;if(typeof a=="string"&&a.indexOf(f)===0){if(t.sizset)return t}else{t[d]=l;if(e(t,r,u))return t.sizset=!0,t;t.sizset=!1}}}else while(t=t[i])if(s||t.nodeType===1)if(e(t,r,u))return t}}function ft(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function lt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u-1&&(s[f]=!(o[f]=c))}}else g=lt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):S.apply(o,g)})}function ht(e){var t,n,r,s=e.length,o=i.relative[e[0].type],u=o||i.relative[" "],a=o?1:0,f=at(function(e){return e===t},u,!0),l=at(function(e){return T.call(t,e)>-1},u,!0),h=[function(e,n,r){return!o&&(r||n!==c)||((t=n).nodeType?f(e,n,r):l(e,n,r))}];for(;a1&&ft(h),a>1&&e.slice(0,a-1).join("").replace(j,"$1"),n,a0,s=e.length>0,o=function(u,a,f,l,h){var p,d,v,m=[],y=0,w="0",x=u&&[],T=h!=null,N=c,C=u||s&&i.find.TAG("*",h&&a.parentNode||a),k=b+=N==null?1:Math.E;T&&(c=a!==g&&a,n=o.el);for(;(p=C[w])!=null;w++){if(s&&p){for(d=0;v=e[d];d++)if(v(p,a,f)){l.push(p);break}T&&(b=k,n=++o.el)}r&&((p=!v&&p)&&y--,u&&x.push(p))}y+=w;if(r&&w!==y){for(d=0;v=t[d];d++)v(x,m,a,f);if(u){if(y>0)while(w--)!x[w]&&!m[w]&&(m[w]=E.call(l));m=lt(m)}S.apply(l,m),T&&!u&&m.length>0&&y+t.length>1&&nt.uniqueSort(l)}return T&&(b=k,c=N),x};return o.el=0,r?N(o):o}function dt(e,t,n){var r=0,i=t.length;for(;r2&&(f=u[0]).type==="ID"&&t.nodeType===9&&!s&&i.relative[u[1].type]){t=i.find.ID(f.matches[0].replace($,""),t,s)[0];if(!t)return n;e=e.slice(u.shift().length)}for(o=J.POS.test(e)?-1:u.length-1;o>=0;o--){f=u[o];if(i.relative[l=f.type])break;if(c=i.find[l])if(r=c(f.matches[0].replace($,""),z.test(u[0].type)&&t.parentNode||t,s)){u.splice(o,1),e=r.length&&u.join("");if(!e)return S.apply(n,x.call(r,0)),n;break}}}return a(e,h)(r,t,s,n,z.test(e)),n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h=!0,p="undefined",d=("sizcache"+Math.random()).replace(".",""),m=String,g=e.document,y=g.documentElement,b=0,w=0,E=[].pop,S=[].push,x=[].slice,T=[].indexOf||function(e){var t=0,n=this.length;for(;ti.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},k=C(),L=C(),A=C(),O="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",_=M.replace("w","w#"),D="([*^$|!~]?=)",P="\\["+O+"*("+M+")"+O+"*(?:"+D+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+_+")|)|)"+O+"*\\]",H=":("+M+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+P+")|[^:]|\\\\.)*|.*))\\)|)",B=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)",j=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),I=new RegExp("^"+O+"*([\\x20\\t\\r\\n\\f>+~])"+O+"*"),q=new RegExp(H),R=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,U=/^:not/,z=/[\x20\t\r\n\f]*[+~]/,W=/:not\($/,X=/h\d/i,V=/input|select|textarea|button/i,$=/\\(?!\\)/g,J={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),NAME:new RegExp("^\\[name=['\"]?("+M+")['\"]?\\]"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+H),POS:new RegExp(B,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),needsContext:new RegExp("^"+O+"*[>+~]|"+B,"i")},K=function(e){var t=g.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},Q=K(function(e){return e.appendChild(g.createComment("")),!e.getElementsByTagName("*").length}),G=K(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!==p&&e.firstChild.getAttribute("href")==="#"}),Y=K(function(e){e.innerHTML="";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),Z=K(function(e){return e.innerHTML="",!e.getElementsByClassName||!e.getElementsByClassName("e").length?!1:(e.lastChild.className="e",e.getElementsByClassName("e").length===2)}),et=K(function(e){e.id=d+0,e.innerHTML="
      ",y.insertBefore(e,y.firstChild);var t=g.getElementsByName&&g.getElementsByName(d).length===2+g.getElementsByName(d+0).length;return r=!g.getElementById(d),y.removeChild(e),t});try{x.call(y.childNodes,0)[0].nodeType}catch(tt){x=function(e){var t,n=[];for(;t=this[e];e++)n.push(t);return n}}nt.matches=function(e,t){return nt(e,null,null,t)},nt.matchesSelector=function(e,t){return nt(t,null,null,[e]).length>0},s=nt.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=s(e)}else if(i===3||i===4)return e.nodeValue}else for(;t=e[r];r++)n+=s(t);return n},o=nt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},u=nt.contains=y.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode)if(t===e)return!0;return!1},nt.attr=function(e,t){var n,r=o(e);return r||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):r||Y?e.getAttribute(t):(n=e.getAttributeNode(t),n?typeof e[t]=="boolean"?e[t]?t:null:n.specified?n.value:null:null)},i=nt.selectors={cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!==p&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==p&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==p&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!==p)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var r,i=[],s=0;for(;r=n[s];s++)r.nodeType===1&&i.push(r);return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!==p)return t.getElementsByName(name)},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!==p&&!n)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,""),e[3]=(e[4]||e[5]||"").replace($,""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1]==="nth"?(e[2]||nt.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd")),e[4]=+(e[6]+e[7]||e[2]==="odd")):e[2]&&nt.error(e[0]),e},PSEUDO:function(e){var t,n;if(J.CHILD.test(e[0]))return null;if(e[3])e[2]=e[3];else if(t=e[4])q.test(t)&&(n=ut(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t;return e.slice(0,3)}},filter:{ID:r?function(e){return e=e.replace($,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace($,""),function(t){var n=typeof t.getAttributeNode!==p&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return e==="*"?function(){return!0}:(e=e.replace($,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[d][e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==p&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r,i){var s=nt.attr(r,e);return s==null?t==="!=":t?(s+="",t==="="?s===n:t==="!="?s!==n:t==="^="?n&&s.indexOf(n)===0:t==="*="?n&&s.indexOf(n)>-1:t==="$="?n&&s.substr(s.length-n.length)===n:t==="~="?(" "+s+" ").indexOf(n)>-1:t==="|="?s===n||s.substr(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r){return e==="nth"?function(e){var t,i,s=e.parentNode;if(n===1&&r===0)return!0;if(s){i=0;for(t=s.firstChild;t;t=t.nextSibling)if(t.nodeType===1){i++;if(e===t)break}}return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling)if(n.nodeType===1)return!1;if(e==="first")return!0;n=t;case"last":while(n=n.nextSibling)if(n.nodeType===1)return!1;return!0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||nt.error("unsupported pseudo: "+e);return r[d]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,s=r(e,t),o=s.length;while(o--)i=T.call(e,s[o]),e[i]=!(n[i]=s[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:N(function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[d]?N(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!i.pseudos.empty(e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4)return!1;e=e.nextSibling}return!0},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:rt("radio"),checkbox:rt("checkbox"),file:rt("file"),password:rt("password"),image:rt("image"),submit:it("submit"),reset:it("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return V.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:st(function(){return[0]}),last:st(function(e,t){return[t-1]}),eq:st(function(e,t,n){return[n<0?n+t:n]}),even:st(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:st(function(e,t,n){for(var r=n<0?n+t:n;++r",e.querySelectorAll("[selected]").length||i.push("\\["+O+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),K(function(e){e.innerHTML="

      ",e.querySelectorAll("[test^='']").length&&i.push("[*^$]="+O+"*(?:\"\"|'')"),e.innerHTML="",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=new RegExp(i.join("|")),vt=function(e,r,s,o,u){if(!o&&!u&&!i.test(e)){var a,f,l=!0,c=d,h=r,p=r.nodeType===9&&e;if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){a=ut(e),(l=r.getAttribute("id"))?c=l.replace(n,"\\$&"):r.setAttribute("id",c),c="[id='"+c+"'] ",f=a.length;while(f--)a[f]=c+a[f].join("");h=z.test(e)&&r.parentNode||r,p=a.join(",")}if(p)try{return S.apply(s,x.call(h.querySelectorAll(p),0)),s}catch(v){}finally{l||r.removeAttribute("id")}}return t(e,r,s,o,u)},u&&(K(function(t){e=u.call(t,"div");try{u.call(t,"[test!='']:sizzle"),s.push("!=",H)}catch(n){}}),s=new RegExp(s.join("|")),nt.matchesSelector=function(t,n){n=n.replace(r,"='$1']");if(!o(t)&&!s.test(n)&&!i.test(n))try{var a=u.call(t,n);if(a||e||t.document&&t.document.nodeType!==11)return a}catch(f){}return nt(n,null,null,[t]).length>0})}(),i.pseudos.nth=i.pseudos.eq,i.filters=mt.prototype=i.pseudos,i.setFilters=new mt,nt.attr=v.attr,v.find=nt,v.expr=nt.selectors,v.expr[":"]=v.expr.pseudos,v.unique=nt.uniqueSort,v.text=nt.getText,v.isXMLDoc=nt.isXML,v.contains=nt.contains}(e);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,it=/^.[^:#\[\.,]*$/,st=v.expr.match.needsContext,ot={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({find:function(e){var t,n,r,i,s,o,u=this;if(typeof e!="string")return v(e).filter(function(){for(t=0,n=u.length;t0)for(i=r;i=0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,s=[],o=st.test(e)||typeof e!="string"?v(e,t||this.context):0;for(;r-1:v.find.matchesSelector(n,e)){s.push(n);break}n=n.parentNode}}return s=s.length>1?v.unique(s):s,this.pushStack(s,"closest",e)},index:function(e){return e?typeof e=="string"?v.inArray(this[0],v(e)):v.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?v(e,t):v.makeArray(e&&e.nodeType?[e]:e),r=v.merge(this.get(),n);return this.pushStack(ut(n[0])||ut(r[0])?r:v.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),v.fn.andSelf=v.fn.addBack,v.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return at(e,"nextSibling")},prev:function(e){return at(e,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.merge([],e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);return nt.test(e)||(r=n),r&&typeof r=="string"&&(i=v.filter(r,i)),i=this.length>1&&!ot[e]?v.unique(i):i,this.length>1&&rt.test(e)&&(i=i.reverse()),this.pushStack(i,e,l.call(arguments).join(","))}}),v.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!v(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var ct="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ht=/ jQuery\d+="(?:null|\d+)"/g,pt=/^\s+/,dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,mt=/]","i"),Et=/^(?:checkbox|radio)$/,St=/checked\s*(?:[^=]|=\s*.checked.)/i,xt=/\/(java|ecma)script/i,Tt=/^\s*\s*$/g,Nt={option:[1,""],legend:[1,"
      ","
      "],thead:[1,"","
      "],tr:[2,"","
      "],td:[3,"","
      "],col:[2,"","
      "],area:[1,"",""],_default:[0,"",""]},Ct=lt(i),kt=Ct.appendChild(i.createElement("div"));Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,v.support.htmlSerialize||(Nt._default=[1,"X
      ","
      "]),v.fn.extend({text:function(e){return v.access(this,function(e){return e===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(e,this),"before",this.selector)}},after:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,r=0;for(;(n=this[r])!=null;r++)if(!e||v.filter(e,[n]).length)!t&&n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),v.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&v.cleanData(e.getElementsByTagName("*"));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(ht,""):t;if(typeof e=="string"&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt[(vt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(dt,"<$1>");try{for(;r1&&typeof f=="string"&&St.test(f))return this.each(function(){v(this).domManip(e,n,r)});if(v.isFunction(f))return this.each(function(i){var s=v(this);e[0]=f.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this[0]){i=v.buildFragment(e,this,l),o=i.fragment,s=o.firstChild,o.childNodes.length===1&&(o=s);if(s){n=n&&v.nodeName(s,"tr");for(u=i.cacheable||c-1;a0?this.clone(!0):this).get(),v(o[i])[t](r),s=s.concat(r);return this.pushStack(s,e,o.selector)}}),v.extend({clone:function(e,t,n){var r,i,s,o;v.support.html5Clone||v.isXMLDoc(e)||!wt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(kt.innerHTML=e.outerHTML,kt.removeChild(o=kt.firstChild));if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!v.isXMLDoc(e)){Ot(e,o),r=Mt(e),i=Mt(o);for(s=0;r[s];++s)i[s]&&Ot(r[s],i[s])}if(t){At(e,o);if(n){r=Mt(e),i=Mt(o);for(s=0;r[s];++s)At(r[s],i[s])}}return r=i=null,o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,y=t===i&&Ct,b=[];if(!t||typeof t.createDocumentFragment=="undefined")t=i;for(s=0;(u=e[s])!=null;s++){typeof u=="number"&&(u+="");if(!u)continue;if(typeof u=="string")if(!gt.test(u))u=t.createTextNode(u);else{y=y||lt(t),c=t.createElement("div"),y.appendChild(c),u=u.replace(dt,"<$1>"),a=(vt.exec(u)||["",""])[1].toLowerCase(),f=Nt[a]||Nt._default,l=f[0],c.innerHTML=f[1]+u+f[2];while(l--)c=c.lastChild;if(!v.support.tbody){h=mt.test(u),p=a==="table"&&!h?c.firstChild&&c.firstChild.childNodes:f[1]===""&&!h?c.childNodes:[];for(o=p.length-1;o>=0;--o)v.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o])}!v.support.leadingWhitespace&&pt.test(u)&&c.insertBefore(t.createTextNode(pt.exec(u)[0]),c.firstChild),u=c.childNodes,c.parentNode.removeChild(c)}u.nodeType?b.push(u):v.merge(b,u)}c&&(u=c=y=null);if(!v.support.appendChecked)for(s=0;(u=b[s])!=null;s++)v.nodeName(u,"input")?_t(u):typeof u.getElementsByTagName!="undefined"&&v.grep(u.getElementsByTagName("input"),_t);if(n){m=function(e){if(!e.type||xt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(s=0;(u=b[s])!=null;s++)if(!v.nodeName(u,"script")||!m(u))n.appendChild(u),typeof u.getElementsByTagName!="undefined"&&(g=v.grep(v.merge([],u.getElementsByTagName("script")),m),b.splice.apply(b,[s+1,0].concat(g)),s+=g.length)}return b},cleanData:function(e,t){var n,r,i,s,o=0,u=v.expando,a=v.cache,f=v.support.deleteExpando,l=v.event.special;for(;(i=e[o])!=null;o++)if(t||v.acceptData(i)){r=i[u],n=r&&a[r];if(n){if(n.events)for(s in n.events)l[s]?v.event.remove(i,s):v.removeEvent(i,s,n.handle);a[r]&&(delete a[r],f?delete i[u]:i.removeAttribute?i.removeAttribute(u):i[u]=null,v.deletedIds.push(r))}}}}),function(){var e,t;v.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=v.uaMatch(o.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),v.browser=t,v.sub=function(){function e(t,n){return new e.fn.init(t,n)}v.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(r,i){return i&&i instanceof v&&!(i instanceof e)&&(i=e(i)),v.fn.init.call(this,r,i,t)},e.fn.init.prototype=e.fn;var t=e(i);return e}}();var Dt,Pt,Ht,Bt=/alpha\([^)]*\)/i,jt=/opacity=([^)]*)/,Ft=/^(top|right|bottom|left)$/,It=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Rt=new RegExp("^("+m+")(.*)$","i"),Ut=new RegExp("^("+m+")(?!px)[a-z%]+$","i"),zt=new RegExp("^([-+])=("+m+")","i"),Wt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},$t=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"],Kt=v.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,!0)},hide:function(){return Yt(this)},toggle:function(e,t){var n=typeof e=="boolean";return v.isFunction(e)&&v.isFunction(t)?Kt.apply(this,arguments):this.each(function(){(n?e:Gt(this))?v(this).show():v(this).hide()})}}),v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Dt(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var s,o,u,a=v.camelCase(n),f=e.style;n=v.cssProps[a]||(v.cssProps[a]=Qt(f,a)),u=v.cssHooks[n]||v.cssHooks[a];if(r===t)return u&&"get"in u&&(s=u.get(e,!1,i))!==t?s:f[n];o=typeof r,o==="string"&&(s=zt.exec(r))&&(r=(s[1]+1)*s[2]+parseFloat(v.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!v.cssNumber[a]&&(r+="px");if(!u||!("set"in u)||(r=u.set(e,r,i))!==t)try{f[n]=r}catch(l){}},css:function(e,n,r,i){var s,o,u,a=v.camelCase(n);return n=v.cssProps[a]||(v.cssProps[a]=Qt(e.style,a)),u=v.cssHooks[n]||v.cssHooks[a],u&&"get"in u&&(s=u.get(e,!0,i)),s===t&&(s=Dt(e,n)),s==="normal"&&n in Vt&&(s=Vt[n]),r||i!==t?(o=parseFloat(s),r||v.isNumeric(o)?o||0:s):s},swap:function(e,t,n){var r,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=s[i];return r}}),e.getComputedStyle?Dt=function(t,n){var r,i,s,o,u=e.getComputedStyle(t,null),a=t.style;return u&&(r=u.getPropertyValue(n)||u[n],r===""&&!v.contains(t.ownerDocument,t)&&(r=v.style(t,n)),Ut.test(r)&&qt.test(n)&&(i=a.width,s=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=u.width,a.width=i,a.minWidth=s,a.maxWidth=o)),r}:i.documentElement.currentStyle&&(Dt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],s=e.style;return i==null&&s&&s[t]&&(i=s[t]),Ut.test(i)&&!Ft.test(t)&&(n=s.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":i,i=s.pixelLeft+"px",s.left=n,r&&(e.runtimeStyle.left=r)),i===""?"auto":i}),v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&It.test(Dt(e,"display"))?v.swap(e,Xt,function(){return tn(e,t,r)}):tn(e,t,r)},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,"boxSizing")==="border-box"):0)}}}),v.support.opacity||(v.cssHooks.opacity={get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=v.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&v.trim(s.replace(Bt,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=Bt.test(s)?s.replace(Bt,i):s+" "+i}}),v(function(){v.support.reliableMarginRight||(v.cssHooks.marginRight={get:function(e,t){return v.swap(e,{display:"inline-block"},function(){if(t)return Dt(e,"marginRight")})}}),!v.support.pixelPosition&&v.fn.position&&v.each(["top","left"],function(e,t){v.cssHooks[t]={get:function(e,n){if(n){var r=Dt(e,t);return Ut.test(r)?v(e).position()[t]+"px":r}}}})}),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,"display"))==="none"},v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)}),v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){var r,i=typeof n=="string"?n.split(" "):[n],s={};for(r=0;r<4;r++)s[e+$t[r]+t]=i[r]||i[r-2]||i[0];return s}},qt.test(e)||(v.cssHooks[e+t].set=Zt)});var rn=/%20/g,sn=/\[\]$/,on=/\r?\n/g,un=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an=/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var n=v(this).val();return n==null?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),v.param=function(e,n){var r,i=[],s=function(e,t){t=v.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=v.ajaxSettings&&v.ajaxSettings.traditional);if(v.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){s(this.name,this.value)});else for(r in e)fn(r,e[r],n,s);return i.join("&").replace(rn,"+")};var ln,cn,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,dn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,mn=/^\/\//,gn=/\?/,yn=/)<[^<]*)*<\/script>/gi,bn=/([?&])_=[^&]*/,wn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=v.fn.load,Sn={},xn={},Tn=["*/"]+["*"];try{cn=s.href}catch(Nn){cn=i.createElement("a"),cn.href="",cn=cn.href}ln=wn.exec(cn.toLowerCase())||[],v.fn.load=function(e,n,r){if(typeof e!="string"&&En)return En.apply(this,arguments);if(!this.length)return this;var i,s,o,u=this,a=e.indexOf(" ");return a>=0&&(i=e.slice(a,e.length),e=e.slice(0,a)),v.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(s="POST"),v.ajax({url:e,type:s,dataType:"html",data:n,complete:function(e,t){r&&u.each(r,o||[e.responseText,t,e])}}).done(function(e){o=arguments,u.html(i?v("
      ").append(e.replace(yn,"")).find(i):e)}),this},v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.on(t,e)}}),v.each(["get","post"],function(e,n){v[n]=function(e,r,i,s){return v.isFunction(r)&&(s=s||i,i=r,r=t),v.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),v.extend({getScript:function(e,n){return v.get(e,t,n,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?Ln(e,v.ajaxSettings):(t=e,e=v.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:cn,isLocal:dn.test(ln[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,T=n;if(E===2)return;E=2,u&&clearTimeout(u),o=t,i=a||"",x.readyState=e>0?4:0,s&&(w=An(c,x,s));if(e>=200&&e<300||e===304)c.ifModified&&(S=x.getResponseHeader("Last-Modified"),S&&(v.lastModified[r]=S),S=x.getResponseHeader("Etag"),S&&(v.etag[r]=S)),e===304?(T="notmodified",l=!0):(l=On(c,w),T=l.state,y=l.data,b=l.error,l=!b);else{b=T;if(!T||e)T="error",e<0&&(e=0)}x.status=e,x.statusText=(n||T)+"",l?d.resolveWith(h,[y,T,x]):d.rejectWith(h,[x,T,b]),x.statusCode(g),g=t,f&&p.trigger("ajax"+(l?"Success":"Error"),[x,c,l?y:b]),m.fireWith(h,[x,T]),f&&(p.trigger("ajaxComplete",[x,c]),--v.active||v.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var r,i,s,o,u,a,f,l,c=v.ajaxSetup({},n),h=c.context||c,p=h!==c&&(h.nodeType||h instanceof v)?v(h):v.event,d=v.Deferred(),m=v.Callbacks("once memory"),g=c.statusCode||{},b={},w={},E=0,S="canceled",x={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=w[n]=w[n]||e,b[e]=t}return this},getAllResponseHeaders:function(){return E===2?i:null},getResponseHeader:function(e){var n;if(E===2){if(!s){s={};while(n=pn.exec(i))s[n[1].toLowerCase()]=n[2]}n=s[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return E||(c.mimeType=e),this},abort:function(e){return e=e||S,o&&o.abort(e),T(0,e),this}};d.promise(x),x.success=x.done,x.error=x.fail,x.complete=m.add,x.statusCode=function(e){if(e){var t;if(E<2)for(t in e)g[t]=[g[t],e[t]];else t=e[x.status],x.always(t)}return this},c.url=((e||c.url)+"").replace(hn,"").replace(mn,ln[1]+"//"),c.dataTypes=v.trim(c.dataType||"*").toLowerCase().split(y),c.crossDomain==null&&(a=wn.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===ln[1]&&a[2]===ln[2]&&(a[3]||(a[1]==="http:"?80:443))==(ln[3]||(ln[1]==="http:"?80:443)))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=v.param(c.data,c.traditional)),kn(Sn,c,n,x);if(E===2)return x;f=c.global,c.type=c.type.toUpperCase(),c.hasContent=!vn.test(c.type),f&&v.active++===0&&v.event.trigger("ajaxStart");if(!c.hasContent){c.data&&(c.url+=(gn.test(c.url)?"&":"?")+c.data,delete c.data),r=c.url;if(c.cache===!1){var N=v.now(),C=c.url.replace(bn,"$1_="+N);c.url=C+(C===c.url?(gn.test(c.url)?"&":"?")+"_="+N:"")}}(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",c.contentType),c.ifModified&&(r=r||c.url,v.lastModified[r]&&x.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&x.setRequestHeader("If-None-Match",v.etag[r])),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+Tn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers)x.setRequestHeader(l,c.headers[l]);if(!c.beforeSend||c.beforeSend.call(h,x,c)!==!1&&E!==2){S="abort";for(l in{success:1,error:1,complete:1})x[l](c[l]);o=kn(xn,c,n,x);if(!o)T(-1,"No Transport");else{x.readyState=1,f&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},c.timeout));try{E=1,o.send(b,T)}catch(k){if(!(E<2))throw k;T(-1,k)}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var Mn=[],_n=/\?/,Dn=/(=)\?(?=&|$)|\?\?/,Pn=v.now();v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||v.expando+"_"+Pn++;return this[e]=!0,e}}),v.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.data,f=n.url,l=n.jsonp!==!1,c=l&&Dn.test(f),h=l&&!c&&typeof a=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Dn.test(a);if(n.dataTypes[0]==="jsonp"||c||h)return s=n.jsonpCallback=v.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,o=e[s],c?n.url=f.replace(Dn,"$1"+s):h?n.data=a.replace(Dn,"$1"+s):l&&(n.url+=(_n.test(f)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return u||v.error(s+" was not called"),u[0]},n.dataTypes[0]="json",e[s]=function(){u=arguments},i.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=r.jsonpCallback,Mn.push(s)),u&&v.isFunction(o)&&o(u[0]),u=o=t}),"script"}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return v.globalEval(e),e}}}),v.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),v.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=i.head||i.getElementsByTagName("head")[0]||i.documentElement;return{send:function(s,o){n=i.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Hn,Bn=e.ActiveXObject?function(){for(var e in Hn)Hn[e](0,1)}:!1,jn=0;v.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn,function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(v.ajaxSettings.xhr()),v.support.ajax&&v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)a[u]=n.xhrFields[u];n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(u in i)a.setRequestHeader(u,i[u])}catch(f){}a.send(n.hasContent&&n.data||null),r=function(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState===4)){r=t,o&&(a.onreadystatechange=v.noop,Bn&&delete Hn[o]);if(i)a.readyState!==4&&a.abort();else{u=a.status,l=a.getAllResponseHeaders(),c={},h=a.responseXML,h&&h.documentElement&&(c.xml=h);try{c.text=a.responseText}catch(p){}try{f=a.statusText}catch(p){f=""}!u&&n.isLocal&&!n.crossDomain?u=c.text?200:404:u===1223&&(u=204)}}}catch(d){i||s(-1,d)}c&&s(u,f,c,l)},n.async?a.readyState===4?setTimeout(r,0):(o=++jn,Bn&&(Hn||(Hn={},v(e).unload(Bn)),Hn[o]=r),a.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var qn,Rn,Un=/^(?:toggle|show|hide)$/,zn=new RegExp("^(?:([-+])=|)("+m+")([a-z%]*)$","i"),Wn=/queueHooks$/,Xn=[Gn],Vn={"*":[function(e,t){var n,r,i=this.createTween(e,t),s=zn.exec(t),o=i.cur(),u=+o||0,a=1,f=20;if(s){n=+s[2],r=s[3]||(v.cssNumber[e]?"":"px");if(r!=="px"&&u){u=v.css(i.elem,e,!0)||n||1;do a=a||".5",u/=a,v.style(i.elem,e,u+r);while(a!==(a=i.cur()/o)&&a!==1&&--f)}i.unit=r,i.start=u,i.end=s[1]?u+(s[1]+1)*n:n}return i}]};v.Animation=v.extend(Kn,{tweener:function(e,t){v.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),v.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},v.fn.extend({position:function(){if(!this[0])return;var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(v.css(e,"marginTop"))||0,n.left-=parseFloat(v.css(e,"marginLeft"))||0,r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(v.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,"position")==="static")e=e.offsetParent;return e||i.body})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);v.fn[e]=function(i){return v.access(this,function(e,i,s){var o=tr(e);if(s===t)return o?n in o?o[n]:o.document.documentElement[i]:e[i];o?o.scrollTo(r?v(o).scrollLeft():s,r?s:v(o).scrollTop()):e[i]=s},e,i,arguments.length,null)}}),v.each({Height:"height",Width:"width"},function(e,n){v.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){v.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!="boolean"),u=r||(i===!0||s===!0?"margin":"border");return v.access(this,function(n,r,i){var s;return v.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):i===t?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})}),e.jQuery=e.$=v,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return v})})(window);Function(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&v._data(this,"__className__",this.className),this.className=this.className||e===!1?"":v._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(R,""):r==null?"":r);return}return i=v.isFunction(e),this.each(function(r){var s,o=v(this);if(this.nodeType!==1)return;i?s=e.call(this,r,o.val()):s=e,s==null?s="":typeof s=="number"?s+="":v.isArray(s)&&(s=v.map(s,function(e){return e==null?"":e+""})),n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t)this.value=s})}}),v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2)return;if(i&&v.isFunction(v.fn[n]))return v(e)[n](r);if(typeof e.getAttribute=="undefined")return v.prop(e,n,r);u=a!==1||!v.isXMLDoc(e),u&&(n=n.toLowerCase(),o=v.attrHooks[n]||(X.test(n)?F:j));if(r!==t){if(r===null){v.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o]*>/, +T=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,O=/^(?:body|html)$/i,U="val css html text data width height offset".split(" "),K=v.createElement("table"),P=v.createElement("tr"),Q={tr:v.createElement("tbody"),tbody:K,thead:K,tfoot:K,td:P,th:P,"*":v.createElement("div")},V=/complete|loaded|interactive/,W=/^\.([\w-]+)$/,X=/^#([\w-]*)$/,Y=/^[\w-]+$/,G={},S=G.toString,n={},L,F,R=v.createElement("div");n.matches=function(a,b){if(!a||1!==a.nodeType)return!1;var d=a.webkitMatchesSelector|| +a.mozMatchesSelector||a.oMatchesSelector||a.matchesSelector;if(d)return d.call(a,b);var c;c=a.parentNode;(d=!c)&&(c=R).appendChild(a);c=~n.qsa(c,b).indexOf(a);d&&R.removeChild(a);return c};L=function(a){return a.replace(/-+(.)?/g,function(a,d){return d?d.toUpperCase():""})};F=function(a){return D.call(a,function(b,d){return a.indexOf(b)==d})};n.fragment=function(a,b,d){a.replace&&(a=a.replace(T,"<$1>"));b===f&&(b=N.test(a)&&RegExp.$1);b in Q||(b="*");var e,g=Q[b];g.innerHTML=""+a;a=c.each(B.call(g.childNodes), +function(){g.removeChild(this)});k(d)&&(e=c(a),c.each(d,function(a,b){if(-1d.indexOf(a)&&b.push(a)})}return c(b)},has:function(a){return this.filter(function(){return q(a)?c.contains(this,a):c(this).find(a).size()})}, +eq:function(a){return-1===a?this.slice(a):this.slice(a,+a+1)},first:function(){var a=this[0];return a&&!q(a)?a:c(a)},last:function(){var a=this[this.length-1];return a&&!q(a)?a:c(a)},find:function(a){var b=this;return"object"==typeof a?c(a).filter(function(){var a=this;return w.some.call(b,function(b){return c.contains(b,a)})}):1==this.length?c(n.qsa(this[0],a)):this.map(function(){return n.qsa(this,a)})},closest:function(a,b){var d=this[0],e=!1;for("object"==typeof a&&(e=c(a));d&&!(e?0<=e.indexOf(d): +n.matches(d,a));)d=d!==b&&!s(d)&&d.parentNode;return c(d)},parents:function(a){for(var b=[],d=this;0b.indexOf(a))return b.push(a),a});return y(b,a)},parent:function(a){return y(F(this.pluck("parentNode")),a)},children:function(a){return y(this.map(function(){return A(this)}),a)},contents:function(){return this.map(function(){return B.call(this.childNodes)})},siblings:function(a){return y(this.map(function(a,d){return D.call(A(d.parentNode), +function(a){return a!==d})}),a)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(a){return c.map(this,function(b){return b[a]})},show:function(){return this.each(function(){"none"==this.style.display&&(this.style.display=null);if("none"==J(this,"").getPropertyValue("display")){var a=this.style,b=this.nodeName,d,c;I[b]||(d=v.createElement(b),v.body.appendChild(d),c=J(d,"").getPropertyValue("display"),d.parentNode.removeChild(d),"none"==c&&(c="block"),I[b]=c);a.display= +I[b]}})},replaceWith:function(a){return this.before(a).remove()},wrap:function(a){var b=m(a);if(this[0]&&!b)var d=c(a).get(0),e=d.parentNode||1arguments.length&&"string"==typeof a)return this[0]&&(this[0].style[L(a)]||J(this[0],"").getPropertyValue(a));var d="";if("string"==h(a))!b&&0!==b?this.each(function(){this.style.removeProperty(j(a))}):d=j(a)+":"+("number"==typeof b&&!M[j(a)]?b+"px":b);else for(g in a)!a[g]&&0!==a[g]?this.each(function(){this.style.removeProperty(j(g))}):d+=j(g)+":"+("number"==typeof a[g]&&!M[j(g)]?a[g]+"px":a[g])+";";return this.each(function(){this.style.cssText+=";"+d})},index:function(a){return a?this.indexOf(c(a)[0]): +this.parent().children().indexOf(this[0])},hasClass:function(a){return w.some.call(this,function(a){return this.test(z(a))},r(a))},addClass:function(a){return this.each(function(b){u=[];var d=z(this);x(this,a,b,d).split(/\s+/g).forEach(function(a){c(this).hasClass(a)||u.push(a)},this);u.length&&z(this,d+(d?" ":"")+u.join(" "))})},removeClass:function(a){return this.each(function(b){if(a===f)return z(this,"");u=z(this);x(this,a,b,u).split(/\s+/g).forEach(function(a){u=u.replace(r(a)," ")});z(this, +u.trim())})},toggleClass:function(a,b){return this.each(function(d){var e=c(this);x(this,a,d,z(this)).split(/\s+/g).forEach(function(a){(b===f?!e.hasClass(a):b)?e.addClass(a):e.removeClass(a)})})},scrollTop:function(){if(this.length)return"scrollTop"in this[0]?this[0].scrollTop:this[0].scrollY},position:function(){if(this.length){var a=this[0],b=this.offsetParent(),d=this.offset(),e=O.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c(a).css("margin-top"))||0;d.left-=parseFloat(c(a).css("margin-left"))|| +0;e.top+=parseFloat(c(b[0]).css("border-top-width"))||0;e.left+=parseFloat(c(b[0]).css("border-left-width"))||0;return{top:d.top-e.top,left:d.left-e.left}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||v.body;a&&!O.test(a.nodeName)&&"static"==c(a).css("position");)a=a.offsetParent;return a})}};c.fn.detach=c.fn.remove;["width","height"].forEach(function(a){c.fn[a]=function(b){var d,e=this[0],g=a.replace(/./,function(a){return a[0].toUpperCase()});return b===f?p(e)? +e["inner"+g]:s(e)?e.documentElement["offset"+g]:(d=this.offset())&&d[a]:this.each(function(d){e=c(this);e.css(a,x(this,b,d,e[a]()))})}});["after","prepend","before","append"].forEach(function(a,b){var d=b%2;c.fn[a]=function(){var a,f=c.map(arguments,function(b){a=h(b);return"object"==a||"array"==a||null==b?b:n.fragment(b)}),g,u=1f.length?this:this.each(function(a,h){g=d?h:h.parentNode;h=0==b?h.nextSibling:1==b?h.firstChild:2==b?h:null;f.forEach(function(a){if(u)a=a.cloneNode(!0); +else if(!g)return c(a).remove();e(g.insertBefore(a,h),function(a){null!=a.nodeName&&("SCRIPT"===a.nodeName.toUpperCase()&&(!a.type||"text/javascript"===a.type)&&!a.src)&&window.eval.call(window,a.innerHTML)})})})};c.fn[d?a+"To":"insert"+(b?"Before":"After")]=function(b){c(b)[a](this);return this}});n.Z.prototype=c.fn;n.uniq=F;n.deserializeValue=E;c.zepto=n;return c}();window.Zepto=Zepto;"$"in window||(window.$=Zepto); +(function(h){String.prototype.trim===h&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")});Array.prototype.reduce===h&&(Array.prototype.reduce=function(m){if(void 0===this||null===this)throw new TypeError;var p=Object(this),s=p.length>>>0,q=0,k;if("function"!=typeof m)throw new TypeError;if(0==s&&1==arguments.length)throw new TypeError;if(2<=arguments.length)k=arguments[1];else{do{if(q in p){k=p[q++];break}if(++q>=s)throw new TypeError;}while(1)}for(;q=1.7" + }, + "description": "Highly customizable checkboxes and radio buttons (jQuery and Zepto). Features: identical inputs across different browsers and devices (both desktop and mobile), touch devices support (iOS, Android, BlackBerry, Windows Phone, Amazon Kindle), keyboard accessible inputs (Tab, Spacebar, Arrow up/down and other shortcuts), screenreader accessible inputs — (ARIA attributes for VoiceOver and others), customization freedom (use any HTML and CSS to style inputs or try 6 Retina-ready skins), lightweight size (1 kb gzipped). Provides 32 options to customize checkboxes and radio buttons, 11 callbacks to handle changes, 9 methods to make changes programmatically. Saves changes to original inputs, works carefully with any selectors.", + "keywords": [ + "checkbox", + "radio", + "input", + "field", + "form", + "desktop", + "mobile", + "custom", + "replacement", + "accessibility", + "skins", + "ui", + "checked", + "disabled", + "indeterminate", + "css3", + "html5", + "tiny", + "lightweight", + "jquery", + "zepto" + ], + "homepage": "http://fronteed.com/iCheck/", + "docs": "https://github.com/fronteed/iCheck", + "demo": "http://fronteed.com/iCheck/", + "download": "http://fronteed.com/iCheck/", + "bugs": "https://github.com/fronteed/iCheck/issues/" +} diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/icheck.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/icheck.js new file mode 100644 index 00000000..7bf27682 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/icheck.js @@ -0,0 +1,509 @@ +/*! + * iCheck v1.0.2, http://git.io/arlzeA + * =================================== + * Powerful jQuery and Zepto plugin for checkboxes and radio buttons customization + * + * (c) 2013 Damir Sultanov, http://fronteed.com + * MIT Licensed + */ + +(function($) { + + // Cached vars + var _iCheck = 'iCheck', + _iCheckHelper = _iCheck + '-helper', + _checkbox = 'checkbox', + _radio = 'radio', + _checked = 'checked', + _unchecked = 'un' + _checked, + _disabled = 'disabled', + _determinate = 'determinate', + _indeterminate = 'in' + _determinate, + _update = 'update', + _type = 'type', + _click = 'click', + _touch = 'touchbegin.i touchend.i', + _add = 'addClass', + _remove = 'removeClass', + _callback = 'trigger', + _label = 'label', + _cursor = 'cursor', + _mobile = /ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent); + + // Plugin init + $.fn[_iCheck] = function(options, fire) { + + // Walker + var handle = 'input[type="' + _checkbox + '"], input[type="' + _radio + '"]', + stack = $(), + walker = function(object) { + object.each(function() { + var self = $(this); + + if (self.is(handle)) { + stack = stack.add(self); + } else { + stack = stack.add(self.find(handle)); + } + }); + }; + + // Check if we should operate with some method + if (/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(options)) { + + // Normalize method's name + options = options.toLowerCase(); + + // Find checkboxes and radio buttons + walker(this); + + return stack.each(function() { + var self = $(this); + + if (options == 'destroy') { + tidy(self, 'ifDestroyed'); + } else { + operate(self, true, options); + } + + // Fire method's callback + if ($.isFunction(fire)) { + fire(); + } + }); + + // Customization + } else if (typeof options == 'object' || !options) { + + // Check if any options were passed + var settings = $.extend({ + checkedClass: _checked, + disabledClass: _disabled, + indeterminateClass: _indeterminate, + labelHover: true + }, options), + + selector = settings.handle, + hoverClass = settings.hoverClass || 'hover', + focusClass = settings.focusClass || 'focus', + activeClass = settings.activeClass || 'active', + labelHover = !!settings.labelHover, + labelHoverClass = settings.labelHoverClass || 'hover', + + // Setup clickable area + area = ('' + settings.increaseArea).replace('%', '') | 0; + + // Selector limit + if (selector == _checkbox || selector == _radio) { + handle = 'input[type="' + selector + '"]'; + } + + // Clickable area limit + if (area < -50) { + area = -50; + } + + // Walk around the selector + walker(this); + + return stack.each(function() { + var self = $(this); + + // If already customized + tidy(self); + + var node = this, + id = node.id, + + // Layer styles + offset = -area + '%', + size = 100 + (area * 2) + '%', + layer = { + position: 'absolute', + top: offset, + left: offset, + display: 'block', + width: size, + height: size, + margin: 0, + padding: 0, + background: '#fff', + border: 0, + opacity: 0 + }, + + // Choose how to hide input + hide = _mobile ? { + position: 'absolute', + visibility: 'hidden' + } : area ? layer : { + position: 'absolute', + opacity: 0 + }, + + // Get proper class + className = node[_type] == _checkbox ? settings.checkboxClass || 'i' + _checkbox : settings.radioClass || 'i' + _radio, + + // Find assigned labels + label = $(_label + '[for="' + id + '"]').add(self.closest(_label)), + + // Check ARIA option + aria = !!settings.aria, + + // Set ARIA placeholder + ariaID = _iCheck + '-' + Math.random().toString(36).substr(2,6), + + // Parent & helper + parent = '
      ')[_callback]('ifCreated').parent().append(settings.insert); + + // Layer addition + helper = $('').css(layer).appendTo(parent); + + // Finalize customization + self.data(_iCheck, {o: settings, s: self.attr('style')}).css(hide); + !!settings.inheritClass && parent[_add](node.className || ''); + !!settings.inheritID && id && parent.attr('id', _iCheck + '-' + id); + parent.css('position') == 'static' && parent.css('position', 'relative'); + operate(self, true, _update); + + // Label events + if (label.length) { + label.on(_click + '.i mouseover.i mouseout.i ' + _touch, function(event) { + var type = event[_type], + item = $(this); + + // Do nothing if input is disabled + if (!node[_disabled]) { + + // Click + if (type == _click) { + if ($(event.target).is('a')) { + return; + } + operate(self, false, true); + + // Hover state + } else if (labelHover) { + + // mouseout|touchend + if (/ut|nd/.test(type)) { + parent[_remove](hoverClass); + item[_remove](labelHoverClass); + } else { + parent[_add](hoverClass); + item[_add](labelHoverClass); + } + } + + if (_mobile) { + event.stopPropagation(); + } else { + return false; + } + } + }); + } + + // Input events + self.on(_click + '.i focus.i blur.i keyup.i keydown.i keypress.i', function(event) { + var type = event[_type], + key = event.keyCode; + + // Click + if (type == _click) { + return false; + + // Keydown + } else if (type == 'keydown' && key == 32) { + if (!(node[_type] == _radio && node[_checked])) { + if (node[_checked]) { + off(self, _checked); + } else { + on(self, _checked); + } + } + + return false; + + // Keyup + } else if (type == 'keyup' && node[_type] == _radio) { + !node[_checked] && on(self, _checked); + + // Focus/blur + } else if (/us|ur/.test(type)) { + parent[type == 'blur' ? _remove : _add](focusClass); + } + }); + + // Helper events + helper.on(_click + ' mousedown mouseup mouseover mouseout ' + _touch, function(event) { + var type = event[_type], + + // mousedown|mouseup + toggle = /wn|up/.test(type) ? activeClass : hoverClass; + + // Do nothing if input is disabled + if (!node[_disabled]) { + + // Click + if (type == _click) { + operate(self, false, true); + + // Active and hover states + } else { + + // State is on + if (/wn|er|in/.test(type)) { + + // mousedown|mouseover|touchbegin + parent[_add](toggle); + + // State is off + } else { + parent[_remove](toggle + ' ' + activeClass); + } + + // Label hover + if (label.length && labelHover && toggle == hoverClass) { + + // mouseout|touchend + label[/ut|nd/.test(type) ? _remove : _add](labelHoverClass); + } + } + + if (_mobile) { + event.stopPropagation(); + } else { + return false; + } + } + }); + }); + } else { + return this; + } + }; + + // Do something with inputs + function operate(input, direct, method) { + var node = input[0], + state = /er/.test(method) ? _indeterminate : /bl/.test(method) ? _disabled : _checked, + active = method == _update ? { + checked: node[_checked], + disabled: node[_disabled], + indeterminate: input.attr(_indeterminate) == 'true' || input.attr(_determinate) == 'false' + } : node[state]; + + // Check, disable or indeterminate + if (/^(ch|di|in)/.test(method) && !active) { + on(input, state); + + // Uncheck, enable or determinate + } else if (/^(un|en|de)/.test(method) && active) { + off(input, state); + + // Update + } else if (method == _update) { + + // Handle states + for (var each in active) { + if (active[each]) { + on(input, each, true); + } else { + off(input, each, true); + } + } + + } else if (!direct || method == 'toggle') { + + // Helper or label was clicked + if (!direct) { + input[_callback]('ifClicked'); + } + + // Toggle checked state + if (active) { + if (node[_type] !== _radio) { + off(input, state); + } + } else { + on(input, state); + } + } + } + + // Add checked, disabled or indeterminate state + function on(input, state, keep) { + var node = input[0], + parent = input.parent(), + checked = state == _checked, + indeterminate = state == _indeterminate, + disabled = state == _disabled, + callback = indeterminate ? _determinate : checked ? _unchecked : 'enabled', + regular = option(input, callback + capitalize(node[_type])), + specific = option(input, state + capitalize(node[_type])); + + // Prevent unnecessary actions + if (node[state] !== true) { + + // Toggle assigned radio buttons + if (!keep && state == _checked && node[_type] == _radio && node.name) { + var form = input.closest('form'), + inputs = 'input[name="' + node.name + '"]'; + + inputs = form.length ? form.find(inputs) : $(inputs); + + inputs.each(function() { + if (this !== node && $(this).data(_iCheck)) { + off($(this), state); + } + }); + } + + // Indeterminate state + if (indeterminate) { + + // Add indeterminate state + node[state] = true; + + // Remove checked state + if (node[_checked]) { + off(input, _checked, 'force'); + } + + // Checked or disabled state + } else { + + // Add checked or disabled state + if (!keep) { + node[state] = true; + } + + // Remove indeterminate state + if (checked && node[_indeterminate]) { + off(input, _indeterminate, false); + } + } + + // Trigger callbacks + callbacks(input, checked, state, keep); + } + + // Add proper cursor + if (node[_disabled] && !!option(input, _cursor, true)) { + parent.find('.' + _iCheckHelper).css(_cursor, 'default'); + } + + // Add state class + parent[_add](specific || option(input, state) || ''); + + // Set ARIA attribute + if (!!parent.attr('role') && !indeterminate) { + parent.attr('aria-' + (disabled ? _disabled : _checked), 'true'); + } + + // Remove regular state class + parent[_remove](regular || option(input, callback) || ''); + } + + // Remove checked, disabled or indeterminate state + function off(input, state, keep) { + var node = input[0], + parent = input.parent(), + checked = state == _checked, + indeterminate = state == _indeterminate, + disabled = state == _disabled, + callback = indeterminate ? _determinate : checked ? _unchecked : 'enabled', + regular = option(input, callback + capitalize(node[_type])), + specific = option(input, state + capitalize(node[_type])); + + // Prevent unnecessary actions + if (node[state] !== false) { + + // Toggle state + if (indeterminate || !keep || keep == 'force') { + node[state] = false; + } + + // Trigger callbacks + callbacks(input, checked, callback, keep); + } + + // Add proper cursor + if (!node[_disabled] && !!option(input, _cursor, true)) { + parent.find('.' + _iCheckHelper).css(_cursor, 'pointer'); + } + + // Remove state class + parent[_remove](specific || option(input, state) || ''); + + // Set ARIA attribute + if (!!parent.attr('role') && !indeterminate) { + parent.attr('aria-' + (disabled ? _disabled : _checked), 'false'); + } + + // Add regular state class + parent[_add](regular || option(input, callback) || ''); + } + + // Remove all traces + function tidy(input, callback) { + if (input.data(_iCheck)) { + + // Remove everything except input + input.parent().html(input.attr('style', input.data(_iCheck).s || '')); + + // Callback + if (callback) { + input[_callback](callback); + } + + // Unbind events + input.off('.i').unwrap(); + $(_label + '[for="' + input[0].id + '"]').add(input.closest(_label)).off('.i'); + } + } + + // Get some option + function option(input, state, regular) { + if (input.data(_iCheck)) { + return input.data(_iCheck).o[state + (regular ? '' : 'Class')]; + } + } + + // Capitalize some string + function capitalize(string) { + return string.charAt(0).toUpperCase() + string.slice(1); + } + + // Executable handlers + function callbacks(input, checked, callback, keep) { + if (!keep) { + if (checked) { + input[_callback]('ifToggled'); + } + + input[_callback]('ifChanged')[_callback]('if' + capitalize(callback)); + } + } +})(window.jQuery || window.Zepto); diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/icheck.min.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/icheck.min.js new file mode 100644 index 00000000..7cdb17e0 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/icheck.min.js @@ -0,0 +1,11 @@ +/*! iCheck v1.0.2 by Damir Sultanov, http://git.io/arlzeA, MIT Licensed */ +(function(f){function A(a,b,d){var c=a[0],g=/er/.test(d)?_indeterminate:/bl/.test(d)?n:k,e=d==_update?{checked:c[k],disabled:c[n],indeterminate:"true"==a.attr(_indeterminate)||"false"==a.attr(_determinate)}:c[g];if(/^(ch|di|in)/.test(d)&&!e)x(a,g);else if(/^(un|en|de)/.test(d)&&e)q(a,g);else if(d==_update)for(var f in e)e[f]?x(a,f,!0):q(a,f,!0);else if(!b||"toggle"==d){if(!b)a[_callback]("ifClicked");e?c[_type]!==r&&q(a,g):x(a,g)}}function x(a,b,d){var c=a[0],g=a.parent(),e=b==k,u=b==_indeterminate, +v=b==n,s=u?_determinate:e?y:"enabled",F=l(a,s+t(c[_type])),B=l(a,b+t(c[_type]));if(!0!==c[b]){if(!d&&b==k&&c[_type]==r&&c.name){var w=a.closest("form"),p='input[name="'+c.name+'"]',p=w.length?w.find(p):f(p);p.each(function(){this!==c&&f(this).data(m)&&q(f(this),b)})}u?(c[b]=!0,c[k]&&q(a,k,"force")):(d||(c[b]=!0),e&&c[_indeterminate]&&q(a,_indeterminate,!1));D(a,e,b,d)}c[n]&&l(a,_cursor,!0)&&g.find("."+C).css(_cursor,"default");g[_add](B||l(a,b)||"");g.attr("role")&&!u&&g.attr("aria-"+(v?n:k),"true"); +g[_remove](F||l(a,s)||"")}function q(a,b,d){var c=a[0],g=a.parent(),e=b==k,f=b==_indeterminate,m=b==n,s=f?_determinate:e?y:"enabled",q=l(a,s+t(c[_type])),r=l(a,b+t(c[_type]));if(!1!==c[b]){if(f||!d||"force"==d)c[b]=!1;D(a,e,s,d)}!c[n]&&l(a,_cursor,!0)&&g.find("."+C).css(_cursor,"pointer");g[_remove](r||l(a,b)||"");g.attr("role")&&!f&&g.attr("aria-"+(m?n:k),"false");g[_add](q||l(a,s)||"")}function E(a,b){if(a.data(m)){a.parent().html(a.attr("style",a.data(m).s||""));if(b)a[_callback](b);a.off(".i").unwrap(); +f(_label+'[for="'+a[0].id+'"]').add(a.closest(_label)).off(".i")}}function l(a,b,f){if(a.data(m))return a.data(m).o[b+(f?"":"Class")]}function t(a){return a.charAt(0).toUpperCase()+a.slice(1)}function D(a,b,f,c){if(!c){if(b)a[_callback]("ifToggled");a[_callback]("ifChanged")[_callback]("if"+t(f))}}var m="iCheck",C=m+"-helper",r="radio",k="checked",y="un"+k,n="disabled";_determinate="determinate";_indeterminate="in"+_determinate;_update="update";_type="type";_click="click";_touch="touchbegin.i touchend.i"; +_add="addClass";_remove="removeClass";_callback="trigger";_label="label";_cursor="cursor";_mobile=/ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent);f.fn[m]=function(a,b){var d='input[type="checkbox"], input[type="'+r+'"]',c=f(),g=function(a){a.each(function(){var a=f(this);c=a.is(d)?c.add(a):c.add(a.find(d))})};if(/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(a))return a=a.toLowerCase(),g(this),c.each(function(){var c= +f(this);"destroy"==a?E(c,"ifDestroyed"):A(c,!0,a);f.isFunction(b)&&b()});if("object"!=typeof a&&a)return this;var e=f.extend({checkedClass:k,disabledClass:n,indeterminateClass:_indeterminate,labelHover:!0},a),l=e.handle,v=e.hoverClass||"hover",s=e.focusClass||"focus",t=e.activeClass||"active",B=!!e.labelHover,w=e.labelHoverClass||"hover",p=(""+e.increaseArea).replace("%","")|0;if("checkbox"==l||l==r)d='input[type="'+l+'"]';-50>p&&(p=-50);g(this);return c.each(function(){var a=f(this);E(a);var c=this, +b=c.id,g=-p+"%",d=100+2*p+"%",d={position:"absolute",top:g,left:g,display:"block",width:d,height:d,margin:0,padding:0,background:"#fff",border:0,opacity:0},g=_mobile?{position:"absolute",visibility:"hidden"}:p?d:{position:"absolute",opacity:0},l="checkbox"==c[_type]?e.checkboxClass||"icheckbox":e.radioClass||"i"+r,z=f(_label+'[for="'+b+'"]').add(a.closest(_label)),u=!!e.aria,y=m+"-"+Math.random().toString(36).substr(2,6),h='
      ")[_callback]("ifCreated").parent().append(e.insert);d=f('').css(d).appendTo(h);a.data(m,{o:e,s:a.attr("style")}).css(g);e.inheritClass&&h[_add](c.className||"");e.inheritID&&b&&h.attr("id",m+"-"+b);"static"==h.css("position")&&h.css("position","relative");A(a,!0,_update);if(z.length)z.on(_click+".i mouseover.i mouseout.i "+_touch,function(b){var d=b[_type],e=f(this);if(!c[n]){if(d==_click){if(f(b.target).is("a"))return; +A(a,!1,!0)}else B&&(/ut|nd/.test(d)?(h[_remove](v),e[_remove](w)):(h[_add](v),e[_add](w)));if(_mobile)b.stopPropagation();else return!1}});a.on(_click+".i focus.i blur.i keyup.i keydown.i keypress.i",function(b){var d=b[_type];b=b.keyCode;if(d==_click)return!1;if("keydown"==d&&32==b)return c[_type]==r&&c[k]||(c[k]?q(a,k):x(a,k)),!1;if("keyup"==d&&c[_type]==r)!c[k]&&x(a,k);else if(/us|ur/.test(d))h["blur"==d?_remove:_add](s)});d.on(_click+" mousedown mouseup mouseover mouseout "+_touch,function(b){var d= +b[_type],e=/wn|up/.test(d)?t:v;if(!c[n]){if(d==_click)A(a,!1,!0);else{if(/wn|er|in/.test(d))h[_add](e);else h[_remove](e+" "+t);if(z.length&&B&&e==v)z[/ut|nd/.test(d)?_remove:_add](w)}if(_mobile)b.stopPropagation();else return!1}})})}})(window.jQuery||window.Zepto); diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/all.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/all.css new file mode 100644 index 00000000..6439b742 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/all.css @@ -0,0 +1,61 @@ +/* iCheck plugin skins +----------------------------------- */ +@import url("minimal/_all.css"); +/* +@import url("minimal/minimal.css"); +@import url("minimal/red.css"); +@import url("minimal/green.css"); +@import url("minimal/blue.css"); +@import url("minimal/aero.css"); +@import url("minimal/grey.css"); +@import url("minimal/orange.css"); +@import url("minimal/yellow.css"); +@import url("minimal/pink.css"); +@import url("minimal/purple.css"); +*/ + +@import url("square/_all.css"); +/* +@import url("square/square.css"); +@import url("square/red.css"); +@import url("square/green.css"); +@import url("square/blue.css"); +@import url("square/aero.css"); +@import url("square/grey.css"); +@import url("square/orange.css"); +@import url("square/yellow.css"); +@import url("square/pink.css"); +@import url("square/purple.css"); +*/ + +@import url("flat/_all.css"); +/* +@import url("flat/flat.css"); +@import url("flat/red.css"); +@import url("flat/green.css"); +@import url("flat/blue.css"); +@import url("flat/aero.css"); +@import url("flat/grey.css"); +@import url("flat/orange.css"); +@import url("flat/yellow.css"); +@import url("flat/pink.css"); +@import url("flat/purple.css"); +*/ + +@import url("line/_all.css"); +/* +@import url("line/line.css"); +@import url("line/red.css"); +@import url("line/green.css"); +@import url("line/blue.css"); +@import url("line/aero.css"); +@import url("line/grey.css"); +@import url("line/orange.css"); +@import url("line/yellow.css"); +@import url("line/pink.css"); +@import url("line/purple.css"); +*/ + +@import url("polaris/polaris.css"); + +@import url("futurico/futurico.css"); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/_all.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/_all.css new file mode 100644 index 00000000..cf5ea76c --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/_all.css @@ -0,0 +1,530 @@ +/* iCheck plugin Flat skin +----------------------------------- */ +.icheckbox_flat, +.iradio_flat { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(flat.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat { + background-position: 0 0; +} + .icheckbox_flat.checked { + background-position: -22px 0; + } + .icheckbox_flat.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat { + background-position: -88px 0; +} + .iradio_flat.checked { + background-position: -110px 0; + } + .iradio_flat.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_flat, + .iradio_flat { + background-image: url(flat@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} + +/* red */ +.icheckbox_flat-red, +.iradio_flat-red { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(red.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-red { + background-position: 0 0; +} + .icheckbox_flat-red.checked { + background-position: -22px 0; + } + .icheckbox_flat-red.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-red.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-red { + background-position: -88px 0; +} + .iradio_flat-red.checked { + background-position: -110px 0; + } + .iradio_flat-red.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-red.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_flat-red, + .iradio_flat-red { + background-image: url(red@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} + +/* green */ +.icheckbox_flat-green, +.iradio_flat-green { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(green.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-green { + background-position: 0 0; +} + .icheckbox_flat-green.checked { + background-position: -22px 0; + } + .icheckbox_flat-green.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-green.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-green { + background-position: -88px 0; +} + .iradio_flat-green.checked { + background-position: -110px 0; + } + .iradio_flat-green.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-green.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_flat-green, + .iradio_flat-green { + background-image: url(green@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} + +/* blue */ +.icheckbox_flat-blue, +.iradio_flat-blue { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(blue.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-blue { + background-position: 0 0; +} + .icheckbox_flat-blue.checked { + background-position: -22px 0; + } + .icheckbox_flat-blue.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-blue.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-blue { + background-position: -88px 0; +} + .iradio_flat-blue.checked { + background-position: -110px 0; + } + .iradio_flat-blue.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-blue.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_flat-blue, + .iradio_flat-blue { + background-image: url(blue@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} + +/* aero */ +.icheckbox_flat-aero, +.iradio_flat-aero { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(aero.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-aero { + background-position: 0 0; +} + .icheckbox_flat-aero.checked { + background-position: -22px 0; + } + .icheckbox_flat-aero.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-aero.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-aero { + background-position: -88px 0; +} + .iradio_flat-aero.checked { + background-position: -110px 0; + } + .iradio_flat-aero.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-aero.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_flat-aero, + .iradio_flat-aero { + background-image: url(aero@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} + +/* grey */ +.icheckbox_flat-grey, +.iradio_flat-grey { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(grey.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-grey { + background-position: 0 0; +} + .icheckbox_flat-grey.checked { + background-position: -22px 0; + } + .icheckbox_flat-grey.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-grey.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-grey { + background-position: -88px 0; +} + .iradio_flat-grey.checked { + background-position: -110px 0; + } + .iradio_flat-grey.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-grey.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_flat-grey, + .iradio_flat-grey { + background-image: url(grey@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} + +/* orange */ +.icheckbox_flat-orange, +.iradio_flat-orange { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(orange.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-orange { + background-position: 0 0; +} + .icheckbox_flat-orange.checked { + background-position: -22px 0; + } + .icheckbox_flat-orange.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-orange.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-orange { + background-position: -88px 0; +} + .iradio_flat-orange.checked { + background-position: -110px 0; + } + .iradio_flat-orange.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-orange.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_flat-orange, + .iradio_flat-orange { + background-image: url(orange@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} + +/* yellow */ +.icheckbox_flat-yellow, +.iradio_flat-yellow { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(yellow.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-yellow { + background-position: 0 0; +} + .icheckbox_flat-yellow.checked { + background-position: -22px 0; + } + .icheckbox_flat-yellow.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-yellow.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-yellow { + background-position: -88px 0; +} + .iradio_flat-yellow.checked { + background-position: -110px 0; + } + .iradio_flat-yellow.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-yellow.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_flat-yellow, + .iradio_flat-yellow { + background-image: url(yellow@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} + +/* pink */ +.icheckbox_flat-pink, +.iradio_flat-pink { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(pink.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-pink { + background-position: 0 0; +} + .icheckbox_flat-pink.checked { + background-position: -22px 0; + } + .icheckbox_flat-pink.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-pink.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-pink { + background-position: -88px 0; +} + .iradio_flat-pink.checked { + background-position: -110px 0; + } + .iradio_flat-pink.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-pink.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_flat-pink, + .iradio_flat-pink { + background-image: url(pink@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} + +/* purple */ +.icheckbox_flat-purple, +.iradio_flat-purple { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(purple.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-purple { + background-position: 0 0; +} + .icheckbox_flat-purple.checked { + background-position: -22px 0; + } + .icheckbox_flat-purple.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-purple.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-purple { + background-position: -88px 0; +} + .iradio_flat-purple.checked { + background-position: -110px 0; + } + .iradio_flat-purple.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-purple.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_flat-purple, + .iradio_flat-purple { + background-image: url(purple@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/aero.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/aero.css new file mode 100644 index 00000000..dc769c73 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/aero.css @@ -0,0 +1,53 @@ +/* iCheck plugin Flat skin, aero +----------------------------------- */ +.icheckbox_flat-aero, +.iradio_flat-aero { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(aero.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-aero { + background-position: 0 0; +} + .icheckbox_flat-aero.checked { + background-position: -22px 0; + } + .icheckbox_flat-aero.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-aero.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-aero { + background-position: -88px 0; +} + .iradio_flat-aero.checked { + background-position: -110px 0; + } + .iradio_flat-aero.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-aero.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_flat-aero, + .iradio_flat-aero { + background-image: url(aero@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/aero.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/aero.png new file mode 100644 index 00000000..f4277aa4 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/aero.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/aero@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/aero@2x.png new file mode 100644 index 00000000..a9a74945 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/aero@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/blue.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/blue.css new file mode 100644 index 00000000..af091c80 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/blue.css @@ -0,0 +1,53 @@ +/* iCheck plugin Flat skin, blue +----------------------------------- */ +.icheckbox_flat-blue, +.iradio_flat-blue { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(blue.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-blue { + background-position: 0 0; +} + .icheckbox_flat-blue.checked { + background-position: -22px 0; + } + .icheckbox_flat-blue.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-blue.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-blue { + background-position: -88px 0; +} + .iradio_flat-blue.checked { + background-position: -110px 0; + } + .iradio_flat-blue.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-blue.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_flat-blue, + .iradio_flat-blue { + background-image: url(blue@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/blue.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/blue.png new file mode 100644 index 00000000..4b6ef982 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/blue.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/blue@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/blue@2x.png new file mode 100644 index 00000000..d52da057 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/blue@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/flat.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/flat.css new file mode 100644 index 00000000..665bc7bc --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/flat.css @@ -0,0 +1,53 @@ +/* iCheck plugin flat skin, black +----------------------------------- */ +.icheckbox_flat, +.iradio_flat { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(flat.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat { + background-position: 0 0; +} + .icheckbox_flat.checked { + background-position: -22px 0; + } + .icheckbox_flat.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat { + background-position: -88px 0; +} + .iradio_flat.checked { + background-position: -110px 0; + } + .iradio_flat.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_flat, + .iradio_flat { + background-image: url(flat@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/flat.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/flat.png new file mode 100644 index 00000000..15af826e Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/flat.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/flat@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/flat@2x.png new file mode 100644 index 00000000..e70e438c Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/flat@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green.css new file mode 100644 index 00000000..cce7a7fa --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green.css @@ -0,0 +1,53 @@ +/* iCheck plugin Flat skin, green +----------------------------------- */ +.icheckbox_flat-green, +.iradio_flat-green { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(green.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-green { + background-position: 0 0; +} + .icheckbox_flat-green.checked { + background-position: -22px 0; + } + .icheckbox_flat-green.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-green.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-green { + background-position: -88px 0; +} + .iradio_flat-green.checked { + background-position: -110px 0; + } + .iradio_flat-green.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-green.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_flat-green, + .iradio_flat-green { + background-image: url(green@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green.png new file mode 100644 index 00000000..6b303fbe Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green@2x.png new file mode 100644 index 00000000..92b4411d Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/green@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/grey.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/grey.css new file mode 100644 index 00000000..46305d01 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/grey.css @@ -0,0 +1,53 @@ +/* iCheck plugin Flat skin, grey +----------------------------------- */ +.icheckbox_flat-grey, +.iradio_flat-grey { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(grey.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-grey { + background-position: 0 0; +} + .icheckbox_flat-grey.checked { + background-position: -22px 0; + } + .icheckbox_flat-grey.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-grey.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-grey { + background-position: -88px 0; +} + .iradio_flat-grey.checked { + background-position: -110px 0; + } + .iradio_flat-grey.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-grey.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_flat-grey, + .iradio_flat-grey { + background-image: url(grey@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/grey.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/grey.png new file mode 100644 index 00000000..c6e2873e Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/grey.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/grey@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/grey@2x.png new file mode 100644 index 00000000..0b47b1c6 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/grey@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/orange.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/orange.css new file mode 100644 index 00000000..c8d3caf3 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/orange.css @@ -0,0 +1,53 @@ +/* iCheck plugin Flat skin, orange +----------------------------------- */ +.icheckbox_flat-orange, +.iradio_flat-orange { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(orange.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-orange { + background-position: 0 0; +} + .icheckbox_flat-orange.checked { + background-position: -22px 0; + } + .icheckbox_flat-orange.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-orange.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-orange { + background-position: -88px 0; +} + .iradio_flat-orange.checked { + background-position: -110px 0; + } + .iradio_flat-orange.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-orange.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_flat-orange, + .iradio_flat-orange { + background-image: url(orange@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/orange.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/orange.png new file mode 100644 index 00000000..ec2532eb Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/orange.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/orange@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/orange@2x.png new file mode 100644 index 00000000..9350b506 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/orange@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/pink.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/pink.css new file mode 100644 index 00000000..e4ca2549 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/pink.css @@ -0,0 +1,53 @@ +/* iCheck plugin Flat skin, pink +----------------------------------- */ +.icheckbox_flat-pink, +.iradio_flat-pink { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(pink.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-pink { + background-position: 0 0; +} + .icheckbox_flat-pink.checked { + background-position: -22px 0; + } + .icheckbox_flat-pink.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-pink.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-pink { + background-position: -88px 0; +} + .iradio_flat-pink.checked { + background-position: -110px 0; + } + .iradio_flat-pink.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-pink.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_flat-pink, + .iradio_flat-pink { + background-image: url(pink@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/pink.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/pink.png new file mode 100644 index 00000000..3e65d9dd Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/pink.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/pink@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/pink@2x.png new file mode 100644 index 00000000..281ba06b Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/pink@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/purple.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/purple.css new file mode 100644 index 00000000..15408bcd --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/purple.css @@ -0,0 +1,53 @@ +/* iCheck plugin Flat skin, purple +----------------------------------- */ +.icheckbox_flat-purple, +.iradio_flat-purple { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(purple.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-purple { + background-position: 0 0; +} + .icheckbox_flat-purple.checked { + background-position: -22px 0; + } + .icheckbox_flat-purple.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-purple.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-purple { + background-position: -88px 0; +} + .iradio_flat-purple.checked { + background-position: -110px 0; + } + .iradio_flat-purple.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-purple.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_flat-purple, + .iradio_flat-purple { + background-image: url(purple@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/purple.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/purple.png new file mode 100644 index 00000000..3699fd58 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/purple.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/purple@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/purple@2x.png new file mode 100644 index 00000000..7f4be74a Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/purple@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/red.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/red.css new file mode 100644 index 00000000..d2e240db --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/red.css @@ -0,0 +1,53 @@ +/* iCheck plugin Flat skin, red +----------------------------------- */ +.icheckbox_flat-red, +.iradio_flat-red { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(red.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-red { + background-position: 0 0; +} + .icheckbox_flat-red.checked { + background-position: -22px 0; + } + .icheckbox_flat-red.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-red.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-red { + background-position: -88px 0; +} + .iradio_flat-red.checked { + background-position: -110px 0; + } + .iradio_flat-red.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-red.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_flat-red, + .iradio_flat-red { + background-image: url(red@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/red.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/red.png new file mode 100644 index 00000000..0d5ac381 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/red.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/red@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/red@2x.png new file mode 100644 index 00000000..38590d98 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/red@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/yellow.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/yellow.css new file mode 100644 index 00000000..ce130af6 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/yellow.css @@ -0,0 +1,53 @@ +/* iCheck plugin Flat skin, yellow +----------------------------------- */ +.icheckbox_flat-yellow, +.iradio_flat-yellow { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 20px; + height: 20px; + background: url(yellow.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_flat-yellow { + background-position: 0 0; +} + .icheckbox_flat-yellow.checked { + background-position: -22px 0; + } + .icheckbox_flat-yellow.disabled { + background-position: -44px 0; + cursor: default; + } + .icheckbox_flat-yellow.checked.disabled { + background-position: -66px 0; + } + +.iradio_flat-yellow { + background-position: -88px 0; +} + .iradio_flat-yellow.checked { + background-position: -110px 0; + } + .iradio_flat-yellow.disabled { + background-position: -132px 0; + cursor: default; + } + .iradio_flat-yellow.checked.disabled { + background-position: -154px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_flat-yellow, + .iradio_flat-yellow { + background-image: url(yellow@2x.png); + -webkit-background-size: 176px 22px; + background-size: 176px 22px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/yellow.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/yellow.png new file mode 100644 index 00000000..909dadc5 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/yellow.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/yellow@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/yellow@2x.png new file mode 100644 index 00000000..9fd5d733 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/flat/yellow@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/futurico/futurico.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/futurico/futurico.css new file mode 100644 index 00000000..23649a75 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/futurico/futurico.css @@ -0,0 +1,53 @@ +/* iCheck plugin Futurico skin +----------------------------------- */ +.icheckbox_futurico, +.iradio_futurico { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 16px; + height: 17px; + background: url(futurico.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_futurico { + background-position: 0 0; +} + .icheckbox_futurico.checked { + background-position: -18px 0; + } + .icheckbox_futurico.disabled { + background-position: -36px 0; + cursor: default; + } + .icheckbox_futurico.checked.disabled { + background-position: -54px 0; + } + +.iradio_futurico { + background-position: -72px 0; +} + .iradio_futurico.checked { + background-position: -90px 0; + } + .iradio_futurico.disabled { + background-position: -108px 0; + cursor: default; + } + .iradio_futurico.checked.disabled { + background-position: -126px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_futurico, + .iradio_futurico { + background-image: url(futurico@2x.png); + -webkit-background-size: 144px 19px; + background-size: 144px 19px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/futurico/futurico.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/futurico/futurico.png new file mode 100644 index 00000000..50d62b5d Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/futurico/futurico.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/futurico/futurico@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/futurico/futurico@2x.png new file mode 100644 index 00000000..f7eb45aa Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/futurico/futurico@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/Thumbs.db b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/Thumbs.db new file mode 100644 index 00000000..a5980502 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/Thumbs.db differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/_all.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/_all.css new file mode 100644 index 00000000..14ff6cca --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/_all.css @@ -0,0 +1,710 @@ +/* iCheck plugin Line skin +----------------------------------- */ +.icheckbox_line, +.iradio_line { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #000; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line .icheck_line-icon, + .iradio_line .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line.hover, + .icheckbox_line.checked.hover, + .iradio_line.hover { + background: #444; + } + .icheckbox_line.checked, + .iradio_line.checked { + background: #000; + } + .icheckbox_line.checked .icheck_line-icon, + .iradio_line.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line.disabled, + .iradio_line.disabled { + background: #ccc; + cursor: default; + } + .icheckbox_line.disabled .icheck_line-icon, + .iradio_line.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line.checked.disabled, + .iradio_line.checked.disabled { + background: #ccc; + } + .icheckbox_line.checked.disabled .icheck_line-icon, + .iradio_line.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_line .icheck_line-icon, + .iradio_line .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} + +/* red */ +.icheckbox_line-red, +.iradio_line-red { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #e56c69; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-red .icheck_line-icon, + .iradio_line-red .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-red.hover, + .icheckbox_line-red.checked.hover, + .iradio_line-red.hover { + background: #E98582; + } + .icheckbox_line-red.checked, + .iradio_line-red.checked { + background: #e56c69; + } + .icheckbox_line-red.checked .icheck_line-icon, + .iradio_line-red.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-red.disabled, + .iradio_line-red.disabled { + background: #F7D3D2; + cursor: default; + } + .icheckbox_line-red.disabled .icheck_line-icon, + .iradio_line-red.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-red.checked.disabled, + .iradio_line-red.checked.disabled { + background: #F7D3D2; + } + .icheckbox_line-red.checked.disabled .icheck_line-icon, + .iradio_line-red.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_line-red .icheck_line-icon, + .iradio_line-red .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} + +/* green */ +.icheckbox_line-green, +.iradio_line-green { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #1b7e5a; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-green .icheck_line-icon, + .iradio_line-green .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-green.hover, + .icheckbox_line-green.checked.hover, + .iradio_line-green.hover { + background: #24AA7A; + } + .icheckbox_line-green.checked, + .iradio_line-green.checked { + background: #1b7e5a; + } + .icheckbox_line-green.checked .icheck_line-icon, + .iradio_line-green.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-green.disabled, + .iradio_line-green.disabled { + background: #89E6C4; + cursor: default; + } + .icheckbox_line-green.disabled .icheck_line-icon, + .iradio_line-green.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-green.checked.disabled, + .iradio_line-green.checked.disabled { + background: #89E6C4; + } + .icheckbox_line-green.checked.disabled .icheck_line-icon, + .iradio_line-green.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_line-green .icheck_line-icon, + .iradio_line-green .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} + +/* blue */ +.icheckbox_line-blue, +.iradio_line-blue { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #2489c5; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-blue .icheck_line-icon, + .iradio_line-blue .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-blue.hover, + .icheckbox_line-blue.checked.hover, + .iradio_line-blue.hover { + background: #3DA0DB; + } + .icheckbox_line-blue.checked, + .iradio_line-blue.checked { + background: #2489c5; + } + .icheckbox_line-blue.checked .icheck_line-icon, + .iradio_line-blue.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-blue.disabled, + .iradio_line-blue.disabled { + background: #ADD7F0; + cursor: default; + } + .icheckbox_line-blue.disabled .icheck_line-icon, + .iradio_line-blue.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-blue.checked.disabled, + .iradio_line-blue.checked.disabled { + background: #ADD7F0; + } + .icheckbox_line-blue.checked.disabled .icheck_line-icon, + .iradio_line-blue.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_line-blue .icheck_line-icon, + .iradio_line-blue .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} + +/* aero */ +.icheckbox_line-aero, +.iradio_line-aero { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #9cc2cb; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-aero .icheck_line-icon, + .iradio_line-aero .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-aero.hover, + .icheckbox_line-aero.checked.hover, + .iradio_line-aero.hover { + background: #B5D1D8; + } + .icheckbox_line-aero.checked, + .iradio_line-aero.checked { + background: #9cc2cb; + } + .icheckbox_line-aero.checked .icheck_line-icon, + .iradio_line-aero.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-aero.disabled, + .iradio_line-aero.disabled { + background: #D2E4E8; + cursor: default; + } + .icheckbox_line-aero.disabled .icheck_line-icon, + .iradio_line-aero.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-aero.checked.disabled, + .iradio_line-aero.checked.disabled { + background: #D2E4E8; + } + .icheckbox_line-aero.checked.disabled .icheck_line-icon, + .iradio_line-aero.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_line-aero .icheck_line-icon, + .iradio_line-aero .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} + +/* grey */ +.icheckbox_line-grey, +.iradio_line-grey { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #73716e; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-grey .icheck_line-icon, + .iradio_line-grey .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-grey.hover, + .icheckbox_line-grey.checked.hover, + .iradio_line-grey.hover { + background: #8B8986; + } + .icheckbox_line-grey.checked, + .iradio_line-grey.checked { + background: #73716e; + } + .icheckbox_line-grey.checked .icheck_line-icon, + .iradio_line-grey.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-grey.disabled, + .iradio_line-grey.disabled { + background: #D5D4D3; + cursor: default; + } + .icheckbox_line-grey.disabled .icheck_line-icon, + .iradio_line-grey.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-grey.checked.disabled, + .iradio_line-grey.checked.disabled { + background: #D5D4D3; + } + .icheckbox_line-grey.checked.disabled .icheck_line-icon, + .iradio_line-grey.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_line-grey .icheck_line-icon, + .iradio_line-grey .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} + +/* orange */ +.icheckbox_line-orange, +.iradio_line-orange { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #f70; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-orange .icheck_line-icon, + .iradio_line-orange .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-orange.hover, + .icheckbox_line-orange.checked.hover, + .iradio_line-orange.hover { + background: #FF9233; + } + .icheckbox_line-orange.checked, + .iradio_line-orange.checked { + background: #f70; + } + .icheckbox_line-orange.checked .icheck_line-icon, + .iradio_line-orange.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-orange.disabled, + .iradio_line-orange.disabled { + background: #FFD6B3; + cursor: default; + } + .icheckbox_line-orange.disabled .icheck_line-icon, + .iradio_line-orange.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-orange.checked.disabled, + .iradio_line-orange.checked.disabled { + background: #FFD6B3; + } + .icheckbox_line-orange.checked.disabled .icheck_line-icon, + .iradio_line-orange.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_line-orange .icheck_line-icon, + .iradio_line-orange .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} + +/* yellow */ +.icheckbox_line-yellow, +.iradio_line-yellow { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #FFC414; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-yellow .icheck_line-icon, + .iradio_line-yellow .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-yellow.hover, + .icheckbox_line-yellow.checked.hover, + .iradio_line-yellow.hover { + background: #FFD34F; + } + .icheckbox_line-yellow.checked, + .iradio_line-yellow.checked { + background: #FFC414; + } + .icheckbox_line-yellow.checked .icheck_line-icon, + .iradio_line-yellow.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-yellow.disabled, + .iradio_line-yellow.disabled { + background: #FFE495; + cursor: default; + } + .icheckbox_line-yellow.disabled .icheck_line-icon, + .iradio_line-yellow.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-yellow.checked.disabled, + .iradio_line-yellow.checked.disabled { + background: #FFE495; + } + .icheckbox_line-yellow.checked.disabled .icheck_line-icon, + .iradio_line-yellow.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_line-yellow .icheck_line-icon, + .iradio_line-yellow .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} + +/* pink */ +.icheckbox_line-pink, +.iradio_line-pink { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #a77a94; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-pink .icheck_line-icon, + .iradio_line-pink .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-pink.hover, + .icheckbox_line-pink.checked.hover, + .iradio_line-pink.hover { + background: #B995A9; + } + .icheckbox_line-pink.checked, + .iradio_line-pink.checked { + background: #a77a94; + } + .icheckbox_line-pink.checked .icheck_line-icon, + .iradio_line-pink.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-pink.disabled, + .iradio_line-pink.disabled { + background: #E0D0DA; + cursor: default; + } + .icheckbox_line-pink.disabled .icheck_line-icon, + .iradio_line-pink.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-pink.checked.disabled, + .iradio_line-pink.checked.disabled { + background: #E0D0DA; + } + .icheckbox_line-pink.checked.disabled .icheck_line-icon, + .iradio_line-pink.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_line-pink .icheck_line-icon, + .iradio_line-pink .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} + +/* purple */ +.icheckbox_line-purple, +.iradio_line-purple { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #6a5a8c; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-purple .icheck_line-icon, + .iradio_line-purple .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-purple.hover, + .icheckbox_line-purple.checked.hover, + .iradio_line-purple.hover { + background: #8677A7; + } + .icheckbox_line-purple.checked, + .iradio_line-purple.checked { + background: #6a5a8c; + } + .icheckbox_line-purple.checked .icheck_line-icon, + .iradio_line-purple.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-purple.disabled, + .iradio_line-purple.disabled { + background: #D2CCDE; + cursor: default; + } + .icheckbox_line-purple.disabled .icheck_line-icon, + .iradio_line-purple.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-purple.checked.disabled, + .iradio_line-purple.checked.disabled { + background: #D2CCDE; + } + .icheckbox_line-purple.checked.disabled .icheck_line-icon, + .iradio_line-purple.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_line-purple .icheck_line-icon, + .iradio_line-purple .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/aero.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/aero.css new file mode 100644 index 00000000..e6dd82a6 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/aero.css @@ -0,0 +1,71 @@ +/* iCheck plugin Line skin, aero +----------------------------------- */ +.icheckbox_line-aero, +.iradio_line-aero { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #9cc2cb; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-aero .icheck_line-icon, + .iradio_line-aero .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-aero.hover, + .icheckbox_line-aero.checked.hover, + .iradio_line-aero.hover { + background: #B5D1D8; + } + .icheckbox_line-aero.checked, + .iradio_line-aero.checked { + background: #9cc2cb; + } + .icheckbox_line-aero.checked .icheck_line-icon, + .iradio_line-aero.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-aero.disabled, + .iradio_line-aero.disabled { + background: #D2E4E8; + cursor: default; + } + .icheckbox_line-aero.disabled .icheck_line-icon, + .iradio_line-aero.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-aero.checked.disabled, + .iradio_line-aero.checked.disabled { + background: #D2E4E8; + } + .icheckbox_line-aero.checked.disabled .icheck_line-icon, + .iradio_line-aero.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_line-aero .icheck_line-icon, + .iradio_line-aero .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/blue.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/blue.css new file mode 100644 index 00000000..8f105d90 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/blue.css @@ -0,0 +1,71 @@ +/* iCheck plugin Line skin, blue +----------------------------------- */ +.icheckbox_line-blue, +.iradio_line-blue { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #2489c5; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-blue .icheck_line-icon, + .iradio_line-blue .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-blue.hover, + .icheckbox_line-blue.checked.hover, + .iradio_line-blue.hover { + background: #3DA0DB; + } + .icheckbox_line-blue.checked, + .iradio_line-blue.checked { + background: #2489c5; + } + .icheckbox_line-blue.checked .icheck_line-icon, + .iradio_line-blue.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-blue.disabled, + .iradio_line-blue.disabled { + background: #ADD7F0; + cursor: default; + } + .icheckbox_line-blue.disabled .icheck_line-icon, + .iradio_line-blue.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-blue.checked.disabled, + .iradio_line-blue.checked.disabled { + background: #ADD7F0; + } + .icheckbox_line-blue.checked.disabled .icheck_line-icon, + .iradio_line-blue.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_line-blue .icheck_line-icon, + .iradio_line-blue .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/green.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/green.css new file mode 100644 index 00000000..9535c7c3 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/green.css @@ -0,0 +1,71 @@ +/* iCheck plugin Line skin, green +----------------------------------- */ +.icheckbox_line-green, +.iradio_line-green { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #1b7e5a; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-green .icheck_line-icon, + .iradio_line-green .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-green.hover, + .icheckbox_line-green.checked.hover, + .iradio_line-green.hover { + background: #24AA7A; + } + .icheckbox_line-green.checked, + .iradio_line-green.checked { + background: #1b7e5a; + } + .icheckbox_line-green.checked .icheck_line-icon, + .iradio_line-green.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-green.disabled, + .iradio_line-green.disabled { + background: #89E6C4; + cursor: default; + } + .icheckbox_line-green.disabled .icheck_line-icon, + .iradio_line-green.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-green.checked.disabled, + .iradio_line-green.checked.disabled { + background: #89E6C4; + } + .icheckbox_line-green.checked.disabled .icheck_line-icon, + .iradio_line-green.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_line-green .icheck_line-icon, + .iradio_line-green .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/grey.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/grey.css new file mode 100644 index 00000000..9e340535 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/grey.css @@ -0,0 +1,71 @@ +/* iCheck plugin Line skin, grey +----------------------------------- */ +.icheckbox_line-grey, +.iradio_line-grey { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #73716e; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-grey .icheck_line-icon, + .iradio_line-grey .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-grey.hover, + .icheckbox_line-grey.checked.hover, + .iradio_line-grey.hover { + background: #8B8986; + } + .icheckbox_line-grey.checked, + .iradio_line-grey.checked { + background: #73716e; + } + .icheckbox_line-grey.checked .icheck_line-icon, + .iradio_line-grey.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-grey.disabled, + .iradio_line-grey.disabled { + background: #D5D4D3; + cursor: default; + } + .icheckbox_line-grey.disabled .icheck_line-icon, + .iradio_line-grey.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-grey.checked.disabled, + .iradio_line-grey.checked.disabled { + background: #D5D4D3; + } + .icheckbox_line-grey.checked.disabled .icheck_line-icon, + .iradio_line-grey.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_line-grey .icheck_line-icon, + .iradio_line-grey .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/line.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/line.css new file mode 100644 index 00000000..2173a25c --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/line.css @@ -0,0 +1,71 @@ +/* iCheck plugin Line skin, black +----------------------------------- */ +.icheckbox_line, +.iradio_line { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #000; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line .icheck_line-icon, + .iradio_line .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line.hover, + .icheckbox_line.checked.hover, + .iradio_line.hover { + background: #444; + } + .icheckbox_line.checked, + .iradio_line.checked { + background: #000; + } + .icheckbox_line.checked .icheck_line-icon, + .iradio_line.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line.disabled, + .iradio_line.disabled { + background: #ccc; + cursor: default; + } + .icheckbox_line.disabled .icheck_line-icon, + .iradio_line.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line.checked.disabled, + .iradio_line.checked.disabled { + background: #ccc; + } + .icheckbox_line.checked.disabled .icheck_line-icon, + .iradio_line.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_line .icheck_line-icon, + .iradio_line .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/line.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/line.png new file mode 100644 index 00000000..d21d7a7b Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/line.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/line@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/line@2x.png new file mode 100644 index 00000000..62900a2d Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/line@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/orange.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/orange.css new file mode 100644 index 00000000..e408a6af --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/orange.css @@ -0,0 +1,71 @@ +/* iCheck plugin Line skin, orange +----------------------------------- */ +.icheckbox_line-orange, +.iradio_line-orange { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #f70; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-orange .icheck_line-icon, + .iradio_line-orange .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-orange.hover, + .icheckbox_line-orange.checked.hover, + .iradio_line-orange.hover { + background: #FF9233; + } + .icheckbox_line-orange.checked, + .iradio_line-orange.checked { + background: #f70; + } + .icheckbox_line-orange.checked .icheck_line-icon, + .iradio_line-orange.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-orange.disabled, + .iradio_line-orange.disabled { + background: #FFD6B3; + cursor: default; + } + .icheckbox_line-orange.disabled .icheck_line-icon, + .iradio_line-orange.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-orange.checked.disabled, + .iradio_line-orange.checked.disabled { + background: #FFD6B3; + } + .icheckbox_line-orange.checked.disabled .icheck_line-icon, + .iradio_line-orange.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_line-orange .icheck_line-icon, + .iradio_line-orange .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/pink.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/pink.css new file mode 100644 index 00000000..d19459ed --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/pink.css @@ -0,0 +1,71 @@ +/* iCheck plugin Line skin, pink +----------------------------------- */ +.icheckbox_line-pink, +.iradio_line-pink { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #a77a94; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-pink .icheck_line-icon, + .iradio_line-pink .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-pink.hover, + .icheckbox_line-pink.checked.hover, + .iradio_line-pink.hover { + background: #B995A9; + } + .icheckbox_line-pink.checked, + .iradio_line-pink.checked { + background: #a77a94; + } + .icheckbox_line-pink.checked .icheck_line-icon, + .iradio_line-pink.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-pink.disabled, + .iradio_line-pink.disabled { + background: #E0D0DA; + cursor: default; + } + .icheckbox_line-pink.disabled .icheck_line-icon, + .iradio_line-pink.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-pink.checked.disabled, + .iradio_line-pink.checked.disabled { + background: #E0D0DA; + } + .icheckbox_line-pink.checked.disabled .icheck_line-icon, + .iradio_line-pink.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_line-pink .icheck_line-icon, + .iradio_line-pink .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/purple.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/purple.css new file mode 100644 index 00000000..ecca700b --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/purple.css @@ -0,0 +1,71 @@ +/* iCheck plugin Line skin, purple +----------------------------------- */ +.icheckbox_line-purple, +.iradio_line-purple { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #6a5a8c; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-purple .icheck_line-icon, + .iradio_line-purple .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-purple.hover, + .icheckbox_line-purple.checked.hover, + .iradio_line-purple.hover { + background: #8677A7; + } + .icheckbox_line-purple.checked, + .iradio_line-purple.checked { + background: #6a5a8c; + } + .icheckbox_line-purple.checked .icheck_line-icon, + .iradio_line-purple.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-purple.disabled, + .iradio_line-purple.disabled { + background: #D2CCDE; + cursor: default; + } + .icheckbox_line-purple.disabled .icheck_line-icon, + .iradio_line-purple.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-purple.checked.disabled, + .iradio_line-purple.checked.disabled { + background: #D2CCDE; + } + .icheckbox_line-purple.checked.disabled .icheck_line-icon, + .iradio_line-purple.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_line-purple .icheck_line-icon, + .iradio_line-purple .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/red.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/red.css new file mode 100644 index 00000000..3a8aee21 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/red.css @@ -0,0 +1,71 @@ +/* iCheck plugin Line skin, red +----------------------------------- */ +.icheckbox_line-red, +.iradio_line-red { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #e56c69; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-red .icheck_line-icon, + .iradio_line-red .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-red.hover, + .icheckbox_line-red.checked.hover, + .iradio_line-red.hover { + background: #E98582; + } + .icheckbox_line-red.checked, + .iradio_line-red.checked { + background: #e56c69; + } + .icheckbox_line-red.checked .icheck_line-icon, + .iradio_line-red.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-red.disabled, + .iradio_line-red.disabled { + background: #F7D3D2; + cursor: default; + } + .icheckbox_line-red.disabled .icheck_line-icon, + .iradio_line-red.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-red.checked.disabled, + .iradio_line-red.checked.disabled { + background: #F7D3D2; + } + .icheckbox_line-red.checked.disabled .icheck_line-icon, + .iradio_line-red.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_line-red .icheck_line-icon, + .iradio_line-red .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/yellow.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/yellow.css new file mode 100644 index 00000000..c6eaccfa --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/line/yellow.css @@ -0,0 +1,71 @@ +/* iCheck plugin Line skin, yellow +----------------------------------- */ +.icheckbox_line-yellow, +.iradio_line-yellow { + position: relative; + display: block; + margin: 0; + padding: 5px 15px 5px 38px; + font-size: 13px; + line-height: 17px; + color: #fff; + background: #FFC414; + border: none; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + cursor: pointer; +} + .icheckbox_line-yellow .icheck_line-icon, + .iradio_line-yellow .icheck_line-icon { + position: absolute; + top: 50%; + left: 13px; + width: 13px; + height: 11px; + margin: -5px 0 0 0; + padding: 0; + overflow: hidden; + background: url(line.png) no-repeat; + border: none; + } + .icheckbox_line-yellow.hover, + .icheckbox_line-yellow.checked.hover, + .iradio_line-yellow.hover { + background: #FFD34F; + } + .icheckbox_line-yellow.checked, + .iradio_line-yellow.checked { + background: #FFC414; + } + .icheckbox_line-yellow.checked .icheck_line-icon, + .iradio_line-yellow.checked .icheck_line-icon { + background-position: -15px 0; + } + .icheckbox_line-yellow.disabled, + .iradio_line-yellow.disabled { + background: #FFE495; + cursor: default; + } + .icheckbox_line-yellow.disabled .icheck_line-icon, + .iradio_line-yellow.disabled .icheck_line-icon { + background-position: -30px 0; + } + .icheckbox_line-yellow.checked.disabled, + .iradio_line-yellow.checked.disabled { + background: #FFE495; + } + .icheckbox_line-yellow.checked.disabled .icheck_line-icon, + .iradio_line-yellow.checked.disabled .icheck_line-icon { + background-position: -45px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_line-yellow .icheck_line-icon, + .iradio_line-yellow .icheck_line-icon { + background-image: url(line@2x.png); + -webkit-background-size: 60px 13px; + background-size: 60px 13px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/_all.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/_all.css new file mode 100644 index 00000000..61043e39 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/_all.css @@ -0,0 +1,590 @@ +/* iCheck plugin Minimal skin +----------------------------------- */ +.icheckbox_minimal, +.iradio_minimal { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(minimal.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal { + background-position: 0 0; +} + .icheckbox_minimal.hover { + background-position: -20px 0; + } + .icheckbox_minimal.checked { + background-position: -40px 0; + } + .icheckbox_minimal.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal { + background-position: -100px 0; +} + .iradio_minimal.hover { + background-position: -120px 0; + } + .iradio_minimal.checked { + background-position: -140px 0; + } + .iradio_minimal.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_minimal, + .iradio_minimal { + background-image: url(minimal@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} + +/* red */ +.icheckbox_minimal-red, +.iradio_minimal-red { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(red.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-red { + background-position: 0 0; +} + .icheckbox_minimal-red.hover { + background-position: -20px 0; + } + .icheckbox_minimal-red.checked { + background-position: -40px 0; + } + .icheckbox_minimal-red.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-red.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-red { + background-position: -100px 0; +} + .iradio_minimal-red.hover { + background-position: -120px 0; + } + .iradio_minimal-red.checked { + background-position: -140px 0; + } + .iradio_minimal-red.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-red.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_minimal-red, + .iradio_minimal-red { + background-image: url(red@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} + +/* green */ +.icheckbox_minimal-green, +.iradio_minimal-green { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(green.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-green { + background-position: 0 0; +} + .icheckbox_minimal-green.hover { + background-position: -20px 0; + } + .icheckbox_minimal-green.checked { + background-position: -40px 0; + } + .icheckbox_minimal-green.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-green.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-green { + background-position: -100px 0; +} + .iradio_minimal-green.hover { + background-position: -120px 0; + } + .iradio_minimal-green.checked { + background-position: -140px 0; + } + .iradio_minimal-green.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-green.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_minimal-green, + .iradio_minimal-green { + background-image: url(green@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} + +/* blue */ +.icheckbox_minimal-blue, +.iradio_minimal-blue { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(blue.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-blue { + background-position: 0 0; +} + .icheckbox_minimal-blue.hover { + background-position: -20px 0; + } + .icheckbox_minimal-blue.checked { + background-position: -40px 0; + } + .icheckbox_minimal-blue.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-blue.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-blue { + background-position: -100px 0; +} + .iradio_minimal-blue.hover { + background-position: -120px 0; + } + .iradio_minimal-blue.checked { + background-position: -140px 0; + } + .iradio_minimal-blue.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-blue.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_minimal-blue, + .iradio_minimal-blue { + background-image: url(blue@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} + +/* aero */ +.icheckbox_minimal-aero, +.iradio_minimal-aero { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(aero.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-aero { + background-position: 0 0; +} + .icheckbox_minimal-aero.hover { + background-position: -20px 0; + } + .icheckbox_minimal-aero.checked { + background-position: -40px 0; + } + .icheckbox_minimal-aero.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-aero.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-aero { + background-position: -100px 0; +} + .iradio_minimal-aero.hover { + background-position: -120px 0; + } + .iradio_minimal-aero.checked { + background-position: -140px 0; + } + .iradio_minimal-aero.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-aero.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_minimal-aero, + .iradio_minimal-aero { + background-image: url(aero@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} + +/* grey */ +.icheckbox_minimal-grey, +.iradio_minimal-grey { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(grey.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-grey { + background-position: 0 0; +} + .icheckbox_minimal-grey.hover { + background-position: -20px 0; + } + .icheckbox_minimal-grey.checked { + background-position: -40px 0; + } + .icheckbox_minimal-grey.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-grey.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-grey { + background-position: -100px 0; +} + .iradio_minimal-grey.hover { + background-position: -120px 0; + } + .iradio_minimal-grey.checked { + background-position: -140px 0; + } + .iradio_minimal-grey.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-grey.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_minimal-grey, + .iradio_minimal-grey { + background-image: url(grey@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} + +/* orange */ +.icheckbox_minimal-orange, +.iradio_minimal-orange { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(orange.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-orange { + background-position: 0 0; +} + .icheckbox_minimal-orange.hover { + background-position: -20px 0; + } + .icheckbox_minimal-orange.checked { + background-position: -40px 0; + } + .icheckbox_minimal-orange.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-orange.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-orange { + background-position: -100px 0; +} + .iradio_minimal-orange.hover { + background-position: -120px 0; + } + .iradio_minimal-orange.checked { + background-position: -140px 0; + } + .iradio_minimal-orange.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-orange.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_minimal-orange, + .iradio_minimal-orange { + background-image: url(orange@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} + +/* yellow */ +.icheckbox_minimal-yellow, +.iradio_minimal-yellow { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(yellow.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-yellow { + background-position: 0 0; +} + .icheckbox_minimal-yellow.hover { + background-position: -20px 0; + } + .icheckbox_minimal-yellow.checked { + background-position: -40px 0; + } + .icheckbox_minimal-yellow.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-yellow.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-yellow { + background-position: -100px 0; +} + .iradio_minimal-yellow.hover { + background-position: -120px 0; + } + .iradio_minimal-yellow.checked { + background-position: -140px 0; + } + .iradio_minimal-yellow.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-yellow.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_minimal-yellow, + .iradio_minimal-yellow { + background-image: url(yellow@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} + +/* pink */ +.icheckbox_minimal-pink, +.iradio_minimal-pink { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(pink.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-pink { + background-position: 0 0; +} + .icheckbox_minimal-pink.hover { + background-position: -20px 0; + } + .icheckbox_minimal-pink.checked { + background-position: -40px 0; + } + .icheckbox_minimal-pink.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-pink.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-pink { + background-position: -100px 0; +} + .iradio_minimal-pink.hover { + background-position: -120px 0; + } + .iradio_minimal-pink.checked { + background-position: -140px 0; + } + .iradio_minimal-pink.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-pink.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_minimal-pink, + .iradio_minimal-pink { + background-image: url(pink@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} + +/* purple */ +.icheckbox_minimal-purple, +.iradio_minimal-purple { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(purple.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-purple { + background-position: 0 0; +} + .icheckbox_minimal-purple.hover { + background-position: -20px 0; + } + .icheckbox_minimal-purple.checked { + background-position: -40px 0; + } + .icheckbox_minimal-purple.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-purple.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-purple { + background-position: -100px 0; +} + .iradio_minimal-purple.hover { + background-position: -120px 0; + } + .iradio_minimal-purple.checked { + background-position: -140px 0; + } + .iradio_minimal-purple.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-purple.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_minimal-purple, + .iradio_minimal-purple { + background-image: url(purple@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/aero.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/aero.css new file mode 100644 index 00000000..c0ddf79d --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/aero.css @@ -0,0 +1,59 @@ +/* iCheck plugin Minimal skin, aero +----------------------------------- */ +.icheckbox_minimal-aero, +.iradio_minimal-aero { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(aero.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-aero { + background-position: 0 0; +} + .icheckbox_minimal-aero.hover { + background-position: -20px 0; + } + .icheckbox_minimal-aero.checked { + background-position: -40px 0; + } + .icheckbox_minimal-aero.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-aero.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-aero { + background-position: -100px 0; +} + .iradio_minimal-aero.hover { + background-position: -120px 0; + } + .iradio_minimal-aero.checked { + background-position: -140px 0; + } + .iradio_minimal-aero.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-aero.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_minimal-aero, + .iradio_minimal-aero { + background-image: url(aero@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/aero.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/aero.png new file mode 100644 index 00000000..dccf7740 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/aero.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/aero@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/aero@2x.png new file mode 100644 index 00000000..5537ee36 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/aero@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/blue.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/blue.css new file mode 100644 index 00000000..7205ac9a --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/blue.css @@ -0,0 +1,59 @@ +/* iCheck plugin Minimal skin, blue +----------------------------------- */ +.icheckbox_minimal-blue, +.iradio_minimal-blue { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(blue.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-blue { + background-position: 0 0; +} + .icheckbox_minimal-blue.hover { + background-position: -20px 0; + } + .icheckbox_minimal-blue.checked { + background-position: -40px 0; + } + .icheckbox_minimal-blue.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-blue.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-blue { + background-position: -100px 0; +} + .iradio_minimal-blue.hover { + background-position: -120px 0; + } + .iradio_minimal-blue.checked { + background-position: -140px 0; + } + .iradio_minimal-blue.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-blue.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_minimal-blue, + .iradio_minimal-blue { + background-image: url(blue@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/blue.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/blue.png new file mode 100644 index 00000000..af04cee5 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/blue.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/blue@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/blue@2x.png new file mode 100644 index 00000000..f19210a9 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/blue@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/green.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/green.css new file mode 100644 index 00000000..ad005c11 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/green.css @@ -0,0 +1,59 @@ +/* iCheck plugin Minimal skin, green +----------------------------------- */ +.icheckbox_minimal-green, +.iradio_minimal-green { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(green.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-green { + background-position: 0 0; +} + .icheckbox_minimal-green.hover { + background-position: -20px 0; + } + .icheckbox_minimal-green.checked { + background-position: -40px 0; + } + .icheckbox_minimal-green.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-green.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-green { + background-position: -100px 0; +} + .iradio_minimal-green.hover { + background-position: -120px 0; + } + .iradio_minimal-green.checked { + background-position: -140px 0; + } + .iradio_minimal-green.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-green.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_minimal-green, + .iradio_minimal-green { + background-image: url(green@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/green.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/green.png new file mode 100644 index 00000000..9171ebc7 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/green.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/green@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/green@2x.png new file mode 100644 index 00000000..7f18f96a Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/green@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/grey.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/grey.css new file mode 100644 index 00000000..157bbd37 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/grey.css @@ -0,0 +1,59 @@ +/* iCheck plugin Minimal skin, grey +----------------------------------- */ +.icheckbox_minimal-grey, +.iradio_minimal-grey { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(grey.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-grey { + background-position: 0 0; +} + .icheckbox_minimal-grey.hover { + background-position: -20px 0; + } + .icheckbox_minimal-grey.checked { + background-position: -40px 0; + } + .icheckbox_minimal-grey.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-grey.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-grey { + background-position: -100px 0; +} + .iradio_minimal-grey.hover { + background-position: -120px 0; + } + .iradio_minimal-grey.checked { + background-position: -140px 0; + } + .iradio_minimal-grey.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-grey.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_minimal-grey, + .iradio_minimal-grey { + background-image: url(grey@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/grey.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/grey.png new file mode 100644 index 00000000..22dcdbcf Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/grey.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/grey@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/grey@2x.png new file mode 100644 index 00000000..85e82ddd Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/grey@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/minimal.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/minimal.css new file mode 100644 index 00000000..f344ea63 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/minimal.css @@ -0,0 +1,59 @@ +/* iCheck plugin Minimal skin, black +----------------------------------- */ +.icheckbox_minimal, +.iradio_minimal { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(minimal.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal { + background-position: 0 0; +} + .icheckbox_minimal.hover { + background-position: -20px 0; + } + .icheckbox_minimal.checked { + background-position: -40px 0; + } + .icheckbox_minimal.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal { + background-position: -100px 0; +} + .iradio_minimal.hover { + background-position: -120px 0; + } + .iradio_minimal.checked { + background-position: -140px 0; + } + .iradio_minimal.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_minimal, + .iradio_minimal { + background-image: url(minimal@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/minimal.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/minimal.png new file mode 100644 index 00000000..943be16f Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/minimal.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/minimal@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/minimal@2x.png new file mode 100644 index 00000000..d62291da Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/minimal@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/orange.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/orange.css new file mode 100644 index 00000000..04779ebe --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/orange.css @@ -0,0 +1,59 @@ +/* iCheck plugin Minimal skin, orange +----------------------------------- */ +.icheckbox_minimal-orange, +.iradio_minimal-orange { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(orange.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-orange { + background-position: 0 0; +} + .icheckbox_minimal-orange.hover { + background-position: -20px 0; + } + .icheckbox_minimal-orange.checked { + background-position: -40px 0; + } + .icheckbox_minimal-orange.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-orange.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-orange { + background-position: -100px 0; +} + .iradio_minimal-orange.hover { + background-position: -120px 0; + } + .iradio_minimal-orange.checked { + background-position: -140px 0; + } + .iradio_minimal-orange.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-orange.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_minimal-orange, + .iradio_minimal-orange { + background-image: url(orange@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/orange.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/orange.png new file mode 100644 index 00000000..f2a31497 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/orange.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/orange@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/orange@2x.png new file mode 100644 index 00000000..68c83591 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/orange@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/pink.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/pink.css new file mode 100644 index 00000000..1e2f0e42 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/pink.css @@ -0,0 +1,59 @@ +/* iCheck plugin Minimal skin, pink +----------------------------------- */ +.icheckbox_minimal-pink, +.iradio_minimal-pink { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(pink.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-pink { + background-position: 0 0; +} + .icheckbox_minimal-pink.hover { + background-position: -20px 0; + } + .icheckbox_minimal-pink.checked { + background-position: -40px 0; + } + .icheckbox_minimal-pink.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-pink.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-pink { + background-position: -100px 0; +} + .iradio_minimal-pink.hover { + background-position: -120px 0; + } + .iradio_minimal-pink.checked { + background-position: -140px 0; + } + .iradio_minimal-pink.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-pink.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_minimal-pink, + .iradio_minimal-pink { + background-image: url(pink@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/pink.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/pink.png new file mode 100644 index 00000000..660553c0 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/pink.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/pink@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/pink@2x.png new file mode 100644 index 00000000..7d7b3851 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/pink@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/purple.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/purple.css new file mode 100644 index 00000000..f3f8cf4d --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/purple.css @@ -0,0 +1,59 @@ +/* iCheck plugin Minimal skin, purple +----------------------------------- */ +.icheckbox_minimal-purple, +.iradio_minimal-purple { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(purple.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-purple { + background-position: 0 0; +} + .icheckbox_minimal-purple.hover { + background-position: -20px 0; + } + .icheckbox_minimal-purple.checked { + background-position: -40px 0; + } + .icheckbox_minimal-purple.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-purple.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-purple { + background-position: -100px 0; +} + .iradio_minimal-purple.hover { + background-position: -120px 0; + } + .iradio_minimal-purple.checked { + background-position: -140px 0; + } + .iradio_minimal-purple.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-purple.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_minimal-purple, + .iradio_minimal-purple { + background-image: url(purple@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/purple.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/purple.png new file mode 100644 index 00000000..48dec794 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/purple.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/purple@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/purple@2x.png new file mode 100644 index 00000000..3bb70417 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/purple@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/red.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/red.css new file mode 100644 index 00000000..0530c919 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/red.css @@ -0,0 +1,59 @@ +/* iCheck plugin Minimal skin, red +----------------------------------- */ +.icheckbox_minimal-red, +.iradio_minimal-red { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(red.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-red { + background-position: 0 0; +} + .icheckbox_minimal-red.hover { + background-position: -20px 0; + } + .icheckbox_minimal-red.checked { + background-position: -40px 0; + } + .icheckbox_minimal-red.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-red.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-red { + background-position: -100px 0; +} + .iradio_minimal-red.hover { + background-position: -120px 0; + } + .iradio_minimal-red.checked { + background-position: -140px 0; + } + .iradio_minimal-red.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-red.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_minimal-red, + .iradio_minimal-red { + background-image: url(red@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/red.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/red.png new file mode 100644 index 00000000..4443f809 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/red.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/red@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/red@2x.png new file mode 100644 index 00000000..2eb55a65 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/red@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/yellow.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/yellow.css new file mode 100644 index 00000000..fbd567f6 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/yellow.css @@ -0,0 +1,59 @@ +/* iCheck plugin Minimal skin, yellow +----------------------------------- */ +.icheckbox_minimal-yellow, +.iradio_minimal-yellow { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 18px; + height: 18px; + background: url(yellow.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_minimal-yellow { + background-position: 0 0; +} + .icheckbox_minimal-yellow.hover { + background-position: -20px 0; + } + .icheckbox_minimal-yellow.checked { + background-position: -40px 0; + } + .icheckbox_minimal-yellow.disabled { + background-position: -60px 0; + cursor: default; + } + .icheckbox_minimal-yellow.checked.disabled { + background-position: -80px 0; + } + +.iradio_minimal-yellow { + background-position: -100px 0; +} + .iradio_minimal-yellow.hover { + background-position: -120px 0; + } + .iradio_minimal-yellow.checked { + background-position: -140px 0; + } + .iradio_minimal-yellow.disabled { + background-position: -160px 0; + cursor: default; + } + .iradio_minimal-yellow.checked.disabled { + background-position: -180px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_minimal-yellow, + .iradio_minimal-yellow { + background-image: url(yellow@2x.png); + -webkit-background-size: 200px 20px; + background-size: 200px 20px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/yellow.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/yellow.png new file mode 100644 index 00000000..0999b7ec Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/yellow.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/yellow@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/yellow@2x.png new file mode 100644 index 00000000..c16f2b7d Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/minimal/yellow@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/polaris/polaris.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/polaris/polaris.css new file mode 100644 index 00000000..8427bf20 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/polaris/polaris.css @@ -0,0 +1,59 @@ +/* iCheck plugin Polaris skin +----------------------------------- */ +.icheckbox_polaris, +.iradio_polaris { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 29px; + height: 29px; + background: url(polaris.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_polaris { + background-position: 0 0; +} + .icheckbox_polaris.hover { + background-position: -31px 0; + } + .icheckbox_polaris.checked { + background-position: -62px 0; + } + .icheckbox_polaris.disabled { + background-position: -93px 0; + cursor: default; + } + .icheckbox_polaris.checked.disabled { + background-position: -124px 0; + } + +.iradio_polaris { + background-position: -155px 0; +} + .iradio_polaris.hover { + background-position: -186px 0; + } + .iradio_polaris.checked { + background-position: -217px 0; + } + .iradio_polaris.disabled { + background-position: -248px 0; + cursor: default; + } + .iradio_polaris.checked.disabled { + background-position: -279px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_polaris, + .iradio_polaris { + background-image: url(polaris@2x.png); + -webkit-background-size: 310px 31px; + background-size: 310px 31px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/polaris/polaris.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/polaris/polaris.png new file mode 100644 index 00000000..60c14e6a Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/polaris/polaris.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/polaris/polaris@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/polaris/polaris@2x.png new file mode 100644 index 00000000..ed943daf Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/polaris/polaris@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/Thumbs.db b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/Thumbs.db new file mode 100644 index 00000000..95f09067 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/Thumbs.db differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/_all.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/_all.css new file mode 100644 index 00000000..6b150ba9 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/_all.css @@ -0,0 +1,590 @@ +/* iCheck plugin Square skin +----------------------------------- */ +.icheckbox_square, +.iradio_square { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(square.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square { + background-position: 0 0; +} + .icheckbox_square.hover { + background-position: -24px 0; + } + .icheckbox_square.checked { + background-position: -48px 0; + } + .icheckbox_square.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square.checked.disabled { + background-position: -96px 0; + } + +.iradio_square { + background-position: -120px 0; +} + .iradio_square.hover { + background-position: -144px 0; + } + .iradio_square.checked { + background-position: -168px 0; + } + .iradio_square.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_square, + .iradio_square { + background-image: url(square@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} + +/* red */ +.icheckbox_square-red, +.iradio_square-red { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(red.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-red { + background-position: 0 0; +} + .icheckbox_square-red.hover { + background-position: -24px 0; + } + .icheckbox_square-red.checked { + background-position: -48px 0; + } + .icheckbox_square-red.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-red.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-red { + background-position: -120px 0; +} + .iradio_square-red.hover { + background-position: -144px 0; + } + .iradio_square-red.checked { + background-position: -168px 0; + } + .iradio_square-red.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-red.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_square-red, + .iradio_square-red { + background-image: url(red@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} + +/* green */ +.icheckbox_square-green, +.iradio_square-green { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(green.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-green { + background-position: 0 0; +} + .icheckbox_square-green.hover { + background-position: -24px 0; + } + .icheckbox_square-green.checked { + background-position: -48px 0; + } + .icheckbox_square-green.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-green.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-green { + background-position: -120px 0; +} + .iradio_square-green.hover { + background-position: -144px 0; + } + .iradio_square-green.checked { + background-position: -168px 0; + } + .iradio_square-green.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-green.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_square-green, + .iradio_square-green { + background-image: url(green@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} + +/* blue */ +.icheckbox_square-blue, +.iradio_square-blue { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(blue.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-blue { + background-position: 0 0; +} + .icheckbox_square-blue.hover { + background-position: -24px 0; + } + .icheckbox_square-blue.checked { + background-position: -48px 0; + } + .icheckbox_square-blue.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-blue.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-blue { + background-position: -120px 0; +} + .iradio_square-blue.hover { + background-position: -144px 0; + } + .iradio_square-blue.checked { + background-position: -168px 0; + } + .iradio_square-blue.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-blue.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_square-blue, + .iradio_square-blue { + background-image: url(blue@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} + +/* aero */ +.icheckbox_square-aero, +.iradio_square-aero { + display: inline-block; + *display: inline; + vertical-align: middle; + margin-right: 10px; + padding: 0; + width: 22px; + height: 22px; + background: url(aero.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-aero { + background-position: 0 0; +} + .icheckbox_square-aero.hover { + background-position: -24px 0; + } + .icheckbox_square-aero.checked { + background-position: -48px 0; + } + .icheckbox_square-aero.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-aero.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-aero { + background-position: -120px 0; +} + .iradio_square-aero.hover { + background-position: -144px 0; + } + .iradio_square-aero.checked { + background-position: -168px 0; + } + .iradio_square-aero.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-aero.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_square-aero, + .iradio_square-aero { + background-image: url(aero@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} + +/* grey */ +.icheckbox_square-grey, +.iradio_square-grey { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(grey.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-grey { + background-position: 0 0; +} + .icheckbox_square-grey.hover { + background-position: -24px 0; + } + .icheckbox_square-grey.checked { + background-position: -48px 0; + } + .icheckbox_square-grey.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-grey.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-grey { + background-position: -120px 0; +} + .iradio_square-grey.hover { + background-position: -144px 0; + } + .iradio_square-grey.checked { + background-position: -168px 0; + } + .iradio_square-grey.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-grey.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_square-grey, + .iradio_square-grey { + background-image: url(grey@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} + +/* orange */ +.icheckbox_square-orange, +.iradio_square-orange { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(orange.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-orange { + background-position: 0 0; +} + .icheckbox_square-orange.hover { + background-position: -24px 0; + } + .icheckbox_square-orange.checked { + background-position: -48px 0; + } + .icheckbox_square-orange.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-orange.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-orange { + background-position: -120px 0; +} + .iradio_square-orange.hover { + background-position: -144px 0; + } + .iradio_square-orange.checked { + background-position: -168px 0; + } + .iradio_square-orange.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-orange.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_square-orange, + .iradio_square-orange { + background-image: url(orange@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} + +/* yellow */ +.icheckbox_square-yellow, +.iradio_square-yellow { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(yellow.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-yellow { + background-position: 0 0; +} + .icheckbox_square-yellow.hover { + background-position: -24px 0; + } + .icheckbox_square-yellow.checked { + background-position: -48px 0; + } + .icheckbox_square-yellow.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-yellow.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-yellow { + background-position: -120px 0; +} + .iradio_square-yellow.hover { + background-position: -144px 0; + } + .iradio_square-yellow.checked { + background-position: -168px 0; + } + .iradio_square-yellow.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-yellow.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_square-yellow, + .iradio_square-yellow { + background-image: url(yellow@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} + +/* pink */ +.icheckbox_square-pink, +.iradio_square-pink { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(pink.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-pink { + background-position: 0 0; +} + .icheckbox_square-pink.hover { + background-position: -24px 0; + } + .icheckbox_square-pink.checked { + background-position: -48px 0; + } + .icheckbox_square-pink.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-pink.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-pink { + background-position: -120px 0; +} + .iradio_square-pink.hover { + background-position: -144px 0; + } + .iradio_square-pink.checked { + background-position: -168px 0; + } + .iradio_square-pink.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-pink.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { + .icheckbox_square-pink, + .iradio_square-pink { + background-image: url(pink@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} + +/* purple */ +.icheckbox_square-purple, +.iradio_square-purple { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(purple.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-purple { + background-position: 0 0; +} + .icheckbox_square-purple.hover { + background-position: -24px 0; + } + .icheckbox_square-purple.checked { + background-position: -48px 0; + } + .icheckbox_square-purple.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-purple.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-purple { + background-position: -120px 0; +} + .iradio_square-purple.hover { + background-position: -144px 0; + } + .iradio_square-purple.checked { + background-position: -168px 0; + } + .iradio_square-purple.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-purple.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_square-purple, + .iradio_square-purple { + background-image: url(purple@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/aero.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/aero.css new file mode 100644 index 00000000..6c4d0752 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/aero.css @@ -0,0 +1,59 @@ +/* iCheck plugin Square skin, aero +----------------------------------- */ +.icheckbox_square-aero, +.iradio_square-aero { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(aero.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-aero { + background-position: 0 0; +} + .icheckbox_square-aero.hover { + background-position: -24px 0; + } + .icheckbox_square-aero.checked { + background-position: -48px 0; + } + .icheckbox_square-aero.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-aero.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-aero { + background-position: -120px 0; +} + .iradio_square-aero.hover { + background-position: -144px 0; + } + .iradio_square-aero.checked { + background-position: -168px 0; + } + .iradio_square-aero.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-aero.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_square-aero, + .iradio_square-aero { + background-image: url(aero@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/aero.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/aero.png new file mode 100644 index 00000000..8271ca9d Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/aero.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/aero@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/aero@2x.png new file mode 100644 index 00000000..07c5a022 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/aero@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/blue.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/blue.css new file mode 100644 index 00000000..455761b0 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/blue.css @@ -0,0 +1,59 @@ +/* iCheck plugin Square skin, blue +----------------------------------- */ +.icheckbox_square-blue, +.iradio_square-blue { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(blue.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-blue { + background-position: 0 0; +} + .icheckbox_square-blue.hover { + background-position: -24px 0; + } + .icheckbox_square-blue.checked { + background-position: -48px 0; + } + .icheckbox_square-blue.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-blue.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-blue { + background-position: -120px 0; +} + .iradio_square-blue.hover { + background-position: -144px 0; + } + .iradio_square-blue.checked { + background-position: -168px 0; + } + .iradio_square-blue.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-blue.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_square-blue, + .iradio_square-blue { + background-image: url(blue@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/blue.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/blue.png new file mode 100644 index 00000000..a3e040fc Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/blue.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/blue@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/blue@2x.png new file mode 100644 index 00000000..8fdea12f Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/blue@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/green.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/green.css new file mode 100644 index 00000000..0f4409cf --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/green.css @@ -0,0 +1,59 @@ +/* iCheck plugin Square skin, green +----------------------------------- */ +.icheckbox_square-green, +.iradio_square-green { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(green.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-green { + background-position: 0 0; +} + .icheckbox_square-green.hover { + background-position: -24px 0; + } + .icheckbox_square-green.checked { + background-position: -48px 0; + } + .icheckbox_square-green.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-green.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-green { + background-position: -120px 0; +} + .iradio_square-green.hover { + background-position: -144px 0; + } + .iradio_square-green.checked { + background-position: -168px 0; + } + .iradio_square-green.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-green.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_square-green, + .iradio_square-green { + background-image: url(green@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/green.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/green.png new file mode 100644 index 00000000..465824e7 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/green.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/green@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/green@2x.png new file mode 100644 index 00000000..784e8747 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/green@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/grey.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/grey.css new file mode 100644 index 00000000..4c06d58a --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/grey.css @@ -0,0 +1,59 @@ +/* iCheck plugin Square skin, grey +----------------------------------- */ +.icheckbox_square-grey, +.iradio_square-grey { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(grey.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-grey { + background-position: 0 0; +} + .icheckbox_square-grey.hover { + background-position: -24px 0; + } + .icheckbox_square-grey.checked { + background-position: -48px 0; + } + .icheckbox_square-grey.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-grey.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-grey { + background-position: -120px 0; +} + .iradio_square-grey.hover { + background-position: -144px 0; + } + .iradio_square-grey.checked { + background-position: -168px 0; + } + .iradio_square-grey.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-grey.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_square-grey, + .iradio_square-grey { + background-image: url(grey@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/grey.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/grey.png new file mode 100644 index 00000000..f6937585 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/grey.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/grey@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/grey@2x.png new file mode 100644 index 00000000..5d6341c0 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/grey@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/orange.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/orange.css new file mode 100644 index 00000000..55b45897 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/orange.css @@ -0,0 +1,59 @@ +/* iCheck plugin Square skin, orange +----------------------------------- */ +.icheckbox_square-orange, +.iradio_square-orange { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(orange.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-orange { + background-position: 0 0; +} + .icheckbox_square-orange.hover { + background-position: -24px 0; + } + .icheckbox_square-orange.checked { + background-position: -48px 0; + } + .icheckbox_square-orange.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-orange.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-orange { + background-position: -120px 0; +} + .iradio_square-orange.hover { + background-position: -144px 0; + } + .iradio_square-orange.checked { + background-position: -168px 0; + } + .iradio_square-orange.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-orange.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_square-orange, + .iradio_square-orange { + background-image: url(orange@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/orange.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/orange.png new file mode 100644 index 00000000..84608500 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/orange.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/orange@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/orange@2x.png new file mode 100644 index 00000000..b1f23197 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/orange@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/pink.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/pink.css new file mode 100644 index 00000000..b3823b21 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/pink.css @@ -0,0 +1,59 @@ +/* iCheck plugin Square skin, pink +----------------------------------- */ +.icheckbox_square-pink, +.iradio_square-pink { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(pink.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-pink { + background-position: 0 0; +} + .icheckbox_square-pink.hover { + background-position: -24px 0; + } + .icheckbox_square-pink.checked { + background-position: -48px 0; + } + .icheckbox_square-pink.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-pink.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-pink { + background-position: -120px 0; +} + .iradio_square-pink.hover { + background-position: -144px 0; + } + .iradio_square-pink.checked { + background-position: -168px 0; + } + .iradio_square-pink.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-pink.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_square-pink, + .iradio_square-pink { + background-image: url(pink@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/pink.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/pink.png new file mode 100644 index 00000000..9c8b4e2b Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/pink.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/pink@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/pink@2x.png new file mode 100644 index 00000000..b1f3a6ed Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/pink@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/purple.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/purple.css new file mode 100644 index 00000000..39d9b3b3 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/purple.css @@ -0,0 +1,59 @@ +/* iCheck plugin Square skin, purple +----------------------------------- */ +.icheckbox_square-purple, +.iradio_square-purple { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(purple.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-purple { + background-position: 0 0; +} + .icheckbox_square-purple.hover { + background-position: -24px 0; + } + .icheckbox_square-purple.checked { + background-position: -48px 0; + } + .icheckbox_square-purple.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-purple.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-purple { + background-position: -120px 0; +} + .iradio_square-purple.hover { + background-position: -144px 0; + } + .iradio_square-purple.checked { + background-position: -168px 0; + } + .iradio_square-purple.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-purple.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_square-purple, + .iradio_square-purple { + background-image: url(purple@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/purple.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/purple.png new file mode 100644 index 00000000..6bfc16a3 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/purple.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/purple@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/purple@2x.png new file mode 100644 index 00000000..6d3c8b1a Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/purple@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/red.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/red.css new file mode 100644 index 00000000..43399b8e --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/red.css @@ -0,0 +1,59 @@ +/* iCheck plugin Square skin, red +----------------------------------- */ +.icheckbox_square-red, +.iradio_square-red { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(red.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-red { + background-position: 0 0; +} + .icheckbox_square-red.hover { + background-position: -24px 0; + } + .icheckbox_square-red.checked { + background-position: -48px 0; + } + .icheckbox_square-red.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-red.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-red { + background-position: -120px 0; +} + .iradio_square-red.hover { + background-position: -144px 0; + } + .iradio_square-red.checked { + background-position: -168px 0; + } + .iradio_square-red.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-red.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_square-red, + .iradio_square-red { + background-image: url(red@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/red.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/red.png new file mode 100644 index 00000000..749675a9 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/red.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/red@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/red@2x.png new file mode 100644 index 00000000..c05700a5 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/red@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/square.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/square.css new file mode 100644 index 00000000..2f3e5bf8 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/square.css @@ -0,0 +1,59 @@ +/* iCheck plugin Square skin, black +----------------------------------- */ +.icheckbox_square, +.iradio_square { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(square.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square { + background-position: 0 0; +} + .icheckbox_square.hover { + background-position: -24px 0; + } + .icheckbox_square.checked { + background-position: -48px 0; + } + .icheckbox_square.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square.checked.disabled { + background-position: -96px 0; + } + +.iradio_square { + background-position: -120px 0; +} + .iradio_square.hover { + background-position: -144px 0; + } + .iradio_square.checked { + background-position: -168px 0; + } + .iradio_square.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_square, + .iradio_square { + background-image: url(square@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/square.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/square.png new file mode 100644 index 00000000..2a3c8811 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/square.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/square@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/square@2x.png new file mode 100644 index 00000000..9b56c448 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/square@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/yellow.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/yellow.css new file mode 100644 index 00000000..65ef0ba2 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/yellow.css @@ -0,0 +1,59 @@ +/* iCheck plugin Square skin, yellow +----------------------------------- */ +.icheckbox_square-yellow, +.iradio_square-yellow { + display: inline-block; + *display: inline; + vertical-align: middle; + margin: 0; + padding: 0; + width: 22px; + height: 22px; + background: url(yellow.png) no-repeat; + border: none; + cursor: pointer; +} + +.icheckbox_square-yellow { + background-position: 0 0; +} + .icheckbox_square-yellow.hover { + background-position: -24px 0; + } + .icheckbox_square-yellow.checked { + background-position: -48px 0; + } + .icheckbox_square-yellow.disabled { + background-position: -72px 0; + cursor: default; + } + .icheckbox_square-yellow.checked.disabled { + background-position: -96px 0; + } + +.iradio_square-yellow { + background-position: -120px 0; +} + .iradio_square-yellow.hover { + background-position: -144px 0; + } + .iradio_square-yellow.checked { + background-position: -168px 0; + } + .iradio_square-yellow.disabled { + background-position: -192px 0; + cursor: default; + } + .iradio_square-yellow.checked.disabled { + background-position: -216px 0; + } + +/* HiDPI support */ +@media (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (min-resolution: 1.25dppx) { + .icheckbox_square-yellow, + .iradio_square-yellow { + background-image: url(yellow@2x.png); + -webkit-background-size: 240px 24px; + background-size: 240px 24px; + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/yellow.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/yellow.png new file mode 100644 index 00000000..b6c03309 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/yellow.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/yellow@2x.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/yellow@2x.png new file mode 100644 index 00000000..6b8e328e Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/icheck/skins/square/yellow@2x.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/API_cn.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/API_cn.html new file mode 100644 index 00000000..1fe011de --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/API_cn.html @@ -0,0 +1,103 @@ + + + + + API 文档 [zTree -- jQuery 树插件] + + + + + +
      + +
      +
      +
      + + +
      +
      +
      +
      • setting 配置详解
      +
        +
        +
        +
        • zTree 方法详解
        +
          +
          • treeNode 节点数据详解
          +
            +
            +
            +
            +
            +
            +
            + + +
            +
            +
            + + + +
            + +
            +
            +
            +
            + + + + + + \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/API_en.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/API_en.html new file mode 100644 index 00000000..fc7488b3 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/API_en.html @@ -0,0 +1,102 @@ + + + + + API Document [zTree -- jQuery tree plug-ins.] + + + + + +
            + +
            +
            +
            + + +
            +
            +
            +
            • setting details
            +
              +
              +
              +
              • zTree method details
              +
                +
                • treeNode data details
                +
                  +
                  +
                  +
                  +
                  +
                  +
                  + + +
                  +
                  +
                  + + + +
                  + +
                  +
                  +
                  +
                  + + + + + + \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/api.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/api.js new file mode 100644 index 00000000..37dd4ba3 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/api.js @@ -0,0 +1,592 @@ +var apiContent = { + zTree_Setting: null, + zTree_Node: null, + zTree_Function: null, + overlayDiv : null, + overlayContent : null, + overlayDetailDiv : null, + overlayCloseBtn: null, + overlayArrow: null, + contentBoxDiv : null, + settingDiv : null, + functionDiv : null, + overlaySearch: null, + searchKey: null, + searchResultInput: null, + searchPrevBtn: null, + searchNextBtn: null, + apiCache: {}, + lastValue: "", + searchNodes: [], + searchNodesCur: 0, + + _init: function() { + this.overlayDiv = $("#overlayDiv"); + this.overlayContent = $("#overlayContent"); + this.overlayDetailDiv = $("#overlayDetailDiv"); + this.overlayCloseBtn = $("#overlayDivCloseBtn"); + this.overlayArrow = $("#overlayDivArrow"); + this.contentBoxDiv = $("#contentBox"); + this.settingDiv = $("#api_setting"); + this.functionDiv = $("#api_function"); + this.searchKey = $(".searchKey"); + this.overlaySearch = $(".overlaySearch"); + this.searchResultInput = $(".searchResult"); + this.searchPrevBtn = $(".searchPrev"); + this.searchNextBtn = $(".searchNext"); + var setting = { + view: { + fontCss: this.getFontCss, + showLine: false, + showIcon: this.showIcon, + showTitle: this.getTitle, + selectedMulti: false, + dblClickExpand: false + }, + data: { + key: { + title: "tt" + }, + simpleData: { + enable:true, + idKey: "id", + pIdKey: "pId", + rootPId: "" + } + }, + callback: { + onNodeCreated: this.onNodeCreated, + beforeClick: this.beforeClick + } + }; + var setting_nodes =[ + {id:1, pId:0, t:"setting", name:"var setting = {", open:true}, + {id:11, pId:1, t:"treeId", name:"treeId : \"\",", iconSkin:"core", showAPI:true}, + {id:12, pId:1, t:"treeObj", name:"treeObj : null,", iconSkin:"core", showAPI:true}, + {id:121, pId:1, name:""}, + + {id:20, pId:1, t:"async", name:"async : {", open:true}, + {id:201, pId:20, t:"autoParam", name:"autoParam : [],", iconSkin:"core", showAPI:true}, + {id:208, pId:20, t:"contentType", name:"contentType : \"application...\",", iconSkin:"core", showAPI:true}, + {id:202, pId:20, t:"dataFilter", name:"dataFilter : null,", iconSkin:"core", showAPI:true}, + {id:203, pId:20, t:"dataType", name:"dataType : \"text\",", iconSkin:"core", showAPI:true}, + {id:204, pId:20, t:"enable", name:"enable : false,", iconSkin:"core", showAPI:true}, + {id:205, pId:20, t:"otherParam", name:"otherParam : [],", iconSkin:"core", showAPI:true}, + {id:206, pId:20, t:"type", name:"type : \"post\",", iconSkin:"core", showAPI:true}, + {id:207, pId:20, t:"url", name:"url : \"\"", iconSkin:"core", showAPI:true}, + {id:21, pId:1, name:"},"}, + {id:22, pId:1, name:""}, + + {id:30, pId:1, t:"callback", name:"callback : {", open:true}, + {id:3001, pId:30, t:"beforeAsync", name:"beforeAsync : null,", iconSkin:"core", showAPI:true}, + {id:3002, pId:30, t:"beforeCheck", name:"beforeCheck : null,", iconSkin:"check", showAPI:true}, + {id:3003, pId:30, t:"beforeClick", name:"beforeClick : null,", iconSkin:"core", showAPI:true}, + {id:3004, pId:30, t:"beforeCollapse", name:"beforeCollapse : null,", iconSkin:"core", showAPI:true}, + {id:3004, pId:30, t:"beforeDblClick", name:"beforeDblClick : null,", iconSkin:"core", showAPI:true}, + {id:3005, pId:30, t:"beforeDrag", name:"beforeDrag : null,", iconSkin:"edit", showAPI:true}, + {id:3006, pId:30, t:"beforeDragOpen", name:"beforeDragOpen : null,", iconSkin:"edit", showAPI:true}, + {id:3007, pId:30, t:"beforeDrop", name:"beforeDrop : null,", iconSkin:"edit", showAPI:true}, + {id:3029, pId:30, t:"beforeEditName", name:"beforeEditName : null,", iconSkin:"edit", showAPI:true}, + {id:3008, pId:30, t:"beforeExpand", name:"beforeExpand : null,", iconSkin:"core", showAPI:true}, + {id:3009, pId:30, t:"beforeMouseDown", name:"beforeMouseDown : null,", iconSkin:"core", showAPI:true}, + {id:3010, pId:30, t:"beforeMouseUp", name:"beforeMouseUp : null,", iconSkin:"core", showAPI:true}, + {id:3011, pId:30, t:"beforeRemove", name:"beforeRemove : null,", iconSkin:"edit", showAPI:true}, + {id:3012, pId:30, t:"beforeRename", name:"beforeRename : null,", iconSkin:"edit", showAPI:true}, + {id:3013, pId:30, t:"beforeRightClick", name:"beforeRightClick : null,", iconSkin:"core", showAPI:true}, + {id:3014, pId:30, name:""}, + {id:3015, pId:30, t:"onAsyncError", name:"onAsyncError : null,", iconSkin:"core", showAPI:true}, + {id:3016, pId:30, t:"onAsyncSuccess", name:"onAsyncSuccess : null,", iconSkin:"core", showAPI:true}, + {id:3017, pId:30, t:"onCheck", name:"onCheck : null,", iconSkin:"check", showAPI:true}, + {id:3018, pId:30, t:"onClick", name:"onClick : null,", iconSkin:"core", showAPI:true}, + {id:3019, pId:30, t:"onCollapse", name:"onCollapse : null,", iconSkin:"core", showAPI:true}, + {id:3029, pId:30, t:"onDblClick", name:"onDblClick : null,", iconSkin:"core", showAPI:true}, + {id:3020, pId:30, t:"onDrag", name:"onDrag : null,", iconSkin:"edit", showAPI:true}, + {id:3030, pId:30, t:"onDragMove", name:"onDragMove : null,", iconSkin:"edit", showAPI:true}, + {id:3021, pId:30, t:"onDrop", name:"onDrop : null,", iconSkin:"edit", showAPI:true}, + {id:3022, pId:30, t:"onExpand", name:"onExpand : null,", iconSkin:"core", showAPI:true}, + {id:3023, pId:30, t:"onMouseDown", name:"onMouseDown : null,", iconSkin:"core", showAPI:true}, + {id:3024, pId:30, t:"onMouseUp", name:"onMouseUp : null,", iconSkin:"core", showAPI:true}, + {id:3025, pId:30, t:"onNodeCreated", name:"onNodeCreated : null,", iconSkin:"core", showAPI:true}, + {id:3026, pId:30, t:"onRemove", name:"onRemove : null,", iconSkin:"edit", showAPI:true}, + {id:3027, pId:30, t:"onRename", name:"onRename : null,", iconSkin:"edit", showAPI:true}, + {id:3028, pId:30, t:"onRightClick", name:"onRightClick : null", iconSkin:"core", showAPI:true}, + {id:31, pId:1, name:"},"}, + {id:32, pId:1, name:""}, + + {id:40, pId:1, t:"check", name:"check : {", open:true}, + {id:405, pId:40, t:"autoCheckTrigger", name:"autoCheckTrigger : false,", iconSkin:"check", showAPI:true}, + {id:401, pId:40, t:"chkboxType", name:"chkboxType : {\"Y\": \"ps\", \"N\": \"ps\"},", iconSkin:"check", showAPI:true}, + {id:402, pId:40, t:"chkStyle", name:"chkStyle : \"checkbox\",", iconSkin:"check", showAPI:true}, + {id:403, pId:40, t:"enable", name:"enable : false,", iconSkin:"check", showAPI:true}, + {id:406, pId:40, t:"nocheckInherit", name:"nocheckInherit : false", iconSkin:"check", showAPI:true}, + {id:407, pId:40, t:"chkDisabledInherit", name:"chkDisabledInherit : false", iconSkin:"check", showAPI:true}, + {id:404, pId:40, t:"radioType", name:"radioType : \"level\"", iconSkin:"check", showAPI:true}, + {id:41, pId:1, name:"},"}, + {id:42, pId:1, name:""}, + + {id:50, pId:1, t:"data", name:"data : {", open:true}, + {id:500, pId:50, t:"keep", name:"keep : {", open:true}, + {id:5001, pId:500, t:"leaf", name:"leaf : false,", iconSkin:"core", showAPI:true}, + {id:5002, pId:500, t:"parent", name:"parent : false", iconSkin:"core", showAPI:true}, + {id:501, pId:50, name:"},"}, + + {id:510, pId:50, t:"key", name:"key : {", open:true}, + {id:5101, pId:510, t:"checked", name:"checked : \"checked\",", iconSkin:"check", showAPI:true}, + {id:5102, pId:510, t:"children", name:"children : \"children\",", iconSkin:"core", showAPI:true}, + {id:5103, pId:510, t:"name", name:"name : \"name\",", iconSkin:"core", showAPI:true}, + {id:5104, pId:510, t:"title", name:"title : \"\"", iconSkin:"core", showAPI:true}, + {id:5105, pId:510, t:"url", name:"url : \"url\"", iconSkin:"core", showAPI:true}, + {id:511, pId:50, name:"},"}, + + {id:520, pId:50, t:"simpleData", name:"simpleData : {", open:true}, + {id:5201, pId:520, t:"enable", name:"enable : false,", iconSkin:"core", showAPI:true}, + {id:5202, pId:520, t:"idKey", name:"idKey : \"id\",", iconSkin:"core", showAPI:true}, + {id:5203, pId:520, t:"pIdKey", name:"pIdKey : \"pId\",", iconSkin:"core", showAPI:true}, + {id:5204, pId:520, t:"rootPId", name:"rootPId : null", iconSkin:"core", showAPI:true}, + {id:521, pId:50, name:"}"}, + {id:51, pId:1, name:"},"}, + {id:52, pId:1, name:""}, + + {id:60, pId:1, t:"edit", name:"edit : {", open:true}, + {id:601, pId:60, t:"drag", name:"drag : {", open:true}, + {id:60111, pId:601, t:"autoExpandTrigger", name:"autoExpandTrigger : true,", iconSkin:"edit", showAPI:true}, + {id:60101, pId:601, t:"isCopy", name:"isCopy : true,", iconSkin:"edit", showAPI:true}, + {id:60102, pId:601, t:"isMove", name:"isMove : true,", iconSkin:"edit", showAPI:true}, + {id:60103, pId:601, t:"prev", name:"prev : true,", iconSkin:"edit", showAPI:true}, + {id:60104, pId:601, t:"next", name:"next : true,", iconSkin:"edit", showAPI:true}, + {id:60105, pId:601, t:"inner", name:"inner : true,", iconSkin:"edit", showAPI:true}, + {id:60107, pId:601, t:"borderMax", name:"borderMax : 10,", iconSkin:"edit", showAPI:true}, + {id:60108, pId:601, t:"borderMin", name:"borderMin : -5,", iconSkin:"edit", showAPI:true}, + {id:60106, pId:601, t:"minMoveSize", name:"minMoveSize : 5,", iconSkin:"edit", showAPI:true}, + {id:60109, pId:601, t:"maxShowNodeNum", name:"maxShowNodeNum : 5,", iconSkin:"edit", showAPI:true}, + {id:60110, pId:601, t:"autoOpenTime", name:"autoOpenTime : 500", iconSkin:"edit", showAPI:true}, + {id:602, pId:60, name:"},"}, + {id:608, pId:60, t:"editNameSelectAll", name:"editNameSelectAll : false,", iconSkin:"edit", showAPI:true}, + {id:603, pId:60, t:"enable", name:"enable : false,", iconSkin:"edit", showAPI:true}, + {id:604, pId:60, t:"removeTitle", name:"removeTitle : \"remove\",", iconSkin:"edit", showAPI:true}, + {id:605, pId:60, t:"renameTitle", name:"renameTitle : \"rename\",", iconSkin:"edit", showAPI:true}, + {id:606, pId:60, t:"showRemoveBtn", name:"showRemoveBtn : true,", iconSkin:"edit", showAPI:true}, + {id:607, pId:60, t:"showRenameBtn", name:"showRenameBtn : true", iconSkin:"edit", showAPI:true}, + {id:61, pId:1, name:"},"}, + {id:62, pId:1, name:""}, + + {id:70, pId:1, t:"view", name:"view : {", open:true}, + {id:7001, pId:70, t:"addDiyDom", name:"addDiyDom : null,", iconSkin:"core", showAPI:true}, + {id:7002, pId:70, t:"addHoverDom", name:"addHoverDom : null,", iconSkin:"edit", showAPI:true}, + {id:7003, pId:70, t:"autoCancelSelected", name:"autoCancelSelected : true,", iconSkin:"core", showAPI:true}, + {id:7004, pId:70, t:"dblClickExpand", name:"dblClickExpand : true,", iconSkin:"core", showAPI:true}, + {id:7005, pId:70, t:"expandSpeed", name:"expandSpeed : \"fast\",", iconSkin:"core", showAPI:true}, + {id:7006, pId:70, t:"fontCss", name:"fontCss : {},", iconSkin:"core", showAPI:true}, + {id:7012, pId:70, t:"nameIsHTML", name:"nameIsHTML : false,", iconSkin:"core", showAPI:true}, + {id:7007, pId:70, t:"removeHoverDom", name:"removeHoverDom : null,", iconSkin:"edit", showAPI:true}, + {id:7008, pId:70, t:"selectedMulti", name:"selectedMulti : true,", iconSkin:"core", showAPI:true}, + {id:7009, pId:70, t:"showIcon", name:"showIcon : true,", iconSkin:"core", showAPI:true}, + {id:7010, pId:70, t:"showLine", name:"showLine : true,", iconSkin:"core", showAPI:true}, + {id:7011, pId:70, t:"showTitle", name:"showTitle : true,", iconSkin:"core", showAPI:true}, + {id:7012, pId:70, t:"txtSelectedEnable", name:"txtSelectedEnable : false", iconSkin:"core", showAPI:true}, + {id:71, pId:1, name:"}"}, + + {id:2, pId:0, name:"}"} + ]; + + var treenode_nodes =[ + {id:1, pId:0, t:"treeNode", name:"treeNode : {", open:true}, + {id:101, pId:1, t:"checked", name:"checked", iconSkin:"check", showAPI:true}, + {id:102, pId:1, t:"children", name:"children", iconSkin:"core", showAPI:true}, + {id:128, pId:1, t:"chkDisabled", name:"chkDisabled", iconSkin:"check", showAPI:true}, + {id:127, pId:1, t:"click", name:"click", iconSkin:"core", showAPI:true}, + {id:103, pId:1, t:"getCheckStatus", name:"getCheckStatus ()", iconSkin:"check", showAPI:true}, + {id:104, pId:1, t:"getNextNode", name:"getNextNode ()", iconSkin:"core", showAPI:true}, + {id:105, pId:1, t:"getParentNode", name:"getParentNode ()", iconSkin:"core", showAPI:true}, + {id:106, pId:1, t:"getPreNode", name:"getPreNode ()", iconSkin:"core", showAPI:true}, + {id:129, pId:1, t:"halfCheck", name:"halfCheck", iconSkin:"check", showAPI:true}, + {id:107, pId:1, t:"icon", name:"icon", iconSkin:"core", showAPI:true}, + {id:108, pId:1, t:"iconClose", name:"iconClose", iconSkin:"core", showAPI:true}, + {id:109, pId:1, t:"iconOpen", name:"iconOpen", iconSkin:"core", showAPI:true}, + {id:110, pId:1, t:"iconSkin", name:"iconSkin", iconSkin:"core", showAPI:true}, + {id:131, pId:1, t:"isHidden", name:"isHidden", iconSkin:"hide", showAPI:true}, + {id:111, pId:1, t:"isParent", name:"isParent", iconSkin:"core", showAPI:true}, + {id:132, pId:1, t:"name", name:"name", iconSkin:"core", showAPI:true}, + {id:112, pId:1, t:"nocheck", name:"nocheck", iconSkin:"check", showAPI:true}, + {id:113, pId:1, t:"open", name:"open", iconSkin:"core", showAPI:true}, + {id:133, pId:1, t:"target", name:"target", iconSkin:"core", showAPI:true}, + {id:134, pId:1, t:"url", name:"url", iconSkin:"core", showAPI:true}, + {id:114, pId:1, t:"diy", name:"*DIY*", iconSkin:"core", showAPI:true}, + {id:115, pId:1, name:""}, + {id:116, pId:1, t:"check_Child_State", name:"[check_Child_State]", iconSkin:"check", showAPI:true}, + {id:117, pId:1, t:"check_Focus", name:"[check_Focus]", iconSkin:"check", showAPI:true}, + {id:118, pId:1, t:"checkedOld", name:"[checkedOld]", iconSkin:"check", showAPI:true}, + {id:119, pId:1, t:"editNameFlag", name:"[editNameFlag]", iconSkin:"edit", showAPI:true}, + {id:120, pId:1, t:"isAjaxing", name:"[isAjaxing]", iconSkin:"core", showAPI:true}, + {id:121, pId:1, t:"isFirstNode", name:"[isFirstNode]", iconSkin:"core", showAPI:true}, + {id:122, pId:1, t:"isHover", name:"[isHover]", iconSkin:"edit", showAPI:true}, + {id:123, pId:1, t:"isLastNode", name:"[isLastNode]", iconSkin:"core", showAPI:true}, + {id:124, pId:1, t:"level", name:"[level]", iconSkin:"core", showAPI:true}, + {id:125, pId:1, t:"parentTId", name:"[parentTId]", iconSkin:"core", showAPI:true}, + {id:126, pId:1, t:"tId", name:"[tId]", iconSkin:"core", showAPI:true}, + {id:130, pId:1, t:"zAsync", name:"[zAsync]", iconSkin:"core", showAPI:true}, + {id:2, pId:0, name:"}"} + ]; + + var function_nodes =[ + {id:1, pId:0, t:"$.fn.zTree", name:"$.fn.zTree : {", open:true}, + {id:11, pId:1, t:"init", name:"init (obj, zSetting, zNodes)", iconSkin:"core", showAPI:true}, + {id:12, pId:1, t:"getZTreeObj", name:"getZTreeObj (treeId)", iconSkin:"core", showAPI:true}, + {id:14, pId:1, t:"destroy", name:"destroy (treeId)", iconSkin:"core", showAPI:true}, + {id:13, pId:1, t:"_z", name:"_z : {tools, view, event, data}", iconSkin:"core", showAPI:true}, + {id:2, pId:0, name:"}"}, + {id:3, pId:0, name:""}, + {id:4, pId:0, t:"zTreeObj", name:"zTreeObj : {", open:true}, + {id:401, pId:4, t:"setting", name:"setting", iconSkin:"core", showAPI:true}, + {id:402, pId:4, t:"addNodes", name:"addNodes (parentNode, newNodes, isSilent)", iconSkin:"core", showAPI:true}, + {id:403, pId:4, t:"cancelEditName", name:"cancelEditName (newName)", iconSkin:"edit", showAPI:true}, + {id:404, pId:4, t:"cancelSelectedNode", name:"cancelSelectedNode (node)", iconSkin:"core", showAPI:true}, + {id:405, pId:4, t:"checkAllNodes", name:"checkAllNodes (checked)", iconSkin:"check", showAPI:true}, + {id:406, pId:4, t:"checkNode", name:"checkNode (node, checked, checkTypeFlag, callbackFlag)", iconSkin:"check", showAPI:true}, + {id:407, pId:4, t:"copyNode", name:"copyNode (targetNode, node, moveType, isSilent)", iconSkin:"edit", showAPI:true}, + {id:436, pId:4, t:"destroy", name:"destroy ()", iconSkin:"core", showAPI:true}, + {id:408, pId:4, t:"editName", name:"editName (node)", iconSkin:"edit", showAPI:true}, + {id:409, pId:4, t:"expandAll", name:"expandAll (expandFlag)", iconSkin:"core", showAPI:true}, + {id:410, pId:4, t:"expandNode", name:"expandNode (node, expandFlag, sonSign, focus, callbackFlag)", iconSkin:"core", showAPI:true}, + {id:411, pId:4, t:"getChangeCheckedNodes", name:"getChangeCheckedNodes ()", iconSkin:"check", showAPI:true}, + {id:412, pId:4, t:"getCheckedNodes", name:"getCheckedNodes (checked)", iconSkin:"check", showAPI:true}, + {id:413, pId:4, t:"getNodeByParam", name:"getNodeByParam (key, value, parentNode)", iconSkin:"core", showAPI:true}, + {id:414, pId:4, t:"getNodeByTId", name:"getNodeByTId (tId)", iconSkin:"core", showAPI:true}, + {id:415, pId:4, t:"getNodeIndex", name:"getNodeIndex (node)", iconSkin:"core", showAPI:true}, + {id:416, pId:4, t:"getNodes", name:"getNodes ()", iconSkin:"core", showAPI:true}, + {id:431, pId:4, t:"getNodesByFilter", name:"getNodesByFilter (filter, isSingle, parentNode, invokeParam)", iconSkin:"core", showAPI:true}, + {id:417, pId:4, t:"getNodesByParam", name:"getNodesByParam (key, value, parentNode)", iconSkin:"core", showAPI:true}, + {id:418, pId:4, t:"getNodesByParamFuzzy", name:"getNodesByParamFuzzy (key, value, parentNode)", iconSkin:"core", showAPI:true}, + {id:419, pId:4, t:"getSelectedNodes", name:"getSelectedNodes ()", iconSkin:"core", showAPI:true}, + {id:432, pId:4, t:"hideNode", name:"hideNode (node)", iconSkin:"hide", showAPI:true}, + {id:433, pId:4, t:"hideNodes", name:"hideNodes (nodes)", iconSkin:"hide", showAPI:true}, + {id:420, pId:4, t:"moveNode", name:"moveNode (targetNode, node, moveType, isSilent)", iconSkin:"edit", showAPI:true}, + {id:421, pId:4, t:"reAsyncChildNodes", name:"reAsyncChildNodes (parentNode, reloadType, isSilent)", iconSkin:"core", showAPI:true}, + {id:422, pId:4, t:"refresh", name:"refresh ()", iconSkin:"core", showAPI:true}, + {id:423, pId:4, t:"removeChildNodes", name:"removeChildNodes (parentNode)", iconSkin:"core", showAPI:true}, + {id:424, pId:4, t:"removeNode", name:"removeNode (node, callbackFlag)", iconSkin:"core", showAPI:true}, + {id:425, pId:4, t:"selectNode", name:"selectNode (node, addFlag)", iconSkin:"core", showAPI:true}, + {id:430, pId:4, t:"setChkDisabled", name:"setChkDisabled (node, disabled, inheritParent, inheritChildren)", iconSkin:"check", showAPI:true}, + {id:426, pId:4, t:"setEditable", name:"setEditable (editable)", iconSkin:"edit", showAPI:true}, + {id:434, pId:4, t:"showNode", name:"showNode (node)", iconSkin:"hide", showAPI:true}, + {id:435, pId:4, t:"showNodes", name:"showNodes (nodes)", iconSkin:"hide", showAPI:true}, + {id:427, pId:4, t:"transformToArray", name:"transformToArray (nodes)", iconSkin:"core", showAPI:true}, + {id:428, pId:4, t:"transformTozTreeNodes", name:"transformTozTreeNodes (simpleNodes)", iconSkin:"core", showAPI:true}, + {id:429, pId:4, t:"updateNode", name:"updateNode (node, checkTypeFlag)", iconSkin:"core", showAPI:true}, + {id:5, pId:0, name:"}"} + ]; + + apiContent.zTree_Setting = $.fn.zTree.init($("#settingTree"), $.fn.zTree._z.tools.clone(setting), setting_nodes); + apiContent.zTree_Node = $.fn.zTree.init($("#treenodeTree"), $.fn.zTree._z.tools.clone(setting), treenode_nodes); + apiContent.zTree_Function = $.fn.zTree.init($("#functionTree"), $.fn.zTree._z.tools.clone(setting), function_nodes); + this.bindEvent(); + + }, + bindEvent: function() { + $(document).bind("keydown", this.listenKeyDown) + this.overlayCloseBtn.bind("click", apiContent.overlayClose); + this.searchResultInput.bind("click", function(e) { + $(this).prev().get(0).focus(); + this.blur(); + }).bind("focus", function(e) { + this.blur(); + }); + this.searchKey.bind("focus", this.focusKey) + .bind("blur", this.blurKey) + .bind("propertychange", this.searchNode) + .bind("input", this.searchNode); + this.searchPrevBtn.bind("click", this.searchPrev); + this.searchNextBtn.bind("click", this.searchNext); + }, + setSameKey: function(value) { + apiContent.searchKey.attr("value", value); + }, + focusKey: function(e) { + if (apiContent.searchKey.hasClass("empty")) { + apiContent.searchKey.removeClass("empty"); + } + }, + blurKey: function(e) { + apiContent.setSameKey(e.target.value); + if (e.target.value === "") { + apiContent.searchKey.addClass("empty"); + } + }, + listenKeyDown: function(e) { + if (e.keyCode=="13" && apiContent.overlayDiv.is(":hidden")) { + apiContent.openAPI(); + } else if (e.keyCode=="37") { + apiContent.searchPrev(); + } else if (e.keyCode=="13" || e.keyCode=="39") { + apiContent.searchNext(); + } + }, + openAPI: function() { + if (apiContent.searchNodes.length > 0) { + var setting_zTree = $.fn.zTree.getZTreeObj("settingTree"), + treenode_zTree = $.fn.zTree.getZTreeObj("treenodeTree"), + function_zTree = $.fn.zTree.getZTreeObj("functionTree"); + if (apiContent.searchNodesCur < 0 || apiContent.searchNodesCur > apiContent.searchNodes.length -1) { + apiContent.searchNodesCur = 0; + } + var node = apiContent.searchNodes[apiContent.searchNodesCur]; + + if (node.tId.indexOf("setting") > -1) { + setting_zTree.selectNode(node); + } else if (node.tId.indexOf("treenode") > -1) { + treenode_zTree.selectNode(node); + } else { + function_zTree.selectNode(node); + } + apiContent.beforeClick(node.tId.substring(0, node.tId.indexOf("_")), node, true); + apiContent.searchCur(); + } + }, + searchNode: function(e) { + var setting_zTree = $.fn.zTree.getZTreeObj("settingTree"), + treenode_zTree = $.fn.zTree.getZTreeObj("treenodeTree"), + function_zTree = $.fn.zTree.getZTreeObj("functionTree"); + if (apiContent.curKey == e.target.value) return; + apiContent.curKey = e.target.value; + var value = $.trim(apiContent.curKey); + apiContent.setSameKey(apiContent.curKey); + if (apiContent.searchKey.hasClass("empty")) { + value = ""; + apiContent.searchResultInput.removeClass("noResult").attr("value",""); + } + if (apiContent.lastValue === value) return; + + apiContent.updateNodes(false); + apiContent.lastValue = value; + if (value === "" || value.length < 2) { + apiContent.searchNodes = []; + apiContent.searchNodesCur = -1; + apiContent.searchCur(true); + return; + } + + var settingNodeList = setting_zTree.getNodesByFilter(apiContent.searchFilter); + var functionNodeList = function_zTree.getNodesByFilter(apiContent.searchFilter); + var treenodeNodeList = treenode_zTree.getNodesByFilter(apiContent.searchFilter); + apiContent.searchNodes = settingNodeList.concat(functionNodeList).concat(treenodeNodeList); + apiContent.searchNodesCur = -1; + apiContent.searchCur(); + apiContent.updateNodes(true); + }, + searchFilter: function(node) { + var value = $.trim(apiContent.searchKey.get(0).value).toLowerCase(); + return (node.showAPI && node.name.toLowerCase().indexOf(value) > -1); + }, + searchPrev: function(e) { + if (apiContent.searchPrevBtn.hasClass("disabled")) return; + apiContent.searchNodesCur--; + if (apiContent.searchNodesCur < 0 || apiContent.searchNodesCur > apiContent.searchNodes.length -1) { + apiContent.searchNodesCur = apiContent.searchNodes.length -1; + } + apiContent.openAPI(); + }, + searchNext: function(e) { + if (apiContent.searchNextBtn.hasClass("disabled")) return; + apiContent.searchNodesCur++; + apiContent.openAPI(); + }, + searchCur: function(init) { + var result = apiContent.searchNodes; + if (init) { + apiContent.searchResultInput.removeClass("noResult").attr("value",""); + } else if (result.length == 0) { + apiContent.searchResultInput.addClass("noResult").attr("value"," [ 0 / 0 ] "); + } else { + apiContent.searchResultInput.removeClass("noResult").attr("value"," [ " + (apiContent.searchNodesCur > -1 ? apiContent.searchNodesCur+1 : "?")+ " / " + result.length + " ] "); + } + if (result.length > 0) { + apiContent.searchPrevBtn.removeClass("disabled"); + apiContent.searchNextBtn.removeClass("disabled"); + } else { + apiContent.searchPrevBtn.addClass("disabled"); + apiContent.searchNextBtn.addClass("disabled"); + } + }, + updateNodes: function(highlight) { + var setting_zTree = $.fn.zTree.getZTreeObj("settingTree"), + treenode_zTree = $.fn.zTree.getZTreeObj("treenodeTree"), + function_zTree = $.fn.zTree.getZTreeObj("functionTree"), + node = null; + for( var i=0, l=apiContent.searchNodes.length; i 0) { + node.highlight = highlight; + if (node.tId.indexOf("setting") > -1) { + setting_zTree.updateNode(node); + } else if (node.tId.indexOf("treenode") > -1) { + treenode_zTree.updateNode(node); + } else { + function_zTree.updateNode(node); + } + } + } + }, + getFontCss: function(treeId, treeNode) { + return (!!treeNode.highlight) ? {color:"#A60000", "font-weight":"bold"} : {color:"#333", "font-weight":"normal"}; + }, + getTitle: function(treeId, node) { + var t = [], n = node; + while (n && !!n.t) { + t.push(n.t); + n = n.getParentNode(); + } + t = t.reverse(); + node.tt = t.join('.'); + return true; + }, + showIcon: function(treeId, node) { + return (!!node.iconSkin); + }, + onNodeCreated: function (e, treeId, node) { + var a = $("#" + node.tId + "_a"); + if (node.showAPI) { + a.attr("rel", "#overlayDiv"); + } else { + a.css({cursor: "default"}); + } + }, + beforeClick: function (treeId, node, noClear) { + if (!node.showAPI) return false; + var o = $("#" + node.tId + "_a"); + if (!!apiContent.apiCache[node.tId]) { + apiContent.tmpDiv.html(apiContent.apiCache[node.tId]); + apiContent.overlayShow(o, (apiContent.lastNode === node)); + } else { + apiContent.overlayAjax(treeId, node); + } + apiContent.lastNode = node; + if (node.tId.indexOf("settingTree")>-1) { + apiContent.settingDiv.removeClass("right").addClass("left"); + apiContent.functionDiv.removeClass("left").addClass("right"); + } else { + apiContent.settingDiv.removeClass("left").addClass("right"); + apiContent.functionDiv.removeClass("right").addClass("left"); + } + + if (!noClear) { + apiContent.clearSelectedNode(); + } + return true; + }, + clearSelectedNode: function() { + apiContent.zTree_Setting.cancelSelectedNode(); + apiContent.zTree_Node.cancelSelectedNode(); + apiContent.zTree_Function.cancelSelectedNode(); + }, + overlayAutoClose: function(e) { + var eId = e.target.id, eRel = e.target.getAttribute("rel"), eClass = e.target.className; + if (eId === "overlayDiv" || eId === "overlayDivArrow" || eClass.indexOf("searchPrev") > -1 || eClass.indexOf("searchNext") > -1 || !!eRel) return; + if (!$(e.target).parents("[rel]").length && !$(e.target).parents("#overlayDiv").length) { + apiContent.overlayClose(); + } + }, + overlayClose: function() { + var o = apiContent.overlayDiv; + o.stop(); + apiContent.clearSelectedNode(); + if (ie) { + o.hide(); + } else { + setTimeout(function() {o.fadeTo("fast", 0, function(){o.hide();})}, 200); + } + $(document).unbind("click", apiContent.overlayAutoClose); + }, + overlayShow: function(target, isSameNode) { + var w = $(window), o = apiContent.overlayDiv, a = apiContent.overlayArrow, + oc = apiContent.overlayContent, c = apiContent.contentBoxDiv, + t = target.offset().top - 30, + cMaxLeft = c.offset().left + c.outerWidth({margin:true}) - o.outerWidth({margin:true}) - 10, + l = Math.min(cMaxLeft, target.offset().left + target.width() + 40), + arrowT = target.offset().top + 16, + wMinTop = 100, footerHeight = 50, onlyFade = false, + wHeight = w.height(), wScrollTop=w.scrollTop(), wMaxTop = wHeight + wScrollTop - footerHeight; + if (!apiContent.overlayMaxTop) { + apiContent.overlayMaxTop = apiContent.contentBoxDiv.offset().top + apiContent.contentBoxDiv.height(); + } + o.stop(); + if (o.css("display") !== "block") { + o.css({top: t, left: l}); + a.css({top:arrowT - t}); + $(document).bind("click", apiContent.overlayAutoClose); + } + if (ie) { + onlyFade = true; + o.show(); + } else { + o.fadeTo("fast", 1); + } + + var h = apiContent.tmpDiv.outerHeight({margin:true}) + apiContent.overlaySearch.outerHeight(); + if ((t + h) > wMaxTop) { + t = wMaxTop - h; + } + if ((t + h) > apiContent.overlayMaxTop) { + t = apiContent.overlayMaxTop - h; + } + t = Math.max(t, wScrollTop, wMinTop); + if ((t + h) > ($("body").height()-footerHeight-20)) { + o.css("padding-bottom", footerHeight + "px"); + } else { + o.css("padding-bottom", "0"); + } + apiContent.overlayDetailDiv.empty(); + apiContent.overlayDetailDiv.append(apiContent.tmpDiv.children()); + if (!onlyFade) { + onlyFade = (isSameNode && t === parseInt(o.css("top").replace("px", ""))); + } + + a.removeClass("reverse"); + if ( (arrowT - t) > (h-55) ) { + a.addClass("reverse"); + arrowT -= 55; + } + + if (onlyFade) { + o.css({top: t, left: l}); + oc.css({height: h}); + a.css({top:arrowT - t}); + } else { + o.animate({top: t, left: l}, {duration: "normal",easing: "swing", complete:null}); + oc.animate({height: h}, {duration: "fast",easing: "swing", complete:null}); + a.animate({top:arrowT - t}, {duration: "normal",easing: "linear", complete:null}); + } + }, + overlayAjax: function(treeId, node) { + var o = $("#" + node.tId + "_a"); + if (node.isAjax) return; + node.isAjax = true; + $.ajax({ + type: "get", + url: "" + lang + "/" + node.tt.replace("$.", "") + ".html", + data: null, + dataType: "text", + success: function(msg) { + if (!apiContent.tmpDiv) { + var tmpDiv = $(document.createElement("div")); + tmpDiv.addClass("baby_overlay_tmp"); + $("body").append(tmpDiv) + apiContent.tmpDiv = $(document.createElement("div")); + apiContent.tmpDiv.addClass("details"); + tmpDiv.append(apiContent.tmpDiv); + + } else { + apiContent.tmpDiv.empty(); + } + apiContent.tmpDiv.html(msg); + apiContent.overlayShow(o, false); + apiContent.apiCache[node.tId] = msg; + node.isAjax = false; + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + alert(ajaxMsg) + if (apiContent.tmpDiv) apiContent.tmpDiv.empty(); + node.isAjax = false; + } + }); + } +} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/common.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/common.css new file mode 100644 index 00000000..78f910c7 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/common.css @@ -0,0 +1,219 @@ +/* Resets */ +html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { + margin: 0;padding: 0;border: 0;outline: 0;font-weight: inherit;font-style: inherit;font-size: 100%;font-family: inherit;vertical-align: baseline;} +:focus {outline: 0;} +body {color: #2f332a;font: 15px/21px Arial, Helvetica, simsun, sans-serif;background: #528036 url(img/background.jpg) no-repeat fixed 0 0;} +p {padding-bottom: 20px;} +ol, ul {list-style: none;} +table {border-collapse: separate;border-spacing: 0;} +caption, th, td {text-align: left;font-weight: normal;} +strong {font-weight: bold;} +em {font-style: italic;} +hr {display: none;} +.font1 {color: white;background-color: #528036;} +.right {float: right;} +.left {float: left;} +.hide {display: none;} +.round {-moz-border-radius: 15px;-webkit-border-radius: 15px;-khtml-border-radius: 15px;border-radius: 15px;} +.clear {clear: both;} +.clearfix {display: block;} +.clearfix:after {content: ".";display: block;clear: both;visibility: hidden;line-height: 0;height: 0;} +html[xmlns] .clearfix {display: block;} +* html .clearfix {height: 1%;} + +/* Link Styles */ +a {color: #528036;} +a:link, a:visited {text-decoration: none;} +a:hover {color: #000;text-decoration: none;} +a:active {text-decoration: none;} + +/* Headings */ +h1, h2, h3, h4, h5, h6 {color: #2f332a;font-weight: bold;font-family: Helvetica, Arial, simsun, sans-serif;padding-bottom: 5px;} +h1 {font-size: 36px;line-height: 44px;} +h2 {font-size: 20px;line-height: 20px;} +h3 {font-size: 14px;line-height: 14px;} +h4 {font-size: 14px;font-weight: normal;line-height: 25px;} + +/* Wraps */ +.header_wrap {position: relative;min-width: 940px;padding: 100px 30px 0 30px;} +.content_wrap {position: relative;min-width: 940px;padding: 0 30px 50px 30px;} +.footer_wrap {bottom: 0;height: 47px;width: 100%;background-color: #1b1b1b;border-top: 1px solid #749e58;} + +/* Header */ +.header {position: relative;width: 940px;margin: 0 auto;height: 160px;border: 1px solid white;background: transparent url(img/header-bg.png) repeat-x 0 -50px;} +.header-text {padding: 40px 25px 15px 120px;font-size: 18px;line-height: 24px;color: #747d67;font-family: Helvetica, sans-serif;} +.header-text img {padding-bottom: 5px;} +.shortcuts {white-space: nowrap;text-align: right;position: absolute;top: -45px;right: 5px;} +.shortcuts.language {top: -85px;right:0px;} +.shortcuts li {display: inline;font-size: 18px;line-height: 28px;font-family: Helvetica, Arial, simsun, sans-serif;padding-bottom: 5px;margin-left: 30px;cursor: pointer;} +.shortcuts li button {cursor: pointer;} +.shortcuts li span {border-bottom: 1px dotted white;} +.shortcuts li span.selected {padding: 2px;background-color: #528036;} +.shortcuts li a {color: #fff;} +.ieSuggest {display:none;font-size: 12px;color: silver;position: absolute;left: 10px;top: 2px;} +.google_plus {position: absolute;right: 10px; top:10px;} +.light-bulb {position: absolute;left: -20px;bottom: -35px;width:116px;height:180px;background-image:url(img/lightbulb.png);background-repeat: no-repeat;} + +/* Content */ +.content {position: relative;width: 940px;margin: 0 auto;} +.nav_section {position: relative;height: 20px;font-family: "Myriad Pro", "Trebuchet MS", sans-serif;font-size: 15px;color: #253;padding: 20px 0;} +.nav_section ul {position: absolute;right: 10px;} +.nav_section ul li {display: inline;line-height: 20px;margin: 0 5px 0 20px;border-bottom: 1px dotted white;} +.nav_section ul li.noline {border-bottom: 0;} +.nav_section ul li a {color: #fff;} +.nav_section ul li a.selected {padding: 2px;background-color: #528036;} +.nav_section ul li.first {border: none;} +.content .title {margin: 50px 30px 20px 70px;} +.content li {margin-bottom: 5px;} +.contentBox {position: relative;overflow: hidden;border: 1px solid white;min-height: 200px;line-height: 25px;background: transparent url(img/contact-bg.png) repeat-x 0 0;} + +.zTreeInfo {display:none;width: 940px;position: absolute;} +.zTreeInfo p {padding-bottom: 50px;} +.zTreeInfo-left {float: left;width: 280px;height:300px;padding: 0 50px 60px 75px;background:url(img/zTreeIntroduction.jpg) no-repeat 30px 30px;} +.zTreeInfo-right {position: relative;float: right;width: 475px;padding: 0 50px 60px 0;} +.zTreeInfo-right li {font-size: 12px;list-style-type: disc;} + +.license {display:none;width: 940px;position: absolute;} + +.donateInfo {display:block;width: 940px;position: absolute;} + +.links {display:none;width: 940px;position: absolute;} +.links .content {float: left;width: 160px;height:200px;padding: 0 10px 10px 2px;text-align: center;} +.links .content.first {margin-left: 30px;} + +.contact {display:none;width: 940px;position: absolute;} +.contact .myhome { position: absolute; top:10px; left:620px; width:300px; height:266px; background: transparent url(img/myhome.gif) scroll no-repeat 0 0;} + +.siteTag {position: absolute;left: -16px;top: 109px;z-index: 10;width: 65px;height: 46px;padding:0;margin:0 10px 0 0; + vertical-align:middle;border:0 none;background: transparent url(img/siteTag.png) scroll no-repeat 0 0;} +.siteTag.tag_zTreeInfo {background-position: 0 0} +.siteTag.tag_license {background-position: 0 -46px} +.siteTag.tag_donate {background-position: 0 -92px} +.siteTag.tag_contact {background-position: 0 -138px} + +.apiContent {width: 940px;} +.apiContent .right {float: right;padding-right: 100px;} +.apiContent .left {float: left;padding-right: 20px;border-right: 1px dotted silver;} +.api_setting {position: relative;margin:20px 0 20px 20px;} +.api_function {position: relative;margin:20px 0 20px 30px;padding-right: 10px;} +.api_content_title {text-align: center;font-weight: bold;} + +.demoContent {width: 940px;} +.demoContent .right {float: right;padding: 20px;width: 600px;} +.demoContent .left {float: left;padding: 20px;} +.demoContent iframe {width:600px;min-height: 530px;} + +.faqContent {width: 940px;} +.faqContent .right {float: right;padding: 20px;width: 600px;} +.faqContent .left {float: left;padding: 20px;} +.faqContent iframe {width:600px;min-height: 300px;} + +.baby_overlay_tmp {position: absolute;top:0; left:-5000px;display:block;visibility: hidden;width:640px;font-size:11px;} +.baby_overlay_tmp .details {padding: 20px;} +.baby_overlay {display:none;position:absolute;z-index:99;left:0; top:0;width:640px;color:#fff;font-size:11px;} +.baby_overlay .content {width:100%; height:100px;overflow: hidden;background: transparent url(img/overlay_bg.png) scroll repeat 0 0;} +.baby_overlay .details {padding:0 20px 20px 20px;} +.baby_overlay .close {background-image:url(img/close.png);position:absolute; right:5px; top:5px;cursor:pointer;height:36px;width:36px;} +.baby_overlay_arrow {background-image:url(img/overlay_arrow.png);background-position:0 0;position:absolute;height:40px;width:40px;left: -40px;} +.baby_overlay_arrow.reverse {background-position:0 -40px;} + +/* Footer */ +.footer {position: relative;min-width: 1000px;font: 14px/24px arial, helvetica, sans-serif;} +.footer ul {position:absolute;left: 0px;border:1px solid #393939;background:#262626;padding:12px 0px;line-height: 18px;display: none;list-style: none;} +.footer ul li a {display:block;padding: 2px 15px;color: #9c9c9c;text-indent: 0;} +.footer ul li a:hover {text-decoration:none;color: #fff;} +.footer-logo {position:absolute;margin: 10px 0 0 30px;width:122px; height:24px;top:0; left:0;background: transparent url(img/footer-logo.png) no-repeat 0 0;} +.footer_mii {position: absolute;right: 558px;top: 8px;z-index: 10;padding: 4px 0;} +.footer_mii a {font-size:10px;color:#649140} +.footer_mii a:hover {color:#B6D76F} +.footer_siteMap {position: absolute;right: 358px;top: 8px;width: 155px;z-index: 10;padding: 4px 0;} +.footer_siteMap .footer_siteMap_header {width:155px;text-indent: -9999px;background: transparent url(img/footer_siteMap.gif) no-repeat 0 0;} +.footer_siteMap ul {top:-202px;width:180px;} +.footer_siteMap:hover ul {left: 0} +.footer_contact {position: absolute;right: 193px;top: 8px;width: 155px;z-index: 10;padding: 4px 0;} +.footer_contact .footer_contact_header {width:155px;text-indent: -9999px;background: transparent url(img/footer_contact.gif) no-repeat 0px 0px;} +.footer_contact ul {top:-113px;width:153px;} +.footer_contact:hover ul {left: 0} +.footer_download {position: absolute;right: 60px;top: 8px;width: 123px;z-index: 10;padding: 4px 0;} +.footer_download .footer_download_header {width:123px;text-indent: -9999px;background: transparent url(img/footer_download.png) no-repeat 0px 0px;} +.footer_download ul {top:-113px;width:140px;} +.footer_download:hover ul {left: 0} + +/* button icon */ +button {vertical-align:middle;border:0 none;background: transparent no-repeat 0 0 scroll;} + +.shortcuts button.ico {width:24px; height:24px;padding:0; margin:0 10px 0 0;background-image:url(img/menuIcon.png)} +.shortcuts button.home {background-position: 0 0} +.shortcuts button.demo {background-position: 0 -24px} +.shortcuts button.api {background-position: 0 -48px} +.shortcuts button.faq {background-position: 0 -72px} +.shortcuts button.donate {background-position: 0 -144px} +.shortcuts button.download {background-position: 0 -96px} +.shortcuts button.face {background-position: 0 -120px} +.shortcuts button.cn {width:48px; height:24px;padding:0; margin:0 10px 0 0;background-image:url(img/chinese.png)} +.shortcuts button.en {width:48px; height:24px;padding:0; margin:0 10px 0 0;background-image:url(img/english.png)} + +.content button.ico {width:24px; height:24px;padding:0; margin:0 10px 0 0;} + +.content button.ico16 {width:16px; height:16px;padding:0; margin:0 5px 0 0;background-image:url("img/apiMenu.png");} +button.z_core {margin-top: -4px;background-position:0 0;} +button.z_check {margin-top: -4px;background-position:0 -16px;} +button.z_edit {margin-top: -4px;background-position:0 -32px;} +button.z_hide {margin-top: -4px;background-position:0 -64px;} +button.z_search {margin-top: -4px;background-position:0 -48px;} +button.searchPrev {margin-top: -4px;background-position:-16px 0;cursor:pointer} +button.searchNext {margin-top: -4px;background-position:-16px -16px;cursor:pointer} +button.searchPrev.disabled {margin-top: -4px;background-position:-16px -32px;cursor:auto} +button.searchNext.disabled {margin-top: -4px;background-position:-16px -48px;cursor:auto} +input.search {margin:0;padding:2px 0; border:0;} +input.searchKey {width:150px;} +input.searchResult {margin-left:-3px;width:65px;text-align:right;background-color:white;color:#707070} +input.searchResult.noResult {background-color:#ff6666;color:black} +.baby_overlay div.overlaySearch {text-align:right;padding-right:50px;padding-top:12px;} + +/* api overlay*/ +.apiDetail .topLine {border-top: 1px dashed #376B29;margin-top: 5px;padding-top: 5px;} +.apiDetail .highlight_red {color:#A60000;} +.apiDetail .highlight_green {color:#A7F43D;} +.apiDetail h1, .apiDetail h2, .apiDetail h3, .apiDetail h4, .apiDetail h5, .apiDetail h6 {color: white;padding: 0;} +.apiDetail h2 {color: #A7F43D;margin: 5px auto;padding: 5px;font-size: 20px;} +.apiDetail h2 span {font-size: 14px;float: right;font-weight: normal;margin: 2px 20px 0 0;vertical-align: bottom;} +.apiDetail h2 span.path {float: left;margin: 2px 0 0 0;vertical-align: bottom;} +.apiDetail h3 {margin: 5px auto;padding: 5px;font-size: 14px;font-weight: normal;} +.apiDetail h3 span.h3_info {margin-left: 20px;font-size: 12px;} +.apiDetail h4 {margin: 0 auto;padding: 0 5px;font-size: 12px;font-weight: normal;line-height: 16px;} +.apiDetail .desc h4 {color: black;} +.apiDetail h4 b{width: 150px;display:inline-block;} +.apiDetail h4 span{width: 230px;display:inline-block;} + +.apiDetail pre, .apiDetail .desc {background: #E8FCD6;color: black;margin: 10px;padding: 10px;display: block;} +.apiDetail pre {word-wrap: break-word;} +.apiDetail p{margin-left: 5px;padding: 0;} +.apiDetail .longdesc {margin-top: 5px;} +.apiDetail .longdesc p{font-size: 12px;line-height:1.5;margin:3px 0;} +.apiDetail .longdesc b{font-size: 14px;} +.apiDetail table {border-collapse:collapse;} +.apiDetail table td {border:1px solid silver;text-align: center;vertical-align: middle;} +.apiDetail table thead td {font-weight: bold} + +.apiDetail button {width:16px; height:16px; vertical-align:middle; border:0 none; cursor: pointer; + background-color:transparent; background-repeat:no-repeat; background-attachment: scroll; + background-image:url("zTreeStyle/img/zTreeStandard.png");} + +.apiDetail button.chk {width:13px; height:13px; margin:0 3px 2px 0; cursor: auto} +.apiDetail button.chk.checkbox_false_full {background-position:0 0} +.apiDetail button.chk.checkbox_false_full_focus {background-position:0 -14px} +.apiDetail button.chk.checkbox_false_part {background-position:0 -28px} +.apiDetail button.chk.checkbox_false_part_focus {background-position:0 -42px} +.apiDetail button.chk.checkbox_true_full {background-position:-14px 0} +.apiDetail button.chk.checkbox_true_full_focus {background-position:-14px -14px} +.apiDetail button.chk.checkbox_true_part {background-position:-14px -28px} +.apiDetail button.chk.checkbox_true_part_focus {background-position:-14px -42px} +.apiDetail button.chk.radio_false_full {background-position:-28px 0} +.apiDetail button.chk.radio_false_full_focus {background-position:-28px -14px} +.apiDetail button.chk.radio_false_part {background-position:-28px -28px} +.apiDetail button.chk.radio_false_part_focus {background-position:-28px -42px} +.apiDetail button.chk.radio_true_full {background-position:-42px 0} +.apiDetail button.chk.radio_true_full_focus {background-position:-42px -14px} +.apiDetail button.chk.radio_true_part {background-position:-42px -28px} +.apiDetail button.chk.radio_true_part_focus {background-position:-42px -42px} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/common_ie6.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/common_ie6.css new file mode 100644 index 00000000..aacaf59c --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/common_ie6.css @@ -0,0 +1,23 @@ +* html{ +/* background-image:url(about:blank);*/ + background-attachment:fixed; +} +html pre {word-wrap: break-word} +.header {background-image: none;background-color: #F0F6E4;} + +.ieSuggest {display:block;} +.shortcuts button.cn {filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='apiCss/img/chinese.png');background-image: none;} +.shortcuts button.en {filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='apiCss/img/english.png');background-image: none;} + +.light-bulb {filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='apiCss/img/lightbulb.png');background-image: none;} +.contentBox {background-image: none;background-color: #F0F6E4;} +.zTreeInfo {background-image: none;background-color: #F0F6E4;} + +.content button.ico16 {*background-image:url("img/apiMenu.gif")} +.siteTag {background-image: none;} +.apiContent .right {float: right;padding-right: 50px;} + +div.baby_overlay {background-color: #3C6E31;background-image:none;color:#fff;} +div.baby_overlay .close {filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='apiCss/img/overlay_close_IE6.gif');background-image: none;} +.baby_overlay_arrow {background-image:url(img/overlay_arrow.gif);} +.apiDetail button {background-image:url("img/zTreeStandard.gif")} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/apiMenu.gif b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/apiMenu.gif new file mode 100644 index 00000000..066fc8e4 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/apiMenu.gif differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/apiMenu.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/apiMenu.png new file mode 100644 index 00000000..9acec505 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/apiMenu.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/background.jpg b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/background.jpg new file mode 100644 index 00000000..003375ff Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/background.jpg differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/chinese.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/chinese.png new file mode 100644 index 00000000..d3b57fc1 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/chinese.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/close.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/close.png new file mode 100644 index 00000000..69e41e38 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/close.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/contact-bg.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/contact-bg.png new file mode 100644 index 00000000..a3d7a5f1 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/contact-bg.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/english.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/english.png new file mode 100644 index 00000000..2ad2d7d5 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/english.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/header-bg.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/header-bg.png new file mode 100644 index 00000000..a2baacf2 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/header-bg.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/lightbulb.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/lightbulb.png new file mode 100644 index 00000000..c99357a3 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/lightbulb.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/overlay_arrow.gif b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/overlay_arrow.gif new file mode 100644 index 00000000..e7c3e6d4 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/overlay_arrow.gif differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/overlay_arrow.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/overlay_arrow.png new file mode 100644 index 00000000..d790a115 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/overlay_arrow.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/overlay_bg.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/overlay_bg.png new file mode 100644 index 00000000..5f81ee69 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/overlay_bg.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/overlay_close_IE6.gif b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/overlay_close_IE6.gif new file mode 100644 index 00000000..42cb8d83 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/overlay_close_IE6.gif differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/zTreeStandard.gif b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/zTreeStandard.gif new file mode 100644 index 00000000..3f69a5b1 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/zTreeStandard.gif differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/zTreeStandard.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/zTreeStandard.png new file mode 100644 index 00000000..33c9e844 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/img/zTreeStandard.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/jquery-1.6.2.min.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/jquery-1.6.2.min.js new file mode 100644 index 00000000..8cdc80eb --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/jquery-1.6.2.min.js @@ -0,0 +1,18 @@ +/*! + * jQuery JavaScript Library v1.6.2 + * http://jquery.com/ + * + * Copyright 2011, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Thu Jun 30 14:16:56 2011 -0400 + */ +(function(a,b){function cv(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cs(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),b.appendChild(ch);if(!ci||!ch.createElement)ci=(ch.contentWindow||ch.contentDocument).document,ci.write((c.compatMode==="CSS1Compat"?"":"")+""),ci.close();d=ci.createElement(a),ci.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ch)}cg[a]=e}return cg[a]}function cr(a,b){var c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return c}function cq(){cn=b}function cp(){setTimeout(cq,0);return cn=f.now()}function cf(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ce(){try{return new a.XMLHttpRequest}catch(b){}}function b$(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bx(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function bm(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(be,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bl(a){f.nodeName(a,"input")?bk(a):"getElementsByTagName"in a&&f.grep(a.getElementsByTagName("input"),bk)}function bk(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bj(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function bi(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bh(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c=f.expando,d=f.data(a),e=f.data(b,d);if(d=d[c]){var g=d.events;e=e[c]=f.extend({},d);if(g){delete e.handle,e.events={};for(var h in g)for(var i=0,j=g[h].length;i=0===c})}function V(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function N(a,b){return(a&&a!=="*"?a+".":"")+b.replace(z,"`").replace(A,"&")}function M(a){var b,c,d,e,g,h,i,j,k,l,m,n,o,p=[],q=[],r=f._data(this,"events");if(!(a.liveFired===this||!r||!r.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var s=r.live.slice(0);for(i=0;ic)break;a.currentTarget=e.elem,a.data=e.handleObj.data,a.handleObj=e.handleObj,o=e.handleObj.origHandler.apply(e.elem,arguments);if(o===!1||a.isPropagationStopped()){c=e.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function K(a,c,d){var e=f.extend({},d[0]);e.type=a,e.originalEvent={},e.liveFired=b,f.event.handle.call(c,e),e.isDefaultPrevented()&&d[0].preventDefault()}function E(){return!0}function D(){return!1}function m(a,c,d){var e=c+"defer",g=c+"queue",h=c+"mark",i=f.data(a,e,b,!0);i&&(d==="queue"||!f.data(a,g,b,!0))&&(d==="mark"||!f.data(a,h,b,!0))&&setTimeout(function(){!f.data(a,g,b,!0)&&!f.data(a,h,b,!0)&&(f.removeData(a,e,!0),i.resolve())},0)}function l(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function k(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(j,"$1-$2").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNaN(d)?i.test(d)?f.parseJSON(d):d:parseFloat(d)}catch(g){}f.data(a,c,d)}else d=b}return d}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z])/ig,x=function(a,b){return b.toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.resolveWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!A){A=e._Deferred();if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNaN:function(a){return a==null||!m.test(a)||isNaN(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a);return c===b||D.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(b,c,d){a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),d=c.documentElement,(!d||!d.nodeName||d.nodeName==="parsererror")&&e.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?h.call(arguments,0):c,--e||g.resolveWith(g,h.call(b,0))}}var b=arguments,c=0,d=b.length,e=d,g=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred();if(d>1){for(;c
                  a",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.firstChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0},m&&f.extend(p,{position:"absolute",left:-1e3,top:-1e3});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="
                  ",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="
                  t
                  ",q=a.getElementsByTagName("td"),u=q[0].offsetHeight===0,q[0].style.display="",q[1].style.display="none",k.reliableHiddenOffsets=u&&q[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",a.appendChild(j),k.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0),o.innerHTML="",n.removeChild(o);if(a.attachEvent)for(t in{submit:1,change:1,focusin:1})s="on"+t,u=s in a,u||(a.setAttribute(s,"return;"),u=typeof a[s]=="function"),k[t+"Bubbles"]=u;o=l=g=h=m=j=a=i=null;return k}(),f.boxModel=f.support.boxModel;var i=/^(?:\{.*\}|\[.*\])$/,j=/([a-z])([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!l(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g=f.expando,h=typeof c=="string",i,j=a.nodeType,k=j?f.cache:a,l=j?a[f.expando]:a[f.expando]&&f.expando;if((!l||e&&l&&!k[l][g])&&h&&d===b)return;l||(j?a[f.expando]=l=++f.uuid:l=f.expando),k[l]||(k[l]={},j||(k[l].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?k[l][g]=f.extend(k[l][g],c):k[l]=f.extend(k[l],c);i=k[l],e&&(i[g]||(i[g]={}),i=i[g]),d!==b&&(i[f.camelCase(c)]=d);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[f.camelCase(c)]||i[c]:i}},removeData:function(b,c,d){if(!!f.acceptData(b)){var e=f.expando,g=b.nodeType,h=g?f.cache:b,i=g?b[f.expando]:f.expando;if(!h[i])return;if(c){var j=d?h[i][e]:h[i];if(j){delete j[c];if(!l(j))return}}if(d){delete h[i][e];if(!l(h[i]))return}var k=h[i][e];f.support.deleteExpando||h!=a?delete h[i]:h[i]=null,k?(h[i]={},g||(h[i].toJSON=f.noop),h[i][e]=k):g&&(f.support.deleteExpando?delete b[f.expando]:b.removeAttribute?b.removeAttribute(f.expando):b[f.expando]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d=null;if(typeof a=="undefined"){if(this.length){d=f.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,g;for(var h=0,i=e.length;h-1)return!0;return!1},val:function(a){var c,d,e=this[0];if(!arguments.length){if(e){c=f.valHooks[e.nodeName.toLowerCase()]||f.valHooks[e.type];if(c&&"get"in c&&(d=c.get(e,"value"))!==b)return d;d=e.value;return typeof d=="string"?d.replace(p,""):d==null?"":d}return b}var g=f.isFunction(a);return this.each(function(d){var e=f(this),h;if(this.nodeType===1){g?h=a.call(this,d,e.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c=a.selectedIndex,d=[],e=a.options,g=a.type==="select-one";if(c<0)return null;for(var h=g?c:0,i=g?c+1:e.length;h=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,c,d,e){var g=a.nodeType;if(!a||g===3||g===8||g===2)return b;if(e&&c in f.attrFn)return f(a)[c](d);if(!("getAttribute"in a))return f.prop(a,c,d);var h,i,j=g!==1||!f.isXMLDoc(a);j&&(c=f.attrFix[c]||c,i=f.attrHooks[c],i||(t.test(c)?i=w:v&&c!=="className"&&(f.nodeName(a,"form")||u.test(c))&&(i=v)));if(d!==b){if(d===null){f.removeAttr(a,c);return b}if(i&&"set"in i&&j&&(h=i.set(a,d,c))!==b)return h;a.setAttribute(c,""+d);return d}if(i&&"get"in i&&j&&(h=i.get(a,c))!==null)return h;h=a.getAttribute(c);return h===null?b:h},removeAttr:function(a,b){var c;a.nodeType===1&&(b=f.attrFix[b]||b,f.support.getSetAttribute?a.removeAttribute(b):(f.attr(a,b,""),a.removeAttributeNode(a.getAttributeNode(b))),t.test(b)&&(c=f.propFix[b]||b)in a&&(a[c]=!1))},attrHooks:{type:{set:function(a,b){if(q.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},tabIndex:{get:function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):r.test(a.nodeName)||s.test(a.nodeName)&&a.href?0:b}},value:{get:function(a,b){if(v&&f.nodeName(a,"button"))return v.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(v&&f.nodeName(a,"button"))return v.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e=a.nodeType;if(!a||e===3||e===8||e===2)return b;var g,h,i=e!==1||!f.isXMLDoc(a);i&&(c=f.propFix[c]||c,h=f.propHooks[c]);return d!==b?h&&"set"in h&&(g=h.set(a,d,c))!==b?g:a[c]=d:h&&"get"in h&&(g=h.get(a,c))!==b?g:a[c]},propHooks:{}}),w={get:function(a,c){return f.prop(a,c)?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},f.support.getSetAttribute||(f.attrFix=f.propFix,v=f.attrHooks.name=f.attrHooks.title=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&d.nodeValue!==""?d.nodeValue:b},set:function(a,b,c){var d=a.getAttributeNode(c);if(d){d.nodeValue=b;return b}}},f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})})),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}})),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var x=/\.(.*)$/,y=/^(?:textarea|input|select)$/i,z=/\./g,A=/ /g,B=/[^\w\s.|`]/g,C=function(a){return a.replace(B,"\\$&")};f.event={add:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){if(d===!1)d=D;else if(!d)return;var g,h;d.handler&&(g=d,d=g.handler),d.guid||(d.guid=f.guid++);var i=f._data(a);if(!i)return;var j=i.events,k=i.handle;j||(i.events=j={}),k||(i.handle=k=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.handle.apply(k.elem,arguments):b}),k.elem=a,c=c.split(" ");var l,m=0,n;while(l=c[m++]){h=g?f.extend({},g):{handler:d,data:e},l.indexOf(".")>-1?(n=l.split("."),l=n.shift(),h.namespace=n.slice(0).sort().join(".")):(n=[],h.namespace=""),h.type=l,h.guid||(h.guid=d.guid);var o=j[l],p=f.event.special[l]||{};if(!o){o=j[l]=[];if(!p.setup||p.setup.call(a,e,n,k)===!1)a.addEventListener?a.addEventListener(l,k,!1):a.attachEvent&&a.attachEvent("on"+l,k)}p.add&&(p.add.call(a,h),h.handler.guid||(h.handler.guid=d.guid)),o.push(h),f.event.global[l]=!0}a=null}},global:{},remove:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){d===!1&&(d=D);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=f.hasData(a)&&f._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(d=c.handler,c=c.type);if(!c||typeof c=="string"&&c.charAt(0)==="."){c=c||"";for(h in t)f.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+f.map(m.slice(0).sort(),C).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!d){for(j=0;j=0&&(h=h.slice(0,-1),j=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i. +shift(),i.sort());if(!!e&&!f.event.customEvent[h]||!!f.event.global[h]){c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.exclusive=j,c.namespace=i.join("."),c.namespace_re=new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)");if(g||!e)c.preventDefault(),c.stopPropagation();if(!e){f.each(f.cache,function(){var a=f.expando,b=this[a];b&&b.events&&b.events[h]&&f.event.trigger(c,d,b.handle.elem)});return}if(e.nodeType===3||e.nodeType===8)return;c.result=b,c.target=e,d=d!=null?f.makeArray(d):[],d.unshift(c);var k=e,l=h.indexOf(":")<0?"on"+h:"";do{var m=f._data(k,"handle");c.currentTarget=k,m&&m.apply(k,d),l&&f.acceptData(k)&&k[l]&&k[l].apply(k,d)===!1&&(c.result=!1,c.preventDefault()),k=k.parentNode||k.ownerDocument||k===c.target.ownerDocument&&a}while(k&&!c.isPropagationStopped());if(!c.isDefaultPrevented()){var n,o=f.event.special[h]||{};if((!o._default||o._default.call(e.ownerDocument,c)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)){try{l&&e[h]&&(n=e[l],n&&(e[l]=null),f.event.triggered=h,e[h]())}catch(p){}n&&(e[l]=n),f.event.triggered=b}}return c.result}},handle:function(c){c=f.event.fix(c||a.event);var d=((f._data(this,"events")||{})[c.type]||[]).slice(0),e=!c.exclusive&&!c.namespace,g=Array.prototype.slice.call(arguments,0);g[0]=c,c.currentTarget=this;for(var h=0,i=d.length;h-1?f.map(a.options,function(a){return a.selected}).join("-"):"":f.nodeName(a,"select")&&(c=a.selectedIndex);return c},J=function(c){var d=c.target,e,g;if(!!y.test(d.nodeName)&&!d.readOnly){e=f._data(d,"_change_data"),g=I(d),(c.type!=="focusout"||d.type!=="radio")&&f._data(d,"_change_data",g);if(e===b||g===e)return;if(e!=null||g)c.type="change",c.liveFired=b,f.event.trigger(c,arguments[1],d)}};f.event.special.change={filters:{focusout:J,beforedeactivate:J,click:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||f.nodeName(b,"select"))&&J.call(this,a)},keydown:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!f.nodeName(b,"textarea")||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&J.call(this,a)},beforeactivate:function(a){var b=a.target;f._data(b,"_change_data",I(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in H)f.event.add(this,c+".specialChange",H[c]);return y.test(this.nodeName)},teardown:function(a){f.event.remove(this,".specialChange");return y.test(this.nodeName)}},H=f.event.special.change.filters,H.focus=H.beforeactivate}f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){function e(a){var c=f.event.fix(a);c.type=b,c.originalEvent={},f.event.trigger(c,null,c.target),c.isDefaultPrevented()&&a.preventDefault()}var d=0;f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.each(["bind","one"],function(a,c){f.fn[c]=function(a,d,e){var g;if(typeof a=="object"){for(var h in a)this[c](h,d,a[h],e);return this}if(arguments.length===2||d===!1)e=d,d=b;c==="one"?(g=function(a){f(this).unbind(a,g);return e.apply(this,arguments)},g.guid=e.guid||f.guid++):g=e;if(a==="unload"&&c!=="one")this.one(a,d,e);else for(var i=0,j=this.length;i0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d=0,e=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,f,g){f=f||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return f;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(e.call(n)==="[object Array]")if(!u)f.push.apply(f,n);else if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&f.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&f.push(j[t]);else p(n,f);o&&(k(o,h,f,g),k.uniqueSort(f));return f};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=d++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(e.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var f=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

                  ";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(e||!l.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return k(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
                  ";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g0)for(h=g;h0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(d=0,e=a.length;d-1:f(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=T.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a=="string")return f.inArray(this[0],a?f(a):this.parent().children());return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(V(c[0])||V(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=S.call(arguments);O.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!U[a]?f.unique(e):e,(this.length>1||Q.test(d))&&P.test(a)&&(e=e.reverse());return this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var X=/ jQuery\d+="(?:\d+|null)"/g,Y=/^\s+/,Z=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,$=/<([\w:]+)/,_=/",""],legend:[1,"
                  ","
                  "],thead:[1,"","
                  "],tr:[2,"","
                  "],td:[3,"","
                  "],col:[2,"","
                  "],area:[1,"",""],_default:[0,"",""]};bf.optgroup=bf.option,bf.tbody=bf.tfoot=bf.colgroup=bf.caption=bf.thead,bf.th=bf.td,f.support.htmlSerialize||(bf._default=[1,"div
                  ","
                  "]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(X,""):null;if(typeof a=="string"&&!bb.test(a)&&(f.support.leadingWhitespace||!Y.test(a))&&!bf[($.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Z,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j +)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bi(a,d),e=bj(a),g=bj(d);for(h=0;e[h];++h)bi(e[h],g[h])}if(b){bh(a,d);if(c){e=bj(a),g=bj(d);for(h=0;e[h];++h)bh(e[h],g[h])}}e=g=null;return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!ba.test(k))k=b.createTextNode(k);else{k=k.replace(Z,"<$1>");var l=($.exec(k)||["",""])[1].toLowerCase(),m=bf[l]||bf._default,n=m[0],o=b.createElement("div");o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=_.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&Y.test(k)&&o.insertBefore(b.createTextNode(Y.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bo.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle;c.zoom=1;var e=f.isNaN(b)?"":"alpha(opacity="+b*100+")",g=d&&d.filter||c.filter||"";c.filter=bn.test(g)?g.replace(bn,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bx(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(by=function(a,c){var d,e,g;c=c.replace(bp,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c));return d}),c.documentElement.currentStyle&&(bz=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bq.test(d)&&br.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bx=by||bz,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bB=/%20/g,bC=/\[\]$/,bD=/\r?\n/g,bE=/#.*$/,bF=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bG=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bH=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,bI=/^(?:GET|HEAD)$/,bJ=/^\/\//,bK=/\?/,bL=/)<[^<]*)*<\/script>/gi,bM=/^(?:select|textarea)/i,bN=/\s+/,bO=/([?&])_=[^&]*/,bP=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bQ=f.fn.load,bR={},bS={},bT,bU;try{bT=e.href}catch(bV){bT=c.createElement("a"),bT.href="",bT=bT.href}bU=bP.exec(bT.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bQ)return bQ.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
                  ").append(c.replace(bL,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bM.test(this.nodeName)||bG.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bD,"\r\n")}}):{name:b.name,value:c.replace(bD,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?f.extend(!0,a,f.ajaxSettings,b):(b=a,a=f.extend(!0,f.ajaxSettings,b));for(var c in{context:1,url:1})c in b?a[c]=b[c]:c in f.ajaxSettings&&(a[c]=f.ajaxSettings[c]);return a},ajaxSettings:{url:bT,isLocal:bH.test(bU[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML}},ajaxPrefilter:bW(bR),ajaxTransport:bW(bS),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a?4:0;var o,r,u,w=l?bZ(d,v,l):b,x,y;if(a>=200&&a<300||a===304){if(d.ifModified){if(x=v.getResponseHeader("Last-Modified"))f.lastModified[k]=x;if(y=v.getResponseHeader("Etag"))f.etag[k]=y}if(a===304)c="notmodified",o=!0;else try{r=b$(d,w),c="success",o=!0}catch(z){c="parsererror",u=z}}else{u=c;if(!c||a)c="error",a<0&&(a=0)}v.status=a,v.statusText=c,o?h.resolveWith(e,[r,c,v]):h.rejectWith(e,[v,c,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.resolveWith(e,[v,c]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f._Deferred(),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bF.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.done,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bE,"").replace(bJ,bU[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bN),d.crossDomain==null&&(r=bP.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bU[1]&&r[2]==bU[2]&&(r[3]||(r[1]==="http:"?80:443))==(bU[3]||(bU[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bX(bR,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bI.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bK.test(d.url)?"&":"?")+d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bO,"$1_="+x);d.url=y+(y===d.url?(bK.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", */*; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=bX(bS,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){status<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)bY(g,a[g],c,e);return d.join("&").replace(bB,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var b_=f.now(),ca=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+b_++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ca.test(b.url)||e&&ca.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ca,l),b.url===j&&(e&&(k=k.replace(ca,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cb=a.ActiveXObject?function(){for(var a in cd)cd[a](0,1)}:!1,cc=0,cd;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ce()||cf()}:ce,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cb&&delete cd[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cc,cb&&(cd||(cd={},f(a).unload(cb)),cd[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cg={},ch,ci,cj=/^(?:toggle|show|hide)$/,ck=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cl,cm=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cn,co=a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cr("show",3),a,b,c);for(var g=0,h=this.length;g=e.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),e.animatedProperties[this.prop]=!0;for(g in e.animatedProperties)e.animatedProperties[g]!==!0&&(c=!1);if(c){e.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){d.style["overflow"+b]=e.overflow[a]}),e.hide&&f(d).hide();if(e.hide||e.show)for(var i in e.animatedProperties)f.style(d,i,e.orig[i]);e.complete.call(d)}return!1}e.duration==Infinity?this.now=b:(h=b-this.startTime,this.state=h/e.duration,this.pos=f.easing[e.animatedProperties[this.prop]](this.state,h,0,1,e.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){for(var a=f.timers,b=0;b
                  ";f.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),d=b.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,this.doesNotAddBorder=e.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,e.style.position="fixed",e.style.top="20px",this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),f.offset.initialize=f.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.offset.initialize(),f.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cu.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cu.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cv(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cv(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a&&a.style?parseFloat(f.css(a,d,"padding")):null},f.fn["outer"+c]=function(a){var b=this[0];return b&&b.style?parseFloat(f.css(b,d,a?"margin":"border")):null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var h=f.css(e,d),i=parseFloat(h);return f.isNaN(i)?h:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f})(window); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/jquery.ztree.core-3.5.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/jquery.ztree.core-3.5.js new file mode 100644 index 00000000..705bdb4f --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/jquery.ztree.core-3.5.js @@ -0,0 +1,69 @@ +/* + * JQuery zTree core v3.5.16 + * http://zTree.me/ + * + * Copyright (c) 2010 Hunter.z + * + * Licensed same as jquery - MIT License + * http://www.opensource.org/licenses/mit-license.php + * + * email: hunter.z@263.net + * Date: 2014-03-09 + */ +(function(p){var G,H,I,J,K,L,r={},u={},v={},M={treeId:"",treeObj:null,view:{addDiyDom:null,autoCancelSelected:!0,dblClickExpand:!0,expandSpeed:"fast",fontCss:{},nameIsHTML:!1,selectedMulti:!0,showIcon:!0,showLine:!0,showTitle:!0,txtSelectedEnable:!1},data:{key:{children:"children",name:"name",title:"",url:"url"},simpleData:{enable:!1,idKey:"id",pIdKey:"pId",rootPId:null},keep:{parent:!1,leaf:!1}},async:{enable:!1,contentType:"application/x-www-form-urlencoded",type:"post",dataType:"text",url:"",autoParam:[], +otherParam:[],dataFilter:null},callback:{beforeAsync:null,beforeClick:null,beforeDblClick:null,beforeRightClick:null,beforeMouseDown:null,beforeMouseUp:null,beforeExpand:null,beforeCollapse:null,beforeRemove:null,onAsyncError:null,onAsyncSuccess:null,onNodeCreated:null,onClick:null,onDblClick:null,onRightClick:null,onMouseDown:null,onMouseUp:null,onExpand:null,onCollapse:null,onRemove:null}},w=[function(b){var a=b.treeObj,c=e.event;a.bind(c.NODECREATED,function(a,c,g){j.apply(b.callback.onNodeCreated, +[a,c,g])});a.bind(c.CLICK,function(a,c,g,l,h){j.apply(b.callback.onClick,[c,g,l,h])});a.bind(c.EXPAND,function(a,c,g){j.apply(b.callback.onExpand,[a,c,g])});a.bind(c.COLLAPSE,function(a,c,g){j.apply(b.callback.onCollapse,[a,c,g])});a.bind(c.ASYNC_SUCCESS,function(a,c,g,l){j.apply(b.callback.onAsyncSuccess,[a,c,g,l])});a.bind(c.ASYNC_ERROR,function(a,c,g,l,h,e){j.apply(b.callback.onAsyncError,[a,c,g,l,h,e])});a.bind(c.REMOVE,function(a,c,g){j.apply(b.callback.onRemove,[a,c,g])})}],x=[function(b){var a= +e.event;b.treeObj.unbind(a.NODECREATED).unbind(a.CLICK).unbind(a.EXPAND).unbind(a.COLLAPSE).unbind(a.ASYNC_SUCCESS).unbind(a.ASYNC_ERROR).unbind(a.REMOVE)}],y=[function(b){var a=h.getCache(b);a||(a={},h.setCache(b,a));a.nodes=[];a.doms=[]}],z=[function(b,a,c,d,f,g){if(c){var l=h.getRoot(b),e=b.data.key.children;c.level=a;c.tId=b.treeId+"_"+ ++l.zId;c.parentTId=d?d.tId:null;c.open=typeof c.open=="string"?j.eqs(c.open,"true"):!!c.open;c[e]&&c[e].length>0?(c.isParent=!0,c.zAsync=!0):(c.isParent=typeof c.isParent== +"string"?j.eqs(c.isParent,"true"):!!c.isParent,c.open=c.isParent&&!b.async.enable?c.open:!1,c.zAsync=!c.isParent);c.isFirstNode=f;c.isLastNode=g;c.getParentNode=function(){return h.getNodeCache(b,c.parentTId)};c.getPreNode=function(){return h.getPreNode(b,c)};c.getNextNode=function(){return h.getNextNode(b,c)};c.isAjaxing=!1;h.fixPIdKeyValue(b,c)}}],s=[function(b){var a=b.target,c=h.getSetting(b.data.treeId),d="",f=null,g="",l="",i=null,n=null,k=null;if(j.eqs(b.type,"mousedown"))l="mousedown";else if(j.eqs(b.type, +"mouseup"))l="mouseup";else if(j.eqs(b.type,"contextmenu"))l="contextmenu";else if(j.eqs(b.type,"click"))if(j.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+e.id.SWITCH)!==null)d=j.getNodeMainDom(a).id,g="switchNode";else{if(k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}]))d=j.getNodeMainDom(k).id,g="clickNode"}else if(j.eqs(b.type,"dblclick")&&(l="dblclick",k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}])))d=j.getNodeMainDom(k).id,g="switchNode";if(l.length>0&&d.length==0&& +(k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}])))d=j.getNodeMainDom(k).id;if(d.length>0)switch(f=h.getNodeCache(c,d),g){case "switchNode":f.isParent?j.eqs(b.type,"click")||j.eqs(b.type,"dblclick")&&j.apply(c.view.dblClickExpand,[c.treeId,f],c.view.dblClickExpand)?i=G:g="":g="";break;case "clickNode":i=H}switch(l){case "mousedown":n=I;break;case "mouseup":n=J;break;case "dblclick":n=K;break;case "contextmenu":n=L}return{stop:!1,node:f,nodeEventType:g,nodeEventCallback:i,treeEventType:l, +treeEventCallback:n}}],A=[function(b){var a=h.getRoot(b);a||(a={},h.setRoot(b,a));a[b.data.key.children]=[];a.expandTriggerFlag=!1;a.curSelectedList=[];a.noSelection=!0;a.createdNodes=[];a.zId=0;a._ver=(new Date).getTime()}],B=[],C=[],D=[],E=[],F=[],h={addNodeCache:function(b,a){h.getCache(b).nodes[h.getNodeCacheId(a.tId)]=a},getNodeCacheId:function(b){return b.substring(b.lastIndexOf("_")+1)},addAfterA:function(b){C.push(b)},addBeforeA:function(b){B.push(b)},addInnerAfterA:function(b){E.push(b)}, +addInnerBeforeA:function(b){D.push(b)},addInitBind:function(b){w.push(b)},addInitUnBind:function(b){x.push(b)},addInitCache:function(b){y.push(b)},addInitNode:function(b){z.push(b)},addInitProxy:function(b,a){a?s.splice(0,0,b):s.push(b)},addInitRoot:function(b){A.push(b)},addNodesData:function(b,a,c){var d=b.data.key.children;a[d]||(a[d]=[]);if(a[d].length>0)a[d][a[d].length-1].isLastNode=!1,i.setNodeLineIcos(b,a[d][a[d].length-1]);a.isParent=!0;a[d]=a[d].concat(c)},addSelectedNode:function(b,a){var c= +h.getRoot(b);h.isSelectedNode(b,a)||c.curSelectedList.push(a)},addCreatedNode:function(b,a){(b.callback.onNodeCreated||b.view.addDiyDom)&&h.getRoot(b).createdNodes.push(a)},addZTreeTools:function(b){F.push(b)},exSetting:function(b){p.extend(!0,M,b)},fixPIdKeyValue:function(b,a){b.data.simpleData.enable&&(a[b.data.simpleData.pIdKey]=a.parentTId?a.getParentNode()[b.data.simpleData.idKey]:b.data.simpleData.rootPId)},getAfterA:function(b,a,c){for(var d=0,f=C.length;d-1&&g.push(a[l]),g=g.concat(h.getNodesByParamFuzzy(b,a[l][f],c,d));return g},getNodesByFilter:function(b,a,c,d,f){if(!a)return d? +null:[];for(var g=b.data.key.children,e=d?null:[],i=0,n=a.length;i0)},clone:function(b){if(b===null)return null;var a=j.isArray(b)?[]:{},c;for(c in b)a[c]=b[c]instanceof +Date?new Date(b[c].getTime()):typeof b[c]==="object"?arguments.callee(b[c]):b[c];return a},eqs:function(b,a){return b.toLowerCase()===a.toLowerCase()},isArray:function(b){return Object.prototype.toString.apply(b)==="[object Array]"},$:function(b,a,c){a&&typeof a!="string"&&(c=a,a="");return typeof b=="string"?p(b,c?c.treeObj.get(0).ownerDocument:null):p("#"+b.tId+a,c?c.treeObj:null)},getMDom:function(b,a,c){if(!a)return null;for(;a&&a.id!==b.treeId;){for(var d=0,f=c.length;a.tagName&&d0},uCanDo:function(){return!0}},i={addNodes:function(b,a,c,d){if(!b.data.keep.leaf||!a||a.isParent)if(j.isArray(c)||(c=[c]),b.data.simpleData.enable&&(c=h.transformTozTreeFormat(b,c)),a){var f=k(a,e.id.SWITCH,b),g=k(a,e.id.ICON,b),l=k(a,e.id.UL,b);if(!a.open)i.replaceSwitchClass(a, +f,e.folder.CLOSE),i.replaceIcoClass(a,g,e.folder.CLOSE),a.open=!1,l.css({display:"none"});h.addNodesData(b,a,c);i.createNodes(b,a.level+1,c,a);d||i.expandCollapseParentNode(b,a,!0)}else h.addNodesData(b,h.getRoot(b),c),i.createNodes(b,0,c,null)},appendNodes:function(b,a,c,d,f,g){if(!c)return[];for(var e=[],j=b.data.key.children,k=0,m=c.length;k +0&&(t=i.appendNodes(b,a+1,o[j],o,f,g&&o.open));g&&(i.makeDOMNodeMainBefore(e,b,o),i.makeDOMNodeLine(e,b,o),h.getBeforeA(b,o,e),i.makeDOMNodeNameBefore(e,b,o),h.getInnerBeforeA(b,o,e),i.makeDOMNodeIcon(e,b,o),h.getInnerAfterA(b,o,e),i.makeDOMNodeNameAfter(e,b,o),h.getAfterA(b,o,e),o.isParent&&o.open&&i.makeUlHtml(b,o,e,t.join("")),i.makeDOMNodeMainAfter(e,b,o),h.addCreatedNode(b,o))}return e},appendParentULDom:function(b,a){var c=[],d=k(a,b);!d.get(0)&&a.parentTId&&(i.appendParentULDom(b,a.getParentNode()), +d=k(a,b));var f=k(a,e.id.UL,b);f.get(0)&&f.remove();f=i.appendNodes(b,a.level+1,a[b.data.key.children],a,!1,!0);i.makeUlHtml(b,a,c,f.join(""));d.append(c.join(""))},asyncNode:function(b,a,c,d){var f,g;if(a&&!a.isParent)return j.apply(d),!1;else if(a&&a.isAjaxing)return!1;else if(j.apply(b.callback.beforeAsync,[b.treeId,a],!0)==!1)return j.apply(d),!1;if(a)a.isAjaxing=!0,k(a,e.id.ICON,b).attr({style:"","class":e.className.BUTTON+" "+e.className.ICO_LOADING});var l={};for(f=0,g=b.async.autoParam.length;a&& +f1&&(n=q[1],q=q[0]);l[n]=a[q]}if(j.isArray(b.async.otherParam))for(f=0,g=b.async.otherParam.length;f=0;d--)if(!a||a===c[d])if(k(c[d],e.id.A,b).removeClass(e.node.CURSELECTED),a){h.removeSelectedNode(b,a);break}if(!a)h.getRoot(b).curSelectedList=[]},createNodeCallback:function(b){if(b.callback.onNodeCreated||b.view.addDiyDom)for(var a=h.getRoot(b);a.createdNodes.length>0;){var c=a.createdNodes.shift();j.apply(b.view.addDiyDom,[b.treeId,c]);b.callback.onNodeCreated&&b.treeObj.trigger(e.event.NODECREATED,[b.treeId,c])}},createNodes:function(b, +a,c,d){if(c&&c.length!=0){var f=h.getRoot(b),g=b.data.key.children,g=!d||d.open||!!k(d[g][0],b).get(0);f.createdNodes=[];a=i.appendNodes(b,a,c,d,!0,g);d?(d=k(d,e.id.UL,b),d.get(0)&&d.append(a.join(""))):b.treeObj.append(a.join(""));i.createNodeCallback(b)}},destroy:function(b){b&&(h.initCache(b),h.initRoot(b),m.unbindTree(b),m.unbindEvent(b),b.treeObj.empty(),delete r[b.treeId])},expandCollapseNode:function(b,a,c,d,f){var g=h.getRoot(b),l=b.data.key.children;if(a){if(g.expandTriggerFlag){var q=f, +f=function(){q&&q();a.open?b.treeObj.trigger(e.event.EXPAND,[b.treeId,a]):b.treeObj.trigger(e.event.COLLAPSE,[b.treeId,a])};g.expandTriggerFlag=!1}if(!a.open&&a.isParent&&(!k(a,e.id.UL,b).get(0)||a[l]&&a[l].length>0&&!k(a[l][0],b).get(0)))i.appendParentULDom(b,a),i.createNodeCallback(b);if(a.open==c)j.apply(f,[]);else{var c=k(a,e.id.UL,b),g=k(a,e.id.SWITCH,b),n=k(a,e.id.ICON,b);a.isParent?(a.open=!a.open,a.iconOpen&&a.iconClose&&n.attr("style",i.makeNodeIcoStyle(b,a)),a.open?(i.replaceSwitchClass(a, +g,e.folder.OPEN),i.replaceIcoClass(a,n,e.folder.OPEN),d==!1||b.view.expandSpeed==""?(c.show(),j.apply(f,[])):a[l]&&a[l].length>0?c.slideDown(b.view.expandSpeed,f):(c.show(),j.apply(f,[]))):(i.replaceSwitchClass(a,g,e.folder.CLOSE),i.replaceIcoClass(a,n,e.folder.CLOSE),d==!1||b.view.expandSpeed==""||!(a[l]&&a[l].length>0)?(c.hide(),j.apply(f,[])):c.slideUp(b.view.expandSpeed,f))):j.apply(f,[])}}else j.apply(f,[])},expandCollapseParentNode:function(b,a,c,d,f){a&&(a.parentTId?(i.expandCollapseNode(b, +a,c,d),a.parentTId&&i.expandCollapseParentNode(b,a.getParentNode(),c,d,f)):i.expandCollapseNode(b,a,c,d,f))},expandCollapseSonNode:function(b,a,c,d,f){var g=h.getRoot(b),e=b.data.key.children,g=a?a[e]:g[e],e=a?!1:d,j=h.getRoot(b).expandTriggerFlag;h.getRoot(b).expandTriggerFlag=!1;if(g)for(var k=0,m=g.length;k/g,">");b.push("",d,"")},makeDOMNodeLine:function(b,a,c){b.push("")},makeDOMNodeMainAfter:function(b){b.push("")},makeDOMNodeMainBefore:function(b, +a,c){b.push("
                • ")},makeDOMNodeNameAfter:function(b){b.push("")},makeDOMNodeNameBefore:function(b,a,c){var d=h.getNodeTitle(a,c),f=i.makeNodeUrl(a,c),g=i.makeNodeFontCss(a,c),l=[],k;for(k in g)l.push(k,":",g[k],";");b.push("0?"href='"+f+"'":""," target='",i.makeNodeTarget(c), +"' style='",l.join(""),"'");j.apply(a.view.showTitle,[a.treeId,c],a.view.showTitle)&&d&&b.push("title='",d.replace(/'/g,"'").replace(//g,">"),"'");b.push(">")},makeNodeFontCss:function(b,a){var c=j.apply(b.view.fontCss,[b.treeId,a],b.view.fontCss);return c&&typeof c!="function"?c:{}},makeNodeIcoClass:function(b,a){var c=["ico"];a.isAjaxing||(c[0]=(a.iconSkin?a.iconSkin+"_":"")+c[0],a.isParent?c.push(a.open?e.folder.OPEN:e.folder.CLOSE):c.push(e.folder.DOCU));return e.className.BUTTON+ +" "+c.join("_")},makeNodeIcoStyle:function(b,a){var c=[];if(!a.isAjaxing){var d=a.isParent&&a.iconOpen&&a.iconClose?a.open?a.iconOpen:a.iconClose:a.icon;d&&c.push("background:url(",d,") 0 0 no-repeat;");(b.view.showIcon==!1||!j.apply(b.view.showIcon,[b.treeId,a],!0))&&c.push("width:0px;height:0px;")}return c.join("")},makeNodeLineClass:function(b,a){var c=[];b.view.showLine?a.level==0&&a.isFirstNode&&a.isLastNode?c.push(e.line.ROOT):a.level==0&&a.isFirstNode?c.push(e.line.ROOTS):a.isLastNode?c.push(e.line.BOTTOM): +c.push(e.line.CENTER):c.push(e.line.NOLINE);a.isParent?c.push(a.open?e.folder.OPEN:e.folder.CLOSE):c.push(e.folder.DOCU);return i.makeNodeLineClassEx(a)+c.join("_")},makeNodeLineClassEx:function(b){return e.className.BUTTON+" "+e.className.LEVEL+b.level+" "+e.className.SWITCH+" "},makeNodeTarget:function(b){return b.target||"_blank"},makeNodeUrl:function(b,a){var c=b.data.key.url;return a[c]?a[c]:null},makeUlHtml:function(b,a,c,d){c.push("
                    ");c.push(d);c.push("
                  ")},makeUlLineClass:function(b,a){return b.view.showLine&&!a.isLastNode?e.line.LINE:""},removeChildNodes:function(b,a){if(a){var c=b.data.key.children,d=a[c];if(d){for(var f=0,g=d.length;f0)a[c][0].isFirstNode=!0},setLastNode:function(b,a){var c=b.data.key.children,d=a[c].length;if(d>0)a[c][d-1].isLastNode=!0},removeNode:function(b,a){var c=h.getRoot(b),d=b.data.key.children,f=a.parentTId?a.getParentNode():c;a.isFirstNode=!1;a.isLastNode=!1;a.getPreNode=function(){return null};a.getNextNode=function(){return null};if(h.getNodeCache(b,a.tId)){k(a,b).remove(); +h.removeNodeCache(b,a);h.removeSelectedNode(b,a);for(var g=0,l=f[d].length;g0){var n=f[d][g-1],g=k(n,e.id.UL,b),l=k(n,e.id.SWITCH,b);j=k(n,e.id.ICON,b); +f==c?f[d].length==1?i.replaceSwitchClass(n,l,e.line.ROOT):(c=k(f[d][0],e.id.SWITCH,b),i.replaceSwitchClass(f[d][0],c,e.line.ROOTS),i.replaceSwitchClass(n,l,e.line.BOTTOM)):i.replaceSwitchClass(n,l,e.line.BOTTOM);g.removeClass(e.line.LINE)}}},replaceIcoClass:function(b,a,c){if(a&&!b.isAjaxing&&(b=a.attr("class"),b!=void 0)){b=b.split("_");switch(c){case e.folder.OPEN:case e.folder.CLOSE:case e.folder.DOCU:b[b.length-1]=c}a.attr("class",b.join("_"))}},replaceSwitchClass:function(b,a,c){if(a){var d= +a.attr("class");if(d!=void 0){d=d.split("_");switch(c){case e.line.ROOT:case e.line.ROOTS:case e.line.CENTER:case e.line.BOTTOM:case e.line.NOLINE:d[0]=i.makeNodeLineClassEx(b)+c;break;case e.folder.OPEN:case e.folder.CLOSE:case e.folder.DOCU:d[1]=c}a.attr("class",d.join("_"));c!==e.folder.DOCU?a.removeAttr("disabled"):a.attr("disabled","disabled")}}},selectNode:function(b,a,c){c||i.cancelPreSelectedNode(b);k(a,e.id.A,b).addClass(e.node.CURSELECTED);h.addSelectedNode(b,a)},setNodeFontCss:function(b, +a){var c=k(a,e.id.A,b),d=i.makeNodeFontCss(b,a);d&&c.css(d)},setNodeLineIcos:function(b,a){if(a){var c=k(a,e.id.SWITCH,b),d=k(a,e.id.UL,b),f=k(a,e.id.ICON,b),g=i.makeUlLineClass(b,a);g.length==0?d.removeClass(e.line.LINE):d.addClass(g);c.attr("class",i.makeNodeLineClass(b,a));a.isParent?c.removeAttr("disabled"):c.attr("disabled","disabled");f.removeAttr("style");f.attr("style",i.makeNodeIcoStyle(b,a));f.attr("class",i.makeNodeIcoClass(b,a))}},setNodeName:function(b,a){var c=h.getNodeTitle(b,a),d= +k(a,e.id.SPAN,b);d.empty();b.view.nameIsHTML?d.html(h.getNodeName(b,a)):d.text(h.getNodeName(b,a));j.apply(b.view.showTitle,[b.treeId,a],b.view.showTitle)&&k(a,e.id.A,b).attr("title",!c?"":c)},setNodeTarget:function(b,a){k(a,e.id.A,b).attr("target",i.makeNodeTarget(a))},setNodeUrl:function(b,a){var c=k(a,e.id.A,b),d=i.makeNodeUrl(b,a);d==null||d.length==0?c.removeAttr("href"):c.attr("href",d)},switchNode:function(b,a){a.open||!j.canAsync(b,a)?i.expandCollapseNode(b,a,!a.open):b.async.enable?i.asyncNode(b, +a)||i.expandCollapseNode(b,a,!a.open):a&&i.expandCollapseNode(b,a,!a.open)}};p.fn.zTree={consts:{className:{BUTTON:"button",LEVEL:"level",ICO_LOADING:"ico_loading",SWITCH:"switch"},event:{NODECREATED:"ztree_nodeCreated",CLICK:"ztree_click",EXPAND:"ztree_expand",COLLAPSE:"ztree_collapse",ASYNC_SUCCESS:"ztree_async_success",ASYNC_ERROR:"ztree_async_error",REMOVE:"ztree_remove"},id:{A:"_a",ICON:"_ico",SPAN:"_span",SWITCH:"_switch",UL:"_ul"},line:{ROOT:"root",ROOTS:"roots",CENTER:"center",BOTTOM:"bottom", +NOLINE:"noline",LINE:"line"},folder:{OPEN:"open",CLOSE:"close",DOCU:"docu"},node:{CURSELECTED:"curSelectedNode"}},_z:{tools:j,view:i,event:m,data:h},getZTreeObj:function(b){return(b=h.getZTreeTools(b))?b:null},destroy:function(b){if(b&&b.length>0)i.destroy(h.getSetting(b));else for(var a in r)i.destroy(r[a])},init:function(b,a,c){var d=j.clone(M);p.extend(!0,d,a);d.treeId=b.attr("id");d.treeObj=b;d.treeObj.empty();r[d.treeId]=d;if(typeof document.body.style.maxHeight==="undefined")d.view.expandSpeed= +"";h.initRoot(d);b=h.getRoot(d);a=d.data.key.children;c=c?j.clone(j.isArray(c)?c:[c]):[];b[a]=d.data.simpleData.enable?h.transformTozTreeFormat(d,c):c;h.initCache(d);m.unbindTree(d);m.bindTree(d);m.unbindEvent(d);m.bindEvent(d);c={setting:d,addNodes:function(a,b,c){function e(){i.addNodes(d,a,h,c==!0)}if(!b)return null;a||(a=null);if(a&&!a.isParent&&d.data.keep.leaf)return null;var h=j.clone(j.isArray(b)?b:[b]);j.canAsync(d,a)?i.asyncNode(d,a,c,e):e();return h},cancelSelectedNode:function(a){i.cancelPreSelectedNode(d, +a)},destroy:function(){i.destroy(d)},expandAll:function(a){a=!!a;i.expandCollapseSonNode(d,null,a,!0);return a},expandNode:function(a,b,c,e,n){if(!a||!a.isParent)return null;b!==!0&&b!==!1&&(b=!a.open);if((n=!!n)&&b&&j.apply(d.callback.beforeExpand,[d.treeId,a],!0)==!1)return null;else if(n&&!b&&j.apply(d.callback.beforeCollapse,[d.treeId,a],!0)==!1)return null;b&&a.parentTId&&i.expandCollapseParentNode(d,a.getParentNode(),b,!1);if(b===a.open&&!c)return null;h.getRoot(d).expandTriggerFlag=n;if(!j.canAsync(d, +a)&&c)i.expandCollapseSonNode(d,a,b,!0,function(){if(e!==!1)try{k(a,d).focus().blur()}catch(b){}});else if(a.open=!b,i.switchNode(this.setting,a),e!==!1)try{k(a,d).focus().blur()}catch(m){}return b},getNodes:function(){return h.getNodes(d)},getNodeByParam:function(a,b,c){return!a?null:h.getNodeByParam(d,c?c[d.data.key.children]:h.getNodes(d),a,b)},getNodeByTId:function(a){return h.getNodeCache(d,a)},getNodesByParam:function(a,b,c){return!a?null:h.getNodesByParam(d,c?c[d.data.key.children]:h.getNodes(d), +a,b)},getNodesByParamFuzzy:function(a,b,c){return!a?null:h.getNodesByParamFuzzy(d,c?c[d.data.key.children]:h.getNodes(d),a,b)},getNodesByFilter:function(a,b,c,e){b=!!b;return!a||typeof a!="function"?b?null:[]:h.getNodesByFilter(d,c?c[d.data.key.children]:h.getNodes(d),a,b,e)},getNodeIndex:function(a){if(!a)return null;for(var b=d.data.key.children,c=a.parentTId?a.getParentNode():h.getRoot(d),e=0,i=c[b].length;e0?i.createNodes(d, +0,b[a]):d.async.enable&&d.async.url&&d.async.url!==""&&i.asyncNode(d);return c}};var N=p.fn.zTree,k=j.$,e=N.consts})(jQuery); diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/zTreeStyleForApi.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/zTreeStyleForApi.css new file mode 100644 index 00000000..bb4717bc --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/apiCss/zTreeStyleForApi.css @@ -0,0 +1,49 @@ +/*------------------------------------- +zTree Style + +version: 3.0 +author: Hunter.z +email: hunter.z@263.net +website: http://code.google.com/p/jquerytree/ + +-------------------------------------*/ + +.ztree * {padding:0; margin:0; font-size:12px; font-family: Verdana, Arial, Helvetica, AppleGothic, sans-serif} +.ztree {margin:0; padding:5px; color:#333} +.ztree li{padding:0; margin:0; list-style:none; line-height:14px; text-align:left; white-space:nowrap} +.ztree li ul{ margin:0; padding:0 0 0 18px} +.ztree li ul.line{ background:url(./img/line_conn.gif) 0 0 repeat-y;} + +.ztree li a {padding:1px 3px 0 0; margin:0; cursor:pointer; color:#333; height:17px; text-decoration:none; vertical-align:top; display: inline-block} +.ztree li a:hover {text-decoration:none} +.ztree li a.curSelectedNode {padding-top:0px; background-color:#FFE6B0; color:black; height:16px; border:1px #FFB951 solid;} +.ztree li a.curSelectedNode_Edit {padding-top:0px; background-color:#FFE6B0; color:black; height:16px; border:1px #FFB951 solid; opacity:0.8; filter:alpha(opacity=80)} +.ztree li a.tmpTargetNode_inner {padding-top:0px; background-color:#316AC5; color:white; height:16px; border:1px #316AC5 solid; opacity:0.8; filter:alpha(opacity=80)} +.ztree li a.tmpTargetNode_prev {} +.ztree li a.tmpTargetNode_next {} +.ztree li a input.rename {height:14px; width:80px; padding:0; margin:0; + font-size:12px; border:1px #7EC4CC solid; *border:0px} +.ztree li span {line-height:16px; margin-right: 2px} +.ztree li span.button {line-height:0; margin:0;width:16px; height:16px; display: inline-block; vertical-align:middle; + border:0 none; cursor: pointer; + background-color:transparent; background-repeat:no-repeat; background-attachment: scroll; + background-image:url("./img/zTreeStandard.png"); *background-image:url("./img/zTreeStandard.gif")} + +.ztree li span.button.switch {width:1px; height:18px; visibility: hidden} + +.zTreeDragUL {margin:0; padding:0; position:absolute; background-color:#cfcfcf; border:1px #00B83F dotted; opacity:0.8; filter:alpha(opacity=80)} +.zTreeMask {z-index:10000; background-color:#cfcfcf; opacity:0.0; filter:alpha(opacity=0); position:absolute} + +/* level 等级样式*/ +/*.ztree li button.level0 { + display:none; +} +.ztree li ul.level0 { + padding:0; + background:none; +}*/ + +.ztree li span.button.core_ico_docu{margin-right:2px; background-position:-126px 0; vertical-align:top; *vertical-align:middle} +.ztree li span.button.check_ico_docu{margin-right:2px; background-position:-126px -16px; vertical-align:top; *vertical-align:middle} +.ztree li span.button.edit_ico_docu{margin-right:2px; background-position:-126px -32px; vertical-align:top; *vertical-align:middle} +.ztree li span.button.hide_ico_docu{margin-right:2px; background-position:-160px 0; vertical-align:top; *vertical-align:middle} diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/fn.zTree._z.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/fn.zTree._z.html new file mode 100644 index 00000000..7af3e40d --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/fn.zTree._z.html @@ -0,0 +1,13 @@ +
                  +
                  +

                  JSON$.fn.zTree._z

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  zTree v3.x 内部的全部方法都可以通过 $.fn.zTree._z 进行调用,开放出来是为了更便于大家开发制作自己的 zTree 插件。

                  +

                  如无特殊需求请勿使用此对象,以及修改此对象内部的各个函数。

                  +
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/fn.zTree.destroy.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/fn.zTree.destroy.html new file mode 100644 index 00000000..71058076 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/fn.zTree.destroy.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  Function(treeId)$.fn.zTree.destroy

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  从 zTree v3.4 开始提供销毁 zTree 的方法。

                  +

                  1、用此方法可以销毁指定 treeId 的 zTree,也可以销毁当前页面全部的 zTree。

                  +

                  2、销毁指定 treeId 的 zTree 也可以使用 zTreeObj.destroy() 方法。

                  +

                  3、重新使用已经被销毁的树,必须要使用 init 方法进行初始化。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  zTree 的 DOM 容器的 id

                  +

                  省略 treeId,表示销毁当前页面全部的 zTree

                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 销毁 id 为 "treeDemo" 的 zTree

                  +
                  $.fn.zTree.destroy("treeDemo");
                  +

                  2. 销毁全部 的 zTree

                  +
                  $.fn.zTree.destroy();
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/fn.zTree.getZTreeObj.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/fn.zTree.getZTreeObj.html new file mode 100644 index 00000000..b1d1db40 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/fn.zTree.getZTreeObj.html @@ -0,0 +1,24 @@ +
                  +
                  +

                  Function(treeId)$.fn.zTree.getZTreeObj

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  zTree v3.x 专门提供的根据 treeId 获取 zTree 对象的方法。

                  +

                  必须在初始化 zTree 以后才可以使用此方法。

                  +

                  有了这个方法,用户不再需要自己设定全局变量来保存 zTree 初始化后得到的对象了,而且在所有回调函数中全都会返回 treeId 属性,用户可以随时使用此方法获取需要进行操作的 zTree 对象

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  zTree 的 DOM 容器的 id

                  +

                  返回值JSON

                  +

                  zTree 对象,提供操作 zTree 的各种方法,对于通过 js 操作 zTree 来说必须通过此对象

                  +
                  +

                  function 举例

                  +

                  1. 获取 id 为 tree 的 zTree 对象

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/fn.zTree.init.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/fn.zTree.init.html new file mode 100644 index 00000000..8db6d2c7 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/fn.zTree.init.html @@ -0,0 +1,74 @@ +
                  +
                  +

                  Function(obj, zSetting, zNodes)$.fn.zTree.init

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  zTree 初始化方法,创建 zTree 必须使用此方法

                  +

                  1、页面需要进行 W3C 申明,例如:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">。

                  +

                  2、需要首先加载 jquery-1.4.2.js 或其他更高版本的 jQuery 。

                  +

                  3、需要加载 jquery-ztree.core-3.0.js,如果需要用到 编辑功能 或 checkbox / radio 还需要分别加载 jquery-ztree.exedit-3.0.js 和 jquery-ztree.excheck-3.0.js 。

                  +

                  4、需要加载 zTreeStyle.css 以及 zTreeStyle 目录下的 img 文件。

                  +

                  5、如果需要使用自定义图标请参考相应的Demo。

                  +

                  6、请注意设置 zTree 的容器样式 class="ztree",其中 "ztree" 这个 className,可以根据需要随意修改,别忘了修改 css 中对应名字就是了,对于容器如果需要增加其他特殊样式,可根据自己的需要进行修改。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  objjQuery Object

                  +

                  用于展现 zTree 的 DOM 容器

                  +

                  zSettingJSON

                  +

                  zTree 的配置数据,具体请参考 “setting 配置详解”中的各个属性详细说明

                  +

                  zNodesArray(JSON) / JSON

                  +

                  zTree 的节点数据,具体请参考 “treeNode 节点数据详解”中的各个属性详细说明

                  +

                  1、v3.x 支持单独添加一个节点,即如果只新增一个节点,不用必须包在数组中

                  +

                  2、如果需要异步加载根节点,可以设置为 null 或 [ ]

                  +

                  3、使用简单数据模式,请参考 setting.data.simpleData 内的属性说明

                  +

                  返回值JSON

                  +

                  zTree 对象,提供操作 zTree 的各种方法,对于通过 js 操作 zTree 来说必须通过此对象

                  +

                  如果不需要自行设定全局变量保存,可以利用 $.fn.zTree.getZTreeObj 方法随时获取

                  +
                  +

                  setting & function 举例

                  +

                  1. 简单创建 zTree 演示

                  +
                  <!DOCTYPE html>
                  +<HTML>
                  + <HEAD>
                  +  <TITLE> ZTREE DEMO </TITLE>
                  +  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
                  +  <link rel="stylesheet" href="zTreeStyle/zTreeStyle.css" type="text/css">
                  +  <script type="text/javascript" src="jquery-1.4.2.js"></script>
                  +  <script type="text/javascript" src="jquery.ztree.core-3.5.js"></script>
                  +<!--
                  +  <script type="text/javascript" src="jquery.ztree.excheck-3.5.js"></script>
                  +  <script type="text/javascript" src="jquery.ztree.exedit-3.5.js"></script>
                  +-->
                  +  <SCRIPT type="text/javascript" >
                  +	var zTreeObj,
                  +	setting = {
                  +		view: {
                  +			selectedMulti: false
                  +		}
                  +	},
                  +	zTreeNodes = [
                  +		{"name":"网站导航", open:true, children: [
                  +			{ "name":"google", "url":"http://g.cn", "target":"_blank"},
                  +			{ "name":"baidu", "url":"http://baidu.com", "target":"_blank"},
                  +			{ "name":"sina", "url":"http://www.sina.com.cn", "target":"_blank"}
                  +			]
                  +		}
                  +	];
                  +
                  +	$(document).ready(function(){
                  +		zTreeObj = $.fn.zTree.init($("#tree"), setting, zTreeNodes);
                  +
                  +	});
                  +  </SCRIPT>
                  + </HEAD>
                  +
                  +<BODY>
                  +<ul id="tree" class="ztree" style="width:230px; overflow:auto;"></ul>
                  + </BODY>
                  +</HTML>
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.autoParam.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.autoParam.html new file mode 100644 index 00000000..cf0f4d27 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.autoParam.html @@ -0,0 +1,39 @@ +
                  +
                  +

                  Array(String)setting.async.autoParam

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  异步加载时需要自动提交父节点属性的参数。[setting.async.enable = true 时生效]

                  +

                  默认值:[ ]

                  +
                  +
                  +

                  Array(String) 格式说明

                  +
                  +

                  1、将需要作为参数提交的属性名称,制作成 Array 即可,例如:["id", "name"]

                  +

                  2、可以设置提交时的参数名称,例如 server 只接受 zId : ["id=zId"]

                  +
                  +

                  setting 举例

                  +

                  1. 设置 id 属性为自动提交的参数

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		url: "http://host/getNode.php",
                  +		autoParam: ["id"]
                  +	}
                  +};
                  +假设 异步加载 父节点(node = {id:1, name:"test"}) 的子节点时,将提交参数 id=1
                  +......
                  +

                  2. 设置 id 属性作为 zId 成为自动提交的参数

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		url: "http://host/getNode.php",
                  +		autoParam: ["id=zId"]
                  +	}
                  +};
                  +假设 对父节点 node = {id:1, name:"test"},进行异步加载时,将提交参数 zId=1
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.contentType.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.contentType.html new file mode 100644 index 00000000..db0c92fe --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.contentType.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Stringsetting.async.contentType

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  Ajax 提交参数的数据类型。[setting.async.enable = true 时生效]

                  +

                  默认值:"application/x-www-form-urlencoded"

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  contentType = "application/x-www-form-urlencoded" 可以满足绝大部分请求,按照标准的 Form 格式提交参数

                  +

                  contentType = "application/json" 可以满足 .Net 的编程需要,按照 JSON 格式提交参数

                  +
                  +

                  setting 举例

                  +

                  1. 设置 Ajax 提交参数的数据类型为 JSON 格式

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		contentType: "application/json",
                  +		url: "http://host/getNode.php",
                  +		autoParam: ["id", "name"]
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.dataFilter.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.dataFilter.html new file mode 100644 index 00000000..f174bf0f --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.dataFilter.html @@ -0,0 +1,45 @@ +
                  +
                  +

                  Function(treeId, parentNode, responseData)setting.async.dataFilter

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于对 Ajax 返回数据进行预处理的函数。[setting.async.enable = true 时生效]

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  parentNodeJSON

                  +

                  进行异步加载的父节点 JSON 数据对象

                  +

                  对根进行异步加载时,parentNode = null

                  +

                  responseDataArray(JSON) / JSON / String

                  +

                  异步加载获取到的数据转换后的 Array(JSON) / JSON / String 数据对象

                  +

                  v3.4开始 支持 XML 数据格式的 String

                  +

                  返回值Array(JSON) / JSON

                  +

                  返回值是 zTree 支持的JSON 数据结构即可。

                  +

                  v3.x 支持单个 JSON 节点数据进行加载

                  +
                  +

                  setting & function 举例

                  +

                  1. 修改异步获取到的节点name属性

                  +
                  function ajaxDataFilter(treeId, parentNode, responseData) {
                  +    if (responseData) {
                  +      for(var i =0; i < responseData.length; i++) {
                  +        responseData[i].name += "_filter";
                  +      }
                  +    }
                  +    return responseData;
                  +};
                  +var setting = {
                  +	async: {
                  +		enable: true,
                  +		url: "http://host/getNode.php",
                  +		dataFilter: ajaxDataFilter
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.dataType.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.dataType.html new file mode 100644 index 00000000..6d639b70 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.dataType.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Stringsetting.async.dataType

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  Ajax 获取的数据类型。[setting.async.enable = true 时生效]

                  +

                  默认值:"text"

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  dataType = "text" 可以满足绝大部分请求

                  +

                  其余 dataType 类型请参考 jQuery ajax 中的 dataType 参数

                  +
                  +

                  setting 举例

                  +

                  1. 设置 Ajax 获取的数据类型为 纯文本

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		dataType: "text",
                  +		url: "http://host/getNode.php",
                  +		autoParam: ["id", "name"]
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.enable.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.enable.html new file mode 100644 index 00000000..9079ae10 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.enable.html @@ -0,0 +1,30 @@ +
                  +
                  +

                  Booleansetting.async.enable

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  设置 zTree 是否开启异步加载模式

                  +

                  默认值:false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示 开启 异步加载模式

                  +

                  false 表示 关闭 异步加载模式

                  +

                  如果设置为 true,请务必设置 setting.async 内的其它参数。

                  +

                  如果需要根节点也异步加载,初始化时 treeNodes 参数设置为 null 即可。

                  +
                  +

                  setting 举例

                  +

                  1. 需要开启异步加载模式

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		url: "http://host/getNode.php",
                  +		autoParam: ["id", "name"]
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.otherParam.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.otherParam.html new file mode 100644 index 00000000..981715f1 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.otherParam.html @@ -0,0 +1,40 @@ +
                  +
                  +

                  Array(String) / JSONsetting.async.otherParam

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  Ajax 请求提交的静态参数键值对。[setting.async.enable = true 时生效]

                  +

                  默认值:[ ]

                  +
                  +
                  +

                  Array(String) 格式说明

                  +
                  +

                  可以为空[ ],如果有 key,则必须存在 value。 例如:[key, value]

                  +
                  +

                  JSON 格式说明

                  +
                  +

                  直接用 JSON 格式制作键值对,例如:{ key1:value1, key2:value2 }

                  +
                  +

                  setting 举例

                  +

                  1. 设置 Array(String) 格式的参数

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		url: "http://host/getNode.php",
                  +		otherParam: ["id", "1", "name", "test"]
                  +	}
                  +};
                  +进行异步加载时,将提交参数 id=1&name=test
                  +

                  2. 设置 JSON 格式的参数

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		url: "http://host/getNode.php",
                  +		otherParam: { "id":"1", "name":"test"}
                  +	}
                  +};
                  +进行异步加载时,将提交参数 id=1&name=test
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.type.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.type.html new file mode 100644 index 00000000..20d9a6b8 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.type.html @@ -0,0 +1,30 @@ +
                  +
                  +

                  Stringsetting.async.type

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  Ajax 的 http 请求模式。[setting.async.enable = true 时生效]

                  +

                  默认值:"post"

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  type = "post" 表示异步加载采用 post 方法请求

                  +

                  type = "get" 表示异步加载采用 get 方法请求

                  +

                  对应于 jQuery ajax 中的 type 参数

                  +
                  +

                  setting 举例

                  +

                  1. 设置使用 get 方式请求数据

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		type: "get",
                  +		url: "http://host/getNode.php",
                  +		autoParam: ["id", "name"]
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.url.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.url.html new file mode 100644 index 00000000..a5209afa --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.async.url.html @@ -0,0 +1,50 @@ +
                  +
                  +

                  String / Function(treeId, treeNode)setting.async.url

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  Ajax 获取数据的 URL 地址。[setting.async.enable = true 时生效]

                  +

                  默认值:""

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  设置固定的异步加载 url 字符串,请注意地址的路径,确保页面能正常加载

                  +

                  url 内也可以带参数,这些参数就只能是通过 get 方式提交了,并且请注意进行转码

                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  需要异步加载子节点的的父节点 JSON 数据对象

                  +

                  针对根进行异步加载时,treeNode = null

                  +

                  返回值String

                  +

                  返回值同 String 格式的数据

                  +
                  +

                  setting & function 举例

                  +

                  1. 设置异步获取节点的 URL 为 nodes.php

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		url: "nodes.php",
                  +		autoParam: ["id", "name"]
                  +	}
                  +};
                  +......
                  +

                  2. 设置异步获取节点的 URL 为 function 动态获取

                  +
                  function getAsyncUrl(treeId, treeNode) {
                  +    return treeNode.isParent ? "nodes1.php" : "nodes2.php";
                  +};
                  +var setting = {
                  +	async: {
                  +		enable: true,
                  +		url: getAsyncUrl,
                  +		autoParam: ["id", "name"]
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeAsync.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeAsync.html new file mode 100644 index 00000000..70ba0fc4 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeAsync.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeAsync

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获异步加载之前的事件回调函数,zTree 根据返回值确定是否允许进行异步加载

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  进行异步加载的父节点 JSON 数据对象

                  +

                  针对根进行异步加载时,treeNode = null

                  +

                  返回值Boolean

                  +

                  返回值是 true / false

                  +

                  如果返回 false,zTree 将不进行异步加载,也无法触发 onAsyncSuccess / onAsyncError 事件回调函数

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止 id 为 1 的父节点进行异步加载操作

                  +
                  function zTreeBeforeAsync(treeId, treeNode) {
                  +    return (treeNode.id !== 1);
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeAsync: zTreeBeforeAsync
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeCheck.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeCheck.html new file mode 100644 index 00000000..a0e1f42f --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeCheck.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeCheck

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  用于捕获 勾选 或 取消勾选 之前的事件回调函数,并且根据返回值确定是否允许 勾选 或 取消勾选

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  进行 勾选 或 取消勾选 的节点 JSON 数据对象

                  +

                  返回值Boolean

                  +

                  返回值是 true / false

                  +

                  如果返回 false,将不会改变勾选状态,并且无法触发 onCheck 事件回调函数

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止所有勾选操作,保持初始化的勾选状态

                  +
                  function zTreeBeforeCheck(treeId, treeNode) {
                  +    return false;
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeCheck: zTreeBeforeCheck
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeClick.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeClick.html new file mode 100644 index 00000000..6efe9286 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeClick.html @@ -0,0 +1,49 @@ +
                  +
                  +

                  Function(treeId, treeNode, clickFlag)setting.callback.beforeClick

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获单击节点之前的事件回调函数,并且根据返回值确定是否允许单击操作

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  被单击的节点 JSON 数据对象

                  +

                  clickFlagNumber

                  +

                  节点被点击后的选中操作类型,详细看下表

                  + + + + + + + + + + + + +
                  clickFlagselectedMultiautoCancelSelected
                  &&
                  event.ctrlKey / metaKey
                  isSelected选中操作
                  1truefalsefalse普通选中
                  1truefalsetrue普通选中
                  2truetruefalse追加选中
                  0truetruetrue取消选中
                  1falsefalsefalse普通选中
                  1falsefalsetrue普通选中
                  1falsetruefalse普通选中
                  0falsetruetrue取消选中
                  +

                  返回值Boolean

                  +

                  返回值是 true / false

                  +

                  如果返回 false,zTree 将不会选中节点,也无法触发 onClick 事件回调函数

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止节点被选中

                  +
                  function zTreeBeforeClick(treeId, treeNode, clickFlag) {
                  +    return (treeNode.id !== 1);
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeClick: zTreeBeforeClick
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeCollapse.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeCollapse.html new file mode 100644 index 00000000..d778e9c8 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeCollapse.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeCollapse

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获父节点折叠之前的事件回调函数,并且根据返回值确定是否允许折叠操作

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  要折叠的父节点 JSON 数据对象

                  +

                  返回值Boolean

                  +

                  返回值是 true / false

                  +

                  如果返回 false,zTree 将不会折叠节点,也无法触发 onCollapse 事件回调函数

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止所有已展开的父节点折叠

                  +
                  function zTreeBeforeCollapse(treeId, treeNode) {
                  +    return false;
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeCollapse: zTreeBeforeCollapse
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeDblClick.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeDblClick.html new file mode 100644 index 00000000..ed7e4dc2 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeDblClick.html @@ -0,0 +1,36 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeDblClick

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获 zTree 上鼠标双击之前的事件回调函数,并且根据返回值确定触发 onDblClick 事件回调函数

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  鼠标双击时所在节点的 JSON 数据对象

                  +

                  如果不在节点上,则返回 null

                  +

                  返回值Boolean

                  +

                  返回值是 true / false

                  +

                  如果返回 false,将仅仅无法触发 onDblClick 事件回调函数,对其他操作无任何影响

                  +

                  此事件回调函数对双击节点展开功能无任何影响,如果需要设置请参考 setting.view.dblClickExpand 属性

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止 onDblClick 事件

                  +
                  function zTreeBeforeDblClick(treeId, treeNode) {
                  +    return false;
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeDblClick: zTreeBeforeDblClick
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeDrag.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeDrag.html new file mode 100644 index 00000000..1e783a3c --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeDrag.html @@ -0,0 +1,39 @@ +
                  +
                  +

                  Function(treeId, treeNodes)setting.callback.beforeDrag

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  用于捕获节点被拖拽之前的事件回调函数,并且根据返回值确定是否允许开启拖拽操作

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  被拖拽的节点 treeNodes 所在 zTree 的 treeId,便于用户操控

                  +

                  treeNodesArray(JSON)

                  +

                  要被拖拽的节点 JSON 数据集合

                  +

                  v3.x 允许多个同级节点同时被拖拽,因此将此参数修改为 Array(JSON)

                  +

                  如果拖拽时多个被选择的节点不是同级关系,则只能拖拽鼠标当前所在位置的节点

                  +

                  返回值Boolean

                  +

                  返回值是 true / false

                  +

                  如果返回 false,zTree 将终止拖拽,也无法触发 onDrag / beforeDrop / onDrop 事件回调函数

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止全部拖拽操作

                  +
                  function zTreeBeforeDrag(treeId, treeNodes) {
                  +    return false;
                  +};
                  +var setting = {
                  +	edit: {
                  +		enable: true
                  +	},
                  +	callback: {
                  +		beforeDrag: zTreeBeforeDrag
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeDragOpen.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeDragOpen.html new file mode 100644 index 00000000..ceab2d34 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeDragOpen.html @@ -0,0 +1,37 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeDragOpen

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  用于捕获拖拽节点移动到折叠状态的父节点后,即将自动展开该父节点之前的事件回调函数,并且根据返回值确定是否允许自动展开操作

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  需要被展开的父节点 treeNode 所在 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  要被自动展开的父节点 JSON 数据对象

                  +

                  返回值Boolean

                  +

                  返回值是 true / false

                  +

                  如果返回 false,zTree 将无法进行自动展开操作

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止全部拖拽时的自动展开操作

                  +
                  function zTreeBeforeDragOpen(treeId, treeNode) {
                  +    return false;
                  +};
                  +var setting = {
                  +	edit: {
                  +		enable: true
                  +	},
                  +	callback: {
                  +		beforeDragOpen: zTreeBeforeDragOpen
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeDrop.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeDrop.html new file mode 100644 index 00000000..41237434 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeDrop.html @@ -0,0 +1,48 @@ +
                  +
                  +

                  Function(treeId, treeNodes, targetNode, moveType, isCopy)setting.callback.beforeDrop

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  用于捕获节点拖拽操作结束之前的事件回调函数,并且根据返回值确定是否允许此拖拽操作

                  +

                  默认值:null

                  +

                  如未拖拽到有效位置,则不触发此回调函数,直接将节点恢复原位置

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  目标节点 targetNode 所在 zTree 的 treeId,便于用户操控

                  +

                  treeNodesArray(JSON)

                  +

                  被拖拽的节点 JSON 数据集合

                  +

                  无论拖拽操作为 复制 还是 移动,treeNodes 都是当前被拖拽节点的数据集合。

                  +

                  targetNodeJSON

                  +

                  treeNodes 被拖拽放开的目标节点 JSON 数据对象。

                  +

                  如果拖拽成为根节点,则 targetNode = null

                  +

                  moveTypeString

                  +

                  指定移动到目标节点的相对位置

                  +

                  "inner":成为子节点,"prev":成为同级前一个节点,"next":成为同级后一个节点

                  +

                  isCopyBoolean

                  +

                  拖拽节点操作是 复制 或 移动

                  +

                  true:复制;false:移动

                  +

                  返回值Boolean

                  +

                  返回值是 true / false

                  +

                  如果返回 false,zTree 将恢复被拖拽的节点,也无法触发 onDrop 事件回调函数

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止将节点拖拽成为根节点

                  +
                  function zTreeBeforeDrop(treeId, treeNodes, targetNode, moveType) {
                  +    return !(targetNode == null || (moveType != "inner" && !targetNode.parentTId));
                  +};
                  +var setting = {
                  +	edit: {
                  +		enable: true
                  +	},
                  +	callback: {
                  +		beforeDrop: zTreeBeforeDrop
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeEditName.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeEditName.html new file mode 100644 index 00000000..9df3ca2c --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeEditName.html @@ -0,0 +1,38 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeEditName

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  用于捕获节点编辑按钮的 click 事件,并且根据返回值确定是否允许进入名称编辑状态

                  +

                  此事件回调函数最主要是用于捕获编辑按钮的点击事件,然后触发自定义的编辑界面操作。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  将要进入编辑名称状态的节点 JSON 数据对象

                  +

                  返回值Boolean

                  +

                  返回值是 true / false

                  +

                  如果返回 false,节点将无法进入 zTree 默认的编辑名称状态

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止修改父节点的名称

                  +
                  function zTreeBeforeEditName(treeId, treeNode) {
                  +	return !treeNode.isParent;
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true
                  +	},
                  +	callback: {
                  +		beforeEditName: zTreeBeforeEditName
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeExpand.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeExpand.html new file mode 100644 index 00000000..350972b7 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeExpand.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeExpand

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获父节点展开之前的事件回调函数,并且根据返回值确定是否允许展开操作

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  要展开的父节点 JSON 数据对象

                  +

                  返回值Boolean

                  +

                  返回值是 true / false

                  +

                  如果返回 false,zTree 将不会展开节点,也无法触发 onExpand 事件回调函数

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止所有已折叠的父节点展开

                  +
                  function zTreeBeforeExpand(treeId, treeNode) {
                  +    return false;
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeExpand: zTreeBeforeExpand
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeMouseDown.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeMouseDown.html new file mode 100644 index 00000000..2c3f28d8 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeMouseDown.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeMouseDown

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获 zTree 上鼠标按键按下之前的事件回调函数,并且根据返回值确定触发 onMouseDown 事件回调函数

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  鼠标按键按下时所在节点的 JSON 数据对象

                  +

                  如果不在节点上,则返回 null

                  +

                  返回值Boolean

                  +

                  返回值是 true / false

                  +

                  如果返回 false,将仅仅无法触发 onMouseDown 事件回调函数,对其他操作无任何影响

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止 onMouseDown 事件

                  +
                  function zTreeBeforeMouseDown(treeId, treeNode) {
                  +    return false;
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeMouseDown: zTreeBeforeMouseDown
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeMouseUp.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeMouseUp.html new file mode 100644 index 00000000..f0b01b97 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeMouseUp.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeMouseUp

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获 zTree 上鼠标按键松开之前的事件回调函数,并且根据返回值确定触发 onMouseUp 事件回调函数

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  鼠标按键松开时所在节点的 JSON 数据对象

                  +

                  如果不在节点上,则返回 null

                  +

                  返回值Boolean

                  +

                  返回值是 true / false

                  +

                  如果返回 false,将仅仅无法触发 onMouseUp 事件回调函数,对其他操作无任何影响

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止 onMouseUp 事件

                  +
                  function zTreeBeforeMouseUp(treeId, treeNode) {
                  +    return false;
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeMouseUp: zTreeBeforeMouseUp
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeRemove.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeRemove.html new file mode 100644 index 00000000..0edb3fd0 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeRemove.html @@ -0,0 +1,37 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeRemove

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  用于捕获节点被删除之前的事件回调函数,并且根据返回值确定是否允许删除操作

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  将要删除的节点 JSON 数据对象

                  +

                  返回值Boolean

                  +

                  返回值是 true / false

                  +

                  如果返回 false,zTree 将不删除节点,也无法触发 onRemove 事件回调函数

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止全部删除操作

                  +
                  function zTreeBeforeRemove(treeId, treeNode) {
                  +	return false;
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true
                  +	},
                  +	callback: {
                  +		beforeRemove: zTreeBeforeRemove
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeRename.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeRename.html new file mode 100644 index 00000000..07099619 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeRename.html @@ -0,0 +1,46 @@ +
                  +
                  +

                  Function(treeId, treeNode, newName, isCancel)setting.callback.beforeRename

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  用于捕获节点编辑名称结束(Input 失去焦点 或 按下 Enter 键)之后,更新节点名称数据之前的事件回调函数,并且根据返回值确定是否允许更改名称的操作

                  +

                  节点进入编辑名称状态后,按 ESC 键可以放弃当前修改,恢复原名称,取消编辑名称状态

                  +

                  从 v3.5.13 开始,取消编辑状态也会触发此回调,根据 isCancel 参数判断

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  将要更改名称的节点 JSON 数据对象

                  +

                  newNameString

                  +

                  修改后的新名称

                  +

                  isCancelBoolean

                  +

                  是否取消操作 (v3.5.13+)

                  +

                  isCancel = true 表示取消编辑操作(按下 ESC 或 使用 cancelEditName 方法)

                  +

                  isCancel = false 表示确认修改操作

                  +

                  返回值Boolean

                  +

                  返回值是 true / false

                  +

                  如果返回 false,zTree 将保持名称编辑状态,无法触发 onRename 事件回调函数,并且会导致屏蔽其它事件,直到修改名称使得 beforeRename 返回 true

                  +

                  如果返回 false,不会让 input 输入框获取焦点,避免由于警告信息而导致反复触发 beforeRename。 请在关闭提示警告信息后,利用 editName 方法让 input 重新获取焦点。

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止修改的名称的长度小于 5

                  +
                  function zTreeBeforeRename(treeId, treeNode, newName, isCancel) {
                  +	return newName.length > 5;
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true
                  +	},
                  +	callback: {
                  +		beforeRename: zTreeBeforeRename
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeRightClick.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeRightClick.html new file mode 100644 index 00000000..1a5bdaa3 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeRightClick.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeRightClick

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获 zTree 上鼠标右键点击之前的事件回调函数,并且根据返回值确定触发 onRightClick 事件回调函数

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  鼠标右键点击时所在节点的 JSON 数据对象

                  +

                  如果不在节点上,则返回 null

                  +

                  返回值Boolean

                  +

                  返回值是 true / false

                  +

                  如果返回 false,将仅仅无法触发 onRightClick 事件回调函数,对其他操作无任何影响

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止 onRightClick 事件

                  +
                  function zTreeBeforeRightClick(treeId, treeNode) {
                  +    return false;
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeRightClick: zTreeBeforeRightClick
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onAsyncError.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onAsyncError.html new file mode 100644 index 00000000..c469e113 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onAsyncError.html @@ -0,0 +1,42 @@ +
                  +
                  +

                  setting.callback.onAsyncError

                  +

                  Function(event, treeId, treeNode, XMLHttpRequest, textStatus, errorThrown) 

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获异步加载出现异常错误的事件回调函数

                  +

                  如果设置了 setting.callback.beforeAsync 方法,且返回 false,将无法触发 onAsyncSuccess / onAsyncError 事件回调函数。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  eventjs event 对象

                  +

                  标准的 js event 对象

                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  进行异步加载的父节点 JSON 数据对象

                  +

                  针对根进行异步加载时,treeNode = null

                  +

                  XMLHttpRequestString

                  +

                  标准 XMLHttpRequest 对象,请参考 JQuery API 文档。

                  +

                  textStatusString

                  +

                  请求状态:success,error,请参考 JQuery API 文档。

                  +

                  errorThrownString

                  +

                  errorThrown 只有当异常发生时才会被传递,请参考 JQuery API 文档。

                  +
                  +

                  setting & function 举例

                  +

                  1. 异步加载出现异常后,弹出错误信息

                  +
                  function zTreeOnAsyncError(event, treeId, treeNode, XMLHttpRequest, textStatus, errorThrown) {
                  +    alert(XMLHttpRequest);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onAsyncError: zTreeOnAsyncError
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onAsyncSuccess.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onAsyncSuccess.html new file mode 100644 index 00000000..081e9d73 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onAsyncSuccess.html @@ -0,0 +1,38 @@ +
                  +
                  +

                  Function(event, treeId, treeNode, msg)setting.callback.onAsyncSuccess

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获异步加载正常结束的事件回调函数

                  +

                  如果设置了 setting.callback.beforeAsync 方法,且返回 false,将无法触发 onAsyncSuccess / onAsyncError 事件回调函数。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  eventjs event 对象

                  +

                  标准的 js event 对象

                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  进行异步加载的父节点 JSON 数据对象

                  +

                  针对根进行异步加载时,treeNode = null

                  +

                  msgString / Object

                  +

                  异步获取的节点数据字符串,主要便于用户调试使用。

                  +

                  实际数据类型会受 setting.async.dataType 的设置影响,请参考 JQuery API 文档。

                  +
                  +

                  setting & function 举例

                  +

                  1. 异步加载成功后,弹出提示信息

                  +
                  function zTreeOnAsyncSuccess(event, treeId, treeNode, msg) {
                  +    alert(msg);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onAsyncSuccess: zTreeOnAsyncSuccess
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onCheck.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onCheck.html new file mode 100644 index 00000000..113eee97 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onCheck.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onCheck

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  用于捕获 checkbox / radio 被勾选 或 取消勾选的事件回调函数

                  +

                  如果设置了 setting.callback.beforeCheck 方法,且返回 false,将无法触发 onCheck 事件回调函数。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  eventjs event 对象

                  +

                  标准的 js event 对象

                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  被勾选 或 取消勾选的节点 JSON 数据对象

                  +
                  +

                  setting & function 举例

                  +

                  1. 每次点击 checkbox 或 radio 后, 弹出该节点的 tId、name 以及当前勾选状态的信息

                  +
                  function zTreeOnCheck(event, treeId, treeNode) {
                  +    alert(treeNode.tId + ", " + treeNode.name + "," + treeNode.checked);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onCheck: zTreeOnCheck
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onClick.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onClick.html new file mode 100644 index 00000000..1f7a2664 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onClick.html @@ -0,0 +1,49 @@ +
                  +
                  +

                  Function(event, treeId, treeNode, clickFlag)setting.callback.onClick

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获节点被点击的事件回调函数

                  +

                  如果设置了 setting.callback.beforeClick 方法,且返回 false,将无法触发 onClick 事件回调函数。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  eventjs event 对象

                  +

                  标准的 js event 对象

                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  被点击的节点 JSON 数据对象

                  +

                  clickFlagNumber

                  +

                  节点被点击后的选中操作类型,详细看下表

                  + + + + + + + + + + + + +
                  clickFlagselectedMultiautoCancelSelected
                  &&
                  event.ctrlKey / metaKey
                  isSelected选中操作
                  1truefalsefalse普通选中
                  1truefalsetrue普通选中
                  2truetruefalse追加选中
                  0truetruetrue取消选中
                  1falsefalsefalse普通选中
                  1falsefalsetrue普通选中
                  1falsetruefalse普通选中
                  0falsetruetrue取消选中
                  +
                  +

                  setting & function 举例

                  +

                  1. 每次点击节点后, 弹出该节点的 tId、name 的信息

                  +
                  function zTreeOnClick(event, treeId, treeNode) {
                  +    alert(treeNode.tId + ", " + treeNode.name);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onClick: zTreeOnClick
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onCollapse.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onCollapse.html new file mode 100644 index 00000000..1c816c20 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onCollapse.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onCollapse

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获节点被折叠的事件回调函数

                  +

                  如果设置了 setting.callback.beforeCollapse 方法,且返回 false,将无法触发 onCollapse 事件回调函数。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  eventjs event 对象

                  +

                  标准的 js event 对象

                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  被折叠的节点 JSON 数据对象

                  +
                  +

                  setting & function 举例

                  +

                  1. 每次折叠节点后, 弹出该节点的 tId、name 的信息

                  +
                  function zTreeOnCollapse(event, treeId, treeNode) {
                  +    alert(treeNode.tId + ", " + treeNode.name);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onCollapse: zTreeOnCollapse
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onDblClick.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onDblClick.html new file mode 100644 index 00000000..deb8e626 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onDblClick.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onDblClick

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获 zTree 上鼠标双击之后的事件回调函数

                  +

                  如果设置了 setting.callback.beforeDblClick 方法,且返回 false,将无法触发 onDblClick 事件回调函数。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  eventjs event 对象

                  +

                  标准的 js event 对象

                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  鼠标双击时所在节点的 JSON 数据对象

                  +

                  如果不在节点上,则返回 null

                  +
                  +

                  setting & function 举例

                  +

                  1. 每次鼠标双击后, 弹出鼠标所在节点的 tId、name 的信息

                  +
                  function zTreeOnDblClick(event, treeId, treeNode) {
                  +    alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
                  +};
                  +var setting = {
                  +	callback: {
                  +		onDblClick: zTreeOnDblClick
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onDrag.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onDrag.html new file mode 100644 index 00000000..efd115bd --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onDrag.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(event, treeId, treeNodes)setting.callback.onDrag

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  用于捕获节点被拖拽的事件回调函数

                  +

                  如果设置了 setting.callback.beforeDrag 方法,且返回 false,将无法触发 onDragMove 和 onDrag 事件回调函数。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  eventjs event 对象

                  +

                  标准的 js event 对象

                  +

                  treeIdString

                  +

                  被拖拽的节点 treeNodes 所在 zTree 的 treeId,便于用户操控

                  +

                  treeNodesArray(JSON)

                  +

                  要被拖拽的节点 JSON 数据集合

                  +
                  +

                  setting & function 举例

                  +

                  1. 每次开始进行拖拽节点后, 弹出被拖拽节点的个数信息

                  +
                  function zTreeOnDrag(event, treeId, treeNodes) {
                  +    alert(treeNodes.length);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onDrag: zTreeOnDrag
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onDragMove.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onDragMove.html new file mode 100644 index 00000000..e6a8dd9e --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onDragMove.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(event, treeId, treeNodes)setting.callback.onDragMove

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  用于捕获节点被拖拽过程中移动的事件回调函数

                  +

                  主要用于捕获 zTree 节点拖拽到的 DOM,从而操作对应的 DOM。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  eventjs event 对象

                  +

                  标准的 js event 对象

                  +

                  treeIdString

                  +

                  被拖拽的节点 treeNodes 所在 zTree 的 treeId,便于用户操控

                  +

                  treeNodesArray(JSON)

                  +

                  要被拖拽的节点 JSON 数据集合

                  +
                  +

                  setting & function 举例

                  +

                  1. 拖拽节点时,随时输出 当前拖拽到的目标 DOM

                  +
                  function zTreeOnDragMove(event, treeId, treeNodes) {
                  +    console.log(event.target);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onDragMove: zTreeOnDragMove
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onDrop.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onDrop.html new file mode 100644 index 00000000..c6773a88 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onDrop.html @@ -0,0 +1,46 @@ +
                  +
                  +

                  Function(event, treeId, treeNodes, targetNode, moveType, isCopy)setting.callback.onDrop

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  用于捕获节点拖拽操作结束的事件回调函数

                  +

                  如果设置了 setting.callback.beforeDrop 方法,且返回 false,将无法触发 onDrop 事件回调函数。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  eventjs event 对象

                  +

                  标准的 js event 对象

                  +

                  treeIdString

                  +

                  目标节点 targetNode 所在 zTree 的 treeId,便于用户操控

                  +

                  treeNodesArray(JSON)

                  +

                  被拖拽的节点 JSON 数据集合

                  +

                  如果拖拽操作为 移动,treeNodes 是当前被拖拽节点的数据集合。

                  +

                  如果拖拽操作为 复制,treeNodes 是复制后 clone 得到的新节点数据。

                  +

                  targetNodeJSON

                  +

                  成为 treeNodes 拖拽结束的目标节点 JSON 数据对象。

                  +

                  如果拖拽成为根节点,则 targetNode = null

                  +

                  moveTypeString

                  +

                  指定移动到目标节点的相对位置

                  +

                  "inner":成为子节点,"prev":成为同级前一个节点,"next":成为同级后一个节点

                  +

                  如果 moveType = null,表明拖拽无效

                  +

                  isCopyBoolean

                  +

                  拖拽节点操作是 复制 或 移动

                  +

                  true:复制;false:移动

                  +
                  +

                  setting & function 举例

                  +

                  1. 每次拖拽操作结束后, 弹出该被拖拽节点的个数以及目标节点的 tId、name 的信息

                  +
                  function zTreeOnDrop(event, treeId, treeNodes, targetNode, moveType) {
                  +    alert(treeNodes.length + "," + (targetNode ? (targetNode.tId + ", " + targetNode.name) : "isRoot" ));
                  +};
                  +var setting = {
                  +	callback: {
                  +		onDrop: zTreeOnDrop
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onExpand.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onExpand.html new file mode 100644 index 00000000..791c5f6f --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onExpand.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onExpand

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获节点被展开的事件回调函数

                  +

                  如果设置了 setting.callback.beforeExpand 方法,且返回 false,将无法触发 onExpand 事件回调函数。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  eventjs event 对象

                  +

                  标准的 js event 对象

                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  被展开的节点 JSON 数据对象

                  +
                  +

                  setting & function 举例

                  +

                  1. 每次展开节点后, 弹出该节点的 tId、name 的信息

                  +
                  function zTreeOnExpand(event, treeId, treeNode) {
                  +    alert(treeNode.tId + ", " + treeNode.name);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onExpand: zTreeOnExpand
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onMouseDown.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onMouseDown.html new file mode 100644 index 00000000..bc9d0ea7 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onMouseDown.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onMouseDown

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获 zTree 上鼠标按键按下后的事件回调函数

                  +

                  如果设置了 setting.callback.beforeMouseDown 方法,且返回 false,将无法触发 onMouseDown 事件回调函数。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  eventjs event 对象

                  +

                  标准的 js event 对象

                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  鼠标按键按下时所在节点的 JSON 数据对象

                  +

                  如果不在节点上,则返回 null

                  +
                  +

                  setting & function 举例

                  +

                  1. 每次鼠标按键按下后, 弹出鼠标所在节点的 tId、name 的信息

                  +
                  function zTreeOnMouseDown(event, treeId, treeNode) {
                  +    alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
                  +};
                  +var setting = {
                  +	callback: {
                  +		onMouseDown: zTreeOnMouseDown
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onMouseUp.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onMouseUp.html new file mode 100644 index 00000000..a969fef9 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onMouseUp.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onMouseUp

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获 zTree 上鼠标按键松开后的事件回调函数

                  +

                  如果设置了 setting.callback.beforeMouseUp 方法,且返回 false,将无法触发 onMouseUp 事件回调函数。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  eventjs event 对象

                  +

                  标准的 js event 对象

                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  鼠标按键松开时所在节点的 JSON 数据对象

                  +

                  如果不在节点上,则返回 null

                  +
                  +

                  setting & function 举例

                  +

                  1. 每次鼠标按键松开后, 弹出鼠标所在节点的 tId、name 的信息

                  +
                  function zTreeOnMouseUp(event, treeId, treeNode) {
                  +    alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
                  +};
                  +var setting = {
                  +	callback: {
                  +		onMouseUp: zTreeOnMouseUp
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onNodeCreated.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onNodeCreated.html new file mode 100644 index 00000000..2ebaee63 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onNodeCreated.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onNodeCreated

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获节点生成 DOM 后的事件回调函数

                  +

                  v3.x 采用了延迟加载技术,因此对于父节点未展开的子节点来说,初始化后是不会触发此回调函数,直到其父节点被展开

                  +

                  大数据量的节点加载请注意:不设置 onNodeCreated,可以提升一部分初始化性能

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  eventjs event 对象

                  +

                  标准的 js event 对象

                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  生成 DOM 完毕的节点的 JSON 数据对象

                  +
                  +

                  setting & function 举例

                  +

                  1. 创建节点 DOM 后, 弹出该节点的 tId、name 的信息

                  +
                  function zTreeOnNodeCreated(event, treeId, treeNode) {
                  +    alert(treeNode.tId + ", " + treeNode.name);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onNodeCreated: zTreeOnNodeCreated
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onRemove.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onRemove.html new file mode 100644 index 00000000..e7e625d9 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onRemove.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onRemove

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  用于捕获删除节点之后的事件回调函数。

                  +

                  如果用户设置了 beforeRemove 回调函数,并返回 false,将无法触发 onRemove 事件回调函数。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  eventjs event 对象

                  +

                  标准的 js event 对象

                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  将要删除的节点 JSON 数据对象

                  +
                  +

                  setting & function 举例

                  +

                  1. 删除节点时,弹出被删除的节点的 tId 以及 name 信息

                  +
                  function zTreeOnRemove(event, treeId, treeNode) {
                  +	alert(treeNode.tId + ", " + treeNode.name);
                  +}
                  +var setting = {
                  +	callback: {
                  +		onRemove: zTreeOnRemove
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onRename.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onRename.html new file mode 100644 index 00000000..f225463f --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onRename.html @@ -0,0 +1,40 @@ +
                  +
                  +

                  Function(event, treeId, treeNode, isCancel)setting.callback.onRename

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  用于捕获节点编辑名称结束之后的事件回调函数。

                  +

                  1、节点进入编辑名称状态,并且修改节点名称后触发此回调函数。如果用户设置了 beforeRename 回调函数,并返回 false,将无法触发 onRename 事件回调函数。

                  +

                  2、如果通过直接修改 treeNode 的数据,并且利用 updateNode 方法更新,是不会触发此回调函数的。

                  +

                  3、从 v3.5.13 开始,取消编辑状态也会触发此回调,根据 isCancel 参数判断

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  eventjs event 对象

                  +

                  标准的 js event 对象

                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  被修改名称的节点 JSON 数据对象

                  +

                  isCancelBoolean

                  +

                  是否取消操作 (v3.5.13+)

                  +

                  isCancel = true 表示取消编辑操作(按下 ESC 或 使用 cancelEditName 方法)

                  +

                  isCancel = false 表示确认修改操作

                  +
                  +

                  setting & function 举例

                  +

                  1. 修改名称后,弹出被修改名称的节点的 tId 以及 name 信息

                  +
                  function zTreeOnRename(event, treeId, treeNode, isCancel) {
                  +	alert(treeNode.tId + ", " + treeNode.name);
                  +}
                  +var setting = {
                  +	callback: {
                  +		onRename: zTreeOnRename
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onRightClick.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onRightClick.html new file mode 100644 index 00000000..d51c68d1 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.onRightClick.html @@ -0,0 +1,36 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onRightClick

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于捕获 zTree 上鼠标右键点击之后的事件回调函数

                  +

                  1、如果设置了 setting.callback.beforeRightClick 方法,且返回 false,将无法触发 onRightClick 事件回调函数。

                  +

                  2、只要将 function 的引用赋给 onRightClick 属性,则右键点击 zTree 时,将屏蔽浏览器的右键菜单。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  eventjs event 对象

                  +

                  标准的 js event 对象

                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  鼠标右键点击时所在节点的 JSON 数据对象

                  +

                  如果不在节点上,则返回 null

                  +
                  +

                  setting & function 举例

                  +

                  1. 每次鼠标右键点击后, 弹出鼠标所在节点的 tId、name 的信息

                  +
                  function zTreeOnRightClick(event, treeId, treeNode) {
                  +    alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
                  +};
                  +var setting = {
                  +	callback: {
                  +		onRightClick: zTreeOnRightClick
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.autoCheckTrigger.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.autoCheckTrigger.html new file mode 100644 index 00000000..d1efd770 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.autoCheckTrigger.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  Booleansetting.check.autoCheckTrigger

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  设置自动关联勾选时是否触发 beforeCheck / onCheck 事件回调函数。[setting.check.enable = true 且 setting.check.chkStyle = "checkbox" 时生效]

                  +

                  1、如果设置 setting.check.chkboxType = { "Y": "", "N": "" },将不会有任何自动关联勾选的操作。

                  +

                  2、如果开启触发,对于节点较多的树将会影响性能,因为所有被联动勾选的操作都会触发事件回调函数,请根据需要决定是否使用此功能。

                  +

                  默认值: false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 触发 / 不触发 事件回调函数

                  +
                  +

                  setting 举例

                  +

                  1. 需要触发自动关联勾选操作

                  +
                  var setting = {
                  +	check: {
                  +		enable: true,
                  +		autoCheckTrigger: true
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.chkDisabledInherit.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.chkDisabledInherit.html new file mode 100644 index 00000000..8af1c2c6 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.chkDisabledInherit.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  Booleansetting.check.chkDisabledInherit

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  当父节点设置 chkDisabled = true 时,设置子节点是否自动继承 chkDisabled = true 。[setting.check.enable = true 时生效]

                  +

                  1、只使用于初始化节点时,便于批量操作。 对于已存在的节点请利用 setChkDisabled 方法单个节点设置。

                  +

                  默认值: false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示 新加入子节点时,自动继承父节点 chkDisabled = true 的属性。

                  +

                  false 表示 新加入子节点时,不继承父节点 chkDisabled 的属性。

                  +
                  +

                  setting 举例

                  +

                  1. 需要子节点自动继承 chkDisabled = true

                  +
                  var setting = {
                  +	check: {
                  +		enable: true,
                  +		chkDisabledInherit: true
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.chkStyle.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.chkStyle.html new file mode 100644 index 00000000..9706c134 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.chkStyle.html @@ -0,0 +1,48 @@ +
                  +
                  +

                  Stringsetting.check.chkStyle

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  勾选框类型(checkbox 或 radio)[setting.check.enable = true 时生效]

                  +

                  默认值:"checkbox"

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  chkStyle = "checkbox" 时,显示 checkbox 选择框,setting.check.chkboxType 属性有效。 +
                  chkStyle = "radio" 时,显示 radio 选择框, setting.check.radioType 属性有效。

                  +

                  请注意大小写,不要改变

                  +
                  +

                  checkbox 状态说明

                  +
                  +

                  +
                  +

                  未勾选;如果是父节点,则无子节点被勾选。鼠标移到该节点上显示为:

                  +

                  未勾选;(只有父节点存在此状态)存在被勾选的子节点。鼠标移到该节点上显示为:

                  +

                  被勾选;如果是父节点,则全部子节点都被勾选。鼠标移到该节点上显示为:

                  +

                  被勾选;(只有父节点存在此状态)且部分或无子节点被勾选。鼠标移到该节点上显示为:

                  +
                  +
                  +

                  radio 状态说明

                  +
                  +

                  +
                  +

                  未勾选;如果是父节点,则没有子节点被勾选。鼠标移到该节点上显示为:

                  +

                  未勾选;(只有父节点存在此状态)且存在被勾选的子节点。鼠标移到该节点上显示为:

                  +

                  被勾选;如果是父节点,则没有子节点被勾选。鼠标移到该节点上显示为:

                  +

                  被勾选;(只有父节点存在此状态)且存在被勾选的子节点。鼠标移到该节点上显示为:

                  +
                  +
                  +

                  setting 举例

                  +

                  1. 设置选择框为 radio

                  +
                  var setting = {
                  +	check: {
                  +		enable: true,
                  +		chkStyle: "radio"
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.chkboxType.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.chkboxType.html new file mode 100644 index 00000000..da06b6ca --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.chkboxType.html @@ -0,0 +1,31 @@ +
                  +
                  +

                  JSONsetting.check.chkboxType

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  勾选 checkbox 对于父子节点的关联关系。[setting.check.enable = true 且 setting.check.chkStyle = "checkbox" 时生效]

                  +

                  默认值:{ "Y": "ps", "N": "ps" }

                  +
                  +
                  +

                  JSON 格式说明

                  +
                  +

                  Y 属性定义 checkbox 被勾选后的情况; +
                  N 属性定义 checkbox 取消勾选后的情况; +
                  "p" 表示操作会影响父级节点; +
                  "s" 表示操作会影响子级节点。

                  +

                  请注意大小写,不要改变

                  +
                  +

                  setting 举例

                  +

                  1. checkbox 勾选操作,只影响父级节点;取消勾选操作,只影响子级节点

                  +
                  var setting = {
                  +	check: {
                  +		enable: true,
                  +		chkStyle: "checkbox",
                  +		chkboxType: { "Y": "p", "N": "s" }
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.enable.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.enable.html new file mode 100644 index 00000000..8b1387e3 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.enable.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  Booleansetting.check.enable

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  设置 zTree 的节点上是否显示 checkbox / radio

                  +

                  默认值: false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 显示 / 不显示 复选框或单选框

                  +
                  +

                  setting 举例

                  +

                  1. 需要显示 checkbox

                  +
                  var setting = {
                  +	check: {
                  +		enable: true
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.nocheckInherit.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.nocheckInherit.html new file mode 100644 index 00000000..caf99028 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.nocheckInherit.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  Booleansetting.check.nocheckInherit

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  当父节点设置 nocheck = true 时,设置子节点是否自动继承 nocheck = true 。[setting.check.enable = true 时生效]

                  +

                  1、只使用于初始化节点时,便于批量操作。 对于已存在的节点请利用 updateNode 方法单个节点设置。

                  +

                  默认值: false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示 新加入子节点时,自动继承父节点 nocheck = true 的属性。

                  +

                  false 表示 新加入子节点时,不继承父节点 nocheck 的属性。

                  +
                  +

                  setting 举例

                  +

                  1. 需要子节点自动继承 nocheck = true

                  +
                  var setting = {
                  +	check: {
                  +		enable: true,
                  +		nocheckInherit: true
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.radioType.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.radioType.html new file mode 100644 index 00000000..19f84cad --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.check.radioType.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Stringsetting.check.radioType

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  radio 的分组范围。[setting.check.enable = true 且 setting.check.chkStyle = "radio" 时生效]

                  +

                  默认值:"level"

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  radioType = "level" 时,在每一级节点范围内当做一个分组。 +
                  radioType = "all" 时,在整棵树范围内当做一个分组。

                  +

                  请注意大小写,不要改变

                  +
                  +

                  setting 举例

                  +

                  1. 设置 radio 的判别规则为整棵树内

                  +
                  var setting = {
                  +	check: {
                  +		enable: true,
                  +		chkStyle: "radio",
                  +		radioType: "all"
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.keep.leaf.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.keep.leaf.html new file mode 100644 index 00000000..af3a7211 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.keep.leaf.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  Booleansetting.data.keep.leaf

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  zTree 的节点叶子节点属性锁,是否始终保持 isParent = false

                  +

                  默认值:false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 锁定 / 不锁定 叶子节点属性

                  +

                  如果设置为 true,则所有 isParent = false 的节点,都无法添加子节点。

                  +
                  +

                  setting 举例

                  +

                  1. 需要锁定叶子节点状态

                  +
                  var setting = {
                  +	data: {
                  +		keep: {
                  +			leaf: true
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.keep.parent.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.keep.parent.html new file mode 100644 index 00000000..c4975df2 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.keep.parent.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  Booleansetting.data.keep.parent

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  zTree 的节点父节点属性锁,是否始终保持 isParent = true

                  +

                  默认值:false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 锁定 / 不锁定 父节点属性

                  +

                  如果设置为 true,则所有 isParent = true 的节点,即使该节点的子节点被全部删除或移走,依旧保持父节点状态。

                  +
                  +

                  setting 举例

                  +

                  1. 需要锁定父节点状态

                  +
                  var setting = {
                  +	data: {
                  +		keep: {
                  +			parent: true
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.checked.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.checked.html new file mode 100644 index 00000000..ac9fdc1d --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.checked.html @@ -0,0 +1,24 @@ +
                  +
                  +

                  Stringsetting.data.key.checked

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  zTree 节点数据中保存 check 状态的属性名称。

                  +

                  默认值:"checked"

                  +

                  请勿与 zTree 节点数据的其他参数冲突,例如:checkedOld

                  +
                  +
                  +

                  setting 举例

                  +

                  1. 设置 zTree 显示节点时,将 treeNode 的 isChecked 属性当做节点名称

                  +
                  var setting = {
                  +	data: {
                  +		key: {
                  +			checked: "isChecked"
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.children.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.children.html new file mode 100644 index 00000000..66a49a7e --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.children.html @@ -0,0 +1,23 @@ +
                  +
                  +

                  Stringsetting.data.key.children

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  zTree 节点数据中保存子节点数据的属性名称。

                  +

                  默认值:"children"

                  +
                  +
                  +

                  setting 举例

                  +

                  1. 设置 zTree 显示节点时,将 treeNode 的 nodes 属性当做节点名称

                  +
                  var setting = {
                  +	data: {
                  +		key: {
                  +			children: "nodes"
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.name.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.name.html new file mode 100644 index 00000000..c25d250a --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.name.html @@ -0,0 +1,23 @@ +
                  +
                  +

                  Stringsetting.data.key.name

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  zTree 节点数据保存节点名称的属性名称。

                  +

                  默认值:"name"

                  +
                  +
                  +

                  setting 举例

                  +

                  1. 设置 zTree 显示节点时,将 treeNode 的 ename 属性当做节点名称

                  +
                  var setting = {
                  +	data: {
                  +		key: {
                  +			name: "ename"
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.title.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.title.html new file mode 100644 index 00000000..43e68554 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.title.html @@ -0,0 +1,24 @@ +
                  +
                  +

                  Stringsetting.data.key.title

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  zTree 节点数据保存节点提示信息的属性名称。[setting.view.showTitle = true 时生效]

                  +

                  如果设置为 "" ,则自动与 setting.data.key.name 保持一致,避免用户反复设置

                  +

                  默认值:""

                  +
                  +
                  +

                  setting 举例

                  +

                  1. 设置 zTree 显示节点时,将 treeNode 的 fullName 属性当做节点名称

                  +
                  var setting = {
                  +	data: {
                  +		key: {
                  +			title: "fullName"
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.url.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.url.html new file mode 100644 index 00000000..e534d985 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.key.url.html @@ -0,0 +1,24 @@ +
                  +
                  +

                  Stringsetting.data.key.url

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  zTree 节点数据保存节点链接的目标 URL 的属性名称。

                  +

                  特殊用途:当后台数据只能生成 url 属性,又不想实现点击节点跳转的功能时,可以直接修改此属性为其他不存在的属性名称

                  +

                  默认值:"url"

                  +
                  +
                  +

                  setting 举例

                  +

                  1. 设置 zTree 显示节点时,将 treeNode 的 xUrl 属性当做节点链接的目标 URL

                  +
                  var setting = {
                  +	data: {
                  +		key: {
                  +			url: "xUrl"
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.simpleData.enable.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.simpleData.enable.html new file mode 100644 index 00000000..65bd4071 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.simpleData.enable.html @@ -0,0 +1,38 @@ +
                  +
                  +

                  Booleansetting.data.simpleData.enable

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  确定 zTree 初始化时的节点数据、异步加载时的节点数据、或 addNodes 方法中输入的 newNodes 数据是否采用简单数据模式 (Array)

                  +

                  不需要用户再把数据库中取出的 List 强行转换为复杂的 JSON 嵌套格式

                  +

                  默认值:false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 使用 / 不使用 简单数据模式

                  +

                  如果设置为 true,请务必设置 setting.data.simpleData 内的其他参数: idKey / pIdKey / rootPId,并且让数据满足父子关系。

                  +
                  +

                  setting 举例

                  +

                  1. 使用简单 Array 格式的数据

                  +
                  var setting = {
                  +	data: {
                  +		simpleData: {
                  +			enable: true,
                  +			idKey: "id",
                  +			pIdKey: "pId",
                  +			rootPId: 0,
                  +		}
                  +	}
                  +};
                  +var treeNodes = [
                  +    {"id":1, "pId":0, "name":"test1"},
                  +    {"id":11, "pId":1, "name":"test11"},
                  +    {"id":12, "pId":1, "name":"test12"},
                  +    {"id":111, "pId":11, "name":"test111"}
                  +];
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.simpleData.idKey.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.simpleData.idKey.html new file mode 100644 index 00000000..81129e93 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.simpleData.idKey.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  Stringsetting.data.simpleData.idKey

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  节点数据中保存唯一标识的属性名称。[setting.data.simpleData.enable = true 时生效]

                  +

                  默认值:"id"

                  +
                  +
                  +

                  setting 举例

                  +

                  1. 使用简单 Array 格式的数据

                  +
                  var setting = {
                  +	data: {
                  +		simpleData: {
                  +			enable: true,
                  +			idKey: "id",
                  +			pIdKey: "pId",
                  +			rootPId: 0,
                  +		}
                  +	}
                  +};
                  +var treeNodes = [
                  +    {"id":1, "pId":0, "name":"test1"},
                  +    {"id":11, "pId":1, "name":"test11"},
                  +    {"id":12, "pId":1, "name":"test12"},
                  +    {"id":111, "pId":11, "name":"test111"}
                  +];
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.simpleData.pIdKey.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.simpleData.pIdKey.html new file mode 100644 index 00000000..d434bc31 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.simpleData.pIdKey.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  Stringsetting.data.simpleData.pIdKey

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  节点数据中保存其父节点唯一标识的属性名称。[setting.data.simpleData.enable = true 时生效]

                  +

                  默认值:"pId"

                  +
                  +
                  +

                  setting 举例

                  +

                  1. 使用简单 Array 格式的数据

                  +
                  var setting = {
                  +	data: {
                  +		simpleData: {
                  +			enable: true,
                  +			idKey: "id",
                  +			pIdKey: "pId",
                  +			rootPId: 0
                  +		}
                  +	}
                  +};
                  +var treeNodes = [
                  +    {"id":1, "pId":0, "name":"test1"},
                  +    {"id":11, "pId":1, "name":"test11"},
                  +    {"id":12, "pId":1, "name":"test12"},
                  +    {"id":111, "pId":11, "name":"test111"}
                  +];
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.simpleData.rootPId.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.simpleData.rootPId.html new file mode 100644 index 00000000..8cff82d4 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.data.simpleData.rootPId.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  String / Numbersetting.data.simpleData.rootPId

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于修正根节点父节点数据,即 pIdKey 指定的属性值。[setting.data.simpleData.enable = true 时生效]

                  +

                  默认值:null

                  +
                  +
                  +

                  setting 举例

                  +

                  1. 使用简单 Array 格式的数据

                  +
                  var setting = {
                  +	data: {
                  +		simpleData: {
                  +			enable: true,
                  +			idKey: "id",
                  +			pIdKey: "pId",
                  +			rootPId: 0
                  +		}
                  +	}
                  +};
                  +var treeNodes = [
                  +    {"id":1, "pId":0, "name":"test1"},
                  +    {"id":11, "pId":1, "name":"test11"},
                  +    {"id":12, "pId":1, "name":"test12"},
                  +    {"id":111, "pId":11, "name":"test111"}
                  +];
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.autoExpandTrigger.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.autoExpandTrigger.html new file mode 100644 index 00000000..126b8a85 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.autoExpandTrigger.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  Booleansetting.edit.drag.autoExpandTrigger

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  拖拽时父节点自动展开是否触发 onExpand 事件回调函数。[setting.edit.enable = true 时生效]

                  +

                  默认值:false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 触发 / 不触发 onExpand 事件回调函数。

                  +
                  +

                  setting 举例

                  +

                  1. 设置拖拽时父节点自动展开触发 onExpand 事件回调函数

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			autoExpandTrigger: true
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.autoOpenTime.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.autoOpenTime.html new file mode 100644 index 00000000..df783392 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.autoOpenTime.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  Numbersetting.edit.drag.autoOpenTime

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  拖拽时父节点自动展开的延时间隔。 (单位:ms)[setting.edit.enable = true 时生效]

                  +

                  默认值:500

                  +

                  请根据自己的需求适当调整此值

                  +
                  +
                  +

                  setting 举例

                  +

                  1. 设置拖拽到父节点上立刻自动展开

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			autoOpenTime: 0
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.borderMax.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.borderMax.html new file mode 100644 index 00000000..1d4dd681 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.borderMax.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  Numbersetting.edit.drag.borderMax

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  拖拽节点成为根节点时的 Tree 内边界范围 (单位:px)。[setting.edit.enable = true 时生效]

                  +

                  默认值:10

                  +

                  请根据自己的需求适当调整此值

                  +
                  +
                  +

                  setting 举例

                  +

                  1. 更改拖拽操作节点成为根节点时的 Tree 内边界范围为20px

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			borderMax: 20
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.borderMin.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.borderMin.html new file mode 100644 index 00000000..463eb2b7 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.borderMin.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  Numbersetting.edit.drag.borderMin

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  拖拽节点成为根节点时的 Tree 外边界范围 (单位:px)。[setting.edit.enable = true 时生效]

                  +

                  默认值:-5

                  +

                  请根据自己的需求适当调整此值

                  +
                  +
                  +

                  setting 举例

                  +

                  1. 更改拖拽操作节点成为根节点时的 Tree 外边界范围为10px

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			borderMin: -10
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.inner.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.inner.html new file mode 100644 index 00000000..06679e1a --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.inner.html @@ -0,0 +1,59 @@ +
                  +
                  +

                  Boolean / Function(treeId, treeNodes, targetNode)setting.edit.drag.inner

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  拖拽到目标节点时,设置是否允许成为目标节点的子节点。[setting.edit.enable = true 时生效]

                  +

                  拖拽目标是 根 的时候,不触发 prev 和 next,只会触发 inner

                  +

                  此功能主要作用是对拖拽进行适当限制(辅助箭头),需要结合 prev、next 一起使用,才能实现完整功能。

                  +

                  默认值:true

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 允许 / 不允许 成为目标节点的子节点

                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控(多棵树拖拽时,是目标节点所在树的 treeId)

                  +

                  treeNodesArray(JSON)

                  +

                  被拖拽的节点 JSON 数据集合

                  +

                  targetNodeJSON

                  +

                  拖拽时的目标节点 JSON 数据对象

                  +

                  如果拖拽的节点要成为根节点,则 targetNode = null

                  +

                  返回值Boolean

                  +

                  返回值同 Boolean 格式的数据

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止拖拽成为目标节点的子节点

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			prev: true,
                  +			next: true,
                  +			inner: false
                  +		}
                  +	}
                  +};
                  +......
                  +

                  2. 禁止拖拽成为根节点的子节点

                  +
                  function canInner(treeId, nodes, targetNode) {
                  +	return !(targetNode && targetNode.level === 0);
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			prev: true,
                  +			next: true,
                  +			inner: canInner
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.isCopy.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.isCopy.html new file mode 100644 index 00000000..cff17afd --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.isCopy.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  Booleansetting.edit.drag.isCopy

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  拖拽时, 设置是否允许复制节点。[setting.edit.enable = true 时生效]

                  +

                  默认值:true

                  +
                  +
                  +

                  规则说明

                  +
                  +

                  1、isCopy = true; isMove = true 时,拖拽节点按下 Ctrl 或 Cmd 键表示 copy; 否则为 move

                  +

                  2、isCopy = true; isMove = false 时,所有拖拽操作都是 copy

                  +

                  3、isCopy = false; isMove = true 时,所有拖拽操作都是 move

                  +

                  4、isCopy = false; isMove = false 时,禁止拖拽操作

                  +
                  +

                  setting 举例

                  +

                  1. 设置所有拖拽操作都是 copy

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			isCopy: true,
                  +			isMove: false
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.isMove.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.isMove.html new file mode 100644 index 00000000..7fdadd18 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.isMove.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  Booleansetting.edit.drag.isMove

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  拖拽时, 设置是否允许移动节点。[setting.edit.enable = true 时生效]

                  +

                  默认值:true

                  +
                  +
                  +

                  规则说明

                  +
                  +

                  1、isCopy = true; isMove = true 时,拖拽节点按下 Ctrl 或 Cmd 键表示 copy; 否则为 move

                  +

                  2、isCopy = true; isMove = false 时,所有拖拽操作都是 copy

                  +

                  3、isCopy = false; isMove = true 时,所有拖拽操作都是 move

                  +

                  4、isCopy = false; isMove = false 时,禁止拖拽操作

                  +
                  +

                  setting 举例

                  +

                  1. 设置所有拖拽操作都是 move

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			isCopy: false,
                  +			isMove: true
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.maxShowNodeNum.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.maxShowNodeNum.html new file mode 100644 index 00000000..3e7a3d26 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.maxShowNodeNum.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  Numbersetting.edit.drag.maxShowNodeNum

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  拖拽多个兄弟节点时,浮动图层中显示的最大节点数。 多余的节点用...代替。[setting.edit.enable = true 时生效]

                  +

                  默认值:5

                  +

                  请根据自己的需求适当调整此值

                  +
                  +
                  +

                  setting 举例

                  +

                  1. 设置拖拽时最多可显示10个节点

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			maxShowNodeNum: 10
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.minMoveSize.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.minMoveSize.html new file mode 100644 index 00000000..904be414 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.minMoveSize.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  Numbersetting.edit.drag.minMoveSize

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  判定是否拖拽操作的最小位移值 (单位:px)。[setting.edit.enable = true 时生效]

                  +

                  根据自己的需求可适当调整此值,如果太小容易导致点击鼠标时误操作进行拖拽

                  +

                  默认值:5

                  +
                  +
                  +

                  setting 举例

                  +

                  1. 更改拖拽操作启动位移值为10px

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			minMoveSize: 10
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.next.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.next.html new file mode 100644 index 00000000..ffc874aa --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.next.html @@ -0,0 +1,58 @@ +
                  +
                  +

                  Boolean / Function(treeId, treeNodes, targetNode)setting.edit.drag.next

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  拖拽到目标节点时,设置是否允许移动到目标节点后面的操作。[setting.edit.enable = true 时生效]

                  +

                  拖拽目标是 根 的时候,不触发 prev 和 next,只会触发 inner

                  +

                  此功能主要作用是对拖拽进行适当限制(辅助箭头),需要结合 prev、inner 一起使用,才能实现完整功能。

                  +

                  默认值:true

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 允许 / 不允许 移动到目标节点后面

                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控(多棵树拖拽时,是目标节点所在树的 treeId)

                  +

                  treeNodesArray(JSON)

                  +

                  被拖拽的节点 JSON 数据集合

                  +

                  targetNodeJSON

                  +

                  拖拽时的目标节点 JSON 数据对象

                  +

                  返回值Boolean

                  +

                  返回值同 Boolean 格式的数据

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止拖拽到节点后面的操作

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			prev: true,
                  +			next: false,
                  +			inner: true
                  +		}
                  +	}
                  +};
                  +......
                  +

                  2. 禁止拖拽到父节点后面的操作

                  +
                  function canNext(treeId, nodes, targetNode) {
                  +	return !targetNode.isParent;
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			prev: true,
                  +			next: canNext,
                  +			inner: true
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.prev.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.prev.html new file mode 100644 index 00000000..bd053618 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.drag.prev.html @@ -0,0 +1,58 @@ +
                  +
                  +

                  Boolean / Function(treeId, treeNodes, targetNode)setting.edit.drag.prev

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  拖拽到目标节点时,设置是否允许移动到目标节点前面的操作。[setting.edit.enable = true 时生效]

                  +

                  拖拽目标是 根 的时候,不触发 prev 和 next,只会触发 inner

                  +

                  此功能主要作用是对拖拽进行适当限制(辅助箭头),需要结合 next、inner 一起使用,才能实现完整功能。

                  +

                  默认值:true

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 允许 / 不允许 移动到目标节点前面

                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控(多棵树拖拽时,是目标节点所在树的 treeId)

                  +

                  treeNodesArray(JSON)

                  +

                  被拖拽的节点 JSON 数据集合

                  +

                  targetNodeJSON

                  +

                  拖拽时的目标节点 JSON 数据对象

                  +

                  返回值Boolean

                  +

                  返回值同 Boolean 格式的数据

                  +
                  +

                  setting & function 举例

                  +

                  1. 禁止拖拽到节点前面的操作

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			prev: false,
                  +			next: true,
                  +			inner: true
                  +		}
                  +	}
                  +};
                  +......
                  +

                  2. 禁止拖拽到父节点前面的操作

                  +
                  function canPrev(treeId, nodes, targetNode) {
                  +	return !targetNode.isParent;
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			prev: canPrev,
                  +			next: true,
                  +			inner: true
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.editNameSelectAll.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.editNameSelectAll.html new file mode 100644 index 00000000..30784f3c --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.editNameSelectAll.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  Booleansetting.edit.editNameSelectAll

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  节点编辑名称 input 初次显示时,设置 txt 内容是否为全选状态。 [setting.edit.enable = true 时生效]

                  +

                  默认值: false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示 全选状态

                  +

                  false 表示 不是全选状态,光标默认在最后

                  +
                  +

                  setting 举例

                  +

                  1. 设置节点编辑名称 input 初次显示时,txt内容为全选状态

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		editNameSelectAll: true
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.enable.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.enable.html new file mode 100644 index 00000000..de1afeaf --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.enable.html @@ -0,0 +1,38 @@ +
                  +
                  +

                  Booleansetting.edit.enable

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  设置 zTree 是否处于编辑状态

                  +

                  请在初始化之前设置,初始化后需要改变编辑状态请使用 zTreeObj.setEditable() 方法

                  +

                  默认值: false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 可以 / 不可以 编辑

                  +
                  +

                  编辑状态规则说明

                  +
                  +

                  1、点击节点时,不会打开 node.url 指定的 URL。 +
                  2、全面支持 编辑 与 异步加载 状态共存。 +
                  3、可以对节点进行拖拽,且支持多棵树之间进行拖拽。 +
                  4、支持拖拽时 复制/移动 节点。(参考: setting.edit.drag.isCopy / setting.edit.drag.isMove) +
                  5、可以通过编辑按钮修改 name 属性。 +
                  6、可以通过删除按钮删除节点。 +
                  +

                  +

                  请注意大小写,不要改变

                  +
                  +

                  setting 举例

                  +

                  1. 设置 zTree 进入编辑状态

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.removeTitle.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.removeTitle.html new file mode 100644 index 00000000..55257da7 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.removeTitle.html @@ -0,0 +1,48 @@ +
                  +
                  +

                  String / Function(treeId, treeNode)setting.edit.removeTitle

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  删除按钮的 Title 辅助信息。[setting.edit.enable = true & setting.edit.showRemoveBtn = true 时生效]

                  +

                  默认值:"remove"

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  鼠标移动到 删除按钮 上时,浏览器自动弹出的辅助信息内容,可根据用户需要自行修改

                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  需要设置删除按钮 Title 信息的节点 JSON 数据对象

                  +

                  返回值String

                  +

                  返回值同 String 格式的数据

                  +
                  +

                  setting & function 举例

                  +

                  1. 设置删除按钮的 Title 辅助信息为: "删除节点"

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		showRemoveBtn: true,
                  +		removeTitle: "删除节点"
                  +	}
                  +};
                  +......
                  +

                  2. 设置父节点删除按钮的 Title 辅助信息为: "删除父节点"

                  +
                  function setRemoveTitle(treeId, treeNode) {
                  +	return treeNode.isParent ? "删除父节点":"删除叶子节点";
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true,
                  +		showRemoveBtn: true,
                  +		removeTitle: setRemoveTitle
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.renameTitle.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.renameTitle.html new file mode 100644 index 00000000..2dfbcca1 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.renameTitle.html @@ -0,0 +1,48 @@ +
                  +
                  +

                  String / Function(treeId, treeNode)setting.edit.renameTitle

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  编辑名称按钮的 Title 辅助信息。[setting.edit.enable = true & setting.edit.showRenameBtn = true 时生效]

                  +

                  默认值:"rename"

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  设置鼠标移动到 编辑名称按钮 上时,浏览器自动弹出的辅助信息内容,可根据用户需要自行修改

                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  需要设置编辑名称按钮 Title 信息的节点 JSON 数据对象

                  +

                  返回值String

                  +

                  返回值同 String 格式的数据

                  +
                  +

                  setting & function 举例

                  +

                  1. 设置编辑名称按钮的 Title 辅助信息为: "编辑节点名称"

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		showRenameBtn: true,
                  +		renameTitle: "编辑节点名称"
                  +	}
                  +};
                  +......
                  +

                  2. 设置父节点编辑名称按钮的 Title 辅助信息为: "编辑父节点名称"

                  +
                  function setRenameTitle(treeId, treeNode) {
                  +	return treeNode.isParent ? "编辑父节点名称":"编辑叶子节点名称";
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true,
                  +		showRenameBtn: true,
                  +		renameTitle: setRenameTitle
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.showRemoveBtn.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.showRemoveBtn.html new file mode 100644 index 00000000..db62053c --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.showRemoveBtn.html @@ -0,0 +1,49 @@ +
                  +
                  +

                  Boolean / Function(treeId, treeNode)setting.edit.showRemoveBtn

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  设置是否显示删除按钮。[setting.edit.enable = true 时生效]

                  +

                  当点击某节点的删除按钮时:

                  +

                  1、首先触发 setting.callback.beforeRemove 回调函数,用户可判定是否进行删除操作。

                  +

                  2、如果未设置 beforeRemove 或 beforeRemove 返回 true,则删除节点并触发 setting.callback.onRemove 回调函数。

                  +

                  默认值:true

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 显示 / 隐藏 删除按钮

                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  需要设置是否显示删除按钮的节点 JSON 数据对象

                  +

                  返回值Boolean

                  +

                  返回值同 Boolean 格式的数据

                  +
                  +

                  setting & function 举例

                  +

                  1. 不显示删除按钮

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		showRemoveBtn: false
                  +	}
                  +};
                  +......
                  +

                  2. 设置所有的父节点不显示删除按钮

                  +
                  function setRemoveBtn(treeId, treeNode) {
                  +	return !treeNode.isParent;
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true,
                  +		showRemoveBtn: setRemoveBtn
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.showRenameBtn.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.showRenameBtn.html new file mode 100644 index 00000000..33dd37aa --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.edit.showRenameBtn.html @@ -0,0 +1,51 @@ +
                  +
                  +

                  Boolean / Function(treeId, treeNode)setting.edit.showRenameBtn

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  设置是否显示编辑名称按钮。[setting.edit.enable = true 时生效]

                  +

                  当点击某节点的编辑名称按钮时:

                  +

                  1、进入节点编辑名称状态。

                  +

                  2、编辑名称完毕(Input 失去焦点 或 按下 Enter 键),会触发 setting.callback.beforeRename 回调函数,用户可根据自己的规则判定是否允许修改名称。

                  +

                  3、如果 beforeRename 返回 false,则继续保持编辑名称状态,直到名称符合规则位置 (按下 ESC 键可取消编辑名称状态,恢复原名称)。

                  +

                  4、如果未设置 beforeRename 或 beforeRename 返回 true,则结束节点编辑名称状态,更新节点名称,并触发 setting.callback.onRename 回调函数。

                  +

                  默认值:true

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 显示 / 隐藏 编辑名称按钮

                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  需要设置是否显示编辑名称按钮的节点 JSON 数据对象

                  +

                  返回值Boolean

                  +

                  返回值同 Boolean 格式的数据

                  +
                  +

                  setting & function 举例

                  +

                  1. 不显示编辑名称按钮

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		showRenameBtn: false
                  +	}
                  +};
                  +......
                  +

                  2. 设置所有的父节点不显示编辑名称按钮

                  +
                  function setRenameBtn(treeId, treeNode) {
                  +	return !treeNode.isParent;
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true,
                  +		showRenameBtn: setRenameBtn
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.treeId.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.treeId.html new file mode 100644 index 00000000..819743eb --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.treeId.html @@ -0,0 +1,14 @@ +
                  +
                  +

                  Stringsetting.treeId

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  zTree 的唯一标识,初始化后,等于 用户定义的 zTree 容器的 id 属性值。

                  +

                  请勿进行初始化 或 修改,属于内部参数。

                  +
                  +
                  + +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.treeObj.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.treeObj.html new file mode 100644 index 00000000..37684a19 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.treeObj.html @@ -0,0 +1,14 @@ +
                  +
                  +

                  Objectsetting.treeObj

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  zTree 容器的 jQuery 对象,主要功能:便于操作。

                  +

                  请勿进行初始化 或 修改,属于内部参数。

                  +
                  +
                  + +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.addDiyDom.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.addDiyDom.html new file mode 100644 index 00000000..0a508acc --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.addDiyDom.html @@ -0,0 +1,40 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.view.addDiyDom

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于在节点上固定显示用户自定义控件

                  +

                  1. 大数据量的节点加载请注意:在 addDiyDom 中针对每个节点 查找 DOM 对象并且添加新 DOM 控件,肯定会影响初始化性能;如果不是必须使用,建议不使用此功能

                  +

                  2. 属于高级应用,使用时请确保对 zTree 比较了解。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  需要显示自定义控件的节点 JSON 数据对象

                  +
                  +

                  setting & function 举例

                  +

                  1. 设置节点后面显示一个按钮

                  +
                  var setting = {
                  +	view: {
                  +		addDiyDom: addDiyDom
                  +	}
                  +};
                  +function addDiyDom(treeId, treeNode) {
                  +	var aObj = $("#" + treeNode.tId + "_a");
                  +	if ($("#diyBtn_"+treeNode.id).length>0) return;
                  +	var editStr = "<span id='diyBtn_space_" +treeNode.id+ "' > </span>"
                  +		+ "<button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
                  +		+ "' title='"+treeNode.name+"' onfocus='this.blur();'></button>";
                  +	aObj.append(editStr);
                  +	var btn = $("#diyBtn_"+treeNode.id);
                  +	if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.addHoverDom.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.addHoverDom.html new file mode 100644 index 00000000..f073e79c --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.addHoverDom.html @@ -0,0 +1,45 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.view.addHoverDom

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  用于当鼠标移动到节点上时,显示用户自定义控件,显示隐藏状态同 zTree 内部的编辑、删除按钮

                  +

                  请务必与 setting.view.removeHoverDom 同时使用;属于高级应用,使用时请确保对 zTree 比较了解。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  需要显示自定义控件的节点 JSON 数据对象

                  +
                  +

                  setting & function 举例

                  +

                  1. 设置鼠标移到节点上,在后面显示一个按钮

                  +
                  var setting = {
                  +	view: {
                  +		addHoverDom: addHoverDom,
                  +		removeHoverDom: removeHoverDom,
                  +		......
                  +	}
                  +};
                  +function addHoverDom(treeId, treeNode) {
                  +	var aObj = $("#" + treeNode.tId + "_a");
                  +	if ($("#diyBtn_"+treeNode.id).length>0) return;
                  +	var editStr = "<span id='diyBtn_space_" +treeNode.id+ "' > </span>"
                  +		+ "<button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
                  +		+ "' title='"+treeNode.name+"' onfocus='this.blur();'></button>";
                  +	aObj.append(editStr);
                  +	var btn = $("#diyBtn_"+treeNode.id);
                  +	if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
                  +};
                  +function removeHoverDom(treeId, treeNode) {
                  +	$("#diyBtn_"+treeNode.id).unbind().remove();
                  +	$("#diyBtn_space_" +treeNode.id).unbind().remove();
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.autoCancelSelected.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.autoCancelSelected.html new file mode 100644 index 00000000..4890f787 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.autoCancelSelected.html @@ -0,0 +1,26 @@ +
                  +
                  +

                  Booleansetting.view.autoCancelSelected

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  点击节点时,按下 Ctrl 或 Cmd 键是否允许取消选择操作。

                  +

                  如果不需要此功能,请设置为 false。

                  +

                  默认值: true

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 支持 / 不支持 配合 Ctrl 或 Cmd 键进行取消节点选择的操作

                  +
                  +

                  setting 举例

                  +

                  1. 禁止配合 Ctrl 或 Cmd 键进行取消节点选择的操作

                  +
                  var setting = {
                  +	view: {
                  +		autoCancelSelected: false
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.dblClickExpand.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.dblClickExpand.html new file mode 100644 index 00000000..5f3db964 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.dblClickExpand.html @@ -0,0 +1,44 @@ +
                  +
                  +

                  Boolean / Function(treeId, treeNode)setting.view.dblClickExpand

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  双击节点时,是否自动展开父节点的标识

                  +

                  默认值: true

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示双击节点 切换 / 不切换 展开状态

                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  需要设置是否双击切换展开状态的节点 JSON 数据对象

                  +

                  返回值Boolean

                  +

                  返回值同 Boolean 格式的数据

                  +
                  +

                  setting 举例

                  +

                  1. 取消默认双击展开父节点的功能

                  +
                  var setting = {
                  +	view: {
                  +		dblClickExpand: false
                  +	}
                  +};
                  +......
                  +

                  2. 设置 zTree 仅仅 level=0 的父节点取消双击展开的功能

                  +
                  function dblClickExpand(treeId, treeNode) {
                  +	return treeNode.level > 0;
                  +};
                  +var setting = {
                  +	view: {
                  +		dblClickExpand: dblClickExpand
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.expandSpeed.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.expandSpeed.html new file mode 100644 index 00000000..3b799c32 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.expandSpeed.html @@ -0,0 +1,31 @@ +
                  +
                  +

                  String / Numbersetting.view.expandSpeed

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  zTree 节点展开、折叠时的动画速度,设置方法同 JQuery 动画效果中 speed 参数。

                  +

                  IE6 下会自动关闭动画效果,以保证 zTree 的操作速度

                  +

                  默认值:"fast"

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  三种预定速度之一的字符串("slow", "normal", or "fast")

                  +

                  设置为 "" 时,不显示动画效果

                  +
                  +

                  Number 格式说明

                  +
                  +

                  表示动画时长的毫秒数值 (如:1000)

                  +
                  +

                  setting 举例

                  +

                  1. 设置为慢速显示动画效果

                  +
                  var setting = {
                  +	view: {
                  +		expandSpeed: "slow"
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.fontCss.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.fontCss.html new file mode 100644 index 00000000..54efb1bb --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.fontCss.html @@ -0,0 +1,42 @@ +
                  +
                  +

                  JSON / Function(treeId, treeNode)setting.view.fontCss

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  个性化文字样式,只针对 zTree 在节点上显示的<A>对象。

                  +

                  默认值:{}

                  +
                  +
                  +

                  JSON 格式说明

                  +
                  +

                  JSON 格式为 JQuery css方法中的 JSON 对象格式,例如:{color:"#ff0011", background:"blue"}

                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  需要设置自定义样式的节点 JSON 数据对象

                  +

                  返回值JSON

                  +

                  返回值同 JSON 格式的数据,例如:{color:"#ff0011", background:"blue"}

                  +
                  +

                  setting & function 举例

                  +

                  1. 不修改CSS,设置全部节点 name 显示为红色

                  +
                  var setting = {
                  +	view: {
                  +		fontCss : {color:"red"}
                  +	}
                  +};
                  +

                  2. 设置 level=0 的节点 name 显示为红色

                  +
                  function setFontCss(treeId, treeNode) {
                  +	return treeNode.level == 0 ? {color:"red"} : {};
                  +};
                  +var setting = {
                  +	view: {
                  +		fontCss: setFontCss
                  +	}
                  +};
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.nameIsHTML.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.nameIsHTML.html new file mode 100644 index 00000000..a1d916c5 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.nameIsHTML.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  Booleansetting.view.nameIsHTML

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  设置 name 属性是否支持 HTML 脚本

                  +

                  如果允许 HTML 脚本,请根据自己的需求做校验,避免出现 js 注入等安全问题。

                  +

                  默认值: false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 支持 / 不支持 HTML 脚本

                  +
                  +

                  setting 举例

                  +

                  1. 设置 name 属性支持 HTML 脚本

                  +
                  var setting = {
                  +	view: {
                  +		nameIsHTML: true
                  +	}
                  +};
                  +var node = {"name":"<font color='red'>test</font>"};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.removeHoverDom.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.removeHoverDom.html new file mode 100644 index 00000000..bb1a9aa2 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.removeHoverDom.html @@ -0,0 +1,45 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.view.removeHoverDom

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  用于当鼠标移出节点时,隐藏用户自定义控件,显示隐藏状态同 zTree 内部的编辑、删除按钮

                  +

                  请务必与 addHoverDom 同时使用;属于高级应用,使用时请确保对 zTree 比较了解。

                  +

                  默认值:null

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  需要隐藏自定义控件的节点 JSON 数据对象

                  +
                  +

                  setting & function 举例

                  +

                  1. 设置鼠标移到节点上,在后面显示一个按钮

                  +
                  var setting = {
                  +	view: {
                  +		addHoverDom: addHoverDom,
                  +		removeHoverDom: removeHoverDom,
                  +		......
                  +	}
                  +};
                  +function addHoverDom(treeId, treeNode) {
                  +	var aObj = $("#" + treeNode.tId + "_a");
                  +	if ($("#diyBtn_"+treeNode.id).length>0) return;
                  +	var editStr = "<span id='diyBtn_space_" +treeNode.id+ "' > </span>"
                  +		+ "<button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
                  +		+ "' title='"+treeNode.name+"' onfocus='this.blur();'></button>";
                  +	aObj.append(editStr);
                  +	var btn = $("#diyBtn_"+treeNode.id);
                  +	if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
                  +};
                  +function removeHoverDom(treeId, treeNode) {
                  +	$("#diyBtn_"+treeNode.id).unbind().remove();
                  +	$("#diyBtn_space_" +treeNode.id).unbind().remove();
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.selectedMulti.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.selectedMulti.html new file mode 100644 index 00000000..2cc65a2e --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.selectedMulti.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  Booleansetting.view.selectedMulti

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  设置是否允许同时选中多个节点。

                  +

                  默认值: true

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 支持 / 不支持 同时选中多个节点

                  +

                  1、设置为 true时,按下 Ctrl 或 Cmd 键可以选中多个节点

                  +

                  2、设置为 true / false 都不影响按下 Ctrl 或 Cmd 键可以让已选中的节点取消选中状态( 取消选中状态可以参考 setting.view.autoCancelSelected )

                  +
                  +

                  setting 举例

                  +

                  1. 禁止多点同时选中的功能

                  +
                  var setting = {
                  +	view: {
                  +		selectedMulti: false
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.showIcon.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.showIcon.html new file mode 100644 index 00000000..ebe423ca --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.showIcon.html @@ -0,0 +1,44 @@ +
                  +
                  +

                  Boolean / Function(treeId, treeNode)setting.view.showIcon

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  设置 zTree 是否显示节点的图标。

                  +

                  默认值:true

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 显示 / 隐藏 图标

                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  需要设置是否显示图标的节点 JSON 数据对象

                  +

                  返回值Boolean

                  +

                  返回值同 Boolean 格式的数据

                  +
                  +

                  setting & function 举例

                  +

                  1. 设置 zTree 不显示图标

                  +
                  var setting = {
                  +	view: {
                  +		showIcon: false
                  +	}
                  +};
                  +......
                  +

                  2. 设置 zTree 仅仅 level=2 的节点不显示图标

                  +
                  function showIconForTree(treeId, treeNode) {
                  +	return treeNode.level != 2;
                  +};
                  +var setting = {
                  +	view: {
                  +		showIcon: showIconForTree
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.showLine.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.showLine.html new file mode 100644 index 00000000..02ab5ebb --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.showLine.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  Booleansetting.view.showLine

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  设置 zTree 是否显示节点之间的连线。

                  +

                  默认值:true

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 显示 / 不显示 连线

                  +
                  +

                  setting 举例

                  +

                  1. 设置 zTree 不显示节点之间的连线

                  +
                  var setting = {
                  +	view: {
                  +		showLine: false
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.showTitle.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.showTitle.html new file mode 100644 index 00000000..5bcb8600 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.showTitle.html @@ -0,0 +1,46 @@ +
                  +
                  +

                  Boolean / Function(treeId, treeNode)setting.view.showTitle

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  设置 zTree 是否显示节点的 title 提示信息(即节点 DOM 的 title 属性)。

                  +

                  请务必与 setting.data.key.title 同时使用。

                  +

                  默认值:true

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 显示 / 隐藏 提示信息

                  +

                  如果 setting.view.showTitle = true & setting.data.key.title = '',zTree 会自动使用 setting.data.key.name 指定的节点名称当做 title

                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeIdString

                  +

                  对应 zTree 的 treeId,便于用户操控

                  +

                  treeNodeJSON

                  +

                  需要设置是否显示提示信息的节点 JSON 数据对象

                  +

                  返回值Boolean

                  +

                  返回值同 Boolean 格式的数据

                  +
                  +

                  setting & function 举例

                  +

                  1. 设置 zTree 不显示提示信息

                  +
                  var setting = {
                  +	view: {
                  +		showTitle: false
                  +	}
                  +};
                  +......
                  +

                  2. 设置 zTree 仅仅 level=2 的节点不显示提示信息

                  +
                  function showTitleForTree(treeId, treeNode) {
                  +	return treeNode.level != 2;
                  +};
                  +var setting = {
                  +	view: {
                  +		showTitle: showTitleForTree
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.txtSelectedEnable.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.txtSelectedEnable.html new file mode 100644 index 00000000..c22a8c00 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.view.txtSelectedEnable.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  Booleansetting.view.txtSelectedEnable

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  设置 zTree 是否允许可以选择 zTree DOM 内的文本。

                  +

                  默认值:false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true / false 分别表示 允许 / 不允许 选择 zTree Dom 内的文本

                  +
                  +

                  setting & function 举例

                  +

                  1. 设置 zTree 允许选择文本

                  +
                  var setting = {
                  +	view: {
                  +		txtSelectedEnable: true
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.check_Child_State.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.check_Child_State.html new file mode 100644 index 00000000..fa378994 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.check_Child_State.html @@ -0,0 +1,43 @@ +
                  +
                  +

                  NumbertreeNode.check_Child_State

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  用于设置节点的子节点的 checkBox / radio 的半选状态。[setting.check.enable = true 时有效]

                  +

                  v3.x 针对节点数据对象提供 treeNode.getCheckStatus() 方法获取标准的半选状态

                  +

                  zTree 内部使用,请勿进行初始化 或 随意修改

                  +

                  默认值:true

                  +
                  +
                  +

                  Number 格式说明

                  +
                  +

                  规则如下:

                  + + + + + + + + + + + +
                  setting.check.checkType = "checkbox"
                  treeNode.check_Child_State勾选状态说明
                  -1不存在子节点 或 子节点全部设置为 nocheck = true
                  0无 子节点被勾选
                  1部分 子节点被勾选
                  2全部 子节点被勾选
                  +
                  + + + + + + + + + + +
                  setting.check.checkType = "radio"
                  treeNode.check_Child_State勾选状态说明
                  -1不存在子节点 或 子节点全部设置为 nocheck = true
                  0无 子节点被勾选
                  2有 子节点被勾选
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.check_Focus.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.check_Focus.html new file mode 100644 index 00000000..785aec9f --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.check_Focus.html @@ -0,0 +1,19 @@ +
                  +
                  +

                  BooleantreeNode.check_Focus

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  用于设置节点的 checkBox / radio 的 focus 状态。[setting.check.enable = true 时有效]

                  +

                  zTree 内部使用,请勿进行初始化 或 随意修改

                  +

                  默认值:false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示当前鼠标移动到输入框内

                  +

                  false 表示当前鼠标移动到输入框外

                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.checked.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.checked.html new file mode 100644 index 00000000..049d6ba4 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.checked.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  BooleantreeNode.checked

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  节点的 checkBox / radio 的 勾选状态。[setting.check.enable = true & treeNode.nocheck = false 时有效]

                  +

                  1、如果不使用 checked 属性设置勾选状态,请修改 setting.data.key.checked

                  +

                  2、建立 treeNode 数据时设置 treeNode.checked = true 可以让节点的输入框默认为勾选状态

                  +

                  3、修改节点勾选状态,可以使用 treeObj.checkNode / checkAllNodes / updateNode 方法,具体使用哪种请根据自己的需求而定

                  +

                  4、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据

                  +

                  默认值:false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示节点的输入框被勾选

                  +

                  false 表示节点的输入框未勾选

                  +
                  +

                  treeNode 举例

                  +

                  1. 初始化的数据设置 默认为勾选状态

                  +
                  var nodes = [
                  +{ "id":1, "name":"test1", checked:true },
                  +{ "id":2, "name":"test2", checked:true }
                  +]
                  +

                  2. 获取第一个根节点的勾选状态

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var checked = treeObj.getNodes()[0].checked;
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.checkedOld.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.checkedOld.html new file mode 100644 index 00000000..cab717e7 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.checkedOld.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  BooleantreeNode.checkedOld

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  节点的 checkBox / radio 在初始化时的 勾选状态。[setting.check.enable = true & treeNode.nocheck = false 时有效]

                  +

                  1、zTree 初始化节点数据时会对此属性进行赋值,因此请勿对此属性初始化

                  +

                  2、如需配合 zTreeObj.getChangeCheckedNodes 方法实现特殊功能,可以根据需求在使用中自行修改 checkedOld 数据

                  +

                  默认值:checked的初始化值

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示节点初始化时 输入框被勾选

                  +

                  false 表示节点初始化时 输入框未勾选

                  +
                  +

                  treeNode 举例

                  +

                  1. 获取第一个根节点的初始勾选状态

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var checkedOld = treeObj.getNodes()[0].checkedOld;
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.children.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.children.html new file mode 100644 index 00000000..4bab8351 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.children.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Array(JSON)treeNode.children

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  节点的子节点数据集合。

                  +

                  1、如果不使用 children 属性保存子节点数据,请修改 setting.data.key.children

                  +

                  2、异步加载时,对于设置了 isParent = true 的节点,在展开时将进行异步加载

                  +

                  默认值:无

                  +
                  +
                  +

                  Array(JSON) 格式说明

                  +
                  +

                  标准的 JSON 数据对象

                  +
                  +

                  treeNode 举例

                  +

                  1. 初始化的标准嵌套格式的 JSON 数据对象

                  +
                  var nodes = [
                  +{ "id":1, "name":"test1",
                  +	children: [
                  +	{ "id":3, "name":"test3"},
                  +	{ "id":4, "name":"test4"},
                  +	{ "id":5, "name":"test5"}
                  +	]
                  +},
                  +{ "id":2, "name":"test2"  }
                  +]
                  +

                  2. 获取第一个根节点的子节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes()[0].children;
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.chkDisabled.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.chkDisabled.html new file mode 100644 index 00000000..e6bb0322 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.chkDisabled.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  BooleantreeNode.chkDisabled

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  1、设置节点的 checkbox / radio 是否禁用 [setting.check.enable = true 时有效]

                  +

                  2、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据

                  +

                  3、请勿对已加载的节点修改此属性,禁止 或 取消禁止 请使用 setChkDisabled() 方法

                  +

                  4、初始化时,如果需要子孙节点继承父节点的 chkDisabled 属性,请设置 setting.check.chkDisabledInherit 属性

                  +

                  默认值:false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示此节点的 checkbox / radio 被禁用。

                  +

                  false 表示此节点的 checkbox / radio 可以使用。

                  +
                  +

                  treeNode 举例

                  +

                  1. 禁用节点 checkbox / radio

                  +
                  var nodes = [
                  +	{ "id":1, "name":"test1", "checked":true, "chkDisabled":true},
                  +	{ "id":2, "name":"test2", "chkDisabled":true},
                  +	{ "id":3, "name":"test3"}
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.click.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.click.html new file mode 100644 index 00000000..833c6784 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.click.html @@ -0,0 +1,24 @@ +
                  +
                  +

                  StringtreeNode.click

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  最简单的 click 事件操作。相当于 onclick="..." 的内容。 如果操作较复杂,请使用 onClick 事件回调函数。

                  +

                  由于 IE 对于 onclick 和 click事件共存时的处理与其他浏览器不同,所以请不要利用此参数控制是否允许跳转的操作(例如:treeNode.click = "return false;")。如有类似需求,请不要使用 url 属性设置网址,同时利用 onClick 回调函数控制跳转。

                  +

                  默认值:无

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  标准 javascript 语法, 例如:alert("test"); 等

                  +
                  +

                  treeNode 举例

                  +

                  1. 设置某节点点击时,弹出信息框

                  +
                  var nodes = [
                  +	{ "id":1, "name":"Google CN", "url":"http://g.cn", "click":"alert('test');"},
                  +	......
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.diy.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.diy.html new file mode 100644 index 00000000..b2fb0d9e --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.diy.html @@ -0,0 +1,15 @@ +
                  +
                  +

                  ?treeNode.* DIY *

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  用于保存节点的其他自定义数据信息,不要与 zTree 使用的属性相同即可,用户可随意设定。

                  +
                  +
                  +

                  treeNode 举例

                  +

                  1. 设置节点的备用英文名称

                  +
                  var node = { "id":1, "name":"test1", "ename":"test eName"};
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.editNameFlag.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.editNameFlag.html new file mode 100644 index 00000000..51162b8b --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.editNameFlag.html @@ -0,0 +1,19 @@ +
                  +
                  +

                  BooleantreeNode.editNameFlag

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  用于记录节点是否处于编辑名称状态。[setting.edit.enable = true 时有效]

                  +

                  zTree 内部使用,请勿进行初始化 或 随意修改

                  +

                  默认值:false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示节点处于编辑名称状态

                  +

                  false 表示节点未处于编辑名称状态

                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.getCheckStatus.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.getCheckStatus.html new file mode 100644 index 00000000..fc20eac4 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.getCheckStatus.html @@ -0,0 +1,63 @@ +
                  +
                  +

                  Function()treeNode.getCheckStatus

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  获取节点 checkbox / radio 半勾选状态。[setting.check.enable = true 时有效]

                  +

                  初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  返回值JSON

                  +
                  {
                  +	checked: true, //等同于 treeNode.checked
                  +	half: true  //规则见下表
                  +}
                  + + + + + + + + + + + + + + + + + + +
                  setting.check.checkType = "checkbox"
                  treeNode.checkedtreeNode.check_Child_StatetreeNode.halfCheck half
                  --truetrue
                   
                  true-1falsefalse
                  true0falsetrue
                  true1falsetrue
                  true2falsefalse
                   
                  false-1falsefalse
                  false0falsefalse
                  false1falsetrue
                  false2falsetrue
                  +
                  + + + + + + + + + + + + + + + + +
                  setting.check.checkType = "radio"
                  treeNode.checkedtreeNode.check_Child_StatetreeNode.halfCheck half
                  --truetrue
                   
                  true-1falsefalse
                  true0falsefalse
                  true2falsetrue
                   
                  false-1falsefalse
                  false0falsefalse
                  false2falsetrue
                  +
                  +

                  treeNode 举例

                  +

                  1. 获取第一个根节点的半选状态

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var halfCheck = treeObj.getNodes()[0].getCheckStatus();
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.getNextNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.getNextNode.html new file mode 100644 index 00000000..7a0fa5c0 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.getNextNode.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  Function()treeNode.getNextNode

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  获取与 treeNode 节点相邻的后一个节点。

                  +

                  初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  返回值JSON

                  +

                  与 treeNode 节点相邻的后一个节点。

                  +

                  如果 treeNode 是最后一个节点,返回 null 。

                  +
                  +

                  treeNode 举例

                  +

                  1. 获取当前被选中的节点的下一个节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var node = sNodes[0].getNextNode();
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.getParentNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.getParentNode.html new file mode 100644 index 00000000..31309a62 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.getParentNode.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  Function()treeNode.getParentNode

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  获取 treeNode 节点的父节点。

                  +

                  初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  返回值JSON

                  +

                  treeNode 节点的父节点 JSON 数据对象。

                  +

                  如果 treeNode 是根节点,返回 null 。

                  +
                  +

                  treeNode 举例

                  +

                  1. 获取当前被选中的节点的父节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var node = sNodes[0].getParentNode();
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.getPreNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.getPreNode.html new file mode 100644 index 00000000..9d841841 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.getPreNode.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  Function()treeNode.getPreNode

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  获取与 treeNode 节点相邻的前一个节点。

                  +

                  初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  返回值JSON

                  +

                  与 treeNode 节点相邻的前一个节点。

                  +

                  如果 treeNode 是第一个节点,返回 null 。

                  +
                  +

                  treeNode 举例

                  +

                  1. 获取当前被选中的节点的前一个节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var node = sNodes[0].getPreNode();
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.halfCheck.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.halfCheck.html new file mode 100644 index 00000000..23ac744c --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.halfCheck.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  BooleantreeNode.halfCheck

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  强制节点的 checkBox / radio 的 半勾选状态。[setting.check.enable = true & treeNode.nocheck = false 时有效]

                  +

                  1、强制为半勾选状态后,不再进行自动计算半勾选状态

                  +

                  2、设置 treeNode.halfCheck = false 或 null 才能恢复自动计算半勾选状态

                  +

                  3、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据

                  +

                  默认值:false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示节点的输入框 强行设置为半勾选

                  +

                  false 表示节点的输入框 根据 zTree 的规则自动计算半勾选状态

                  +
                  +

                  treeNode 举例

                  +

                  1. 初始化的数据设置 默认为半勾选状态

                  +
                  var nodes = [
                  +{ "id":1, "name":"test1", isParent:true, checked:true, halfCheck:true },
                  +{ "id":2, "name":"test2", isParent:true, checked:false, halfCheck:true },
                  +{ "id":3, "name":"test3", isParent:true, checked:true },
                  +{ "id":4, "name":"test4", isParent:true, checked:false }
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.icon.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.icon.html new file mode 100644 index 00000000..69c5db16 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.icon.html @@ -0,0 +1,33 @@ +
                  +
                  +

                  StringtreeNode.icon

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  节点自定义图标的 URL 路径。

                  +

                  1、父节点如果只设置 icon ,会导致展开、折叠时都使用同一个图标

                  +

                  2、父节点展开、折叠使用不同的个性化图标需要同时设置 treeNode.iconOpen / treeNode.iconClose 两个属性

                  +

                  3、如果想利用 className 设置个性化图标,需要设置 treeNode.iconSkin 属性

                  +

                  默认值:无

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  图标图片的 url 可以是相对路径也可以是绝对路径

                  +

                  设置相对路径请注意页面与图片之间的关系,确保图片能够正常加载

                  +
                  +

                  treeNode 举例

                  +

                  1. 设置节点的个性化图标

                  +
                  var nodes = [
                  +	//父节点展开 折叠时使用相同的图标
                  +	{ name:"父节点1", icon:"/img/parent.gif"},
                  +
                  +	//父节点展开 折叠时分别使用不同的图标
                  +	{ name:"父节点2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"}, 
                  +
                  +	//叶子节点个性化图标
                  +	{ name:"叶子节点", icon:"/img/leaf.gif"}
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.iconClose.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.iconClose.html new file mode 100644 index 00000000..f51da9c9 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.iconClose.html @@ -0,0 +1,33 @@ +
                  +
                  +

                  StringtreeNode.iconClose

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  父节点自定义折叠时图标的 URL 路径。

                  +

                  1、此属性只针对父节点有效

                  +

                  2、此属性必须与 iconOpen 同时使用

                  +

                  3、如果想利用 className 设置个性化图标,需要设置 treeNode.iconSkin 属性

                  +

                  默认值:无

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  图标图片的 url 可以是相对路径也可以是绝对路径

                  +

                  设置相对路径请注意页面与图片之间的关系,确保图片能够正常加载

                  +
                  +

                  treeNode 举例

                  +

                  1. 设置节点的个性化图标

                  +
                  var nodes = [
                  +	//父节点展开 折叠时使用相同的图标
                  +	{ name:"父节点1", icon:"/img/parent.gif"},
                  +
                  +	//父节点展开 折叠时分别使用不同的图标
                  +	{ name:"父节点2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"}, 
                  +
                  +	//叶子节点个性化图标
                  +	{ name:"叶子节点", icon:"/img/leaf.gif"}
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.iconOpen.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.iconOpen.html new file mode 100644 index 00000000..29c9baae --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.iconOpen.html @@ -0,0 +1,33 @@ +
                  +
                  +

                  StringtreeNode.iconOpen

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  父节点自定义展开时图标的 URL 路径。

                  +

                  1、此属性只针对父节点有效

                  +

                  2、此属性必须与 iconClose 同时使用

                  +

                  3、如果想利用 className 设置个性化图标,需要设置 treeNode.iconSkin 属性

                  +

                  默认值:无

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  图标图片的 url 可以是相对路径也可以是绝对路径

                  +

                  设置相对路径请注意页面与图片之间的关系,确保图片能够正常加载

                  +
                  +

                  treeNode 举例

                  +

                  1. 设置节点的个性化图标

                  +
                  var nodes = [
                  +	//父节点展开 折叠时使用相同的图标
                  +	{ name:"父节点1", icon:"/img/parent.gif"},
                  +
                  +	//父节点展开 折叠时分别使用不同的图标
                  +	{ name:"父节点2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"}, 
                  +
                  +	//叶子节点个性化图标
                  +	{ name:"叶子节点", icon:"/img/leaf.gif"}
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.iconSkin.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.iconSkin.html new file mode 100644 index 00000000..d5d97269 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.iconSkin.html @@ -0,0 +1,43 @@ +
                  +
                  +

                  StringtreeNode.iconSkin

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  节点自定义图标的 className

                  +

                  1、需要修改 css,增加相应 className 的设置

                  +

                  2、css 方式简单、方便,并且同时支持父节点展开、折叠状态切换图片

                  +

                  3、css 建议采用图片分割渲染的方式以减少反复加载图片,并且避免图片闪动

                  +

                  4、zTree v3.x 的 iconSkin 同样支持 IE6

                  +

                  5、如果想直接使用 图片的Url路径 设置节点的个性化图标,需要设置 treeNode.icon / treeNode.iconOpen / treeNode.iconClose 属性

                  +

                  默认值:无

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  设置个性图标的 className

                  +
                  +

                  css & treeNode 举例

                  +

                  1. 设置节点的个性化图标

                  +
                  css 内容:
                  +.ztree li span.button.diy01_ico_open, .ztree li span.button.diy01_ico_close{...}
                  +
                  +.ztree li span.button.diy02_ico_open{...}
                  +.ztree li span.button.diy02_ico_close{...}
                  +
                  +.ztree li span.button.diy03_ico_docu{...}
                  +
                  +js中节点数据:
                  +var nodes = [
                  +	//父节点展开 折叠时使用相同的图标
                  +	{ name:"父节点1", iconSkin:"diy01"},
                  +
                  +	//父节点展开 折叠时分别使用不同的图标
                  +	{ name:"父节点2", iconSkin:"diy02"},
                  +
                  +	//叶子节点个性化图标
                  +	{ name:"叶子节点", iconSkin:"diy03"}
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isAjaxing.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isAjaxing.html new file mode 100644 index 00000000..330c1202 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isAjaxing.html @@ -0,0 +1,26 @@ +
                  +
                  +

                  BooleantreeNode.isAjaxing

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  记录 treeNode 节点是否正在进行异步加载。

                  +

                  初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示节点正在进行异步加载

                  +

                  false 表示节点没有进行异步加载

                  +
                  +

                  treeNode 举例

                  +

                  1. 查看当前被选中的节点是否节点正在进行异步加载

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var isAjaxing = sNodes[0].isAjaxing;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isFirstNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isFirstNode.html new file mode 100644 index 00000000..83b80bd9 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isFirstNode.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  BooleantreeNode.isFirstNode

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  记录 treeNode 节点是否为同级节点中的第一个节点。

                  +

                  使用 exhide 扩展后,只针对显示的节点设置此属性

                  +

                  初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示是同级节点中的第一个节点

                  +

                  false 表示不是同级节点中的第一个节点

                  +

                  节点被隐藏后,isFirstNode = false

                  +
                  +

                  treeNode 举例

                  +

                  1. 查看当前被选中的节点是否是同级节点中的第一个节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var isFirstNode = sNodes[0].isFirstNode;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isHidden.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isHidden.html new file mode 100644 index 00000000..5fb388e2 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isHidden.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  BooleantreeNode.isHidden

                  +

                  概述[ 依赖 jquery.ztree.exhide 扩展 js ]

                  +
                  +

                  +
                  +

                  判断 treeNode 节点是否被隐藏。

                  +

                  1、初始化 zTree 时,如果节点设置 isHidden = true,会被自动隐藏

                  +

                  2、请勿对已加载的节点修改此属性,隐藏 / 显示 请使用 hideNode() / hideNodes() / showNode() / showNodes() 方法

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示被隐藏

                  +

                  false 表示被显示

                  +
                  +

                  treeNode 举例

                  +

                  1. 查看第一个根节点是否被隐藏

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getNodes();
                  +if (sNodes.length > 0) {
                  +	var isHidden = sNodes[0].isHidden;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isHover.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isHover.html new file mode 100644 index 00000000..dcef6eba --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isHover.html @@ -0,0 +1,19 @@ +
                  +
                  +

                  BooleantreeNode.isHover

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  记录节点 的 hover 状态,主要用于 setting.view.addHoverDom / removeHoverDom 。

                  +

                  zTree 内部使用,请勿进行初始化 或 随意修改

                  +

                  默认值:false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示节点处于 hover 状态

                  +

                  false 表示节点未处于 hover 状态

                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isLastNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isLastNode.html new file mode 100644 index 00000000..5d5ac822 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isLastNode.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  BooleantreeNode.isLastNode

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  记录 treeNode 节点是否为同级节点中的最后一个节点。

                  +

                  使用 exhide 扩展后,只针对显示的节点设置此属性

                  +

                  初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示是同级节点中的最后一个节点

                  +

                  false 表示不是同级节点中的最后一个节点

                  +

                  节点被隐藏后,isLastNode = false

                  +
                  +

                  treeNode 举例

                  +

                  1. 查看当前被选中的节点是否是同级节点中的最后一个节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var isLastNode = sNodes[0].isLastNode;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isParent.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isParent.html new file mode 100644 index 00000000..bab887e0 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.isParent.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  BooleantreeNode.isParent

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  记录 treeNode 节点是否为父节点。

                  +

                  1、初始化节点数据时,根据 treeNode.children 属性判断,有子节点则设置为 true,否则为 false

                  +

                  2、初始化节点数据时,如果设定 treeNode.isParent = true,即使无子节点数据,也会设置为父节点

                  +

                  3、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示是父节点

                  +

                  false 表示不是父节点

                  +
                  +

                  treeNode 举例

                  +

                  1. 查看当前被选中的节点是否是父节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var isParent = sNodes[0].isParent;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.level.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.level.html new file mode 100644 index 00000000..aff3254c --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.level.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  NumbertreeNode.level

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  记录节点的层级

                  +

                  初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

                  +
                  +
                  +

                  Number 格式说明

                  +
                  +

                  根节点 level = 0,依次递增

                  +
                  +

                  treeNode 举例

                  +

                  1. 查看当前被选中的节点的级数

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var level = sNodes[0].level;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.name.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.name.html new file mode 100644 index 00000000..918f2b49 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.name.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  StringtreeNode.name

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  节点名称。

                  +

                  1、如果不使用 name 属性保存节点名称,请修改 setting.data.key.name

                  +

                  默认值:无

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  节点显示的名称字符串,标准 String 即可,所有特殊字符都会被自动转义

                  +
                  +

                  treeNode 举例

                  +

                  1. 设置节点的名称为 test1、test2、test3

                  +
                  var nodes = [
                  +	{ "id":1, "name":"test1"},
                  +	{ "id":2, "name":"test2"},
                  +	{ "id":3, "name":"test3"}
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.nocheck.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.nocheck.html new file mode 100644 index 00000000..afaa62fb --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.nocheck.html @@ -0,0 +1,26 @@ +
                  +
                  +

                  BooleantreeNode.nocheck

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  1、设置节点是否隐藏 checkbox / radio [setting.check.enable = true 时有效]

                  +

                  2、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据

                  +

                  默认值:false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示此节点不显示 checkbox / radio,不影响勾选的关联关系,不影响父节点的半选状态。

                  +

                  false 表示节点具有正常的勾选功能

                  +
                  +

                  treeNode 举例

                  +

                  1. 不显示某个节点的 checkbox / radio

                  +
                  var nodes = [
                  +	{ "id":1, "name":"test1", "nocheck":true},
                  +	{ "id":2, "name":"test2"},
                  +	{ "id":3, "name":"test3"}
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.open.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.open.html new file mode 100644 index 00000000..1eb9aec4 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.open.html @@ -0,0 +1,30 @@ +
                  +
                  +

                  BooleantreeNode.open

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  记录 treeNode 节点的 展开 / 折叠 状态。

                  +

                  1、初始化节点数据时,如果设定 treeNode.open = true,则会直接展开此节点

                  +

                  2、叶子节点 treeNode.open = false

                  +

                  3、为了解决部分朋友生成 json 数据出现的兼容问题, 支持 "false","true" 字符串格式的数据

                  +

                  4、非异步加载模式下,无子节点的父节点设置 open=true 后,可显示为展开状态,但异步加载模式下不会生效。(v3.5.15+)

                  +

                  默认值:false

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示节点为 展开 状态

                  +

                  false 表示节点为 折叠 状态

                  +
                  +

                  treeNode 举例

                  +

                  1. 查看当前被选中的节点的 展开 / 折叠 状态

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var isOpen = sNodes[0].open;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.parentTId.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.parentTId.html new file mode 100644 index 00000000..d228a23a --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.parentTId.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  StringtreeNode.parentTId

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  treeNode 节点的父节点唯一标识 tId。

                  +

                  1、v3.x 用 parentTId 替换了原先的 parentNode 属性,同时增加了 getParentNode 方法,以避免原先 parentNode 造成的 clone 死循环

                  +

                  2、初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  zTree 内部生成的节点唯一标识,请参考 treeNode.tId 的说明

                  +

                  如果 treeNode 是根节点,则 parentTId = null

                  +
                  +

                  treeNode 举例

                  +

                  1. 查看当前被选中的节点的父节点 tId

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var parentTId = sNodes[0].parentTId;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.tId.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.tId.html new file mode 100644 index 00000000..c32285c5 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.tId.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  StringtreeNode.tId

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  treeNode 节点的唯一标识 tId。

                  +

                  初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  生成规则:setting.treeId + "_" + 内部计数

                  +
                  +

                  treeNode 举例

                  +

                  1. 查看当前被选中的节点的 tId

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var tId = sNodes[0].tId;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.target.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.target.html new file mode 100644 index 00000000..f7c1b6ba --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.target.html @@ -0,0 +1,24 @@ +
                  +
                  +

                  StringtreeNode.target

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  设置点击节点后在何处打开 url。[treeNode.url 存在时有效]

                  +

                  默认值:无

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  同超链接 target 属性: "_blank", "_self" 或 其他指定窗口名称

                  +

                  省略此属性,则默认为 "_blank"

                  +
                  +

                  treeNode 举例

                  +

                  1. 设置点击某节点时,弹出新页面

                  +
                  var nodes = [
                  +	{ "id":1, "name":"test1", "url":"http://myTest.com", "target":"_blank"},
                  +	......
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.url.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.url.html new file mode 100644 index 00000000..0b2e0076 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.url.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  StringtreeNode.url

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  节点链接的目标 URL

                  +

                  1、编辑模式 (setting.edit.enable = true) 下此属性功能失效,如果必须使用类似功能,请利用 onClick 事件回调函数自行控制。

                  +

                  2、如果需要在 onClick 事件回调函数中进行跳转控制,那么请将 URL 地址保存在其他自定义的属性内,请勿使用 url

                  +

                  默认值:无

                  +
                  +
                  +

                  String 格式说明

                  +
                  +

                  同超链接 href 属性

                  +
                  +

                  treeNode 举例

                  +

                  1. 设置某节点点击时,跳转到 g.cn

                  +
                  var nodes = [
                  +	{ "id":1, "name":"Google CN", "url":"http://g.cn"},
                  +	......
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.zAsync.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.zAsync.html new file mode 100644 index 00000000..00e48f39 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.zAsync.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  BooleantreeNode.zAsync

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  记录 treeNode 节点是否已经进行过异步加载,避免父节点反复异步加载数据。

                  +

                  初始化节点数据时,由 zTree 增加此属性,请勿提前赋值

                  +

                  默认值:false (无子节点的父节点); true (有子节点的父节点 & 叶子节点)

                  +
                  +
                  +

                  Boolean 格式说明

                  +
                  +

                  true 表示父节点展开时不需要自动异步加载

                  +

                  false 表示父节点展开时需要自动异步加载

                  +

                  此参数不会对 reAsyncChildNodes 方法造成任何影响

                  +
                  +

                  treeNode 举例

                  +

                  1. 查看当前被选中的节点是否节点是否需要自动异步加载

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var zAsync = sNodes[0].zAsync;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.addNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.addNodes.html new file mode 100644 index 00000000..eac2152d --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.addNodes.html @@ -0,0 +1,42 @@ +
                  +
                  +

                  Function(parentNode, newNodes, isSilent)zTreeObj.addNodes

                  +

                  概述[ 依赖 jquery.ztree.core 扩展 js ]

                  +
                  +

                  +
                  +

                  添加节点。

                  +

                  v3.x 为了避免原先反复初始化造成的数据重复问题,在 初始化 和 添加节点 时内部进行 clone 操作。如果需要获取数据在 zTree 内的对象,请获取此方法的返回值。

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  parentNodeJSON

                  +

                  指定的父节点,如果增加根节点,请设置 parentNode 为 null 即可。

                  +

                  请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  newNodesJSON / Array(JSON)

                  +

                  需要增加的节点数据 JSON 对象集合,数据只需要满足 zTree 的节点数据必需的属性即可,详细请参考“treeNode 节点数据详解”

                  +

                  1、v3.x 支持单独添加一个节点,即如果只新增一个节点,不用必须包在数组中

                  +

                  2、使用简单数据模式,请参考 setting.data.simpleData 内的属性说明

                  +

                  isSilentBoolean

                  +

                  设定增加节点后是否自动展开父节点。

                  +

                  isSilent = true 时,不展开父节点,其他值或缺省状态都自动展开。

                  +

                  返回值Array(JSON)

                  +

                  返回值是 zTree 最终添加的节点数据集合

                  +

                  如果 newNodes 是单个节点数据 JSON,返回值也是将其包在 Array 内

                  +

                  请务必记住:返回值中的数据对象 是 newNodes 被 clone 后的,所以绝对不相等!

                  +
                  +

                  function 举例

                  +

                  1. 对于 id = "tree" 的 zTree 增加 1 个根节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var newNode = {name:"newNode1"};
                  +newNode = treeObj.addNodes(null, newNode);
                  +
                  +

                  2. 对于 id = "tree" 的 zTree 增加 3 个根节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var newNodes = [{name:"newNode1"}, {name:"newNode2"}, {name:"newNode3"}];
                  +newNodes = treeObj.addNodes(null, newNodes);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.cancelEditName.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.cancelEditName.html new file mode 100644 index 00000000..9df098f0 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.cancelEditName.html @@ -0,0 +1,30 @@ +
                  +
                  +

                  Function(newName)zTreeObj.cancelEditName

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  取消节点的编辑名称状态,可以恢复原名称,也可以强行赋给新的名称。

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  newNameString

                  +

                  重新给定的新名称。

                  +

                  如果省略此参数,则恢复原名称。

                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 取消 zTree 的编辑名称状态,恢复该节点原有名称

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +treeObj.cancelEditName();
                  +
                  +

                  2. 取消 zTree 的编辑名称状态,并且重新设定该节点名称

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +treeObj.cancelEditName("test_new_name");
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.cancelSelectedNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.cancelSelectedNode.html new file mode 100644 index 00000000..26d5706f --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.cancelSelectedNode.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(treeNode)zTreeObj.cancelSelectedNode

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  取消节点的选中状态。

                  +

                  v3.x 支持多点同时选中,因此取消选中状态可以全部取消,也可以单独取消某个节点的选中状态。

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeNodeJSON

                  +

                  需要取消选中状态的节点。

                  +

                  请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  如果省略此参数,则将取消全部被选中节点的选中状态。

                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 取消当前所有被选中节点的选中状态

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +treeObj.cancelSelectedNode();
                  +
                  +

                  2. 取消当前第一个被选中节点的选中状态

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNode();
                  +if (nodes.length>0) { 
                  +	treeObj.cancelSelectedNode(nodes[0]);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.checkAllNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.checkAllNodes.html new file mode 100644 index 00000000..d6eaadf1 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.checkAllNodes.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Function(checked)zTreeObj.checkAllNodes

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  勾选 或 取消勾选 全部节点。[setting.check.enable = true 且 setting.check.chkStyle = "checkbox" 时有效]

                  +

                  此方法不会触发 beforeCheck / onCheck 事件回调函数。

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  checkedBoolean

                  +

                  checked = true 表示勾选全部节点

                  +

                  checked = false 表示全部节点取消勾选

                  +

                  不会影响 treeNode.nochecked = true 的节点。

                  +

                  不会影响未加载的节点。

                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 勾选全部节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +treeObj.checkAllNodes(true);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.checkNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.checkNode.html new file mode 100644 index 00000000..cb8bb7de --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.checkNode.html @@ -0,0 +1,44 @@ +
                  +
                  +

                  Function(treeNode, checked, checkTypeFlag, callbackFlag)zTreeObj.checkNode

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  勾选 或 取消勾选 单个节点。[setting.check.enable = true 时有效]

                  +

                  v3.x 中 checkNode() 方法可以触发 beforeCheck / onCheck 事件回调函数。便于减少冗余代码

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeNodeJSON

                  +

                  需要勾选 或 取消勾选 的节点数据

                  +

                  请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  checkedBoolean

                  +

                  checked = true 表示勾选节点

                  +

                  checked = false 表示节点取消勾选

                  +

                  省略此参数,则根据对此节点的勾选状态进行 toggle 切换

                  +

                  不影响 treeNode.nochecked = true 的节点。

                  +

                  checkTypeFlagBoolean

                  +

                  checkTypeFlag = true 表示按照 setting.check.chkboxType 属性进行父子节点的勾选联动操作

                  +

                  checkTypeFlag = false 表示只修改此节点勾选状态,无任何勾选联动操作

                  +

                  checkTypeFlag = false 且 treeNode.checked = checked 时,不会触发回调函数,直接返回

                  +

                  不影响父子节点中 treeNode.nochecked = true 的节点。

                  +

                  callbackFlagBoolean

                  +

                  callbackFlag = true 表示执行此方法时触发 beforeCheck & onCheck 事件回调函数

                  +

                  callbackFlag = false 表示执行此方法时不触发事件回调函数

                  +

                  省略此参数,等同于 false

                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 勾选当前选中的节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNodes();
                  +for (var i=0, l=nodes.length; i < l; i++) {
                  +	treeObj.checkNode(nodes[i], true, true);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.copyNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.copyNode.html new file mode 100644 index 00000000..f1b624bf --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.copyNode.html @@ -0,0 +1,44 @@ +
                  +
                  +

                  Function(targetNode, treeNode, moveType, isSilent)zTreeObj.copyNode

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  复制节点。

                  +

                  v3.x 复制节点时进行 clone 操作。如果需要获取数据在 zTree 内的对象,请获取此方法的返回值。

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  targetNodeJSON

                  +

                  要复制到的目标节点 JSON 数据

                  +

                  如果复制成为根节点,请设置 targetNode 为 null 即可

                  +

                  请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  treeNodeJSON

                  +

                  需要被复制的节点数据

                  +

                  请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  moveTypeString

                  +

                  复制到目标节点的相对位置

                  +

                  "inner":成为子节点,"prev":成为同级前一个节点,"next":成为同级后一个节点

                  +

                  isSilentBoolean

                  +

                  设定复制节点后是否自动展开父节点。

                  +

                  isSilent = true 时,不展开父节点,其他值或缺省状态都自动展开。

                  +

                  返回值JSON

                  +

                  返回值是最终加入到 zTree 内的节点数据

                  +

                  请务必记住:返回值中的数据对象 是 treeNode 被 clone 后的,所以绝对不相等!

                  +
                  +

                  function 举例

                  +

                  1. 将根节点中第二个节点 复制成为 第一个节点的子节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +treeObj.copyNode(nodes[0], nodes[1], "inner");
                  +
                  +

                  2. 将根节点中第二个节点 复制成为 第一个节点的前一个节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +treeObj.copyNode(nodes[0], nodes[1], "before");
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.destroy.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.destroy.html new file mode 100644 index 00000000..d9f6da0d --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.destroy.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  Function(treeId)zTreeObj.destroy

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  从 zTree v3.4 开始提供销毁 zTree 的方法。

                  +

                  1、用此方法可以销毁 zTreeObj 代表的 zTree。

                  +

                  2、销毁当前页面全部的 zTree,也可以使用 $.fn.zTree.destroy() 方法。

                  +

                  3、重新使用已经被销毁的树,必须要使用 init 方法进行初始化。

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 销毁 id 为 "treeDemo" 的 zTree

                  +
                  var zTreeObj = $.fn.zTree.getZTreeObj("treeDemo");
                  +zTreeObj.destroy();
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.editName.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.editName.html new file mode 100644 index 00000000..2d4eaf7b --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.editName.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Function(treeNode)zTreeObj.editName

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  设置某节点进入编辑名称状态。

                  +

                  1、如果需要用 js 取消编辑名称状态,请使用 cancelEditName(newName) 方法。

                  +

                  2、可利用此方法让当前正编辑的节点 input 输入框获取焦点。

                  +

                  3、请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeNodeJSON

                  +

                  指定进入编辑名称状态的节点 JSON 数据

                  +

                  请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 设置根节点第一个节点进入编辑名称状态

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +treeObj.editName(nodes[0]);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.expandAll.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.expandAll.html new file mode 100644 index 00000000..aaa3e464 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.expandAll.html @@ -0,0 +1,30 @@ +
                  +
                  +

                  Function(expandFlag)zTreeObj.expandAll

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  展开 / 折叠 全部节点

                  +

                  此方法不会触发 beforeExpand / onExpand 和 beforeCollapse / onCollapse 事件回调函数。

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  expandFlagBoolean

                  +

                  expandFlag = true 表示 展开 全部节点

                  +

                  expandFlag = false 表示 折叠 全部节点

                  +

                  返回值Boolean

                  +

                  返回值表示最终实际操作情况

                  +

                  true 表示 展开 全部节点

                  +

                  false 表示 折叠 全部节点

                  +

                  null 表示 不存在任何父节点

                  +
                  +

                  function 举例

                  +

                  1. 展开全部节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +treeObj.expandAll(true);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.expandNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.expandNode.html new file mode 100644 index 00000000..5d96d3f5 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.expandNode.html @@ -0,0 +1,50 @@ +
                  +
                  +

                  Function(treeNode, expandFlag, sonSign, focus, callbackFlag)zTreeObj.expandNode

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  展开 / 折叠 指定的节点

                  +

                  v3.x 中执行此方法可以触发 beforeExpand / onExpand 或 beforeCollapse / onCollapse 事件回调函数。便于减少冗余代码

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeNodeJSON

                  +

                  需要 展开 / 折叠 的节点数据

                  +

                  请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  expandFlagBoolean

                  +

                  expandFlag = true 表示 展开 节点

                  +

                  expandFlag = false 表示 折叠 节点

                  +

                  省略此参数,则根据对此节点的展开状态进行 toggle 切换

                  +

                  sonSignBoolean

                  +

                  sonSign = true 表示 全部子孙节点 进行与 expandFlag 相同的操作

                  +

                  sonSign = false 表示 只影响此节点,对于其 子孙节点无任何影响

                  +

                  sonSign = false 且 treeNode.open = expandFlag 时,不会触发回调函数,直接返回

                  +

                  省略此参数,等同于 false

                  +

                  focusBoolean

                  +

                  focus = true 表示 展开 / 折叠 操作后,通过设置焦点保证此焦点进入可视区域内

                  +

                  focus = false 表示 展开 / 折叠 操作后,不设置任何焦点

                  +

                  省略此参数,等同于 true

                  +

                  callbackFlagBoolean

                  +

                  callbackFlag = true 表示执行此方法时触发 beforeExpand / onExpand 或 beforeCollapse / onCollapse 事件回调函数

                  +

                  callbackFlag = false 表示执行此方法时不触发事件回调函数

                  +

                  省略此参数,等同于 false

                  +

                  返回值Boolean

                  +

                  返回值表示最终实际操作情况

                  +

                  true 表示 展开 节点

                  +

                  false 表示 折叠 节点

                  +

                  null 表示 不是父节点

                  +
                  +

                  function 举例

                  +

                  1. 展开当前选择的第一个节点(包括其全部子节点)

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNodes();
                  +if (nodes.length>0) {
                  +	treeObj.expandNode(nodes[0], true, true, true);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getChangeCheckedNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getChangeCheckedNodes.html new file mode 100644 index 00000000..ba865347 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getChangeCheckedNodes.html @@ -0,0 +1,24 @@ +
                  +
                  +

                  Function()zTreeObj.getChangeCheckedNodes

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  获取输入框勾选状态被改变的节点集合(与原始数据 checkedOld 对比)。[setting.check.enable = true 时有效]

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  返回值Array(JSON)

                  +

                  返回全部勾选状态被改变的节点集合 Array

                  +

                  如果需要获取每次操作后全部被改变勾选状态的节点数据,请在每次勾选操作后,遍历所有被改变勾选状态的节点数据,让其 checkedOld = checked 就可以了。

                  +
                  +

                  function 举例

                  +

                  1. 获取当前勾选状态被改变的节点集合

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getChangeCheckedNodes();
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getCheckedNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getCheckedNodes.html new file mode 100644 index 00000000..85f4ba04 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getCheckedNodes.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  Function(checked)zTreeObj.getCheckedNodes

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  获取输入框被勾选 或 未勾选的节点集合。[setting.check.enable = true 时有效]

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  checkedBoolean

                  +

                  checked = true 表示获取 被勾选 的节点集合

                  +

                  checked = false 表示获取 未勾选 的节点集合

                  +

                  省略此参数,等同于 true。

                  +

                  对于 treeNode.nochecked = true 的节点不进行获取。

                  +

                  返回值Array(JSON)

                  +

                  返回全部符合要求的节点集合 Array

                  +
                  +

                  function 举例

                  +

                  1. 获取当前被勾选的节点集合

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getCheckedNodes(true);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodeByParam.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodeByParam.html new file mode 100644 index 00000000..89e72c78 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodeByParam.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  Function(key, value, parentNode)zTreeObj.getNodeByParam

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  根据节点数据的属性搜索,获取条件完全匹配的节点数据 JSON 对象

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  keyString

                  +

                  需要精确匹配的属性名称

                  +

                  value?

                  +

                  需要精确匹配的属性值,可以是任何类型,只要保证与 key 指定的属性值保持一致即可

                  +

                  parentNodeJSON

                  +

                  搜索范围,指定在某个父节点下的子节点中进行搜索

                  +

                  忽略此参数,表示在全部节点中搜索

                  +

                  返回值JSON

                  +

                  匹配精确搜索的节点数据

                  +

                  1、如无结果,返回 null

                  +

                  2、如有多个节点满足查询条件,只返回第一个匹配到的节点

                  +
                  +

                  function 举例

                  +

                  1. 查找 id = 1 的节点数据

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var node = treeObj.getNodeByParam("id", 1, null);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodeByTId.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodeByTId.html new file mode 100644 index 00000000..76fcc486 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodeByTId.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  Function(tId)zTreeObj.getNodeByTId

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  根据 zTree 的唯一标识 tId 快速获取节点 JSON 数据对象

                  +

                  通过内部的 cache 获取,不需要遍历节点。

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  tIdString

                  +

                  节点在 zTree 内的唯一标识 tId

                  +

                  返回值JSON

                  +

                  tId 对应的节点 JSON 数据对象

                  +

                  如无结果,返回 null

                  +
                  +

                  function 举例

                  +

                  1. 获取 tId = "tree_10" 的节点数据

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var node = treeObj.getNodeByTId("tree_10");
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodeIndex.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodeIndex.html new file mode 100644 index 00000000..b2c757d2 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodeIndex.html @@ -0,0 +1,30 @@ +
                  +
                  +

                  Function(treeNode)zTreeObj.getNodeIndex

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  获取某节点在同级节点中的序号(从0开始)

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeNodeJSON

                  +

                  需要查询顺序的节点 JSON 数据对象

                  +

                  请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  返回值Number

                  +

                  返回值从 0 开始计数

                  +

                  如果不存在该节点数据,返回 -1

                  +
                  +

                  function 举例

                  +

                  1. 获取当前选中的第一个节点在同级节点中的序号

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNodes();
                  +if (nodes.length>0) {
                  +	var index = treeObj.getNodeIndex(nodes[0]);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodes.html new file mode 100644 index 00000000..b368535e --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodes.html @@ -0,0 +1,26 @@ +
                  +
                  +

                  Function()zTreeObj.getNodes

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  获取 zTree 的全部节点数据

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  返回值Array(JSON)

                  +

                  全部节点数据

                  +

                  1、Array 仅仅是根节点的集合(默认情况子节点都处于 children 属性下);

                  +

                  2、如需遍历全部节点需要利用递归,或利用 transformToArray 方法 将数据变成简单的 Array 集合

                  +

                  3、对于异步加载模式下,尚未加载的子节点是无法通过此方法获取的。

                  +
                  +

                  function 举例

                  +

                  1. 获取全部节点数据

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodesByFilter.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodesByFilter.html new file mode 100644 index 00000000..69174251 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodesByFilter.html @@ -0,0 +1,43 @@ +
                  +
                  +

                  Function(filter, isSingle, parentNode, invokeParam)zTreeObj.getNodesByFilter

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  根据自定义规则搜索节点数据 JSON 对象集合 或 单个节点数据

                  +

                  可自定义复杂的搜索规则

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  filterFunction

                  +

                  自定义过滤器函数 function filter(node) {...}

                  +

                  filter 参数:node (节点数据 JSON)

                  +

                  filter 返回值:boolean (true 表示符合搜索条件;false 表示不符合搜索条件)

                  +

                  isSingleBoolean

                  +

                  isSingle = true 表示只查找单个节点

                  +

                  isSingle = false 表示查找节点集合

                  +

                  忽略此参数,表示查找节点集合

                  +

                  parentNodeJSON

                  +

                  可以指定在某个父节点下的子节点中搜索

                  +

                  忽略此参数,表示在全部节点中搜索

                  +

                  invokeParam任意类型

                  +

                  用户自定义的数据对象,用于 filter 中进行计算

                  +

                  返回值Array(JSON) / JSON

                  +

                  isSingle = true 返回 第一个找到的节点数据 JSON,无结果时返回 null

                  +

                  isSingle = false 返回 节点数据集合 Array(JSON),无结果时返回 [ ]

                  +
                  +

                  function 举例

                  +

                  1. 查找 level = 2 & name 中包含 "test" 的节点数据

                  +
                  function filter(node) {
                  +    return (node.level == 2 && node.name.indexOf("test")>-1);
                  +}
                  +......
                  +var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var node = treeObj.getNodesByFilter(filter, true); // 仅查找一个节点
                  +var nodes = treeObj.getNodesByFilter(filter); // 查找节点集合
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodesByParam.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodesByParam.html new file mode 100644 index 00000000..cf45939c --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodesByParam.html @@ -0,0 +1,31 @@ +
                  +
                  +

                  Function(key, value, parentNode)zTreeObj.getNodesByParam

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  根据节点数据的属性搜索,获取条件完全匹配的节点数据 JSON 对象集合

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  keyString

                  +

                  需要精确匹配的属性名称

                  +

                  value?

                  +

                  需要精确匹配的属性值,可以是任何类型,只要保证与 key 指定的属性值保持一致即可

                  +

                  parentNodeJSON

                  +

                  可以指定在某个父节点下的子节点中搜索

                  +

                  忽略此参数,表示在全部节点中搜索

                  +

                  返回值Array(JSON)

                  +

                  匹配精确搜索的节点数据集合

                  +

                  如无结果,返回 [ ]

                  +
                  +

                  function 举例

                  +

                  1. 查找 name = "test" 的节点数据

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodesByParam("name", "test", null);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodesByParamFuzzy.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodesByParamFuzzy.html new file mode 100644 index 00000000..04d183f9 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getNodesByParamFuzzy.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  Function(key, value, parentNode)zTreeObj.getNodesByParamFuzzy

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  根据节点数据的属性搜索,获取条件模糊匹配的节点数据 JSON 对象集合

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  keyString

                  +

                  需要模糊匹配的属性名称

                  +

                  valueString

                  +

                  需要模糊匹配的属性值

                  +

                  模糊匹配只能针对 String 类型的数据

                  +

                  parentNodeJSON

                  +

                  可以指定在某个父节点下的子节点中搜索

                  +

                  忽略此参数,表示在全部节点中搜索

                  +

                  返回值Array(JSON)

                  +

                  匹配模糊搜索的节点数据集合

                  +

                  如无结果,返回 [ ]

                  +
                  +

                  function 举例

                  +

                  1. 查找 name 包含 "test" 的节点数据

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodesByParamFuzzy("name", "test", null);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getSelectedNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getSelectedNodes.html new file mode 100644 index 00000000..ab36f8ee --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.getSelectedNodes.html @@ -0,0 +1,23 @@ +
                  +
                  +

                  Function()zTreeObj.getSelectedNodes

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  获取 zTree 当前被选中的节点数据集合

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  返回值Array(JSON)

                  +

                  当前被选中的节点数据集合

                  +
                  +

                  function 举例

                  +

                  1. 获取当前被选中的节点数据集合

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNodes();
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.hideNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.hideNode.html new file mode 100644 index 00000000..a1996b88 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.hideNode.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Function(treeNode)zTreeObj.hideNode

                  +

                  概述[ 依赖 jquery.ztree.exhide 扩展 js ]

                  +
                  +

                  +
                  +

                  隐藏某个节点。

                  +

                  1、此功能不支持 exedit 扩展,因此不要在编辑状态时使用隐藏节点的方法。

                  +

                  2、隐藏/显示节点,会影响节点的 isFirstNode 和 isLastNode 属性。

                  +

                  3、请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeNodeJSON

                  +

                  指定被隐藏的节点 JSON 数据

                  +

                  请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 隐藏根节点第一个节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +treeObj.hideNode(nodes[0]);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.hideNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.hideNodes.html new file mode 100644 index 00000000..cf752b50 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.hideNodes.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Function(treeNodes)zTreeObj.hideNodes

                  +

                  概述[ 依赖 jquery.ztree.exhide 扩展 js ]

                  +
                  +

                  +
                  +

                  隐藏一批节点。

                  +

                  1、此功能不支持 exedit 扩展,因此不要在编辑状态时使用隐藏节点的方法。

                  +

                  2、隐藏/显示节点,会影响节点的 isFirstNode 和 isLastNode 属性。

                  +

                  3、请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeNodesArray(JSON)

                  +

                  指定被隐藏的节点 JSON 数据集合

                  +

                  请务必保证这些节点数据对象 是 zTree 内部的数据对象

                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 隐藏根节点第一个节点的子节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +treeObj.hideNodes(nodes[0].children);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.moveNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.moveNode.html new file mode 100644 index 00000000..9c9180b9 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.moveNode.html @@ -0,0 +1,46 @@ +
                  +
                  +

                  Function(targetNode, treeNode, moveType, isSilent)zTreeObj.moveNode

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  移动节点。

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  targetNodeJSON

                  +

                  要移动到的目标节点 JSON 数据

                  +

                  如果移动成为根节点,请设置 targetNode 为 null 即可

                  +

                  请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  treeNodeJSON

                  +

                  需要被移动的节点数据

                  +

                  请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  moveTypeString

                  +

                  指定移动到目标节点的相对位置

                  +

                  "inner":成为子节点,"prev":成为同级前一个节点,"next":成为同级后一个节点

                  +

                  isSilentBoolean

                  +

                  设定移动节点后是否自动展开父节点。

                  +

                  isSilent = true 时,不展开父节点,其他值或缺省状态都自动展开。

                  +

                  返回值JSON

                  +

                  返回值是最终被移动的节点数据,正常情况下与 treeNode 参数完全相同

                  +

                  如果 返回值 为 null,说明 移动失败,主要原因有:
                  +  1、targetNode 是 treeNode 父节点,且 moveType = "inner"
                  +  2、targetNode 是 treeNode 子孙节点 +

                  +
                  +

                  function 举例

                  +

                  1. 将根节点中第二个节点 移动成为 第一个节点的子节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +treeObj.moveNode(nodes[0], nodes[1], "inner");
                  +
                  +

                  2. 将根节点中第二个节点 移动成为 第一个节点的前一个节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +treeObj.moveNode(nodes[0], nodes[1], "prev");
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.reAsyncChildNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.reAsyncChildNodes.html new file mode 100644 index 00000000..4a354e2f --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.reAsyncChildNodes.html @@ -0,0 +1,42 @@ +
                  +
                  +

                  Function(parentNode, reloadType, isSilent)zTreeObj.reAsyncChildNodes

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  强行异步加载父节点的子节点。[setting.async.enable = true 时有效]

                  +

                  已经加载过的父节点可反复使用此方法重新加载。

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  parentNodeJSON

                  +

                  指定需要异步加载的父节点 JSON 数据

                  +

                  1、parentNode = null 时,相当于从根节点 Root 进行异步加载

                  +

                  2、parentNode.isParent = false 时,不进行异步加载

                  +

                  3、请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  reloadTypeString

                  +

                  reloadType = "refresh" 表示清空后重新加载。

                  +

                  reloadType != "refresh" 时,表示追加子节点处理。

                  +

                  isSilentBoolean

                  +

                  设定异步加载后是否自动展开父节点。

                  +

                  isSilent = true 时,不展开父节点,其他值或缺省状态都自动展开。

                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 重新异步加载 zTree

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +treeObj.reAsyncChildNodes(null, "refresh");
                  +
                  +

                  2. 重新异步加载当前选中的第一个节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNodes();
                  +if (nodes.length>0) {
                  +	treeObj.reAsyncChildNodes(nodes[0], "refresh");
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.refresh.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.refresh.html new file mode 100644 index 00000000..09a74ca3 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.refresh.html @@ -0,0 +1,24 @@ +
                  +
                  +

                  Function()zTreeObj.refresh

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  刷新 zTree 。

                  +

                  没有特殊必要,尽量不要使用此方法。单个节点更新请使用 updateNode 方法,异步加载模式下请使用 reAsyncChildNodes 方法。

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 刷新 zTree

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +treeObj.refresh();
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.removeChildNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.removeChildNodes.html new file mode 100644 index 00000000..588639fb --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.removeChildNodes.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  Function(parentNode)zTreeObj.removeChildNodes

                  +

                  概述[ 依赖 jquery.ztree.core 扩展 js ]

                  +
                  +

                  +
                  +

                  清空某父节点的子节点。

                  +

                  1、清空子节点后,父节点会自动变为叶子节点,如需要父节点保持父节点状态,请设置 setting.data.keep.parent 属性。

                  +

                  2、请勿用此方法清空根节点,如果需要清空根节点,直接初始化 zTree,并且设置初始节点为 null 即可。

                  +

                  3、此方法不会触发任何事件回调函数。

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  parentNodeJSON

                  +

                  需要清空子节点的父节点数据

                  +

                  请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  返回值Array(JSON)

                  +

                  将该父节点的子节点数据返回,如果不存在则返回 null

                  +
                  +

                  function 举例

                  +

                  1. 清空选中的第一个节点的子节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNodes();
                  +if (nodes && nodes.length>0) {
                  +	treeObj.removeChildNodes(nodes[0]);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.removeNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.removeNode.html new file mode 100644 index 00000000..442f5c7e --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.removeNode.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(treeNode, callbackFlag)zTreeObj.removeNode

                  +

                  概述[ 依赖 jquery.ztree.core 扩展 js ]

                  +
                  +

                  +
                  +

                  删除节点。

                  +

                  v3.x 中删除节点可以触发 beforeRemove / onRemove 事件回调函数。便于减少冗余代码

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeNodeJSON

                  +

                  需要被删除的节点数据

                  +

                  请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  callbackFlagBoolean

                  +

                  callbackFlag = true 表示执行此方法时触发 beforeRemove & onRemove 事件回调函数

                  +

                  callbackFlag = false 表示执行此方法时不触发事件回调函数

                  +

                  省略此参数,等同于 false

                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 删除所有选中的节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNodes();
                  +for (var i=0, l=nodes.length; i < l; i++) {
                  +	treeObj.removeNode(nodes[i]);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.selectNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.selectNode.html new file mode 100644 index 00000000..6e80d813 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.selectNode.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(treeNode, addFlag)zTreeObj.selectNode

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  选中指定节点

                  +

                  v3.x 支持同时选中多个节点。

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeNodeJSON

                  +

                  需要被选中的节点数据

                  +

                  请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  addFlagBoolean

                  +

                  addFlag = true 表示追加选中,会出现多点同时被选中的情况

                  +

                  addFlag = false 表示单独选中,原先被选中的节点会被取消选中状态

                  +

                  setting.view.selectedMulti = false 时,此参数无效,始终进行单独选中

                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 单独选中根节点中第一个节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +if (nodes.length>0) {
                  +	treeObj.selectNode(nodes[0]);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.setChkDisabled.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.setChkDisabled.html new file mode 100644 index 00000000..b042ab43 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.setChkDisabled.html @@ -0,0 +1,44 @@ +
                  +
                  +

                  Function(node, disabled, inheritParent, inheritChildren)zTreeObj.setChkDisabled

                  +

                  概述[ 依赖 jquery.ztree.excheck 扩展 js ]

                  +
                  +

                  +
                  +

                  禁用 或 解禁 某个节点的 checkbox / radio [setting.check.enable = true 时有效]

                  +

                  1、节点的 checkbox / radio 被禁用后,无法勾选或取消勾选,但能够影响父节点的半选状态

                  +

                  2、请不要直接修改已加载节点的 treeNode.chkDisabled 属性。

                  +

                  3、请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeNodeJSON

                  +

                  需要禁用 或 解禁 checkbox / radio 的节点数据

                  +

                  请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  disabledBoolean

                  +

                  disabled = true 表示禁用 checkbox / radio

                  +

                  disabled = false 表示解禁 checkbox / radio

                  +

                  省略此参数,等同于 disabled = false

                  +

                  不影响 treeNode.nochecked = true 的节点。

                  +

                  inheritParentBoolean

                  +

                  inheritParent = true 表示全部父节点进行同样的操作

                  +

                  inheritParent = false 表示不影响父节点

                  +

                  省略此参数,等同于 inheritParent = false

                  +

                  inheritChildrenBoolean

                  +

                  inheritChildren = true 表示全部子节点进行同样的操作

                  +

                  inheritChildren = false 表示不影响子节点

                  +

                  省略此参数,等同于 inheritChildren = false

                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 禁用当前选中的节点的 checkbox / radio

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNodes();
                  +for (var i=0, l=nodes.length; i < l; i++) {
                  +	treeObj.setChkDisabled(nodes[i], true);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.setEditable.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.setEditable.html new file mode 100644 index 00000000..c90c8de6 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.setEditable.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  Function(editable)zTreeObj.setEditable

                  +

                  概述[ 依赖 jquery.ztree.exedit 扩展 js ]

                  +
                  +

                  +
                  +

                  设置 zTree 进入 / 取消 编辑状态。

                  +

                  对于编辑状态的各种功能需要提前设置对应 setting 中的不同属性

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  editableBoolean

                  +

                  true 表示进入 编辑状态

                  +

                  false 表示取消 编辑状态

                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 设置 zTree 进入编辑状态

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +treeObj.setEditable(true);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.setting.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.setting.html new file mode 100644 index 00000000..61abd531 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.setting.html @@ -0,0 +1,13 @@ +
                  +
                  +

                  JSONzTreeObj.setting

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  zTree 对象使用的 setting 配置数据,详细请参考 “setting 配置详解”中的各个属性详细说明

                  +

                  v3.x 取消了原先操作 setting 的方法,让用户可以较自由的修改参数,但请注意,对于 zTree 初始化有影响的参数后期修改是不会起作用的,请对各个属性有较深入的了解以后再考虑进行修改。

                  +
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.showNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.showNode.html new file mode 100644 index 00000000..ed22d510 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.showNode.html @@ -0,0 +1,31 @@ +
                  +
                  +

                  Function(treeNode)zTreeObj.showNode

                  +

                  概述[ 依赖 jquery.ztree.exhide 扩展 js ]

                  +
                  +

                  +
                  +

                  显示某个被隐藏的节点。

                  +

                  1、此功能不支持 exedit 扩展,因此不要在编辑状态时使用隐藏节点的方法。

                  +

                  2、隐藏/显示节点,会影响节点的 isFirstNode 和 isLastNode 属性。

                  +

                  3、请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeNodeJSON

                  +

                  指定被显示的节点 JSON 数据

                  +

                  请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 显示某个隐藏的节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var node = treeObj.getNodeByParam("isHidden", true);
                  +if (node) {
                  +  treeObj.showNode(node);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.showNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.showNodes.html new file mode 100644 index 00000000..b0906574 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.showNodes.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Function(treeNodes)zTreeObj.showNodes

                  +

                  概述[ 依赖 jquery.ztree.exhide 扩展 js ]

                  +
                  +

                  +
                  +

                  显示一批已经被隐藏的节点。

                  +

                  1、此功能不支持 exedit 扩展,因此不要在编辑状态时使用隐藏节点的方法。

                  +

                  2、隐藏/显示节点,会影响节点的 isFirstNode 和 isLastNode 属性。

                  +

                  3、请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeNodesArray(JSON)

                  +

                  指定被显示的节点 JSON 数据集合

                  +

                  请务必保证这些节点数据对象 是 zTree 内部的数据对象

                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 显示全部隐藏的节点

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodesByParam("isHidden", true);
                  +treeObj.showNodes(nodes);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.transformToArray.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.transformToArray.html new file mode 100644 index 00000000..a46dc61e --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.transformToArray.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  Function(treeNodes)zTreeObj.transformToArray

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  将 zTree 使用的标准 JSON 嵌套格式的数据转换为简单 Array 格式。(免去用户自行编写递归遍历全部节点的麻烦)

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeNodesArray(JSON) / JSON

                  +

                  需要被转换的 zTree 节点数据对象集合 或 某个单独节点的数据对象

                  +

                  返回值Array(JSON)

                  +

                  转换后的简单 Array 数据格式

                  +
                  +

                  function 举例

                  +

                  1. 将 zTree 节点数据转换为简单 Array 格式

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.transformToArray(treeObj.getNodes());
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.transformTozTreeNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.transformTozTreeNodes.html new file mode 100644 index 00000000..8a527704 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.transformTozTreeNodes.html @@ -0,0 +1,43 @@ +
                  +
                  +

                  Function(simpleNodes)zTreeObj.transformTozTreeNodes

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  将简单 Array 格式数据转换为 zTree 使用的标准 JSON 嵌套数据格式。

                  +

                  使用此方法,请务必设置节点唯一标识属性名称 setting.data.simpleData.idKey 和 父节点唯一标识属性名称 setting.data.simpleData.pIdKey,并且让数据满足父子关系。

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  simpleNodesArray(JSON) / JSON

                  +

                  需要被转换的简单 Array 格式数据 或 某个单独的数据对象

                  +

                  返回值Array(JSON)

                  +

                  zTree 使用的标准数据,子节点都存在于父节点数据的 children 属性中

                  +

                  如果 simpleNodes 是一个 JSON 对象,则被简单封装成长度为 1 的数组。

                  +
                  +

                  function 举例

                  +

                  1. 将简单 Array 格式转换为zTree使用的标准格式

                  +
                  var setting = {
                  +	data: {
                  +		simpleData: {
                  +			enable: true,
                  +			idKey: "id",
                  +			pIdKey: "pId",
                  +			rootPId: 0,
                  +		}
                  +	}
                  +};
                  +var simpleNodes = [
                  +    {"id":1, "pId":0, "name":"test1"},
                  +    {"id":11, "pId":1, "name":"test11"},
                  +    {"id":12, "pId":1, "name":"test12"},
                  +    {"id":111, "pId":11, "name":"test111"}
                  +];
                  +var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.transformTozTreeNodes(simpleNodes);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.updateNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.updateNode.html new file mode 100644 index 00000000..847fa6ee --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/zTreeObj.updateNode.html @@ -0,0 +1,37 @@ +
                  +
                  +

                  Function(treeNode, checkTypeFlag)zTreeObj.updateNode

                  +

                  概述[ 依赖 jquery.ztree.core 核心 js ]

                  +
                  +

                  +
                  +

                  更新某节点数据,主要用于该节点显示属性的更新。

                  +

                  1、可针对 name、target、 url、icon、 iconSkin、checked、nocheck 等这几个用于显示效果的参数进行更新,其他用于 zTreeNodes 的参数请不要随意更新,对于展开节点,还请调用 expandNode方法,因此请勿随意修改 open 属性。

                  +

                  2、用此方法修改 checked 勾选状态不会触发 beforeCheck / onCheck 事件回调函数。

                  +

                  请通过 zTree 对象执行此方法。

                  +
                  +
                  +

                  Function 参数说明

                  +
                  +

                  treeNodeJSON

                  +

                  指定需要更新的节点 JSON 数据

                  +

                  请务必保证此节点数据对象 是 zTree 内部的数据对象

                  +

                  checkTypeFlagBoolean

                  +

                  checkTypeFlag = true 表示按照 setting.check.chkboxType 属性进行父子节点的勾选联动操作

                  +

                  checkTypeFlag = false 表示只修改此节点勾选状态,无任何勾选联动操作

                  +

                  当 setting.check.enable = true 且 setting.check.chkStyle = "checkbox" 时才有效

                  +

                  不影响父子节点中 treeNode.nochecked = true 的节点。

                  +

                  返回值

                  +

                  目前无任何返回值

                  +
                  +

                  function 举例

                  +

                  1. 更新根节点中第一个节点的名称

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +if (nodes.length>0) {
                  +	nodes[0].name = "test";
                  +	treeObj.updateNode(nodes[0]);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/fn.zTree._z.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/fn.zTree._z.html new file mode 100644 index 00000000..61da261d --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/fn.zTree._z.html @@ -0,0 +1,13 @@ +
                  +
                  +

                  JSON$.fn.zTree._z

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  All of the methods in zTree v3.x are available through the '$. fn.zTree._z' calls, open it for you to develop your own zTree plug-ins.

                  +

                  If you have no special requirements, please don't use this object, and don't modify the methods in this object.

                  +
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/fn.zTree.destroy.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/fn.zTree.destroy.html new file mode 100644 index 00000000..3a316999 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/fn.zTree.destroy.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  Function(treeId)$.fn.zTree.destroy

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  From zTree v3.4, zTree support the method for destruction.

                  +

                  1. This method can destroy the zTree with specify treeId, and can destroy all of the zTrees.

                  +

                  2. If you want to destory some one zTree, you can use the 'zTreeObj.destroy()' method.

                  +

                  3. If you want to use the tree which has been destroyed, you must use the 'init()' method at first.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier

                  +

                  If this parameter is omitted, then will destroy all of the zTrees.

                  +

                  Return none

                  +

                  no return value

                  +
                  +

                  Examples of function

                  +

                  1. destroy the zTree which its id is 'treeDemo'

                  +
                  $.fn.zTree.destroy("treeDemo");
                  +

                  2. destroy all of the zTrees

                  +
                  $.fn.zTree.destroy();
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/fn.zTree.getZTreeObj.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/fn.zTree.getZTreeObj.html new file mode 100644 index 00000000..2bc04476 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/fn.zTree.getZTreeObj.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  Function(treeId)$.fn.zTree.getZTreeObj

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  zTree v3.x specifically provide the method which can use the tree's Id to get zTree object.

                  +

                  Please initialize zTree first, then you can use this method.

                  +

                  Users don't need to set the global variable to hold the zTree object, and all of the callback will return 'treeId' parameters, the user can always use this method to get the zTree object.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier

                  +

                  Return JSON

                  +

                  zTree object

                  +

                  This object can provide the methods of operate the zTree

                  +
                  +

                  Examples of function

                  +

                  1. Get the zTree object which id is 'tree'

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/fn.zTree.init.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/fn.zTree.init.html new file mode 100644 index 00000000..cf97d2bc --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/fn.zTree.init.html @@ -0,0 +1,75 @@ +
                  +
                  +

                  Function(obj, zSetting, zNodes)$.fn.zTree.init

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The method which used to create zTree.

                  +

                  1. The web page need to use W3C markup. For example: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

                  +

                  2. Need to load jquery-1.4.2.js or other higher versions.

                  +

                  3. Need to load jquery-ztree.core-3.0.js. If you need to use the edit mode or checkbox / radio mode, you need to load jquery-ztree.exedit-3.0.js and jquery-ztree.excheck-3.0.js.

                  +

                  4. Need to load zTreeStyle.css and image files

                  +

                  5. If you need to use custom icons, please refer to the appropriate Demo.

                  +

                  6. Note: You need to set zTree container's class name to "ztree". If you need to change, don't forget to modify the css file. If you need other special styles, can modify the css file to their own needs.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  objectjQuery Object

                  +

                  DOM Container for zTree

                  +

                  zSettingJSON

                  +

                  zTree's configuration data, please refer to "setting details" in the API Document.

                  +

                  zNodesArray(JSON) / JSON

                  +

                  zTree's node data, please refer to "treeNode data details" in the API Document.

                  +

                  1. zTree v3.x support to add single node, that is, if only to add one node, you can use JSON without using Array.

                  +

                  2. If you need asynchronous load root nodes, can be set to null or [ ]

                  +

                  3. If you use simple data mode, please refer to "setting.data.simpleData" in the API Document.

                  +

                  Return JSON

                  +

                  zTree object

                  +

                  This object can provide the methods of operate the zTree

                  +

                  You can use $.fn.zTree.getZTreeObj method at any time to obtain.

                  +
                  +

                  Examples of setting & function

                  +

                  1. create a simple tree

                  +
                  <!DOCTYPE html>
                  +<HTML>
                  + <HEAD>
                  +  <TITLE> ZTREE DEMO </TITLE>
                  +  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
                  +  <link rel="stylesheet" href="zTreeStyle/zTreeStyle.css" type="text/css">
                  +  <script type="text/javascript" src="jquery-1.4.2.js"></script>
                  +  <script type="text/javascript" src="jquery.ztree.core-3.5.js"></script>
                  +<!--
                  +  <script type="text/javascript" src="jquery.ztree.excheck-3.5.js"></script>
                  +  <script type="text/javascript" src="jquery.ztree.exedit-3.5.js"></script>
                  +-->
                  +  <SCRIPT type="text/javascript" >
                  +	var zTreeObj,
                  +	setting = {
                  +		view: {
                  +			selectedMulti: false
                  +		}
                  +	},
                  +	zTreeNodes = [
                  +		{"name":"Site Map", open:true, children: [
                  +			{ "name":"google", "url":"http://www.google.com", "target":"_blank"},
                  +			{ "name":"baidu", "url":"http://baidu.com", "target":"_blank"},
                  +			{ "name":"sina", "url":"http://www.sina.com.cn", "target":"_blank"}
                  +			]
                  +		}
                  +	];
                  +
                  +	$(document).ready(function(){
                  +		zTreeObj = $.fn.zTree.init($("#tree"), setting, zTreeNodes);
                  +
                  +	});
                  +  </SCRIPT>
                  + </HEAD>
                  +
                  +<BODY>
                  +<ul id="tree" class="ztree" style="width:230px; overflow:auto;"></ul>
                  + </BODY>
                  +</HTML>
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.autoParam.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.autoParam.html new file mode 100644 index 00000000..85cd4691 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.autoParam.html @@ -0,0 +1,39 @@ +
                  +
                  +

                  Array(String)setting.async.autoParam

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Required automatically submit the parameters about the properties of the parent node, when the asynchronous load. It is valid when [setting.async.enable = true]

                  +

                  Default:[ ]

                  +
                  +
                  +

                  Array(String) Format

                  +
                  +

                  1. Just save the attribute name of node to the array. For example: ["id", "name"]

                  +

                  2. You can change the parameter name. For example: server only accepts "zId" -- ["id=zId"]

                  +
                  +

                  Examples of setting

                  +

                  1. set auto commit 'id' attribute

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		url: "http://host/getNode.php",
                  +		autoParam: ["id"]
                  +	}
                  +};
                  +If have the parent node: {id:1, name:"test"}, When asynchronously load this parent node's child nodes, will be submitted parameters: id=1
                  +......
                  +

                  2. set auto commit 'id' attribute, but parameter name is 'zId'

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		url: "http://host/getNode.php",
                  +		autoParam: ["id=zId"]
                  +	}
                  +};
                  +If have the parent node: {id:1, name:"test"}, When asynchronously load this parent node's child nodes, will be submitted parameters: zId=1
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.contentType.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.contentType.html new file mode 100644 index 00000000..cc9bfcd3 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.contentType.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Stringsetting.async.contentType

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  When Ajax sending data to the server, use this content-type. It is valid when [setting.async.enable = true]

                  +

                  Default:"application/x-www-form-urlencoded"

                  +
                  +
                  +

                  String Format

                  +
                  +

                  contentType = "application/x-www-form-urlencoded", means: the sending data format is "form" format.

                  +

                  contentType = "application/json", means: the sending data format is "json" format. (for .Net)

                  +
                  +

                  Examples of setting

                  +

                  1. set the sending data format to "json" format.

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		contentType: "application/json",
                  +		url: "http://host/getNode.php",
                  +		autoParam: ["id", "name"]
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.dataFilter.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.dataFilter.html new file mode 100644 index 00000000..34733e4d --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.dataFilter.html @@ -0,0 +1,45 @@ +
                  +
                  +

                  Function(treeId, parentNode, responseData)setting.async.dataFilter

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Function used to pre-process for the return data of Ajax. It is valid when [setting.async.enable = true]

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  parentNodeJSON

                  +

                  Parent node's JSON data object

                  +

                  When asynchronously loading the root, the parentNode = null

                  +

                  responseDataArray(JSON) / JSON / String

                  +

                  Ajax got Array (JSON) / JSON / String data objects

                  +

                  From v3.4, support the string with XML format.

                  +

                  Return Array(JSON) / JSON

                  +

                  The return value should be the JSON data structure which is supported by the zTree.

                  +

                  v3.x supports to load single node JSON data object.

                  +
                  +

                  Examples of setting & function

                  +

                  1. Modify the node name attribute which is ajax got.

                  +
                  function ajaxDataFilter(treeId, parentNode, responseData) {
                  +    if (responseData) {
                  +      for(var i =0; i < responseData.length; i++) {
                  +        responseData[i].name += "_filter";
                  +      }
                  +    }
                  +    return responseData;
                  +};
                  +var setting = {
                  +	async: {
                  +		enable: true,
                  +		url: "http://host/getNode.php",
                  +		dataFilter: ajaxDataFilter
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.dataType.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.dataType.html new file mode 100644 index 00000000..e6672e9b --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.dataType.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Stringsetting.async.dataType

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The data type of Ajax. It is valid when [setting.async.enable = true]

                  +

                  Default:"text"

                  +
                  +
                  +

                  String Format

                  +
                  +

                  dataType = "text", It can meet most of the needs.

                  +

                  The 'dataType' in zTree and jQuery's ajax is same.

                  +
                  +

                  Examples of setting

                  +

                  1. Set the dataType which ajax got is text.

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		dataType: "text",
                  +		url: "http://host/getNode.php",
                  +		autoParam: ["id", "name"]
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.enable.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.enable.html new file mode 100644 index 00000000..806ba6c6 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.enable.html @@ -0,0 +1,30 @@ +
                  +
                  +

                  Booleansetting.async.enable

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Set zTree asynchronous loading mode is turned on or off.

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true - turn on asynchronous loading mode

                  +

                  false - turn off asynchronous loading mode

                  +

                  If set it is true, you must set attributes in setting.async

                  +

                  If you don't pass 'treeNodes' parameter when initialize zTree, the root nodes will get by ajax.

                  +
                  +

                  Examples of setting

                  +

                  1. Turn on asynchronous loading mode

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		url: "http://host/getNode.php",
                  +		autoParam: ["id", "name"]
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.otherParam.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.otherParam.html new file mode 100644 index 00000000..2e37390a --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.otherParam.html @@ -0,0 +1,40 @@ +
                  +
                  +

                  Array(String) / JSONsetting.async.otherParam

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The static parameters of the Ajax request. (key - value) It is valid when [setting.async.enable = true]

                  +

                  Default: [ ]

                  +
                  +
                  +

                  Array(String) Format

                  +
                  +

                  Can be empty array. e.g. [ ]. If set key, you must set value, e.g. [key, value]. ([key] or [key, value, key] is wrong!!)

                  +
                  +

                  JSON Format

                  +
                  +

                  Use JSON data format set the key-value. e.g. { key1:value1, key2:value2 }

                  +
                  +

                  Examples of setting

                  +

                  1. Use Array(String) Format

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		url: "http://host/getNode.php",
                  +		otherParam: ["id", "1", "name", "test"]
                  +	}
                  +};
                  +when zTree send ajax, the parameters will has: id=1&name=test
                  +

                  2. Use JSON data Format

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		url: "http://host/getNode.php",
                  +		otherParam: { "id":"1", "name":"test"}
                  +	}
                  +};
                  +when zTree send ajax, the parameters will has: id=1&name=test
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.type.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.type.html new file mode 100644 index 00000000..ae543388 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.type.html @@ -0,0 +1,30 @@ +
                  +
                  +

                  Stringsetting.async.type

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Http request mode in ajax. It is valid when [setting.async.enable = true]

                  +

                  Defalut: "post"

                  +
                  +
                  +

                  String Format

                  +
                  +

                  "post" - http request mode

                  +

                  "get" - http request mode

                  +

                  The 'type' in zTree and jQuery's ajax is same.

                  +
                  +

                  Examples of setting

                  +

                  1. Set http request mode is 'get'

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		type: "get",
                  +		url: "http://host/getNode.php",
                  +		autoParam: ["id", "name"]
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.url.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.url.html new file mode 100644 index 00000000..5587f294 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.async.url.html @@ -0,0 +1,50 @@ +
                  +
                  +

                  String / Function(treeId, treeNode)setting.async.url

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The URL to which the ajax request is sent. It is valid when [setting.async.enable = true]

                  +

                  Default: ""

                  +
                  +
                  +

                  String Format

                  +
                  +

                  A url string(e.g. "http://www.domain.com"). Note: please ensure that the url can be loaded

                  +

                  Url can also take parameters, please note that transcode.

                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  Parent node's JSON data object

                  +

                  When asynchronously loading the root, the treeNode = null

                  +

                  Return String

                  +

                  Return value is same as 'String Format'

                  +
                  +

                  Examples of setting & function

                  +

                  1. set ajax url is "nodes.php"

                  +
                  var setting = {
                  +	async: {
                  +		enable: true,
                  +		url: "nodes.php",
                  +		autoParam: ["id", "name"]
                  +	}
                  +};
                  +......
                  +

                  2. set ajax url is "function"

                  +
                  function getAsyncUrl(treeId, treeNode) {
                  +    return treeNode.isParent ? "nodes1.php" : "nodes2.php";
                  +};
                  +var setting = {
                  +	async: {
                  +		enable: true,
                  +		url: getAsyncUrl,
                  +		autoParam: ["id", "name"]
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeAsync.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeAsync.html new file mode 100644 index 00000000..6563ff29 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeAsync.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeAsync

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the event before zTree execute ajax, zTree based on return value to determine whether to execute ajax.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the parent node

                  +

                  When asynchronously loading the root, the treeNode = null

                  +

                  Return Boolean

                  +

                  return true or false

                  +

                  If return false, zTree will not execute ajax, and will not trigger the 'onAsyncSuccess / onAsyncError' callback.

                  +
                  +

                  Examples of setting & function

                  +

                  1. If the parent node's attribute 'id' is 1, zTree will not execute ajax.

                  +
                  function zTreeBeforeAsync(treeId, treeNode) {
                  +    return (treeNode.id !== 1);
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeAsync: zTreeBeforeAsync
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeCheck.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeCheck.html new file mode 100644 index 00000000..5260412b --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeCheck.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeCheck

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  Used to capture the event before check or uncheck node, zTree based on return value to determine whether to change check state.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which is checked or unchecked

                  +

                  Return Boolean

                  +

                  return true or false

                  +

                  If return false, zTree will not change check state, and will not trigger the 'onCheck' callback.

                  +
                  +

                  Examples of setting & function

                  +

                  1. disable to change check state of all nodes, and keep the check state initialization

                  +
                  function zTreeBeforeCheck(treeId, treeNode) {
                  +    return false;
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeCheck: zTreeBeforeCheck
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeClick.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeClick.html new file mode 100644 index 00000000..32ddbf77 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeClick.html @@ -0,0 +1,49 @@ +
                  +
                  +

                  Function(treeId, treeNode, clickFlag)setting.callback.beforeClick

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the event before click node, zTree based on return value to determine whether to trigger the 'onClick' callback.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which is clicked

                  +

                  clickFlagNumber

                  +

                  Node is selected or deselected state, please see table below for details

                  + + + + + + + + + + + + +
                  clickFlagselectedMultiautoCancelSelected
                  &&
                  event.ctrlKey / metaKey
                  isSelectedoperate for selected
                  1truefalsefalsenode is selected (single)
                  1truefalsetruenode is selected (single)
                  2truetruefalsenode is selected (multi)
                  0truetruetruenode is deselected
                  1falsefalsefalsenode is selected (single)
                  1falsefalsetruenode is selected (single)
                  1falsetruefalsenode is selected (single)
                  0falsetruetruenode is deselected
                  +

                  Return Boolean

                  +

                  return true or false

                  +

                  If return false, zTree will not change selected state, and will not trigger the 'onClick' callback.

                  +
                  +

                  Examples of setting & function

                  +

                  1. disabled to click the node

                  +
                  function zTreeBeforeClick(treeId, treeNode, clickFlag) {
                  +    return (treeNode.id !== 1);
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeClick: zTreeBeforeClick
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeCollapse.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeCollapse.html new file mode 100644 index 00000000..b2713e8a --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeCollapse.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeCollapse

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the event before collapse node, zTree based on return value to determine whether to collapse node.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which will be collapsed

                  +

                  Return Boolean

                  +

                  return true or false

                  +

                  If return false, zTree will not collapse node, and will not trigger the 'onCollapse' callback.

                  +
                  +

                  Examples of setting & function

                  +

                  1. disabled to collapse node which is expanded

                  +
                  function zTreeBeforeCollapse(treeId, treeNode) {
                  +    return false;
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeCollapse: zTreeBeforeCollapse
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeDblClick.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeDblClick.html new file mode 100644 index 00000000..6f1c743e --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeDblClick.html @@ -0,0 +1,36 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeDblClick

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the dblclick event before the 'onDblClick' callback, zTree based on return value to determine whether to trigger the 'onDblClick' callback.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which is double clicked

                  +

                  If the DOM which dblclicked isn't a node, it will return null.

                  +

                  Return Boolean

                  +

                  return true or false

                  +

                  If return false, ztree will not trigger the 'onDblClick' callback, no effect on other operations.

                  +

                  This callback function does not affect the dblclick the parent node to auto expand, please refer to setting.view.dblClickExpand properties.

                  +
                  +

                  Examples of setting & function

                  +

                  1. disable to trigger the 'onDblClick' callback

                  +
                  function zTreeBeforeDblClick(treeId, treeNode) {
                  +    return false;
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeDblClick: zTreeBeforeDblClick
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeDrag.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeDrag.html new file mode 100644 index 00000000..51752448 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeDrag.html @@ -0,0 +1,39 @@ +
                  +
                  +

                  Function(treeId, treeNodes)setting.callback.beforeDrag

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Used to capture the event before drag node, zTree based on return value to determine whether to start to drag node.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, the tree is what the treeNodes are belong to, easy for users to control.

                  +

                  treeNodesArray(JSON)

                  +

                  A collection of the nodes which will be dragged

                  +

                  v3.x allows drag and drop multiple sibling nodes, so this parameter is modified to Array(JSON).

                  +

                  If the selected nodes aren't the sibling nodes, you can only drag one node which mouse over.

                  +

                  Return Boolean

                  +

                  return true or false

                  +

                  If return false, zTree will stop drag, and will not trigger the 'onDrag / beforeDrop / onDrop' callback.

                  +
                  +

                  Examples of setting & function

                  +

                  1. disable to drag all node

                  +
                  function zTreeBeforeDrag(treeId, treeNodes) {
                  +    return false;
                  +};
                  +var setting = {
                  +	edit: {
                  +		enable: true
                  +	},
                  +	callback: {
                  +		beforeDrag: zTreeBeforeDrag
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeDragOpen.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeDragOpen.html new file mode 100644 index 00000000..ed1ae978 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeDragOpen.html @@ -0,0 +1,37 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeDragOpen

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Used to capture the event when drag node to collapsed parent node, zTree based on return value to determine whether to auto expand parent node.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, the tree is what the treeNode(parent node) is belong to, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the parent node which will be auto expanded

                  +

                  Return Boolean

                  +

                  return true or false

                  +

                  If return false, zTree will not auto expand parent node.

                  +
                  +

                  Examples of setting & function

                  +

                  1. disable to auto expand parent node.

                  +
                  function zTreeBeforeDragOpen(treeId, treeNode) {
                  +    return false;
                  +};
                  +var setting = {
                  +	edit: {
                  +		enable: true
                  +	},
                  +	callback: {
                  +		beforeDragOpen: zTreeBeforeDragOpen
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeDrop.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeDrop.html new file mode 100644 index 00000000..70143211 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeDrop.html @@ -0,0 +1,50 @@ +
                  +
                  +

                  Function(treeId, treeNodes, targetNode, moveType, isCopy)setting.callback.beforeDrop

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Used to capture the event before drag-drop node, zTree based on return value to determine whether to allow drag-drop node.

                  +

                  Default: null

                  +

                  When drop the nodes, if the dragged nodes is not in a valid location, this callback will not triggered, and will restore the original position.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, the tree is what the targetNode is belong to, easy for users to control.

                  +

                  treeNodesArray(JSON)

                  +

                  A collection of the nodes which has been dragged

                  +

                  The treeNodes are the data of the nodes which has been dragged, when copy nodes or move nodes.

                  +

                  targetNodeJSON

                  +

                  JSON data object of the target node which treeNodes are drag-dropped.

                  +

                  If the treeNodes will be root node, the targetNode = null

                  +

                  moveTypeString

                  +

                  the relative position of move to the target node

                  +

                  "inner": will be child of targetNode

                  +

                  "prev": will be sibling node, and be in front of targetNode

                  +

                  "next": will be sibling node, and be behind targetNode

                  +

                  isCopyBoolean

                  +

                  the flag used to judge copy node or move node

                  +

                  true: copy node; false: move node

                  +

                  Return Boolean

                  +

                  return true or false

                  +

                  If return false, zTree will restore the dragged nodes, and will not trigger the 'onDrop' callback.

                  +
                  +

                  Examples of setting & function

                  +

                  1. disable to drag nodes to root

                  +
                  function zTreeBeforeDrop(treeId, treeNodes, targetNode, moveType) {
                  +    return !(targetNode == null || (moveType != "inner" && !targetNode.parentTId));
                  +};
                  +var setting = {
                  +	edit: {
                  +		enable: true
                  +	},
                  +	callback: {
                  +		beforeDrop: zTreeBeforeDrop
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeEditName.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeEditName.html new file mode 100644 index 00000000..8772a3e9 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeEditName.html @@ -0,0 +1,38 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeEditName

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Used to capture the event before click edit button, zTree based on return value to determine whether to allow to edit the name.

                  +

                  This callback is used to capture the event which edit button is clicked, then trigger the custom editing operation.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which will be edited name.

                  +

                  Return Boolean

                  +

                  return true or false

                  +

                  If return false, the node will not be able to edit the name.

                  +
                  +

                  Examples of setting & function

                  +

                  1. disable to edit the parent node's name

                  +
                  function zTreeBeforeEditName(treeId, treeNode) {
                  +	return !treeNode.isParent;
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true
                  +	},
                  +	callback: {
                  +		beforeEditName: zTreeBeforeEditName
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeExpand.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeExpand.html new file mode 100644 index 00000000..73cf55a3 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeExpand.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeExpand

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the event before expand node, zTree based on return value to determine whether to expand node.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which will be expanded

                  +

                  Return Boolean

                  +

                  return true or false

                  +

                  If return false, zTree will not expand node, and will not trigger the 'onExpand' callback.

                  +
                  +

                  Examples of setting & function

                  +

                  1. disabled to expand node which is collapsed

                  +
                  function zTreeBeforeExpand(treeId, treeNode) {
                  +    return false;
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeExpand: zTreeBeforeExpand
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeMouseDown.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeMouseDown.html new file mode 100644 index 00000000..4af0818b --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeMouseDown.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeMouseDown

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the mousedown event before the 'onMouseDown' callback, zTree based on return value to determine whether to trigger the 'onMouseDown' callback.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which mouse over

                  +

                  If the DOM which mouse over isn't a node, it will return null.

                  +

                  Return Boolean

                  +

                  return true or false

                  +

                  If return false, zTree will not trigger the 'onMouseDown' callback, no effect on other operations.

                  +
                  +

                  Examples of setting & function

                  +

                  1. disable to trigger the 'onMouseDown' callback

                  +
                  function zTreeBeforeMouseDown(treeId, treeNode) {
                  +    return false;
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeMouseDown: zTreeBeforeMouseDown
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeMouseUp.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeMouseUp.html new file mode 100644 index 00000000..0c008fc4 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeMouseUp.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeMouseUp

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the mouseup event before the 'onMouseUp' callback, zTree based on return value to determine whether to trigger the 'onMouseUp' callback.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which mouse over

                  +

                  If the DOM which mouse over isn't a node, it will return null.

                  +

                  Return Boolean

                  +

                  return true or false

                  +

                  If return false, zTree will not trigger the 'onMouseUp' callback, no effect on other operations.

                  +
                  +

                  Examples of setting & function

                  +

                  1. disable to trigger the 'onMouseUp' callback

                  +
                  function zTreeBeforeMouseUp(treeId, treeNode) {
                  +    return false;
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeMouseUp: zTreeBeforeMouseUp
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeRemove.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeRemove.html new file mode 100644 index 00000000..38e14c19 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeRemove.html @@ -0,0 +1,37 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeRemove

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Used to capture the event before remove node, zTree based on return value to determine whether to allow to remove node.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which will be removed.

                  +

                  Return Boolean

                  +

                  return true or false

                  +

                  If return false, zTree will not remove node, and will not trigger the 'onRemove' callback.

                  +
                  +

                  Examples of setting & function

                  +

                  1. disable to remove node

                  +
                  function zTreeBeforeRemove(treeId, treeNode) {
                  +	return false;
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true
                  +	},
                  +	callback: {
                  +		beforeRemove: zTreeBeforeRemove
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeRename.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeRename.html new file mode 100644 index 00000000..76438a94 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeRename.html @@ -0,0 +1,46 @@ +
                  +
                  +

                  Function(treeId, treeNode, newName, isCancel)setting.callback.beforeRename

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Used to capture the event before rename(when input DOM blur or press Enter Key), zTree based on return value to determine whether to allow to rename node.

                  +

                  When node is editing name, press the ESC key to restore the original name and stop edit name.

                  +

                  From v3.5.13, zTree will trigger this callback when user cancel edit name. please see 'isCancel' parameter.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which will be rename.

                  +

                  newNameString

                  +

                  the new name

                  +

                  isCancelBoolean

                  +

                  the status about cancel edit name (v3.5.13+)

                  +

                  isCancel = true means: user cancel edit name. (press ESC or use cancelEditName() function)

                  +

                  isCancel = false means: user submit edit name.

                  +

                  Return Boolean

                  +

                  return true or false

                  +

                  If return false, the treeNode will keep the editing name, don't trigger the 'onRename' callback, and will ignore other enents, until the callback return true.

                  +

                  If returns false, zTree will not set the input box to get focus to avoid the warning message which led to repeated triggering ‘beforeRename’ callback. Please use editName() method to set the input box to get focus when user close the warning message.

                  +
                  +

                  Examples of setting & function

                  +

                  1. the length of the new name can't less than 5

                  +
                  function zTreeBeforeRename(treeId, treeNode, newName, isCancel) {
                  +	return newName.length > 5;
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true
                  +	},
                  +	callback: {
                  +		beforeRename: zTreeBeforeRename
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeRightClick.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeRightClick.html new file mode 100644 index 00000000..15c38cd5 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.beforeRightClick.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.callback.beforeRightClick

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the right click event before the 'onRightClick' callback, zTree based on return value to determine whether to trigger the 'onRightClick' callback.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which is mouse right clicked

                  +

                  If the DOM which mouse right clicked isn't a node, it will return null.

                  +

                  ReturnBoolean

                  +

                  return true or false

                  +

                  If return false, ztree will not trigger the 'onRightClick' callback, no effect on other operations.

                  +
                  +

                  Examples of setting & function

                  +

                  1. disable to trigger the 'onRightClick' callback

                  +
                  function zTreeBeforeRightClick(treeId, treeNode) {
                  +    return false;
                  +};
                  +var setting = {
                  +	callback: {
                  +		beforeRightClick: zTreeBeforeRightClick
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onAsyncError.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onAsyncError.html new file mode 100644 index 00000000..785c8d82 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onAsyncError.html @@ -0,0 +1,42 @@ +
                  +
                  +

                  setting.callback.onAsyncError

                  +

                  Function(event, treeId, treeNode, XMLHttpRequest, textStatus, errorThrown) 

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the error event when execute ajax.

                  +

                  If you set 'setting.callback.beforeAsync',and return false, zTree will not execute ajax, and will not trigger the 'onAsyncSuccess / onAsyncError' callback.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  eventjs event Object

                  +

                  event Object

                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the parent node

                  +

                  When load root nodes, treeNode = null

                  +

                  XMLHttpRequestString

                  +

                  XMLHttpRequest Object, please refer to JQuery API documentation.

                  +

                  textStatusString

                  +

                  a string categorizing the status of the request("success", "error"...), please refer to JQuery API documentation.

                  +

                  errorThrownString

                  +

                  eWhen an HTTP error occurs, errorThrown receives the textual portion of the HTTP status, please refer to JQuery API documentation.

                  +
                  +

                  Examples of setting & function

                  +

                  1. When execute ajax make error, alert message.

                  +
                  function zTreeOnAsyncError(event, treeId, treeNode, XMLHttpRequest, textStatus, errorThrown) {
                  +    alert(XMLHttpRequest);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onAsyncError: zTreeOnAsyncError
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onAsyncSuccess.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onAsyncSuccess.html new file mode 100644 index 00000000..2722691f --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onAsyncSuccess.html @@ -0,0 +1,38 @@ +
                  +
                  +

                  Function(event, treeId, treeNode, msg)setting.callback.onAsyncSuccess

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the complete success event when execute ajax.

                  +

                  If you set 'setting.callback.beforeAsync',and return false, zTree will not execute ajax, and will not trigger the 'onAsyncSuccess / onAsyncError' callback.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  eventjs event Object

                  +

                  event Object

                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the parent node

                  +

                  When load root nodes, treeNode = null

                  +

                  msgString / Object

                  +

                  The actualnode data which got by ajax. User-friendly debugging.

                  +

                  The actual data's type of msg is affected by 'setting.async.dataType', please refer to JQuery API documentation.

                  +
                  +

                  Examples of setting & function

                  +

                  1. When execute ajax complete success, alert message.

                  +
                  function zTreeOnAsyncSuccess(event, treeId, treeNode, msg) {
                  +    alert(msg);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onAsyncSuccess: zTreeOnAsyncSuccess
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onCheck.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onCheck.html new file mode 100644 index 00000000..ed33f8d1 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onCheck.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onCheck

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  Used to capture the check or uncheck event when check or uncheck the checkbox and radio.

                  +

                  If you set 'setting.callback.beforeCheck',and return false, zTree will not change check state, and will not trigger the 'onCheck' callback.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  eventjs event Object

                  +

                  event Object

                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which is checked or unchecked

                  +
                  +

                  Examples of setting & function

                  +

                  1. When check or uncheck the checkbox and radio, alert info about 'tId' and 'name' and 'checked'.

                  +
                  function zTreeOnCheck(event, treeId, treeNode) {
                  +    alert(treeNode.tId + ", " + treeNode.name + "," + treeNode.checked);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onCheck: zTreeOnCheck
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onClick.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onClick.html new file mode 100644 index 00000000..0453af85 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onClick.html @@ -0,0 +1,49 @@ +
                  +
                  +

                  Function(event, treeId, treeNode, clickFlag)setting.callback.onClick

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the click event when click node.

                  +

                  If you set 'setting.callback.beforeClick',and return false, zTree will not change selected state, and will not trigger the 'onClick' callback.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  eventjs event Object

                  +

                  event Object

                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which is clicked

                  +

                  clickFlagNumber

                  +

                  Node is selected or deselected state, please see table below for details

                  + + + + + + + + + + + + +
                  clickFlagselectedMultiautoCancelSelected
                  &&
                  event.ctrlKey / metaKey
                  isSelectedoperate for selected
                  1truefalsefalsenode is selected (single)
                  1truefalsetruenode is selected (single)
                  2truetruefalsenode is selected (multi)
                  0truetruetruenode is deselected
                  1falsefalsefalsenode is selected (single)
                  1falsefalsetruenode is selected (single)
                  1falsetruefalsenode is selected (single)
                  0falsetruetruenode is deselected
                  +
                  +

                  Examples of setting & function

                  +

                  1. When click node, alert info about 'tId' and 'name'.

                  +
                  function zTreeOnClick(event, treeId, treeNode) {
                  +    alert(treeNode.tId + ", " + treeNode.name);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onClick: zTreeOnClick
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onCollapse.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onCollapse.html new file mode 100644 index 00000000..d605dc8e --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onCollapse.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onCollapse

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the event when collapse node.

                  +

                  If you set 'setting.callback.beforeCollapse',and return false, zTree will not collapse node, and will not trigger the 'onCollapse' callback.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  eventjs event Object

                  +

                  event Object

                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which will be collapsed

                  +
                  +

                  Examples of setting & function

                  +

                  1. When collapse node, alert info about 'tId' and 'name'.

                  +
                  function zTreeOnCollapse(event, treeId, treeNode) {
                  +    alert(treeNode.tId + ", " + treeNode.name);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onCollapse: zTreeOnCollapse
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onDblClick.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onDblClick.html new file mode 100644 index 00000000..fbd47e8d --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onDblClick.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onDblClick

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the dblclick event when double click node.

                  +

                  If you set 'setting.callback.beforeDblClick',and return false, zTree will not trigger the 'onDblClick' callback.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  eventjs event Object

                  +

                  event Object

                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which is double clicked

                  +

                  If the DOM which dblclicked isn't a node, it will return null.

                  +
                  +

                  Examples of setting & function

                  +

                  1. When double click node, alert info about 'tId' and 'name'.

                  +
                  function zTreeOnDblClick(event, treeId, treeNode) {
                  +    alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
                  +};
                  +var setting = {
                  +	callback: {
                  +		onDblClick: zTreeOnDblClick
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onDrag.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onDrag.html new file mode 100644 index 00000000..d178b635 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onDrag.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(event, treeId, treeNodes)setting.callback.onDrag

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Used to capture the drag event when drag node.

                  +

                  If you set 'setting.callback.beforeDrag',and return false, zTree will stop drag, and will not trigger the 'onDragMove' & 'onDrag' callback.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  eventjs event Object

                  +

                  event Object

                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, the tree is what the treeNodes are belong to, easy for users to control.

                  +

                  treeNodesArray(JSON)

                  +

                  A collection of the nodes which will be dragged

                  +
                  +

                  Examples of setting & function

                  +

                  1. When drag nodes, alert the number of dragged nodes.

                  +
                  function zTreeOnDrag(event, treeId, treeNodes) {
                  +    alert(treeNodes.length);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onDrag: zTreeOnDrag
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onDragMove.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onDragMove.html new file mode 100644 index 00000000..a56e8353 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onDragMove.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(event, treeId, treeNodes)setting.callback.onDragMove

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Used to capture the drag-move event when drag & drop node.

                  +

                  Mainly used to capture the DOM which the nodes was drag in.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  eventjs event Object

                  +

                  event Object

                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, the tree is what the treeNodes are belong to, easy for users to control.

                  +

                  treeNodesArray(JSON)

                  +

                  A collection of the nodes which will be dragged

                  +
                  +

                  Examples of setting & function

                  +

                  1. When drag nodes, output the target dom.

                  +
                  function zTreeOnDragMove(event, treeId, treeNodes) {
                  +	console.log(event.target);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onDragMove: zTreeOnDragMove
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onDrop.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onDrop.html new file mode 100644 index 00000000..63624631 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onDrop.html @@ -0,0 +1,48 @@ +
                  +
                  +

                  Function(event, treeId, treeNodes, targetNode, moveType, isCopy)setting.callback.onDrop

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Used to capture the drop event when drag-drop node.

                  +

                  If you set 'setting.callback.beforeDrop',and return false, zTree will restore the dragged nodes, and will not trigger the 'onDrop' callback.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  eventjs event Object

                  +

                  event Object

                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, the tree is what the targetNode is belong to, easy for users to control.

                  +

                  treeNodesArray(JSON)

                  +

                  A collection of the nodes which has been dragged

                  +

                  The treeNodes are the data of the nodes which be dragged, when move nodes.

                  +

                  The treeNodes are the clone data of the nodes which be dragged, when copy nodes.

                  +

                  targetNodeJSON

                  +

                  JSON data object of the target node which treeNodes are drag-dropped.

                  +

                  If the treeNodes will be root node, the targetNode = null

                  +

                  moveTypeString

                  +

                  the relative position of move to the target node

                  +

                  "inner": will be child of targetNode

                  +

                  "prev": will be sibling node, and be in front of targetNode

                  +

                  "next": will be sibling node, and be behind targetNode

                  +

                  If moveType is null, means drag & drop is cancel.

                  +

                  isCopyBoolean

                  +

                  the flag used to judge copy node or move node

                  +

                  true: copy node; false: move node

                  +
                  +

                  Examples of setting & function

                  +

                  1. When drag-drop nodes complete, alert the number of dragged nodes and info about targetNode.

                  +
                  function zTreeOnDrop(event, treeId, treeNodes, targetNode, moveType) {
                  +    alert(treeNodes.length + "," + (targetNode ? (targetNode.tId + ", " + targetNode.name) : "isRoot" ));
                  +};
                  +var setting = {
                  +	callback: {
                  +		onDrop: zTreeOnDrop
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onExpand.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onExpand.html new file mode 100644 index 00000000..7b9d8d50 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onExpand.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onExpand

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the event when expand node.

                  +

                  If you set 'setting.callback.beforeExpand',and return false, zTree will not expand node, and will not trigger the 'onExpand' callback.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  eventjs event Object

                  +

                  event Object

                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which will be expanded

                  +
                  +

                  Examples of setting & function

                  +

                  1. When expand node, alert info about 'tId' and 'name'.

                  +
                  function zTreeOnExpand(event, treeId, treeNode) {
                  +    alert(treeNode.tId + ", " + treeNode.name);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onExpand: zTreeOnExpand
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onMouseDown.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onMouseDown.html new file mode 100644 index 00000000..bfd714c2 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onMouseDown.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onMouseDown

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the event when mouse down.

                  +

                  If you set 'setting.callback.beforeMouseDown',and return false, zTree will not trigger the 'onMouseDown' callback.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  eventjs event Object

                  +

                  event Object

                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which mouse over

                  +

                  If the DOM which mouse over isn't a node, it will return null.

                  +
                  +

                  Examples of setting & function

                  +

                  1. When mouse down, alert info about 'tId' and 'name'.

                  +
                  function zTreeOnMouseDown(event, treeId, treeNode) {
                  +    alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
                  +};
                  +var setting = {
                  +	callback: {
                  +		onMouseDown: zTreeOnMouseDown
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onMouseUp.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onMouseUp.html new file mode 100644 index 00000000..93edf319 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onMouseUp.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onMouseUp

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the event when mouse up.

                  +

                  If you set 'setting.callback.beforeMouseUp',and return false, zTree will not trigger the 'onMouseUp' callback.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  eventjs event Object

                  +

                  event Object

                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which mouse over

                  +

                  If the DOM which mouse over isn't a node, it will return null.

                  +
                  +

                  Examples of setting & function

                  +

                  1. When mouse up, alert info about 'tId' and 'name'.

                  +
                  function zTreeOnMouseUp(event, treeId, treeNode) {
                  +    alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
                  +};
                  +var setting = {
                  +	callback: {
                  +		onMouseUp: zTreeOnMouseUp
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onNodeCreated.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onNodeCreated.html new file mode 100644 index 00000000..a98b572f --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onNodeCreated.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onNodeCreated

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the event when node's DOM is created.

                  +

                  Because v3.x uses lazy loading technology, so the nodes which doesn't create DOM when initialized will not trigger this callback, until its parent node is expanded.

                  +

                  Large amount of data to load, please note: do not set onNodeCreated, can improve performance as when initialized.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  eventjs event Object

                  +

                  event Object

                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which DOM is created

                  +
                  +

                  Examples of setting & function

                  +

                  1. When node's DOM is created, alert info about 'tId' and 'name'.

                  +
                  function zTreeOnNodeCreated(event, treeId, treeNode) {
                  +    alert(treeNode.tId + ", " + treeNode.name);
                  +};
                  +var setting = {
                  +	callback: {
                  +		onNodeCreated: zTreeOnNodeCreated
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onRemove.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onRemove.html new file mode 100644 index 00000000..ce294136 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onRemove.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onRemove

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Used to capture the event when remove node.

                  +

                  If you set 'setting.callback.beforeRemove',and return false, zTree will not remove node, and will not trigger the 'onRemove' callback.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  eventjs event Object

                  +

                  event Object

                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which was removed.

                  +
                  +

                  Examples of setting & function

                  +

                  1. When remove node, alert info about 'tId' and 'name'.

                  +
                  function zTreeOnRemove(event, treeId, treeNode) {
                  +	alert(treeNode.tId + ", " + treeNode.name);
                  +}
                  +var setting = {
                  +	callback: {
                  +		onRemove: zTreeOnRemove
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onRename.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onRename.html new file mode 100644 index 00000000..cd47eae1 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onRename.html @@ -0,0 +1,40 @@ +
                  +
                  +

                  Function(event, treeId, treeNode, isCancel)setting.callback.onRename

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Used to capture the event when remove node.

                  +

                  1. If you set 'setting.callback.beforeRename',and return false, zTree will keep the editing name, and will not trigger the 'onRename' callback.

                  +

                  2. If you modity treeNode data, and use 'updateNode' function, zTree will not trigger the 'onRename' callback.

                  +

                  3. From v3.5.13, zTree will trigger this callback when user cancel edit name. please see 'isCancel' parameter.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  eventjs event Object

                  +

                  event Object

                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which was rename.

                  +

                  isCancelBoolean

                  +

                  the status about cancel edit name (v3.5.13+)

                  +

                  isCancel = true means: user cancel edit name. (press ESC or use cancelEditName() function)

                  +

                  isCancel = false means: user submit edit name.

                  +
                  +

                  Examples of setting & function

                  +

                  1. When rename node, alert info about 'tId' and 'name'.

                  +
                  function zTreeOnRename(event, treeId, treeNode, isCancel) {
                  +	alert(treeNode.tId + ", " + treeNode.name);
                  +}
                  +var setting = {
                  +	callback: {
                  +		onRename: zTreeOnRename
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onRightClick.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onRightClick.html new file mode 100644 index 00000000..86b4b012 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.callback.onRightClick.html @@ -0,0 +1,36 @@ +
                  +
                  +

                  Function(event, treeId, treeNode)setting.callback.onRightClick

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to capture the event when mouse right click node.

                  +

                  If you set 'setting.callback.beforeRightClick',and return false, zTree will not trigger the 'onRightClick' callback.

                  +

                  If you set 'setting.callback.onRightClick', zTree will shield the browser context menu when mouse right click on zTree.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  eventjs event Object

                  +

                  event Object

                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which is mouse right clicked

                  +

                  If the DOM which mouse right clicked isn't a node, it will return null.

                  +
                  +

                  Examples of setting & function

                  +

                  1. When mouse right click node, alert info about 'tId' and 'name'.

                  +
                  function zTreeOnRightClick(event, treeId, treeNode) {
                  +    alert(treeNode ? treeNode.tId + ", " + treeNode.name : "isRoot");
                  +};
                  +var setting = {
                  +	callback: {
                  +		onRightClick: zTreeOnRightClick
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.autoCheckTrigger.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.autoCheckTrigger.html new file mode 100644 index 00000000..b8b04cca --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.autoCheckTrigger.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Booleansetting.check.autoCheckTrigger

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  When node is automatically checked or unchecked, this parameter used to set to trigger 'beforeCheck / onCheck' callback. It is valid when [setting.check.enable = true & setting.check.chkStyle = "checkbox"]

                  +

                  1. If you set 'setting.check.chkboxType' to { "Y": "", "N": "" }, will not automatically checked or unchecked.

                  +

                  2. If you turn on the trigger and there are many more nodes, will affect the performance, because the check or uncheck node can cause many nodes to be automatically checked or unchecked, it will trigger a lot of callbacks, according to the need to decide whether to use this feature.

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: trigger callback

                  +

                  false means: don't trigger callback

                  +
                  +

                  Examples of setting

                  +

                  1. When node is automatically checked or unchecked, zTree trigger 'beforeCheck / onCheck' callback.

                  +
                  var setting = {
                  +	check: {
                  +		enable: true,
                  +		autoCheckTrigger: true
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.chkDisabledInherit.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.chkDisabledInherit.html new file mode 100644 index 00000000..98d824e4 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.chkDisabledInherit.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  Booleansetting.check.chkDisabledInherit

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  When the parent node's 'chkDisabled' attribute is true, set the child nodes automatically inherit the 'chkDisabled' attribute. It is valid when [setting.check.enable = true]

                  +

                  1. Only be used to initialize the nodes, easy batch operations. Please use the 'updateNode' method modify existing node.

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: When add new child nodes, if parent node's 'chkDisabled' attribute is true, the child nodes automatically inherit the 'chkDisabled' attribute.

                  +

                  false means: When add new child nodes, the child nodes don't inherit the 'chkDisabled' attribute from parent node.

                  +
                  +

                  Examples of setting

                  +

                  1. When add new child nodes, the child nodes automatically inherit the 'chkDisabled' attribute from parent node.

                  +
                  var setting = {
                  +	check: {
                  +		enable: true,
                  +		chkDisabledInherit: true
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.chkStyle.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.chkStyle.html new file mode 100644 index 00000000..d42e757a --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.chkStyle.html @@ -0,0 +1,48 @@ +
                  +
                  +

                  Stringsetting.check.chkStyle

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  Use the checkbox or radio. It is valid when [setting.check.enable = true]

                  +

                  Default: "checkbox"

                  +
                  +
                  +

                  String Format

                  +
                  +

                  When chkStyle = "checkbox", zTree show checkbox, and 'setting.check.chkboxType' attribute is valid. +
                  When chkStyle = "radio", zTree show radio, and 'setting.check.radioType' attribute is valid.

                  +

                  Please note that letter case, do not change.

                  +
                  +

                  checkbox States Descriptions

                  +
                  +

                  +
                  +

                  not checked; If node is parent, so its child nodes have been not checked. when mouse over:

                  +

                  not checked; (only parent node) some of its child nodes have been checked. when mouse over:

                  +

                  be checked; If node is parent, so its all child nodes have been checked. when mouse over:

                  +

                  be checked; (only parent node) some of its child nodes or all have been not checked. when mouse over:

                  +
                  +
                  +

                  radio States Descriptions

                  +
                  +

                  +
                  +

                  not checked; If node is parent, so its child have been not checked. when mouse over:

                  +

                  not checked; (only parent node) some of its child have been checked. when mouse over:

                  +

                  be checked; If node is parent, so its child have been not checked. when mouse over:

                  +

                  be checked; (only parent node) some of its child have been checked. when mouse over:

                  +
                  +
                  +

                  Examples of setting

                  +

                  1. use radio

                  +
                  var setting = {
                  +	check: {
                  +		enable: true,
                  +		chkStyle: "radio"
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.chkboxType.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.chkboxType.html new file mode 100644 index 00000000..5cecc9ee --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.chkboxType.html @@ -0,0 +1,31 @@ +
                  +
                  +

                  JSONsetting.check.chkboxType

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  When one node is checked or unchecked, control its parent node and its child node auto checked or unchecked. It is valid when [setting.check.enable = true & setting.check.chkStyle = "checkbox"]

                  +

                  Default: { "Y": "ps", "N": "ps" }

                  +
                  +
                  +

                  JSON Format

                  +
                  +

                  "Y" attribute use to set auto check after checkbox was checked. +
                  "N" attribute use to set auto uncheck after checkbox was unchecked. +
                  If value has "p", so parent nodes will be checked or unchecked. +
                  If value has "s", so child nodes will be checked or unchecked.

                  +

                  Please note that letter case, do not change.

                  +
                  +

                  Examples of setting

                  +

                  1. If check the node, so only auto check parent nodes; If uncheck the node, so only auto uncheck child nodes;

                  +
                  var setting = {
                  +	check: {
                  +		enable: true,
                  +		chkStyle: "checkbox",
                  +		chkboxType: { "Y": "p", "N": "s" }
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.enable.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.enable.html new file mode 100644 index 00000000..0236b5f8 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.enable.html @@ -0,0 +1,26 @@ +
                  +
                  +

                  Booleansetting.check.enable

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  Set to use checkbox or radio in zTree

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: use the checkbox or radio

                  +

                  false means: don't use the checkbox or radio

                  +
                  +

                  Examples of setting

                  +

                  1. use the checkbox

                  +
                  var setting = {
                  +	check: {
                  +		enable: true
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.nocheckInherit.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.nocheckInherit.html new file mode 100644 index 00000000..758b437e --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.nocheckInherit.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  Booleansetting.check.nocheckInherit

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  When the parent node's 'nocheck' attribute is true, set the child nodes automatically inherit the 'nocheck' attribute. It is valid when [setting.check.enable = true]

                  +

                  1. Only be used to initialize the nodes, easy batch operations. Please use the 'updateNode' method modify existing node.

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: When add new child nodes, if parent node's 'nocheck' attribute is true, the child nodes automatically inherit the 'nocheck' attribute.

                  +

                  false means: When add new child nodes, the child nodes don't inherit the 'nocheck' attribute from parent node.

                  +
                  +

                  Examples of setting

                  +

                  1. When add new child nodes, the child nodes automatically inherit the 'nocheck' attribute from parent node.

                  +
                  var setting = {
                  +	check: {
                  +		enable: true,
                  +		nocheckInherit: true
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.radioType.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.radioType.html new file mode 100644 index 00000000..be867d75 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.check.radioType.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Stringsetting.check.radioType

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  The group about radio. It is valid when [setting.check.enable = true & setting.check.chkStyle = "radio"]

                  +

                  Default: "level"

                  +
                  +
                  +

                  String Format

                  +
                  +

                  When radioType = "level", will be grouped with same level nodes which have the same parent node. +
                  When radioType = "all", will be grouped with all nodes.

                  +

                  Please note that letter case, do not change.

                  +
                  +

                  Examples of setting

                  +

                  1. Set the group about radio is all nodes.

                  +
                  var setting = {
                  +	check: {
                  +		enable: true,
                  +		chkStyle: "radio",
                  +		radioType: "all"
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.keep.leaf.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.keep.leaf.html new file mode 100644 index 00000000..71c573e4 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.keep.leaf.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  Booleansetting.data.keep.leaf

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The leaf node's lock, the leaf node will lock the 'isParent' attribute to false.

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: lock the leaf node, and the node which 'isParent' attribute is false can't add child nodes.

                  +

                  false means: don't lock the leaf node, and the node which 'isParent' attribute is false can add child nodes.

                  +
                  +

                  Examples of setting

                  +

                  1. lock the leaf node

                  +
                  var setting = {
                  +	data: {
                  +		keep: {
                  +			leaf: true
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.keep.parent.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.keep.parent.html new file mode 100644 index 00000000..5bab2f1e --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.keep.parent.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  Booleansetting.data.keep.parent

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The parent node's lock, the parent node will lock 'isParent' attribute to true.

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: lock the parent node, and if remove all of the parent node's child nodes, its 'isParent' attribute still keep to be true..

                  +

                  false means: don't lock the parent node, and if remove all of the parent node's child nodes, its 'isParent' attribute will change to be false..

                  +
                  +

                  Examples of setting

                  +

                  1. lock the parent node

                  +
                  var setting = {
                  +	data: {
                  +		keep: {
                  +			parent: true
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.checked.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.checked.html new file mode 100644 index 00000000..2678cf25 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.checked.html @@ -0,0 +1,24 @@ +
                  +
                  +

                  Stringsetting.data.key.checked

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  The node data's attribute to save the checked state.

                  +

                  Default: "checked"

                  +

                  Please don't set the other node attribute which zTree used. (e.g., checkedOld)

                  +
                  +
                  +

                  Examples of setting

                  +

                  1. set the 'isChecked' attribute to save the checked state.

                  +
                  var setting = {
                  +	data: {
                  +		key: {
                  +			checked: "isChecked"
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.children.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.children.html new file mode 100644 index 00000000..321a1a7d --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.children.html @@ -0,0 +1,23 @@ +
                  +
                  +

                  Stringsetting.data.key.children

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The node data's attribute to save the child nodes.

                  +

                  Default: "children"

                  +
                  +
                  +

                  Examples of setting

                  +

                  1. Set the 'nodes' attribute to save the child nodes.

                  +
                  var setting = {
                  +	data: {
                  +		key: {
                  +			children: "nodes"
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.name.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.name.html new file mode 100644 index 00000000..0208c559 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.name.html @@ -0,0 +1,23 @@ +
                  +
                  +

                  Stringsetting.data.key.name

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The node data's attribute to save the node name.

                  +

                  Default: "name"

                  +
                  +
                  +

                  Examples of setting

                  +

                  1. Set the 'ename' attribute to save the node name.

                  +
                  var setting = {
                  +	data: {
                  +		key: {
                  +			name: "ename"
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.title.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.title.html new file mode 100644 index 00000000..96540eb6 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.title.html @@ -0,0 +1,24 @@ +
                  +
                  +

                  Stringsetting.data.key.title

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The node data's attribute to save the 'title' attribute of node DOM. It is valid when [setting.view.showTitle = true]

                  +

                  If set it to "", the title of node DOM will be same as 'setting.data.key.name' attribute.

                  +

                  Default: ""

                  +
                  +
                  +

                  Examples of setting

                  +

                  1. Set the 'fullName' attribute to save the title of node DOM.

                  +
                  var setting = {
                  +	data: {
                  +		key: {
                  +			title: "fullName"
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.url.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.url.html new file mode 100644 index 00000000..e9a08cea --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.key.url.html @@ -0,0 +1,24 @@ +
                  +
                  +

                  Stringsetting.data.key.url

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The node data's attribute to save the node link's url.

                  +

                  Special: If the nodes's data can only use the 'url' attribute, and don't use the link to jump feature, you can modify this attribute to any nonexistent attribute.

                  +

                  Default: "url"

                  +
                  +
                  +

                  Examples of setting

                  +

                  1. Set the 'xUrl' attribute to save the node link's url.

                  +
                  var setting = {
                  +	data: {
                  +		key: {
                  +			url: "xUrl"
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.simpleData.enable.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.simpleData.enable.html new file mode 100644 index 00000000..7ea21db3 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.simpleData.enable.html @@ -0,0 +1,39 @@ +
                  +
                  +

                  Booleansetting.data.simpleData.enable

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Set zTree's node to accept the simple data format, when zTree is initialized or when ajax get / or when use addNodes method.

                  +

                  Don't have to generate the complex nested data.

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: zTree's node accept the simple data format.

                  +

                  false means: zTree's node only accept the nested data format.

                  +

                  If set it is true, you must set the other attributes in 'setting.data.simpleData'. (e.g., idKey, pIdKey, rootPId) And let the data satisfy the parent-child relationship.

                  +
                  +

                  Examples of setting

                  +

                  1. use the simple data format

                  +
                  var setting = {
                  +	data: {
                  +		simpleData: {
                  +			enable: true,
                  +			idKey: "id",
                  +			pIdKey: "pId",
                  +			rootPId: 0,
                  +		}
                  +	}
                  +};
                  +var treeNodes = [
                  +    {"id":1, "pId":0, "name":"test1"},
                  +    {"id":11, "pId":1, "name":"test11"},
                  +    {"id":12, "pId":1, "name":"test12"},
                  +    {"id":111, "pId":11, "name":"test111"}
                  +];
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.simpleData.idKey.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.simpleData.idKey.html new file mode 100644 index 00000000..43df2605 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.simpleData.idKey.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  Stringsetting.data.simpleData.idKey

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The node data's attribute to save node data's unique identifier. It is valid when [setting.data.simpleData.enable = true]

                  +

                  Default: "id"

                  +
                  +
                  +

                  Examples of setting

                  +

                  1. use the simple data format

                  +
                  var setting = {
                  +	data: {
                  +		simpleData: {
                  +			enable: true,
                  +			idKey: "id",
                  +			pIdKey: "pId",
                  +			rootPId: 0,
                  +		}
                  +	}
                  +};
                  +var treeNodes = [
                  +    {"id":1, "pId":0, "name":"test1"},
                  +    {"id":11, "pId":1, "name":"test11"},
                  +    {"id":12, "pId":1, "name":"test12"},
                  +    {"id":111, "pId":11, "name":"test111"}
                  +];
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.simpleData.pIdKey.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.simpleData.pIdKey.html new file mode 100644 index 00000000..8378c6e3 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.simpleData.pIdKey.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  Stringsetting.data.simpleData.pIdKey

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The node data's attribute to save its parent node data's unique identifier. It is valid when [setting.data.simpleData.enable = true]

                  +

                  Default: "pId"

                  +
                  +
                  +

                  Examples of setting

                  +

                  1. use the simple data format

                  +
                  var setting = {
                  +	data: {
                  +		simpleData: {
                  +			enable: true,
                  +			idKey: "id",
                  +			pIdKey: "pId",
                  +			rootPId: 0
                  +		}
                  +	}
                  +};
                  +var treeNodes = [
                  +    {"id":1, "pId":0, "name":"test1"},
                  +    {"id":11, "pId":1, "name":"test11"},
                  +    {"id":12, "pId":1, "name":"test12"},
                  +    {"id":111, "pId":11, "name":"test111"}
                  +];
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.simpleData.rootPId.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.simpleData.rootPId.html new file mode 100644 index 00000000..61c9bbd0 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.data.simpleData.rootPId.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  String / Numbersetting.data.simpleData.rootPId

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Set the default value of root's 'pIdKey' specified attribute values​​. It is valid when [setting.data.simpleData.enable = true]

                  +

                  Default: null

                  +
                  +
                  +

                  Examples of setting

                  +

                  1. use the simple data format

                  +
                  var setting = {
                  +	data: {
                  +		simpleData: {
                  +			enable: true,
                  +			idKey: "id",
                  +			pIdKey: "pId",
                  +			rootPId: 0
                  +		}
                  +	}
                  +};
                  +var treeNodes = [
                  +    {"id":1, "pId":0, "name":"test1"},
                  +    {"id":11, "pId":1, "name":"test11"},
                  +    {"id":12, "pId":1, "name":"test12"},
                  +    {"id":111, "pId":11, "name":"test111"}
                  +];
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.autoExpandTrigger.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.autoExpandTrigger.html new file mode 100644 index 00000000..804ee66a --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.autoExpandTrigger.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Booleansetting.edit.drag.autoExpandTrigger

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  When drag node cause the parent node is automatically expanded, set whether to allow to trigger the 'onExpand' callback. It is valid when [setting.edit.enable = true]

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: trigger the 'onExpand' callback.

                  +

                  false means: don't trigger the 'onExpand' callback.

                  +
                  +

                  Examples of setting

                  +

                  1. Set to allow to trigger the 'onExpand' callback

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			autoExpandTrigger: true
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.autoOpenTime.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.autoOpenTime.html new file mode 100644 index 00000000..74982afa --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.autoOpenTime.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  Numbersetting.edit.drag.autoOpenTime

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Drag to the parent node, the parent node auto expand time interval. (Unit: ms) It is valid when [setting.edit.enable = true]

                  +

                  Default: 500

                  +

                  Please adjust the value according to needs.

                  +
                  +
                  +

                  Examples of setting

                  +

                  1. When drag node to other parent node, expand it at once.

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			autoOpenTime: 0
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.borderMax.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.borderMax.html new file mode 100644 index 00000000..edbb752b --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.borderMax.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  Numbersetting.edit.drag.borderMax

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  When drag a node to root, the zTree's inner border width. (Unit: px) It is valid when [setting.edit.enable = true]

                  +

                  Default: 10

                  +

                  Please adjust the value according to needs.

                  +
                  +
                  +

                  Examples of setting

                  +

                  1. adjust the inner border width is 20px

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			borderMax: 20
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.borderMin.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.borderMin.html new file mode 100644 index 00000000..e8458530 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.borderMin.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  Numbersetting.edit.drag.borderMin

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  When drag a node to root, the zTree's outer border width. (Unit: px) It is valid when [setting.edit.enable = true]

                  +

                  Default: -5

                  +

                  Please adjust the value according to needs.

                  +
                  +
                  +

                  Examples of setting

                  +

                  1. adjust the outer border width is 10px

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			borderMin: -10
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.inner.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.inner.html new file mode 100644 index 00000000..1065df3b --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.inner.html @@ -0,0 +1,60 @@ +
                  +
                  +

                  Boolean / Function(treeId, treeNodes, targetNode)setting.edit.drag.inner

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  When drag one node to the target node, set whether to allow the node to be the target node's child. It is valid when [setting.edit.enable = true]

                  +

                  If the target node is root, so zTree will only trigger 'inner' and not trigger 'prev / next'.

                  +

                  This function mainly for the appropriate limit drag and drop (auxiliary arrow), it requires a combination of 'prev, next' together, to achieve full functionality.

                  +

                  Default: true

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: allow the node to be the target node's child.

                  +

                  false means: don't allow the node to be the target node's child.

                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodesArray(JSON)

                  +

                  A collection of the nodes which has been dragged

                  +

                  targetNodeJSON

                  +

                  JSON data object of the target node which treeNodes are draged over.

                  +

                  If the treeNodes will be root node, the targetNode = null

                  +

                  Return Boolean

                  +

                  return true or false

                  +
                  +

                  Examples of setting & function

                  +

                  1. disable to drag the node to the target node's inner.

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			prev: true,
                  +			next: true,
                  +			inner: false
                  +		}
                  +	}
                  +};
                  +......
                  +

                  2. disable to drag the node to be root node's child.

                  +
                  function canInner(treeId, nodes, targetNode) {
                  +	return !(targetNode && targetNode.level === 0);
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			prev: true,
                  +			next: true,
                  +			inner: canInner
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.isCopy.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.isCopy.html new file mode 100644 index 00000000..1207d2ae --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.isCopy.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  Booleansetting.edit.drag.isCopy

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  When drag-drop node, set whether to allow to copy node. It is valid when [setting.edit.enable = true]

                  +

                  Default: true

                  +
                  +
                  +

                  Rules Description

                  +
                  +

                  1. If isCopy = true and isMove = true, when drag-drop node, press Ctrl-Key or Cmd-key can copy node, don't press Ctrl-Key or Cmd-key can move node.

                  +

                  2. If isCopy = true and isMove = false, when drag-drop node, will copy node.

                  +

                  3. If isCopy = false and isMove = true, when drag-drop node, will move node.

                  +

                  4. If isCopy = false and isMove = false, so disable to drag-drop node.

                  +
                  +

                  Examples of setting

                  +

                  1. all of the drag-drop operation will copy node.

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			isCopy: true,
                  +			isMove: false
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.isMove.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.isMove.html new file mode 100644 index 00000000..e4a7ca3a --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.isMove.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  Booleansetting.edit.drag.isMove

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  When drag-drop node, set whether to allow to move node. It is valid when [setting.edit.enable = true]

                  +

                  Default: true

                  +
                  +
                  +

                  Rules Description

                  +
                  +

                  1. If isCopy = true and isMove = true, when drag-drop node, press Ctrl-Key or Cmd-key can copy node, don't press Ctrl-Key or Cmd-key can move node.

                  +

                  2. If isCopy = true and isMove = false, when drag-drop node, will copy node.

                  +

                  3. If isCopy = false and isMove = true, when drag-drop node, will move node.

                  +

                  4. If isCopy = false and isMove = false, so disable to drag-drop node.

                  +
                  +

                  Examples of setting

                  +

                  1. all of the drag-drop operation will move node.

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			isCopy: false,
                  +			isMove: true
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.maxShowNodeNum.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.maxShowNodeNum.html new file mode 100644 index 00000000..dbc3ae47 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.maxShowNodeNum.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  Numbersetting.edit.drag.maxShowNodeNum

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  When dragging more than one sibling node, the floating layer shows the maximum number of nodes. zTree using '...' instead of redundant nodes. It is valid when [setting.edit.enable = true]

                  +

                  Default: 5

                  +

                  Please adjust the value according to needs.

                  +
                  +
                  +

                  Examples of setting

                  +

                  1. Set the maximum number is 10

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			maxShowNodeNum: 10
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.minMoveSize.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.minMoveSize.html new file mode 100644 index 00000000..8270a993 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.minMoveSize.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  Numbersetting.edit.drag.minMoveSize

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  The minimum offset which used to determine the drag operator start. (Unit: px) It is valid when [setting.edit.enable = true]

                  +

                  Please adjust the value according to needs. Note: If it is too small, will easily lead to misoperation when you click mouse.

                  +

                  Default: 5

                  +
                  +
                  +

                  Examples of setting

                  +

                  1. Set the minimum offset is 10px.

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			minMoveSize: 10
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.next.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.next.html new file mode 100644 index 00000000..82eb6fba --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.next.html @@ -0,0 +1,59 @@ +
                  +
                  +

                  Boolean / Function(treeId, treeNodes, targetNode)setting.edit.drag.next

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  When drag one node to the target node, set whether to allow the node to be the target node's next sibling. It is valid when [setting.edit.enable = true]

                  +

                  If the target node is root, so zTree will only trigger 'inner' and not trigger 'prev / next'.

                  +

                  This function mainly for the appropriate limit drag and drop (auxiliary arrow), it requires a combination of 'prev, inner' together, to achieve full functionality.

                  +

                  Default: true

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: allow the node to be the target node's next sibling.

                  +

                  false means: don't allow the node to be the target node's next sibling.

                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodesArray(JSON)

                  +

                  A collection of the nodes which has been dragged

                  +

                  targetNodeJSON

                  +

                  JSON data object of the target node which treeNodes are draged over.

                  +

                  Return Boolean

                  +

                  return true or false

                  +
                  +

                  Examples of setting & function

                  +

                  1. disable to drag the node to the target node's next sibling.

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			prev: true,
                  +			next: false,
                  +			inner: true
                  +		}
                  +	}
                  +};
                  +......
                  +

                  2. disable to drag the node to be all of the parent nodes's next sibling.

                  +
                  function canNext(treeId, nodes, targetNode) {
                  +	return !targetNode.isParent;
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			prev: true,
                  +			next: canNext,
                  +			inner: true
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.prev.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.prev.html new file mode 100644 index 00000000..de6f0c82 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.drag.prev.html @@ -0,0 +1,59 @@ +
                  +
                  +

                  Boolean / Function(treeId, treeNodes, targetNode)setting.edit.drag.prev

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  When drag one node to the target node, set whether to allow the node to be the target node's previous sibling. It is valid when [setting.edit.enable = true]

                  +

                  If the target node is root, so zTree will only trigger 'inner' and not trigger 'prev / next'.

                  +

                  This function mainly for the appropriate limit drag and drop (auxiliary arrow), it requires a combination of 'next, inner' together, to achieve full functionality.

                  +

                  Default: true

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: allow the node to be the target node's previous sibling.

                  +

                  false means: don't allow the node to be the target node's previous sibling.

                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodesArray(JSON)

                  +

                  A collection of the nodes which has been dragged

                  +

                  targetNodeJSON

                  +

                  JSON data object of the target node which treeNodes are draged over.

                  +

                  Return Boolean

                  +

                  return true or false

                  +
                  +

                  Examples of setting & function

                  +

                  1. disable to drag the node to the target node's previous sibling.

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			prev: false,
                  +			next: true,
                  +			inner: true
                  +		}
                  +	}
                  +};
                  +......
                  +

                  2. disable to drag the node to be all of the parent nodes's previous sibling.

                  +
                  function canPrev(treeId, nodes, targetNode) {
                  +	return !targetNode.isParent;
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true,
                  +		drag: {
                  +			prev: canPrev,
                  +			next: true,
                  +			inner: true
                  +		}
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.editNameSelectAll.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.editNameSelectAll.html new file mode 100644 index 00000000..a030359d --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.editNameSelectAll.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  Booleansetting.edit.editNameSelectAll

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  When edit node's name, the text in input is selected or unselected. It is valid when [setting.edit.enable = true]

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: when show the input, the text in input is selected

                  +

                  false means: when show the input, the text in input is not selected

                  +
                  +

                  Examples of setting

                  +

                  1. When edit node's name, the text in input is selected.

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		editNameSelectAll: true
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.enable.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.enable.html new file mode 100644 index 00000000..ec9d2b31 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.enable.html @@ -0,0 +1,39 @@ +
                  +
                  +

                  Booleansetting.edit.enable

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Set zTree is in edit mode

                  +

                  Please set this attribute before zTree initialization. If you need to change the edit mode after the initialization, please use zTreeObj.setEditable() method.

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: zTree is in edit mode.

                  +

                  false means: zTree is not in edit mode.

                  +
                  +

                  Editing Rules Description

                  +
                  +

                  1. When click the node, it will not open 'node.url' specified URL. +
                  2. Support for dynamic tree editing. +
                  3. You can drag-drop nodes, and support drag-drop nodes between multiple trees. +
                  4. Support use drag-drop to copy or move the node. (Reference: setting.edit.drag.isCopy / setting.edit.drag.isMove) +
                  5. You can use the Edit button to modify the name attribute. +
                  6. You can use the Remove button to remove the node. +
                  +

                  +

                  Please note that letter case, do not change.

                  +
                  +

                  Examples of setting

                  +

                  1. edit the tree

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.removeTitle.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.removeTitle.html new file mode 100644 index 00000000..e2175279 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.removeTitle.html @@ -0,0 +1,48 @@ +
                  +
                  +

                  String / Function(treeId, treeNode)setting.edit.removeTitle

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  the title of the remove button DOM. It is valid when [setting.edit.enable = true & setting.edit.showRemoveBtn = true]

                  +

                  Default: "remove"

                  +
                  +
                  +

                  String Format

                  +
                  +

                  When the mouse over the remove button, the browser auto pop-up message content.

                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which show the remove button

                  +

                  Return String

                  +

                  Return value is same as 'String Format'

                  +
                  +

                  Examples of setting & function

                  +

                  1. Set title is 'remove the node' about all the remove button

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		showRemoveBtn: true,
                  +		removeTitle: "remove the node"
                  +	}
                  +};
                  +......
                  +

                  2. Set title is 'remove the parent node' about the parent node, and is 'remove the leaf node' about the leaf node

                  +
                  function setRemoveTitle(treeId, treeNode) {
                  +	return treeNode.isParent ? "remove the parent node":"remove the leaf node";
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true,
                  +		showRemoveBtn: true,
                  +		removeTitle: setRemoveTitle
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.renameTitle.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.renameTitle.html new file mode 100644 index 00000000..b8ce5a6b --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.renameTitle.html @@ -0,0 +1,48 @@ +
                  +
                  +

                  String / Function(treeId, treeNode)setting.edit.renameTitle

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  the title of the rename button DOM. It is valid when [setting.edit.enable = true & setting.edit.showRenameBtn = true]

                  +

                  Default: "rename"

                  +
                  +
                  +

                  String Format

                  +
                  +

                  When the mouse over the rename button, the browser auto pop-up message content.

                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which show the rename button

                  +

                  Return String

                  +

                  return value is same as 'String Format'

                  +
                  +

                  Examples of setting & function

                  +

                  1. Set title is 'rename the node' about all the rename button

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		showRenameBtn: true,
                  +		renameTitle: "rename the node"
                  +	}
                  +};
                  +......
                  +

                  2. Set title is 'rename the parent node' about the parent node, and is 'rename the leaf node' about the leaf node

                  +
                  function setRenameTitle(treeId, treeNode) {
                  +	return treeNode.isParent ? "rename the parent node":"rename the leaf node";
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true,
                  +		showRenameBtn: true,
                  +		renameTitle: setRenameTitle
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.showRemoveBtn.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.showRemoveBtn.html new file mode 100644 index 00000000..f0f1fe15 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.showRemoveBtn.html @@ -0,0 +1,50 @@ +
                  +
                  +

                  Boolean / Function(treeId, treeNode)setting.edit.showRemoveBtn

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Set to show or hide the remove button. It is valid when [setting.edit.enable = true]

                  +

                  When you click the remove button:

                  +

                  1. zTree will trigger the setting.callback.beforeRemove callback, and you can decide whether to allow delete.

                  +

                  2. If you don't set the 'beforeRemove' or the 'beforeRemove' callback return true, so zTree will trigger the setting.callback.onRemove callback after remove the node.

                  +

                  Default: true

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: show the remove button

                  +

                  false means: hide the remove button

                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which show the remove button

                  +

                  Return Boolean

                  +

                  Return value is same as 'Boolean Format'

                  +
                  +

                  Examples of setting & function

                  +

                  1. Hide the remove button

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		showRemoveBtn: false
                  +	}
                  +};
                  +......
                  +

                  2. Hide the remove button of parent node

                  +
                  function setRemoveBtn(treeId, treeNode) {
                  +	return !treeNode.isParent;
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true,
                  +		showRemoveBtn: setRemoveBtn
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.showRenameBtn.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.showRenameBtn.html new file mode 100644 index 00000000..4fe2f581 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.edit.showRenameBtn.html @@ -0,0 +1,52 @@ +
                  +
                  +

                  Boolean / Function(treeId, treeNode)setting.edit.showRenameBtn

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Set to show or hide the rename button. It is valid when [setting.edit.enable = true]

                  +

                  When you click the rename button:

                  +

                  1. Click the rename button, you can rename the node.

                  +

                  2. After rename operation (the input DOM blur or press the Enter Key), zTree will trigger the setting.callback.beforeRename callback, and you can decide whether to allow rename.

                  +

                  3. If the 'beforeRename' callback return false, so zTree will keep the edit status. (Press the ESC key, can be restored to the original state.

                  +

                  4. If you don't set the 'beforeRename' or the 'beforeRename' callback return true, so zTree will trigger the setting.callback.onRename callback after rename the node.

                  +

                  Default: true

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: show the rename button

                  +

                  false means: hide the rename button

                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which show the rename button

                  +

                  Return Boolean

                  +

                  Return value is same as 'Boolean Format'

                  +
                  +

                  Examples of setting & function

                  +

                  1. Hide the rename button

                  +
                  var setting = {
                  +	edit: {
                  +		enable: true,
                  +		showRenameBtn: false
                  +	}
                  +};
                  +......
                  +

                  2. Hide the rename button of parent node

                  +
                  function setRenameBtn(treeId, treeNode) {
                  +	return !treeNode.isParent;
                  +}
                  +var setting = {
                  +	edit: {
                  +		enable: true,
                  +		showRenameBtn: setRenameBtn
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.treeId.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.treeId.html new file mode 100644 index 00000000..e4b04b37 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.treeId.html @@ -0,0 +1,14 @@ +
                  +
                  +

                  Stringsetting.treeId

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  zTree unique identifier. After the initialization, it equals to the id attribute value of the user-defined zTree container.

                  +

                  Do not initialize or modify it, it is an internal argument.

                  +
                  +
                  + +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.treeObj.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.treeObj.html new file mode 100644 index 00000000..30eb66c4 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.treeObj.html @@ -0,0 +1,14 @@ +
                  +
                  +

                  Objectsetting.treeObj

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  zTree DOM's jQuery object, the main function: easy to internal operations.

                  +

                  Do not initialize or modify it, it is an internal argument.

                  +
                  +
                  + +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.addDiyDom.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.addDiyDom.html new file mode 100644 index 00000000..fa22befd --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.addDiyDom.html @@ -0,0 +1,40 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.view.addDiyDom

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  This function used to display the custom control on the node.

                  +

                  1. If you have huge node data, please note: this function will affect the initialization performance. If not required, it is recommended not to use this function.

                  +

                  2. This function is an advanced application, please make sure that a better understanding of zTree before you use it.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which display the custom control.

                  +
                  +

                  Examples of setting & function

                  +

                  1. Display button in all nodes.

                  +
                  var setting = {
                  +	view: {
                  +		addDiyDom: addDiyDom
                  +	}
                  +};
                  +function addDiyDom(treeId, treeNode) {
                  +	var aObj = $("#" + treeNode.tId + "_a");
                  +	if ($("#diyBtn_"+treeNode.id).length>0) return;
                  +	var editStr = "<span id='diyBtn_space_" +treeNode.id+ "' > </span>"
                  +		+ "<button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
                  +		+ "' title='"+treeNode.name+"' onfocus='this.blur();'></button>";
                  +	aObj.append(editStr);
                  +	var btn = $("#diyBtn_"+treeNode.id);
                  +	if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.addHoverDom.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.addHoverDom.html new file mode 100644 index 00000000..1ea8b6d9 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.addHoverDom.html @@ -0,0 +1,45 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.view.addHoverDom

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Used to display custom control when mouse move over the node. (e.g. the rename and remove button)

                  +

                  If you use this function, so must set setting.view.removeHoverDom, please make sure that a better understanding of zTree before you use it.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which need to display the custom control.

                  +
                  +

                  Examples of setting & function

                  +

                  1. Display a button when mouse move over the node, and hide the button when mouse move out.

                  +
                  var setting = {
                  +	view: {
                  +		addHoverDom: addHoverDom,
                  +		removeHoverDom: removeHoverDom,
                  +		......
                  +	}
                  +};
                  +function addHoverDom(treeId, treeNode) {
                  +	var aObj = $("#" + treeNode.tId + "_a");
                  +	if ($("#diyBtn_"+treeNode.id).length>0) return;
                  +	var editStr = "<span id='diyBtn_space_" +treeNode.id+ "' > </span>"
                  +		+ "<button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
                  +		+ "' title='"+treeNode.name+"' onfocus='this.blur();'></button>";
                  +	aObj.append(editStr);
                  +	var btn = $("#diyBtn_"+treeNode.id);
                  +	if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
                  +};
                  +function removeHoverDom(treeId, treeNode) {
                  +	$("#diyBtn_"+treeNode.id).unbind().remove();
                  +	$("#diyBtn_space_" +treeNode.id).unbind().remove();
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.autoCancelSelected.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.autoCancelSelected.html new file mode 100644 index 00000000..44ab90d0 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.autoCancelSelected.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  Booleansetting.view.autoCancelSelected

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  When click the selected node while pressing the Ctrl-key or Cmd-key, allow to cancel selected the node.

                  +

                  If you don't need this function, please set to false.

                  +

                  Default: true

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: press the Ctrl-key or Cmd-key, can cancel selected node.

                  +

                  false means: press the Ctrl-key or Cmd-key, can't cancel selected node.

                  +
                  +

                  Examples of setting

                  +

                  1. Press the Ctrl-key or Cmd-key, can't cancel selected node.

                  +
                  var setting = {
                  +	view: {
                  +		autoCancelSelected: false
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.dblClickExpand.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.dblClickExpand.html new file mode 100644 index 00000000..25176240 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.dblClickExpand.html @@ -0,0 +1,45 @@ +
                  +
                  +

                  Boolean / Function(treeId, treeNode)setting.view.dblClickExpand

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  When double-click the parent node, 'dblClickExpand' is used to decide whether to expand the parent node.

                  +

                  Default: true

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: When double-click the parent node, zTree will expand the parent node.

                  +

                  false means: When double-click the parent node, zTree will not expand the parent node.

                  +
                  +

                  Function Pamameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which be double-clicked.

                  +

                  Return Boolean

                  +

                  Return value is same as 'Boolean Format'

                  +
                  +

                  Example of setting

                  +

                  1. When double-click the parent node, zTree will not expand the parent node.

                  +
                  var setting = {
                  +	view: {
                  +		dblClickExpand: false
                  +	}
                  +};
                  +......
                  +

                  2. When double-click the parent node, zTree will expand the parent node which level>0.

                  +
                  function dblClickExpand(treeId, treeNode) {
                  +	return treeNode.level > 0;
                  +};
                  +var setting = {
                  +	view: {
                  +		dblClickExpand: dblClickExpand
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.expandSpeed.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.expandSpeed.html new file mode 100644 index 00000000..1911e74e --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.expandSpeed.html @@ -0,0 +1,31 @@ +
                  +
                  +

                  String / Numbersetting.view.expandSpeed

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The animation speed of expand or collapse node. As same as 'speed' parameter in jQuery

                  +

                  In order to ensure zTree operating speed, if use the IE6, zTree will not use animation.

                  +

                  Default: "fast"

                  +
                  +
                  +

                  String Format

                  +
                  +

                  e.g. "slow", "normal", or "fast"

                  +

                  If set to "", zTree will not use animation.

                  +
                  +

                  Number Format

                  +
                  +

                  How long the animation will run. [Unit: ms] (e.g. 1000)

                  +
                  +

                  Examples of setting

                  +

                  1. Set the animation speed to slow

                  +
                  var setting = {
                  +	view: {
                  +		expandSpeed: "slow"
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.fontCss.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.fontCss.html new file mode 100644 index 00000000..1ad5f516 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.fontCss.html @@ -0,0 +1,42 @@ +
                  +
                  +

                  JSON / Function(treeId, treeNode)setting.view.fontCss

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Personalized text style, only applies to <A> object in the node DOM

                  +

                  Default: {}

                  +
                  +
                  +

                  JSON Format

                  +
                  +

                  As same as .css() method in jQuery. e.g. {color:"#ff0011", background:"blue"}

                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which use the personalized text style

                  +

                  Return JSON

                  +

                  Return value is same as 'JSON Format'. e.g. {color:"#ff0011", background:"blue"}

                  +
                  +

                  Examples of setting & function

                  +

                  1. Don't modify css file, and set the node name's color to red

                  +
                  var setting = {
                  +	view: {
                  +		fontCss : {color:"red"}
                  +	}
                  +};
                  +

                  2. Don't modify css file, and set the root node name's color to red

                  +
                  function setFontCss(treeId, treeNode) {
                  +	return treeNode.level == 0 ? {color:"red"} : {};
                  +};
                  +var setting = {
                  +	view: {
                  +		fontCss: setFontCss
                  +	}
                  +};
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.nameIsHTML.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.nameIsHTML.html new file mode 100644 index 00000000..4fe19ada --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.nameIsHTML.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  Booleansetting.view.nameIsHTML

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Set to use HTML in 'name' attribute.

                  +

                  If allow HTML, please do check to avoid security issues, e.g. JavaScript Injection...

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: 'name' attribute can be HTML.

                  +

                  false means: 'name' attribute is only TEXT.

                  +
                  +

                  Examples of setting

                  +

                  1. Set to allow HTML

                  +
                  var setting = {
                  +	view: {
                  +		nameIsHTML: true
                  +	}
                  +};
                  +var node = {"name":"<font color='red'>test</font>"};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.removeHoverDom.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.removeHoverDom.html new file mode 100644 index 00000000..0c70aff2 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.removeHoverDom.html @@ -0,0 +1,45 @@ +
                  +
                  +

                  Function(treeId, treeNode)setting.view.removeHoverDom

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Used to hide custom control when mouse move out the node. (e.g. the rename and remove button)

                  +

                  If you use this function, so must set setting.view.addHoverDom, please make sure that a better understanding of zTree before you use it.

                  +

                  Default: null

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which need to hide the custom control.

                  +
                  +

                  Examples of setting & function

                  +

                  1. Display a button when mouse move over the node, and hide the button when mouse move out.

                  +
                  var setting = {
                  +	view: {
                  +		addHoverDom: addHoverDom,
                  +		removeHoverDom: removeHoverDom,
                  +		......
                  +	}
                  +};
                  +function addHoverDom(treeId, treeNode) {
                  +	var aObj = $("#" + treeNode.tId + "_a");
                  +	if ($("#diyBtn_"+treeNode.id).length>0) return;
                  +	var editStr = "<span id='diyBtn_space_" +treeNode.id+ "' > </span>"
                  +		+ "<button type='button' class='diyBtn1' id='diyBtn_" + treeNode.id
                  +		+ "' title='"+treeNode.name+"' onfocus='this.blur();'></button>";
                  +	aObj.append(editStr);
                  +	var btn = $("#diyBtn_"+treeNode.id);
                  +	if (btn) btn.bind("click", function(){alert("diy Button for " + treeNode.name);});
                  +};
                  +function removeHoverDom(treeId, treeNode) {
                  +	$("#diyBtn_"+treeNode.id).unbind().remove();
                  +	$("#diyBtn_space_" +treeNode.id).unbind().remove();
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.selectedMulti.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.selectedMulti.html new file mode 100644 index 00000000..074fb685 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.selectedMulti.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  Booleansetting.view.selectedMulti

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Set whether to allow select multiple nodes.

                  +

                  Default: true

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true mean: you can select multiple nodes.

                  +

                  false mean: you can only select one node.

                  +

                  1. Press Ctrl-key or Cmd-key, you can select multiple nodes.

                  +

                  2、This attribute don't affect the feature of cancel select node. ( please see setting.view.autoCancelSelected )

                  +
                  +

                  Examples of setting

                  +

                  1. Only select one node.

                  +
                  var setting = {
                  +	view: {
                  +		selectedMulti: false
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.showIcon.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.showIcon.html new file mode 100644 index 00000000..9adf0034 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.showIcon.html @@ -0,0 +1,45 @@ +
                  +
                  +

                  Boolean / Function(treeId, treeNode)setting.view.showIcon

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Set to show or hide node icon.

                  +

                  Default: true

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: show node icon.

                  +

                  false means: hide node icon.

                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which need to show icon.

                  +

                  Return Boolean

                  +

                  Return value is same as 'Boolean Format'

                  +
                  +

                  Examples of setting & function

                  +

                  1. Hide node icon

                  +
                  var setting = {
                  +	view: {
                  +		showIcon: false
                  +	}
                  +};
                  +......
                  +

                  2. Hide node icon which level=2

                  +
                  function showIconForTree(treeId, treeNode) {
                  +	return treeNode.level != 2;
                  +};
                  +var setting = {
                  +	view: {
                  +		showIcon: showIconForTree
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.showLine.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.showLine.html new file mode 100644 index 00000000..a5540149 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.showLine.html @@ -0,0 +1,26 @@ +
                  +
                  +

                  Booleansetting.view.showLine

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Set to show or hide line.

                  +

                  Default: true

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: show line.

                  +

                  false means: hide line.

                  +
                  +

                  Examples of setting

                  +

                  1. Hide line

                  +
                  var setting = {
                  +	view: {
                  +		showLine: false
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.showTitle.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.showTitle.html new file mode 100644 index 00000000..66bb26e6 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.showTitle.html @@ -0,0 +1,47 @@ +
                  +
                  +

                  Boolean / Function(treeId, treeNode)setting.view.showTitle

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Set to show or hide the 'title' attribute of node DOM.

                  +

                  Please see the setting.data.key.title attribute

                  +

                  Default: true

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: show the 'title' attribute of node DOM.

                  +

                  false means: hide the 'title' attribute of node DOM.

                  +

                  When setting.view.showTitle = true & setting.data.key.title = '', zTree will set the 'setting.data.key.name' attribute to the 'setting.data.key.title'.

                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeIdString

                  +

                  zTree unique identifier: treeId, easy for users to control.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which need to show title.

                  +

                  Return Boolean

                  +

                  Return value is same as 'Boolean Format'

                  +
                  +

                  Examples of setting & function

                  +

                  1. Hide the 'title' attribute of node DOM.

                  +
                  var setting = {
                  +	view: {
                  +		showTitle: false
                  +	}
                  +};
                  +......
                  +

                  2. Hide the 'title' attribute of node DOM which level=2.

                  +
                  function showTitleForTree(treeId, treeNode) {
                  +	return treeNode.level != 2;
                  +};
                  +var setting = {
                  +	view: {
                  +		showTitle: showTitleForTree
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.txtSelectedEnable.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.txtSelectedEnable.html new file mode 100644 index 00000000..a3809300 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/setting.view.txtSelectedEnable.html @@ -0,0 +1,26 @@ +
                  +
                  +

                  Booleansetting.view.txtSelectedEnable

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Set to allow or don't allow to select the text which in zTree's DOM.

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: Allow to select the txt which in zTree's DOM.

                  +

                  false means: Don't allow to select the txt which in zTree's DOM.

                  +
                  +

                  Examples of setting & function

                  +

                  1. Allow to select the txt which in zTree's DOM.

                  +
                  var setting = {
                  +	view: {
                  +		txtSelectedEnable: true
                  +	}
                  +};
                  +......
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.check_Child_State.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.check_Child_State.html new file mode 100644 index 00000000..48efb79a --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.check_Child_State.html @@ -0,0 +1,43 @@ +
                  +
                  +

                  NumbertreeNode.check_Child_State

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  Used to record the node's half-checked state about its all child nodes's checkbox or radio. It is valid when [setting.check.enable = true]

                  +

                  zTree v3.x provides treeNode.getCheckStatus () method to get an accurate the half-checked status.

                  +

                  Do not initialize or modify it, it is an internal argument.

                  +

                  Default: true

                  +
                  +
                  +

                  Number Format

                  +
                  +

                  Rules:

                  + + + + + + + + + + + +
                  setting.check.checkType = "checkbox"
                  treeNode.check_Child_StateChecked Status Description
                  -1Has no child nodes or all child nodes's 'nocheck' attribute is true.
                  0All of the child nodes has not been checked.
                  1Some of the child nodes has been checked.
                  2All of the child nodes has been checked.
                  +
                  + + + + + + + + + + +
                  setting.check.checkType = "radio"
                  treeNode.check_Child_StateChecked Status Description
                  -1Has no child nodes or all child nodes's 'nocheck' attribute is true.
                  0All of the child nodes has not been checked.
                  2Some of the child nodes has been checked.
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.check_Focus.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.check_Focus.html new file mode 100644 index 00000000..77b73598 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.check_Focus.html @@ -0,0 +1,19 @@ +
                  +
                  +

                  BooleantreeNode.check_Focus

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  Used to record the status which the checkbox or radio get focus. It is valid when [setting.check.enable = true]

                  +

                  Do not initialize or modify it, it is an internal argument.

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: mouse move over the checkbox

                  +

                  false means: mouse move out the checkbox

                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.checked.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.checked.html new file mode 100644 index 00000000..8a55f3d6 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.checked.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  BooleantreeNode.checked

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  The checked status about node's checkbox or radio. It is valid when [setting.check.enable = true & treeNode.nocheck = false]

                  +

                  1. If change the 'checked' to other attribute, please set the 'setting.data.key.checked' attribute.

                  +

                  2. If you create node data, and set 'checked' attribute to true, zTree will check this node's checkbox or radio when zTree is initialized.

                  +

                  3. Use the treeObj.checkNode or checkAllNodes or updateNode method, you can check or uncheck the node. Please see the API about these methods.

                  +

                  4. zTree support identification string 'true' & 'false'.

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: check the checkbox or radio when zTree is initialized.

                  +

                  false means: uncheck the checkbox or radio when zTree is initialized.

                  +
                  +

                  Examples of treeNode

                  +

                  1. check the checkbox when zTree is initialized

                  +
                  var nodes = [
                  +{ "id":1, "name":"test1", checked:true },
                  +{ "id":2, "name":"test2", checked:true }
                  +]
                  +

                  2. Get the checked status of the first root node

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var checked = treeObj.getNodes()[0].checked;
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.checkedOld.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.checkedOld.html new file mode 100644 index 00000000..ee516260 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.checkedOld.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  BooleantreeNode.checkedOld

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  The checked status about node's checkbox or radio when zTree was initialized. It is valid when [setting.check.enable = true & treeNode.nocheck = false]

                  +

                  1. Do not initialize it, it will be initialized when the node is initialized.

                  +

                  2. If you need to achieve special features, you can use the zTreeObj.getChangeCheckedNodes method and modify the value of 'checkedOld' attribute.

                  +

                  Default: the value of 'checked' attribute when zTree is initialized

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: the checkbox or radio is checked when zTree is initialized.

                  +

                  false means: the checkbox or radio is not checked when zTree is initialized.

                  +
                  +

                  Examples of treeNode

                  +

                  1. Get the original checked status of the first root node

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var checkedOld = treeObj.getNodes()[0].checkedOld;
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.children.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.children.html new file mode 100644 index 00000000..d765bb96 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.children.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Array(JSON)treeNode.children

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The data collections of node's child nodes.

                  +

                  1. If change the 'children' to other attribute, please set the 'setting.data.key.children' attribute.

                  +

                  2. If you set to use dynamic tree, when a node is expanded which 'isParent' attribute is true and which has no child nodes, zTree will use ajax to get its child nodes.

                  +

                  Default: undefined

                  +
                  +
                  +

                  Array(JSON) Format

                  +
                  +

                  Standard JSON Data object

                  +
                  +

                  Examples of treeNode

                  +

                  1. Use the standard JSON data object.

                  +
                  var nodes = [
                  +{ "id":1, "name":"test1",
                  +	children: [
                  +	{ "id":3, "name":"test3"},
                  +	{ "id":4, "name":"test4"},
                  +	{ "id":5, "name":"test5"}
                  +	]
                  +},
                  +{ "id":2, "name":"test2"  }
                  +]
                  +

                  2. Get the first root node's child nodes

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes()[0].children;
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.chkDisabled.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.chkDisabled.html new file mode 100644 index 00000000..7a5fcf38 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.chkDisabled.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  BooleantreeNode.chkDisabled

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  1. Set node's checkbox / radio to disabled. It is valid when [setting.check.enable = true]

                  +

                  2. zTree support identification string 'true' & 'false'.

                  +

                  3. Please don't change this attribute of the nodes which have been created. If you want to disable or undisable the nodes, please use 'setChkDisabled()' methods.

                  +

                  4. When zTree initialize the nodes, if you need to the child nodes automatically inherit the 'chkDisabled' attribute, please see 'setting.check.chkDisabledInherit'.

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: this node's checkbox / radio is disabled.

                  +

                  false means: this node's checkbox / radio is able.

                  +
                  +

                  Examples of treeNode

                  +

                  1. disable some node's checkbox / radio

                  +
                  var nodes = [
                  +	{ "id":1, "name":"test1", "checked":true, "chkDisabled":true},
                  +	{ "id":2, "name":"test2", "chkDisabled":true},
                  +	{ "id":3, "name":"test3"}
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.click.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.click.html new file mode 100644 index 00000000..1f9db626 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.click.html @@ -0,0 +1,24 @@ +
                  +
                  +

                  StringtreeNode.click

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Simple click event operations. As same as : (onclick ="...") the code. If the operation is more complex, please use the onClick callback.

                  +

                  Because IE is different to other browsers in operating the event of ‘onclick’ and ‘click’ coexistence, please do not use this parameter to control whether to allow the redirection operation (for example: treeNode.click = "return false;"). If there is similar requirements, please do not use the 'url' attribute to save the website address, but use the 'onClick' callback to control jumps.

                  +

                  Default: undefined

                  +
                  +
                  +

                  String Format

                  +
                  +

                  Standard javascript syntax, for example: alert ("test"); etc.

                  +
                  +

                  Examples of treeNode

                  +

                  1. When click this node, will alert msg.

                  +
                  var nodes = [
                  +	{ "id":1, "name":"Google CN", "url":"http://g.cn", "click":"alert('test');"},
                  +	......
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.diy.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.diy.html new file mode 100644 index 00000000..68c39ba6 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.diy.html @@ -0,0 +1,15 @@ +
                  +
                  +

                  ?treeNode.* DIY *

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to save other custom data of node, do not use the same attribute name with ztree used, the user can freely set.

                  +
                  +
                  +

                  Examples of treeNode

                  +

                  1. Use 'ename' attribute to save more info

                  +
                  var node = { "id":1, "name":"test1", "ename":"test eName"};
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.editNameFlag.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.editNameFlag.html new file mode 100644 index 00000000..f60ef2ab --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.editNameFlag.html @@ -0,0 +1,19 @@ +
                  +
                  +

                  BooleantreeNode.editNameFlag

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Used to save the node editing name status. It is valid when [setting.edit.enable = true]

                  +

                  Do not initialize or modify it, it is an internal argument.

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: node is being edited.

                  +

                  false means: node is not being edited.

                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.getCheckStatus.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.getCheckStatus.html new file mode 100644 index 00000000..3c9a2e6b --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.getCheckStatus.html @@ -0,0 +1,63 @@ +
                  +
                  +

                  Function()treeNode.getCheckStatus

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  Get the node's half-checked status of checkbox or radio. It is valid when [setting.check.enable = true]

                  +

                  Do not initialize or modify it, it is created by the zTree.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  ReturnJSON

                  +
                  {
                  +	checked: true, //As same as 'treeNode.checked'
                  +	half: true  //Rule the table below
                  +}
                  + + + + + + + + + + + + + + + + + + +
                  setting.check.checkType = "checkbox"
                  treeNode.checkedtreeNode.check_Child_StatetreeNode.halfCheck half
                  --truetrue
                   
                  true-1falsefalse
                  true0falsetrue
                  true1falsetrue
                  true2falsefalse
                   
                  false-1falsefalse
                  false0falsefalse
                  false1falsetrue
                  false2falsetrue
                  +
                  + + + + + + + + + + + + + + + + +
                  setting.check.checkType = "radio"
                  treeNode.checkedtreeNode.check_Child_StatetreeNode.halfCheck half
                  --truetrue
                   
                  true-1falsefalse
                  true0falsefalse
                  true2falsetrue
                   
                  false-1falsefalse
                  false0falsefalse
                  false2falsetrue
                  +
                  +

                  Examples of treeNode

                  +

                  1. Get the first root node's half-checked status

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var halfCheck = treeObj.getNodes()[0].getCheckStatus();
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.getNextNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.getNextNode.html new file mode 100644 index 00000000..755aa6ee --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.getNextNode.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  Function()treeNode.getNextNode

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Get the treeNode's next sibling node.

                  +

                  Do not initialize or modify it, it is created by the zTree.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  ReturnJSON

                  +

                  JSON data object of the treeNode's next sibling node

                  +

                  If have not the next node, return null.

                  +
                  +

                  Examples of treeNode

                  +

                  1. Get the first selected node's next sibling node.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var node = sNodes[0].getNextNode();
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.getParentNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.getParentNode.html new file mode 100644 index 00000000..16bab306 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.getParentNode.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  Function()treeNode.getParentNode

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Get the treeNode's parent node.

                  +

                  Do not initialize or modify it, it is created by the zTree.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  ReturnJSON

                  +

                  JSON data object of treeNode's parent node.

                  +

                  If treeNode is root, return null.

                  +
                  +

                  Examples of treeNode

                  +

                  1. Get the first selected node's parent node.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var node = sNodes[0].getParentNode();
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.getPreNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.getPreNode.html new file mode 100644 index 00000000..f6745b14 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.getPreNode.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  Function()treeNode.getPreNode

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Get the treeNode's previous sibling node.

                  +

                  Do not initialize or modify it, it is created by the zTree.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  ReturnJSON

                  +

                  JSON data object of the treeNode's previous sibling node

                  +

                  If have not the previous node, return null.

                  +
                  +

                  Examples of treeNode

                  +

                  1. Get the first selected node's previous sibling node.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var node = sNodes[0].getPreNode();
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.halfCheck.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.halfCheck.html new file mode 100644 index 00000000..8375326b --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.halfCheck.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  BooleantreeNode.halfCheck

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  Force node checkBox / radio to the half-checked status. It is valid when [setting.check.enable = true & treeNode.nocheck = false]

                  +

                  1. If you force to the half-checked status, zTree will not automatically calculated the half-checked status about this node.

                  +

                  2. Until you set treeNode.halfCheck to false or null, zTree will automatically calculated the half-checked status about this node.

                  +

                  3. zTree support identification string 'true' & 'false'.

                  +

                  Defaul: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: the checkbox or radio is half-checked when zTree is initialized.

                  +

                  false means: the half-checked status will be automatically calculated

                  +
                  +

                  Examples of treeNode

                  +

                  1. set the half-checked status when zTree is initialized

                  +
                  var nodes = [
                  +{ "id":1, "name":"test1", isParent:true, checked:true, halfCheck:true },
                  +{ "id":2, "name":"test2", isParent:true, checked:false, halfCheck:true },
                  +{ "id":3, "name":"test3", isParent:true, checked:true },
                  +{ "id":4, "name":"test4", isParent:true, checked:false }
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.icon.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.icon.html new file mode 100644 index 00000000..4e1c99fa --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.icon.html @@ -0,0 +1,33 @@ +
                  +
                  +

                  StringtreeNode.icon

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  URL path of node's custom icon.

                  +

                  1. If you only set the 'icon' attribute to parent node, the parent node will only show one icon when it is expanded or collapsed.

                  +

                  2. If you need to show two icons when it is expanded or collapsed, please set the 'treeNode.iconOpen' and 'treeNode.iconClose' attribute.

                  +

                  3. If you need to use css to set the custom icon, please set the 'treeNode.iconSkin' attribute.

                  +

                  Default: undefined

                  +
                  +
                  +

                  String Format

                  +
                  +

                  Icon image url can be a relative path or absolute path.

                  +

                  If use a relative path, please note the relationship between icon image and the page, ensure the correct image path.

                  +
                  +

                  Examples of treeNode

                  +

                  1. Set the custom icon

                  +
                  var nodes = [
                  +	//Only show one icon when it is expanded or collapsed.
                  +	{ name:"Parent Node 1", icon:"/img/parent.gif"},
                  +
                  +	//Show two icons when it is expanded or collapsed.
                  +	{ name:"Parent Node 2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"},
                  +
                  +	//the custom icon for leaf node
                  +	{ name:"Leaf Node", icon:"/img/leaf.gif"}
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.iconClose.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.iconClose.html new file mode 100644 index 00000000..2259e8f3 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.iconClose.html @@ -0,0 +1,33 @@ +
                  +
                  +

                  StringtreeNode.iconClose

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  URL path of parent node's custom icon when it is collapsed.

                  +

                  1. Only parent node support this attribute.

                  +

                  2. This attribute must be used simultaneously with 'iconOpen' attribute.

                  +

                  3. If you need to use css to set the custom icon, please set the 'treeNode.iconSkin' attribute.

                  +

                  Default: undefined

                  +
                  +
                  +

                  String Format

                  +
                  +

                  Icon image url can be a relative path or absolute path.

                  +

                  If use a relative path, please note the relationship between icon image and the page, ensure the correct image path.

                  +
                  +

                  Examples of treeNode

                  +

                  1. Set the custom icon

                  +
                  var nodes = [
                  +	//Only show one icon when it is expanded or collapsed.
                  +	{ name:"Parent Node 1", icon:"/img/parent.gif"},
                  +
                  +	//Show two icons when it is expanded or collapsed.
                  +	{ name:"Parent Node 2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"},
                  +
                  +	//the custom icon for leaf node
                  +	{ name:"Leaf Node", icon:"/img/leaf.gif"}
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.iconOpen.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.iconOpen.html new file mode 100644 index 00000000..3203615d --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.iconOpen.html @@ -0,0 +1,33 @@ +
                  +
                  +

                  StringtreeNode.iconOpen

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  URL path of parent node's custom icon when it is expanded.

                  +

                  1. Only parent node support this attribute.

                  +

                  2. This attribute must be used simultaneously with 'iconClose' attribute.

                  +

                  3. If you need to use css to set the custom icon, please set the 'treeNode.iconSkin' attribute.

                  +

                  Default: undefined

                  +
                  +
                  +

                  String Format

                  +
                  +

                  Icon image url can be a relative path or absolute path.

                  +

                  If use a relative path, please note the relationship between icon image and the page, ensure the correct image path.

                  +
                  +

                  Examples of treeNode

                  +

                  1. Set the custom icon

                  +
                  var nodes = [
                  +	//Only show one icon when it is expanded or collapsed.
                  +	{ name:"Parent Node 1", icon:"/img/parent.gif"},
                  +
                  +	//Show two icons when it is expanded or collapsed.
                  +	{ name:"Parent Node 2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"},
                  +
                  +	//the custom icon for leaf node
                  +	{ name:"Leaf Node", icon:"/img/leaf.gif"}
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.iconSkin.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.iconSkin.html new file mode 100644 index 00000000..fca7fbf2 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.iconSkin.html @@ -0,0 +1,43 @@ +
                  +
                  +

                  StringtreeNode.iconSkin

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The className of node's custom icon.

                  +

                  1. You need to modify the css, add the definition of className.

                  +

                  2. The css is simple, convenient, and support the parent node to switch icons when it is expanded or collapsed.

                  +

                  3. Recommend the use of CSS Sprites, can reduce repeating load the image, to avoid image flicker.

                  +

                  4. The 'iconSkin' support IE6 in zTree v3.x.

                  +

                  5. If you need to use image's URL to set the custom icon, please set the 'treeNode.icon' or 'treeNode.iconOpen' or 'treeNode.iconClose' attribute.

                  +

                  Default: undefined

                  +
                  +
                  +

                  String Format

                  +
                  +

                  The string about custom icon's className.

                  +
                  +

                  Examples of css & treeNode

                  +

                  1. Set the custom icon

                  +
                  css example:
                  +.ztree li span.button.diy01_ico_open, .ztree li span.button.diy01_ico_close{...}
                  +
                  +.ztree li span.button.diy02_ico_open{...}
                  +.ztree li span.button.diy02_ico_close{...}
                  +
                  +.ztree li span.button.diy03_ico_docu{...}
                  +
                  +node's data example:
                  +var nodes = [
                  +	//Only show one icon when it is expanded or collapsed.
                  +	{ name:"Parent Node 1", iconSkin:"diy01"},
                  +
                  +	//Show two icons when it is expanded or collapsed.
                  +	{ name:"Parent Node 2", iconSkin:"diy02"},
                  +
                  +	//the custom icon for leaf node
                  +	{ name:"Leaf Node", iconSkin:"diy03"}
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isAjaxing.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isAjaxing.html new file mode 100644 index 00000000..ddadf41b --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isAjaxing.html @@ -0,0 +1,26 @@ +
                  +
                  +

                  BooleantreeNode.isAjaxing

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Judge whether the node's child nodes being loaded asynchronously.

                  +

                  Do not initialize or modify it, it is created by the zTree.

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: the node's child nodes is being loaded asynchronously

                  +

                  false means: the node's child nodes is not being loaded asynchronously

                  +
                  +

                  Examples of treeNode

                  +

                  1. Judge whether the first selected node's child nodes being loaded asynchronously

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var isAjaxing = sNodes[0].isAjaxing;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isFirstNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isFirstNode.html new file mode 100644 index 00000000..a8ee61ce --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isFirstNode.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  BooleantreeNode.isFirstNode

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Judge whether the node is the sibling nodes's first node.

                  +

                  If you use the 'exhide' pack, so this attribute will only support the node which be shown.

                  +

                  Do not initialize or modify it, it is created by the zTree.

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: the node is first node.

                  +

                  false means: the node is not first node.

                  +

                  If the node has been hidden, isFirstNode = false

                  +
                  +

                  Examples of treeNode

                  +

                  1. Judge whether the first selected node is the sibling nodes's first node.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var isFirstNode = sNodes[0].isFirstNode;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isHidden.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isHidden.html new file mode 100644 index 00000000..3a07b94c --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isHidden.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  BooleantreeNode.isHidden

                  +

                  Overview[ depends on jquery.ztree.exhide js ]

                  +
                  +

                  +
                  +

                  Judge whether the node has been hidden.

                  +

                  1. When initialize zTree, the nodes which be set 'isHidden = true' will be hidden.

                  +

                  +

                  2. Please don't change this attribute of the nodes which have been created. If you want to hide or show nodes, please use 'hideNode() / hideNodes() / showNode() / showNodes()' methods.

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: this node is hidden.

                  +

                  false means: this node is shown.

                  +
                  +

                  Examples of treeNode

                  +

                  1. Judge whether the first root node has been hidden.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getNodes();
                  +if (sNodes.length > 0) {
                  +	var isHidden = sNodes[0].isHidden;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isHover.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isHover.html new file mode 100644 index 00000000..e18ed0cf --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isHover.html @@ -0,0 +1,19 @@ +
                  +
                  +

                  BooleantreeNode.isHover

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Used to record the hover status of node's DOM. For 'setting.view.addHoverDom / removeHoverDom'.

                  +

                  Do not initialize or modify it, it is an internal argument.

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: the node's DOM is in hover.

                  +

                  false means: the node's DOM is not in hover.

                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isLastNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isLastNode.html new file mode 100644 index 00000000..cd2ca26b --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isLastNode.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  BooleantreeNode.isLastNode

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Judge whether the node is the sibling nodes's last node.

                  +

                  If you use the 'exhide' pack, so this attribute will only support the node which be shown.

                  +

                  Do not initialize or modify it, it is created by the zTree.

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: the node is last node.

                  +

                  false means: the node is not last node.

                  +

                  If the node has been hidden, isLastNode = false

                  +
                  +

                  Examples of treeNode

                  +

                  1. Judge whether the first selected node is the sibling nodes's last node.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var isLastNode = sNodes[0].isLastNode;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isParent.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isParent.html new file mode 100644 index 00000000..dad4b819 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.isParent.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  BooleantreeNode.isParent

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Judge whether the node is the parent node.

                  +

                  1. When zTree initialize the node data, the node which has children is set to true, otherwise false.

                  +

                  2. When zTree initialize the node data, if set treeNode.isParent to true, the node will be set to be parent node.

                  +

                  3. In order to solve the problem of someone make json data, supporting "false", "true" format of the data string.

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: the node is parent node.

                  +

                  false means: the node is not parent node.

                  +
                  +

                  Examples of treeNode

                  +

                  1. Judge whether the first selected node is the parent node.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var isParent = sNodes[0].isParent;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.level.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.level.html new file mode 100644 index 00000000..d1511624 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.level.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  NumbertreeNode.level

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The level of node

                  +

                  Do not initialize or modify it, it is created by the zTree.

                  +
                  +
                  +

                  Number Format

                  +
                  +

                  The root node's level = 0, and next level = 1, ...

                  +
                  +

                  Examples of treeNode

                  +

                  1. Get the first selected node's level

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var level = sNodes[0].level;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.name.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.name.html new file mode 100644 index 00000000..fa508ccb --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.name.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  StringtreeNode.name

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The node's name

                  +

                  1. If you want to change 'name' attribute, please modify the 'setting.data.key.name' attribute.

                  +

                  Default: undenfined

                  +
                  +
                  +

                  String Format

                  +
                  +

                  String object. The HTML special characters are escaped

                  +
                  +

                  Examples of treeNode

                  +

                  1. Set node's name to 'test1', 'test2', 'test3'

                  +
                  var nodes = [
                  +	{ "id":1, "name":"test1"},
                  +	{ "id":2, "name":"test2"},
                  +	{ "id":3, "name":"test3"}
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.nocheck.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.nocheck.html new file mode 100644 index 00000000..6c4880c8 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.nocheck.html @@ -0,0 +1,26 @@ +
                  +
                  +

                  BooleantreeNode.nocheck

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  1. Set node to hide the checkbox or radio. It is valid when [setting.check.enable = true]

                  +

                  2. zTree support identification string 'true' & 'false'.

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: the node hide the checkbox or radio, and don't affect the checked association, and don't affect its parent node's half-checked status.

                  +

                  false means: the node show the checkbox or radio.

                  +
                  +

                  Examples of treeNode

                  +

                  1. Hide some node's checkbox / radio

                  +
                  var nodes = [
                  +	{ "id":1, "name":"test1", "nocheck":true},
                  +	{ "id":2, "name":"test2"},
                  +	{ "id":3, "name":"test3"}
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.open.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.open.html new file mode 100644 index 00000000..bc910de3 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.open.html @@ -0,0 +1,30 @@ +
                  +
                  +

                  BooleantreeNode.open

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to record the parent node's expand status.

                  +

                  1. When zTree initialize the node data, if you set treeNode.open = true, zTree will default expand this parent node.

                  +

                  2. Leaf node's 'open' attribute is false.

                  +

                  3. In order to solve the problem of someone make json data, supporting "false", "true" format of the data string.

                  +

                  4. When setting.async.enable = false, the parent node will be expanded which have no child nodes and its attribute 'open' is true. (v3.5.15+)

                  +

                  Default: false

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: the parent node is expanded.

                  +

                  false means: the parent node is collapsed.

                  +
                  +

                  Examples of treeNode

                  +

                  1. Get the first selected node's expand status.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var isOpen = sNodes[0].open;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.parentTId.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.parentTId.html new file mode 100644 index 00000000..0bc2a6d6 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.parentTId.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  StringtreeNode.parentTId

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The unique identifier of node's parent node.

                  +

                  1. zTree v3.x using 'parentTId' replaced the original 'parentNode' attribute, and increased getParentNode () method, in order to avoid the original 'parentNode' cause the clone () method infinite loop.

                  +

                  2. Do not initialize or modify it, it is created by the zTree.

                  +
                  +
                  +

                  String Format

                  +
                  +

                  String object of node's parent node's tId. please see API about 'treeNode.tId'

                  +

                  If treeNode is root node, parentTId is null.

                  +
                  +

                  Examples of treeNode

                  +

                  1. Get the first selected node's parent node's tId

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var parentTId = sNodes[0].parentTId;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.tId.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.tId.html new file mode 100644 index 00000000..18c2855a --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.tId.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  StringtreeNode.tId

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The unique identifier of node.

                  +

                  Do not initialize or modify it, it is created by the zTree.

                  +
                  +
                  +

                  String Format

                  +
                  +

                  tId rules: setting.treeId + "_" + zTree counter

                  +
                  +

                  Examples of treeNode

                  +

                  1. Get the first selected node's tId

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var tId = sNodes[0].tId;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.target.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.target.html new file mode 100644 index 00000000..176a7a35 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.target.html @@ -0,0 +1,24 @@ +
                  +
                  +

                  StringtreeNode.target

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Used to set the target where the node is clicked to open url. It is valid when [treeNode.url exists]

                  +

                  Default: undefined

                  +
                  +
                  +

                  String Format

                  +
                  +

                  As same as <a> tag's 'target' attribute. e.g. '_blank', '_self' or other window name.

                  +

                  if this attribute is omitted, zTree default set it to '_blank'

                  +
                  +

                  Exmaples of treeNode

                  +

                  1. Set target is '_blank'

                  +
                  var nodes = [
                  +	{ "id":1, "name":"test1", "url":"http://myTest.com", "target":"_blank"},
                  +	......
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.url.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.url.html new file mode 100644 index 00000000..55524455 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.url.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  StringtreeNode.url

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The URL of node link

                  +

                  1. In edit mode (setting.edit.enable = true) , this feature fails. If you must use a similar feature, please use the 'onClick' callback for their own control.

                  +

                  2. If you use the 'onClick' callback function to control opening URL , then set the URL in the other custom attribute, do not use the 'url' attribute.

                  +

                  Default: undefined

                  +
                  +
                  +

                  String Format

                  +
                  +

                  As same as <a> tag's 'href' attribute.

                  +
                  +

                  Examples of treeNode

                  +

                  1. Set the URL is 'g.cn'

                  +
                  var nodes = [
                  +	{ "id":1, "name":"Google CN", "url":"http://g.cn"},
                  +	......
                  +]
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.zAsync.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.zAsync.html new file mode 100644 index 00000000..b3ff4145 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/treeNode.zAsync.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  BooleantreeNode.zAsync

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Judge whether the parent node's child nodes will be loaded asynchronously when the parent node is expanded.

                  +

                  Do not initialize or modify it, it is created by the zTree.

                  +

                  Default:false (the parent node which have no child nodes); true (the parent node which have child nodes or the leaf node)

                  +
                  +
                  +

                  Boolean Format

                  +
                  +

                  true means: the node's child nodes will not be loaded asynchronously when the parent node is expanded.

                  +

                  false means: the node's child nodes will be loaded asynchronously when the parent node is expanded.

                  +

                  This attribute will not effect to 'reAsyncChildNodes()' method

                  +
                  +

                  Examples of treeNode

                  +

                  1. Judge whether the first selected node's child nodes has been loaded asynchronously

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var sNodes = treeObj.getSelectedNodes();
                  +if (sNodes.length > 0) {
                  +	var zAsync = sNodes[0].zAsync;
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.addNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.addNodes.html new file mode 100644 index 00000000..680ccc4e --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.addNodes.html @@ -0,0 +1,42 @@ +
                  +
                  +

                  Function(parentNode, newNodes, isSilent)zTreeObj.addNodes

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Add nodes

                  +

                  In order to avoid duplication data resulting from repeated initialization, zTree v3.x will automatically clone node data when zTree initialized or add nodes. If you need to get the data objects within the zTree, please get the return value of this method.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  parentNodeJSON

                  +

                  The additional node's parent node. If additional node is root node, please the parentNode is null.

                  +

                  Please ensure this node data object is a data object within zTree.

                  +

                  newNodesJSON / Array(JSON)

                  +

                  The node data's JSON object collection which need to increase, refer to 'treeNode treeNode data details'

                  +

                  1. zTree v3.x support to add single node, that is, if you only add a node, you can don't use the array.

                  +

                  2. If you use simple data model, please refer to the attributes within the 'setting.data.simpleData'.

                  +

                  isSilentBoolean

                  +

                  Set whether to automatically expand the parent node, after add nodes.

                  +

                  isSilent = true means: don't auto expand the parent node. Otherwise auto expand.

                  +

                  Return Array(JSON)

                  +

                  return the new nodes in zTree

                  +

                  If the newNodes is single data object, the return value is a array with length is 1.

                  +

                  Note: the node data JSON object in the return value is not equal to the JSON object in the 'newNodes'.

                  +
                  +

                  Examples of function

                  +

                  1. Add one root node to zTree which id is 'tree'

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var newNode = {name:"newNode1"};
                  +newNode = treeObj.addNodes(null, newNode);
                  +
                  +

                  2. Add three root nodes to zTree which id is 'tree'

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var newNodes = [{name:"newNode1"}, {name:"newNode2"}, {name:"newNode3"}];
                  +newNodes = treeObj.addNodes(null, newNodes);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.cancelEditName.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.cancelEditName.html new file mode 100644 index 00000000..8afdae0b --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.cancelEditName.html @@ -0,0 +1,30 @@ +
                  +
                  +

                  Function(newName)zTreeObj.cancelEditName

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Cancel the edit name status. Can restore the original name, and can also force assigned to a new name.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  newNameString

                  +

                  Re given a new name

                  +

                  If this parameter is omitted, then restore the original name.

                  +

                  Return none

                  +

                  no return value

                  +
                  +

                  Examples of function

                  +

                  1. Cancel edit name, and restore the original name.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +treeObj.cancelEditName();
                  +
                  +

                  2. Cancel edit name , and set the new name.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +treeObj.cancelEditName("test_new_name");
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.cancelSelectedNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.cancelSelectedNode.html new file mode 100644 index 00000000..581c2d2b --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.cancelSelectedNode.html @@ -0,0 +1,35 @@ +
                  +
                  +

                  Function(treeNode)zTreeObj.cancelSelectedNode

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  To cancel the selected node.

                  +

                  zTree v3.x support to select multiple nodes, so you can cancel a single selected node, and you can cancel all of the selected nodes too.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which need to cancel selected.

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  If you omit this parameter, zTree will cancel all of the selected nodes.

                  +

                  Return none

                  +

                  no return value

                  +
                  +

                  Examples of function

                  +

                  1. Cancel all of the selected nodes

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +treeObj.cancelSelectedNode();
                  +
                  +

                  2. Cancel the first node of the selected nodes

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNode();
                  +if (nodes.length>0) { 
                  +	treeObj.cancelSelectedNode(nodes[0]);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.checkAllNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.checkAllNodes.html new file mode 100644 index 00000000..276b6294 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.checkAllNodes.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Function(checked)zTreeObj.checkAllNodes

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  Check or unCheck all nodes which have been initialized. It is valid when [setting.check.enable = true & setting.check.chkStyle = "checkbox"]

                  +

                  This method does not trigger 'beforeCheck' or 'onCheck' callback function.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  checkedBoolean

                  +

                  checked = true means: check all nodes.

                  +

                  checked = false means: uncheck all nodes.

                  +

                  Don't affect the node which 'nochecked' attribute is true.

                  +

                  Don't affect the node is not loaded.

                  +

                  Return none

                  +

                  no return value

                  +
                  +

                  Examples of function

                  +

                  1. check all nodes

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +treeObj.checkAllNodes(true);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.checkNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.checkNode.html new file mode 100644 index 00000000..7411ef86 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.checkNode.html @@ -0,0 +1,44 @@ +
                  +
                  +

                  Function(treeNode, checked, checkTypeFlag, callbackFlag)zTreeObj.checkNode

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  Check or unCheck a single node. It is valid when [setting.check.enable = true]

                  +

                  Use checkNode() method of zTree v3.x can trigger 'beforeCheck' or 'onCheck' callback function. for reduce redundant code.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which need to be checked or unchecked.

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  checkedBoolean

                  +

                  checked = true means: check node.

                  +

                  checked = false means: uncheck node.

                  +

                  If this parameter is omitted, then toggle check or uncheck depend this node's expanded state.

                  +

                  Don't affect the node which 'nochecked' attribute is true.

                  +

                  checkTypeFlagBoolean

                  +

                  checkTypeFlag = true means: According to 'setting.check.chkboxType' attribute automatically check or uncheck the parent and child nodes.

                  +

                  checkTypeFlag = false means: only check or uncheck this node, don't affect its parent and child nodes.

                  +

                  When checkTypeFlag = false and treeNode.checked = checked, will not trigger callback function.

                  +

                  Don't affect the parent and child nodes which 'nochecked' attribute is true.

                  +

                  callbackFlagBoolean

                  +

                  callbackFlag = true means: call this method, will trigger 'beforeCheck' & 'onCheck' callback.

                  +

                  callbackFlag = false means: call this method, will not trigger callback.

                  +

                  If this parameter is omitted, it is same as 'callbackFlag = false'

                  +

                  Return none

                  +

                  no return value

                  +
                  +

                  Examples of function

                  +

                  1. check the selected nodes

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNodes();
                  +for (var i=0, l=nodes.length; i < l; i++) {
                  +	treeObj.checkNode(nodes[i], true, true);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.copyNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.copyNode.html new file mode 100644 index 00000000..a98e84de --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.copyNode.html @@ -0,0 +1,47 @@ +
                  +
                  +

                  Function(targetNode, treeNode, moveType, isSilent)zTreeObj.copyNode

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Copy the node

                  +

                  When copy nodes, zTree v3.x will clone nodes. If you need to get the data object in zTree, please get the return value of this method.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  targetNodeJSON

                  +

                  JSON data object of the node which will be target.

                  +

                  If copy the node to root node, please set the 'targetNode' to null.

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which will be copied.

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  moveTypeString

                  +

                  Copied to the target node's relative position.

                  +

                  "inner" means: to be taregetNode's child node.

                  +

                  "prev" means: to be taregetNode's previous sibling node.

                  +

                  "next" means: to be taregetNode's next sibling node.

                  +

                  isSilentBoolean

                  +

                  After copy the node, whether to automatically expand its parent node.

                  +

                  isSilent = true means: don't expand its parent node.

                  +

                  isSilent = false or omit this parameter means: expand its parent node.

                  +

                  Return JSON

                  +

                  return the new node in zTree

                  +

                  Note: the node data JSON object in the return value is not equal to the treeNode.

                  +
                  +

                  Examples of function

                  +

                  1. Copy the second root node to the first root node's child node.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +treeObj.copyNode(nodes[0], nodes[1], "inner");
                  +
                  +

                  2. Copy the second root node to the first root node's previous sibling node.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +treeObj.copyNode(nodes[0], nodes[1], "before");
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.destroy.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.destroy.html new file mode 100644 index 00000000..80c52811 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.destroy.html @@ -0,0 +1,25 @@ +
                  +
                  +

                  Function(treeId)zTreeObj.destroy

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  From zTree v3.4, zTree support the method for destruction.

                  +

                  1. This method can destroy the zTreeObj's zTree.

                  +

                  2. If you want to destory all of the zTrees, you can use the '$.fn.zTree.destroy()' method.

                  +

                  3. If you want to use the tree which has been destroyed, you must use the 'init()' method at first.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  Return none

                  +

                  no return value

                  +
                  +

                  Examples of function

                  +

                  1. destroy the zTree which its id is 'treeDemo'

                  +
                  var zTreeObj = $.fn.zTree.getZTreeObj("treeDemo");
                  +zTreeObj.destroy();
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.editName.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.editName.html new file mode 100644 index 00000000..92ac5c1c --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.editName.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Function(treeNode)zTreeObj.editName

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Start editing the node's name.

                  +

                  1. If need to cancel editing the node's name, please use cancelEditName(newName) method.

                  +

                  2. This method can be used to set the editing node‘s input box to get focus.

                  +

                  3. Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which will be editing name

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  Retrun none

                  +

                  no return value

                  +
                  +

                  Examples of function

                  +

                  1. Start editing the first selected node's name.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +treeObj.editName(nodes[0]);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.expandAll.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.expandAll.html new file mode 100644 index 00000000..ef28a316 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.expandAll.html @@ -0,0 +1,30 @@ +
                  +
                  +

                  Function(expandFlag)zTreeObj.expandAll

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Expand or collapse all nodes.

                  +

                  This method does not trigger 'beforeExpand / onExpand' or 'beforeCollapse / onCollapse' callback function.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  expandFlagBoolean

                  +

                  expandFlag = true means: expand all nodes.

                  +

                  expandFlag = false means: collapse all nodes.

                  +

                  Return Boolean

                  +

                  return the result of expand or collapse.

                  +

                  true means: expand all nodes

                  +

                  false means: collapse all nodes

                  +

                  null means: have no parent node to expand or collapse.

                  +
                  +

                  Examples of function

                  +

                  1. Expand all nodes

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +treeObj.expandAll(true);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.expandNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.expandNode.html new file mode 100644 index 00000000..f99ff77d --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.expandNode.html @@ -0,0 +1,50 @@ +
                  +
                  +

                  Function(treeNode, expandFlag, sonSign, focus, callbackFlag)zTreeObj.expandNode

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Expand or collapse single node.

                  +

                  Use expandNode() method of zTree v3.x can trigger 'beforeExpand / onExpand' or 'beforeCollapse / onCollapse' callback function. for reduce redundant code.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which will be expanded or collapsed

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  expandFlagBoolean

                  +

                  expandFlag = true means: expand the node.

                  +

                  expandFlag = false means: collapse the node.

                  +

                  If this parameter is omitted, then toggle expand or collapse depend this node's expanded state.

                  +

                  sonSignBoolean

                  +

                  sonSign = true means: expand or collapse all of the child nodes depend the 'expandFlag' parameter.

                  +

                  sonSign = false means: only expand or collapse this node.

                  +

                  When sonSign = false and treeNode.open = expandFlag, will not trigger the callback.

                  +

                  If this parameter is omitted, it is same as 'sonSign = false'.

                  +

                  focusBoolean

                  +

                  focus = true means: after expand or collapse, set the focus of this node for view.

                  +

                  focus = false means: after expand or coolapse, don't set the focus of this node.

                  +

                  If this parameter is omitted, it is same as 'focus = true'.

                  +

                  callbackFlagBoolean

                  +

                  callbackFlag = true means: call this method, will trigger 'beforeExpand / onExpand' or 'beforeCollapse / onCollapse' callback.

                  +

                  callbackFlag = false means: call this method, will not trigger callback.

                  +

                  If this parameter is omitted, it is same as 'callbackFlag = false'

                  +

                  Return Boolean

                  +

                  return the result of expand or collapse.

                  +

                  true means: expand node

                  +

                  false means: collapse node

                  +

                  null means: the node is not parent node.

                  +
                  +

                  Examples of function

                  +

                  1. Expand the first selected node. (and expand this node's child nodes)

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNodes();
                  +if (nodes.length>0) {
                  +	treeObj.expandNode(nodes[0], true, true, true);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getChangeCheckedNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getChangeCheckedNodes.html new file mode 100644 index 00000000..d0f9cf3b --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getChangeCheckedNodes.html @@ -0,0 +1,24 @@ +
                  +
                  +

                  Function()zTreeObj.getChangeCheckedNodes

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  Get the collection of nodes which be changed checked status. (Compared with the original data checkedOld) It is valid when [setting.check.enable = true]

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  Return Array(JSON)

                  +

                  return the collection of nodes which be changed checked status (Array)

                  +

                  If you need to get the collection of nodes which changed the checked status, when nodes be checked or unchecked, so please set treeNode.checkedOld = treeNode.checked ( for all of the be changed checked status nodes ).

                  +
                  +

                  Examples of function

                  +

                  1. Get the collection of nodes which be changed checked status

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getChangeCheckedNodes();
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getCheckedNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getCheckedNodes.html new file mode 100644 index 00000000..7a7c3b97 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getCheckedNodes.html @@ -0,0 +1,28 @@ +
                  +
                  +

                  Function(checked)zTreeObj.getCheckedNodes

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  Get the collection of nodes which be checked or unchecked. It is valid when [setting.check.enable = true]

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  checkedBoolean

                  +

                  checked = true means: get the collection of nodes which be checked

                  +

                  checked = false means: get the collection of nodes which be unchecked

                  +

                  If this parameter is omitted, it is same as 'checked = true'

                  +

                  Don't get the nodes which 'nochecked' attribute is true.

                  +

                  Return Array(JSON)

                  +

                  return the collection of nodes which be checked or unchecked. (Array)

                  +
                  +

                  Examples of function

                  +

                  1. Get the collection of nodes which be checked.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getCheckedNodes(true);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodeByParam.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodeByParam.html new file mode 100644 index 00000000..05572e73 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodeByParam.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  Function(key, value, parentNode)zTreeObj.getNodeByParam

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  According to the node data attribute, search the node which exactly matches, and get the JSON object of node.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  keyString

                  +

                  The name of attribute which need to exactly match

                  +

                  value?

                  +

                  The value which need to exactly match, can be any type, please ensure its type consistent with the attribute values.

                  +

                  parentNodeJSON

                  +

                  The search range, you can search node from a parent node's child nodes.

                  +

                  If this parameter is omitted, zTree will search node from all nodes.

                  +

                  Return JSON

                  +

                  JSON data object of the node which be searched.

                  +

                  1. If search none node, return null.

                  +

                  2. If there are many nodes can be searched, return the first node.

                  +
                  +

                  Examples of function

                  +

                  1. Search the node which its 'id' attribute is 1.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var node = treeObj.getNodeByParam("id", 1, null);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodeByTId.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodeByTId.html new file mode 100644 index 00000000..8fd26ea0 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodeByTId.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  Function(tId)zTreeObj.getNodeByTId

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  According the unique identifier tId of zTree, quick get the node's JSON data object.

                  +

                  Get the node from the cache, don't need to search from all nodes.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  tIdString

                  +

                  The unique identifier of node.

                  +

                  Return JSON

                  +

                  JSON data object of the node which be searched.

                  +

                  If no result, return null.

                  +
                  +

                  Examples of function

                  +

                  1. 1. Search the node which its 'tId' attribute is 'tree_10'

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var node = treeObj.getNodeByTId("tree_10");
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodeIndex.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodeIndex.html new file mode 100644 index 00000000..ad828e7a --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodeIndex.html @@ -0,0 +1,30 @@ +
                  +
                  +

                  Function(treeNode)zTreeObj.getNodeIndex

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Get the node's index in the same level nodes. (start from 0)

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which need to get index.

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  Return Number

                  +

                  return the index. (start from 0)

                  +

                  If there is no this node, return -1.

                  +
                  +

                  Examples of function

                  +

                  1. Get the first selected node's index in the same level nodes.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNodes();
                  +if (nodes.length>0) {
                  +	var index = treeObj.getNodeIndex(nodes[0]);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodes.html new file mode 100644 index 00000000..5906a434 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodes.html @@ -0,0 +1,26 @@ +
                  +
                  +

                  Function()zTreeObj.getNodes

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Get all of the nodes in zTree

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  Return Array(JSON)

                  +

                  return all of the nodes

                  +

                  1. This array is a collection of the root nodes (the default child nodes are in the 'children' attributes);

                  +

                  2. Traverse all the nodes need to use recursion, or the use of transformToArray() method make the nodes to be a simple array.

                  +

                  3. For the asynchronous loading mode, can't get the nodes which are yet loaded.

                  +
                  +

                  Examples of function

                  +

                  1. Get all of the nodes

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodesByFilter.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodesByFilter.html new file mode 100644 index 00000000..2cd6baa8 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodesByFilter.html @@ -0,0 +1,43 @@ +
                  +
                  +

                  Function(filter, isSingle, parentNode, invokeParam)zTreeObj.getNodesByFilter

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Search the single node's data or collection of nodes's data by custom rules.

                  +

                  Can be customized complex search rules.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  filterFunction

                  +

                  Custom search function. e.g. function filter(node) {...}

                  +

                  filter's parameter: node (node's data -- JSON)

                  +

                  filter's return: boolean (true means: match the rules; false means: don't match the rules)

                  +

                  isSingleBoolean

                  +

                  isSingle = true means: search only one node

                  +

                  isSingle = false means: search the array of the nodes

                  +

                  If this parameter is omitted, as same as false

                  +

                  parentNodeJSON

                  +

                  The search range, you can search node from a parent node's child nodes.

                  +

                  If this parameter is omitted, zTree will search node from all nodes.

                  +

                  invokeParamanything

                  +

                  Custom data object by user, used to calculate in the filter function.

                  +

                  Return Array(JSON) / JSON

                  +

                  If isSingle = true, will return the first node's data (JSON) what be matched. If no match, return null.

                  +

                  If isSingle = false, will return the array of all nodes's data what be matched. if no match, return [ ].

                  +
                  +

                  Examples of function

                  +

                  1. Search the nodes which their 'name' contains 'test' and 'level' is 2.

                  +
                  function filter(node) {
                  +    return (node.level == 2 && node.name.indexOf("test")>-1);
                  +}
                  +......
                  +var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var node = treeObj.getNodesByFilter(filter, true); // search only one node
                  +var nodes = treeObj.getNodesByFilter(filter); // search the array of the nodes
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodesByParam.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodesByParam.html new file mode 100644 index 00000000..3173af47 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodesByParam.html @@ -0,0 +1,31 @@ +
                  +
                  +

                  Function(key, value, parentNode)zTreeObj.getNodesByParam

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  According to the node data attribute, search the nodes which exactly matches, and get the JSON objects collection of nodes.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  keyString

                  +

                  The name of attribute which need to exactly match

                  +

                  value?

                  +

                  The value which need to exactly match, can be any type, please ensure its type consistent with the attribute values.

                  +

                  parentNodeJSON

                  +

                  The search range, you can search node from a parent node's child nodes.

                  +

                  If this parameter is omitted, zTree will search node from all nodes.

                  +

                  Return Array(JSON)

                  +

                  The JSON data objects collection of the nodes which be searched.

                  +

                  If search none node, return [ ].

                  +
                  +

                  Examples of function

                  +

                  1. Search the nodes which their 'name' attribute is 'test'.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodesByParam("name", "test", null);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodesByParamFuzzy.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodesByParamFuzzy.html new file mode 100644 index 00000000..14b6c294 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getNodesByParamFuzzy.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  Function(key, value, parentNode)zTreeObj.getNodesByParamFuzzy

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  According to the node data attribute, search the nodes which fuzzy matches, and get the JSON objects collection of nodes.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  keyString

                  +

                  The name of attribute which need to fuzzy match

                  +

                  valueString

                  +

                  The value which need to fuzzy match.

                  +

                  The type of value can only be String

                  +

                  parentNodeJSON

                  +

                  The search range, you can search node from a parent node's child nodes.

                  +

                  If this parameter is omitted, zTree will search node from all nodes.

                  +

                  Return Array(JSON)

                  +

                  The JSON data objects collection of the nodes which be searched.

                  +

                  If search none node, return [ ].

                  +
                  +

                  Examples of function

                  +

                  1. Search the nodes which their 'name' attribute contains the string 'test'.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodesByParamFuzzy("name", "test", null);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getSelectedNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getSelectedNodes.html new file mode 100644 index 00000000..4a0f0608 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.getSelectedNodes.html @@ -0,0 +1,23 @@ +
                  +
                  +

                  Function()zTreeObj.getSelectedNodes

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Get the JSON data objects collection of the selected nodes in zTree.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  Return Array(JSON)

                  +

                  The JSON data objects collection of the selected nodes.

                  +
                  +

                  Examples of function

                  +

                  1. get the selected nodes

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNodes();
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.hideNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.hideNode.html new file mode 100644 index 00000000..f02f523d --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.hideNode.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Function(treeNode)zTreeObj.hideNode

                  +

                  Overview[ depends on jquery.ztree.exhide js ]

                  +
                  +

                  +
                  +

                  To hide any node.

                  +

                  1. This feature can't support the 'exedit' feature, so please don't use this feature in edit mode.

                  +

                  2. If you hide or show the nodes, it will effect the 'isFirstNode' and 'isLastNode' attribute.

                  +

                  3. Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which will be hidden

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  Retrun none

                  +

                  no return value

                  +
                  +

                  Examples of function

                  +

                  1. hide the first root node.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +treeObj.hideNode(nodes[0]);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.hideNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.hideNodes.html new file mode 100644 index 00000000..9bf8e6b5 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.hideNodes.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Function(treeNodes)zTreeObj.hideNodes

                  +

                  Overview[ depends on jquery.ztree.exhide js ]

                  +
                  +

                  +
                  +

                  To hide a group of nodes.

                  +

                  1. This feature can't support the 'exedit' feature, so please don't use this feature in edit mode.

                  +

                  2. If you hide or show the nodes, it will effect the 'isFirstNode' and 'isLastNode' attribute.

                  +

                  3. Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeNodesArray(JSON)

                  +

                  the array of the nodes which will be hidden

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  Retrun none

                  +

                  no return value

                  +
                  +

                  Examples of function

                  +

                  1. hide the first root node's children.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +treeObj.hideNodes(nodes[0].children);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.moveNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.moveNode.html new file mode 100644 index 00000000..93f066bf --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.moveNode.html @@ -0,0 +1,49 @@ +
                  +
                  +

                  Function(targetNode, treeNode, moveType, isSilent)zTreeObj.moveNode

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Move the node

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  targetNodeJSON

                  +

                  JSON data object of the node which will be target.

                  +

                  If move the node to root node, please set the 'targetNode' to null.

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which will be moved.

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  moveTypeString

                  +

                  Moved to the target node's relative position.

                  +

                  "inner" means: to be taregetNode's child node.

                  +

                  "prev" means: to be taregetNode's previous sibling node.

                  +

                  "next" means: to be taregetNode's next sibling node.

                  +

                  isSilentBoolean

                  +

                  After move the node, whether to automatically expand its parent node.

                  +

                  isSilent = true means: don't expand its parent node.

                  +

                  isSilent = false or omit this parameter means: expand its parent node.

                  +

                  Return JSON

                  +

                  return the node which be moved, it is same as the 'treeNode' parameter.

                  +

                  Return null means: move node has failed. The cause:
                  +  1. the targetNode is the treeNode's parent node, and moveType = "inner"
                  +  2. the targetNode is the treeNode's child node. +

                  +
                  +

                  Examples of function

                  +

                  1. Move the second root node to the first root node's child node.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +treeObj.moveNode(nodes[0], nodes[1], "inner");
                  +
                  +

                  2. Move the second root node to the first root node's previous sibling node.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +treeObj.moveNode(nodes[0], nodes[1], "prev");
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.reAsyncChildNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.reAsyncChildNodes.html new file mode 100644 index 00000000..63a0896c --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.reAsyncChildNodes.html @@ -0,0 +1,42 @@ +
                  +
                  +

                  Function(parentNode, reloadType, isSilent)zTreeObj.reAsyncChildNodes

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Forced asynchronous loading child nodes of parent node. It is valid when [setting.async.enable = true]

                  +

                  You can use this method to reload child nodes.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  parentNodeJSON

                  +

                  The parent node which will asynchronous loading child nodes.

                  +

                  1. If parentNode = null, it is same as reload root nodes.

                  +

                  2. If parentNode.isParent = false, don't load nodes.

                  +

                  3. Please ensure that this data object is an internal node data object in zTree.

                  +

                  reloadTypeString

                  +

                  reloadType = "refresh" means: reload child nodes.

                  +

                  reloadType != "refresh" means: append to load child nodes.

                  +

                  isSilentBoolean

                  +

                  Set whether to automatically expand the parent node, after load nodes.

                  +

                  isSilent = true means: don't auto expand the parent node. Otherwise auto expand.

                  +

                  Return none

                  +

                  no return value

                  +
                  +

                  Examples of function

                  +

                  1. reload root nodes

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +treeObj.reAsyncChildNodes(null, "refresh");
                  +
                  +

                  2. reload the first selected node's child nodes.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNodes();
                  +if (nodes.length>0) {
                  +	treeObj.reAsyncChildNodes(nodes[0], "refresh");
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.refresh.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.refresh.html new file mode 100644 index 00000000..8316192c --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.refresh.html @@ -0,0 +1,24 @@ +
                  +
                  +

                  Function()zTreeObj.refresh

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Refresh zTree

                  +

                  If you have no special need, try not to use this method. If you refresh single node, please use updateNode() method. If you refresh child nodes in dynamic mode, please use the reAsyncChildNodes() method.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  Return none

                  +

                  no return value

                  +
                  +

                  Examples of function

                  +

                  1. refresh zTree

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +treeObj.refresh();
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.removeChildNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.removeChildNodes.html new file mode 100644 index 00000000..c249e175 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.removeChildNodes.html @@ -0,0 +1,32 @@ +
                  +
                  +

                  Function(parentNode)zTreeObj.removeChildNodes

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Remove a parent node's child nodes

                  +

                  1. After remove child nodes, the parent node will become a leaf node. Such as the need to maintain the parent node is still a parent node, set 'setting.data.keep.parent' attribute.

                  +

                  2. Do not use this method to empty the root. If you need to empty the root, you can initialization zTree, and set the initial nodes is null.

                  +

                  3. This method does not trigger any callback function.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  parentNodeJSON

                  +

                  The parent node which need to clear its child nodes.

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  Return Array(JSON)

                  +

                  Return the parent node's child nodes which have been removed. If has no child nodes, return null.

                  +
                  +

                  Examples of function

                  +

                  1. Remove the first selected node's child nodes

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNodes();
                  +if (nodes && nodes.length>0) {
                  +	treeObj.removeChildNodes(nodes[0]);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.removeNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.removeNode.html new file mode 100644 index 00000000..605322f3 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.removeNode.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(treeNode, callbackFlag)zTreeObj.removeNode

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Remove a node

                  +

                  Use removeNode() method of zTree v3.x can trigger 'beforeRemove / onRemove' callback function. for reduce redundant code.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which will be removed.

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  callbackFlagBoolean

                  +

                  callbackFlag = true means: call this method, will trigger 'beforeRemove' & 'onRemove' callback.

                  +

                  callbackFlag = false means: call this method, will not trigger callback.

                  +

                  If this parameter is omitted, it is same as 'callbackFlag = false'

                  +

                  Return none

                  +

                  no return value

                  +
                  +

                  Examples of function

                  +

                  1. Remove all of the selected nodes.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNodes();
                  +for (var i=0, l=nodes.length; i < l; i++) {
                  +	treeObj.removeNode(nodes[i]);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.selectNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.selectNode.html new file mode 100644 index 00000000..237f1996 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.selectNode.html @@ -0,0 +1,34 @@ +
                  +
                  +

                  Function(treeNode, addFlag)zTreeObj.selectNode

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Select a node

                  +

                  zTree v3.x supports select multiple nodes.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which will be selected.

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  addFlagBoolean

                  +

                  addFlag = true means: append to select node, don't affect the previously selected node, can select multiple nodes.

                  +

                  addFlag = false means: select single node, prior the selected node is deselected.

                  +

                  If setting.view.selectedMulti = false, this para, this parameter is not valid, always select single node

                  +

                  Return none

                  +

                  no return value

                  +
                  +

                  Exampleso of function

                  +

                  1. Select single node which be first selected.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +if (nodes.length>0) {
                  +	treeObj.selectNode(nodes[0]);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.setChkDisabled.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.setChkDisabled.html new file mode 100644 index 00000000..1d645e8f --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.setChkDisabled.html @@ -0,0 +1,44 @@ +
                  +
                  +

                  Function(node, disabled, inheritParent, inheritChildren)zTreeObj.setChkDisabled

                  +

                  Overview[ depends on jquery.ztree.excheck js ]

                  +
                  +

                  +
                  +

                  Set the node's checkbox or radio is disabled or remove disabled. It is valid when [setting.check.enable = true]

                  +

                  1. After the node's checkbox / radio is disabled, it can not be checked or unchecked, but it can affect the half-checked status of the parent node.

                  +

                  2. Please do not directly modify the 'chkDisabled' attribute of the loaded node.

                  +

                  3. Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which need to be checked or unchecked.

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  disabledBoolean

                  +

                  disabled = true means: the node's checkbox / radio is disabled.

                  +

                  disabled = false means: the node's checkbox / radio is removed disabled.

                  +

                  If this parameter is omitted, it is same as disabled = false

                  +

                  Don't affect the node which 'nochecked' attribute is true.

                  +

                  inheritParentBoolean

                  +

                  inheritParent = true means: all parent nodes's disabled status will be same as this node.

                  +

                  inheritParent = false means: all parent nodes's disabled status will be not affected.

                  +

                  If this parameter is omitted, it is same as 'inheritParent = false'

                  +

                  inheritChildrenBoolean

                  +

                  inheritChildren = true means: all child nodes's disabled status will be same as this node.

                  +

                  inheritChildren = false means: all child nodes's disabled status will be not affected.

                  +

                  If this parameter is omitted, it is same as 'inheritChildren = false'

                  +

                  Return none

                  +

                  no return value

                  +
                  +

                  Examples of function

                  +

                  1. Set the selected nodes's checkbox / radio to be disabled.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getSelectedNodes();
                  +for (var i=0, l=nodes.length; i < l; i++) {
                  +	treeObj.setChkDisabled(nodes[i], true);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.setEditable.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.setEditable.html new file mode 100644 index 00000000..a44b0ff6 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.setEditable.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  Function(editable)zTreeObj.setEditable

                  +

                  Overview[ depends on jquery.ztree.exedit js ]

                  +
                  +

                  +
                  +

                  Edit mode and normal mode switch.

                  +

                  To use edit mode, please set the attributes in 'setting.edit'

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  editableBoolean

                  +

                  true means: set zTree to edit mode.

                  +

                  false means: set zTree to normal mode.

                  +

                  Return none

                  +

                  no return value

                  +
                  +

                  Examples of function

                  +

                  1. set zTree to edit mode

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +treeObj.setEditable(true);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.setting.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.setting.html new file mode 100644 index 00000000..d80c139a --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.setting.html @@ -0,0 +1,14 @@ +
                  +
                  +

                  JSONzTreeObj.setting

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  The configuration data of zTree, refer to "setting details"

                  +

                  zTree v3.x to cancel the original operation setting method, so users can modify.

                  +

                  Note: Modify the parameters which affect zTree initialization will not work, please first understand the different attributes.

                  +
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.showNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.showNode.html new file mode 100644 index 00000000..53b5cbda --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.showNode.html @@ -0,0 +1,31 @@ +
                  +
                  +

                  Function(treeNode)zTreeObj.showNode

                  +

                  Overview[ depends on jquery.ztree.exhide js ]

                  +
                  +

                  +
                  +

                  To hide any node which be hidden.

                  +

                  1. This feature can't support the 'exedit' feature, so please don't use this feature in edit mode.

                  +

                  2. If you hide or show the nodes, it will effect the 'isFirstNode' and 'isLastNode' attribute.

                  +

                  3. Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeNodesArray(JSON)

                  +

                  JSON data object of the node which will be shown

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  Retrun none

                  +

                  no return value

                  +
                  +

                  Examples of function

                  +

                  1. show someone node which be hidden.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var node = treeObj.getNodeByParam("isHidden", true);
                  +if (node) {
                  +  treeObj.showNode(node);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.showNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.showNodes.html new file mode 100644 index 00000000..c0c926c3 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.showNodes.html @@ -0,0 +1,29 @@ +
                  +
                  +

                  Function(treeNodes)zTreeObj.showNodes

                  +

                  Overview[ depends on jquery.ztree.exhide js ]

                  +
                  +

                  +
                  +

                  To show a group of nodes which be hidden.

                  +

                  1. This feature can't support the 'exedit' feature, so please don't use this feature in edit mode.

                  +

                  2. If you hide or show the nodes, it will effect the 'isFirstNode' and 'isLastNode' attribute.

                  +

                  3. Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeNodesArray(JSON)

                  +

                  the array of the nodes which will be shown

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  Retrun none

                  +

                  no return value

                  +
                  +

                  Examples of function

                  +

                  1. show all of the nodes which be hidden.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodesByParam("isHidden", true);
                  +treeObj.showNodes(nodes);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.transformToArray.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.transformToArray.html new file mode 100644 index 00000000..4b2296d5 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.transformToArray.html @@ -0,0 +1,27 @@ +
                  +
                  +

                  Function(treeNodes)zTreeObj.transformToArray

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  +

                  Transform the zTree nodes data into simple array. (To avoid the user to write code to traverse all nodes)

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeNodesArray(JSON) / JSON

                  +

                  JSON data object of the node which need to be transformed.

                  +

                  or JSON data objects collection of the nodes which need to be transformed.

                  +

                  Return Array(JSON)

                  +

                  The JSON data objects array of the nodes which be transformed.

                  +
                  +

                  Examples of function

                  +

                  1. Transform the zTree nodes data into simple array.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.transformToArray(treeObj.getNodes());
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.transformTozTreeNodes.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.transformTozTreeNodes.html new file mode 100644 index 00000000..51d4a629 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.transformTozTreeNodes.html @@ -0,0 +1,44 @@ +
                  +
                  +

                  Function(simpleNodes)zTreeObj.transformTozTreeNodes

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Transform the simple array into zTree nodes data.

                  +

                  If you use this method, you must set 'setting.data.simpleData.idKey' and 'setting.data.simpleData.pIdKey' attribute, and let the data are consistent with parent-child relationship.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  simpleNodesArray(JSON) / JSON

                  +

                  JSON data object of the node which need to be transformed.

                  +

                  or JSON data objects array of the nodes which need to be transformed.

                  +

                  Return Array(JSON)

                  +

                  Standard data which zTree use. The child nodes are stored in the parent node's 'children' attribute.

                  +

                  If simpleNodes is a single JSON, so the return array's length is 1.

                  +
                  +

                  Examples of function

                  +

                  1. Transform the simple array data into zTree nodes format.

                  +
                  var setting = {
                  +	data: {
                  +		simpleData: {
                  +			enable: true,
                  +			idKey: "id",
                  +			pIdKey: "pId",
                  +			rootPId: 0,
                  +		}
                  +	}
                  +};
                  +var simpleNodes = [
                  +    {"id":1, "pId":0, "name":"test1"},
                  +    {"id":11, "pId":1, "name":"test11"},
                  +    {"id":12, "pId":1, "name":"test12"},
                  +    {"id":111, "pId":11, "name":"test111"}
                  +];
                  +var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.transformTozTreeNodes(simpleNodes);
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.updateNode.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.updateNode.html new file mode 100644 index 00000000..7639ff41 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/en/zTreeObj.updateNode.html @@ -0,0 +1,37 @@ +
                  +
                  +

                  Function(treeNode, checkTypeFlag)zTreeObj.updateNode

                  +

                  Overview[ depends on jquery.ztree.core js ]

                  +
                  +

                  +
                  +

                  Update node data. Primarily used to update the node's DOM.

                  +

                  1. Can update the attributes for display (e.g. 'name', 'target', 'url', 'icon', 'iconSkin', 'checked', 'nocheck'), do not update the other attributes. For example: If you need to expand the node, please use expandNode() method, do not modify the 'open' attribute.

                  +

                  2. Use updateNode() method of zTree can't trigger 'beforeCheck' or 'onCheck' callback function.

                  +

                  Please use zTree object to executing the method.

                  +
                  +
                  +

                  Function Parameter Descriptions

                  +
                  +

                  treeNodeJSON

                  +

                  JSON data object of the node which need to update.

                  +

                  Please ensure that this data object is an internal node data object in zTree.

                  +

                  checkTypeFlagBoolean

                  +

                  checkTypeFlag = true means: According to 'setting.check.chkboxType' attribute automatically check or uncheck the parent and child nodes.

                  +

                  checkTypeFlag = false means: only check or uncheck this node, don't affect its parent and child nodes.

                  +

                  This parameter is valid when 'setting.check.enable = true' and 'setting.check.chkStyle = "checkbox"'

                  +

                  Don't affect the parent and child nodes which 'nochecked' attribute is true.

                  +

                  Return none

                  +

                  no return value

                  +
                  +

                  Examples of function

                  +

                  1. Modify the first selected node's name, and update it.

                  +
                  var treeObj = $.fn.zTree.getZTreeObj("tree");
                  +var nodes = treeObj.getNodes();
                  +if (nodes.length>0) {
                  +	nodes[0].name = "test";
                  +	treeObj.updateNode(nodes[0]);
                  +}
                  +
                  +
                  +
                  \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/demo.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/demo.css new file mode 100644 index 00000000..84060069 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/demo.css @@ -0,0 +1,33 @@ +/* html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { + margin: 0;padding: 0;border: 0;outline: 0;font-weight: inherit;font-style: inherit;font-size: 100%;font-family: inherit;vertical-align: baseline;} +body {color: #2f332a;font: 15px/21px Arial, Helvetica, simsun, sans-serif;background: #f0f6e4 \9;} +h1, h2, h3, h4, h5, h6 {color: #2f332a;font-weight: bold;font-family: Helvetica, Arial, sans-serif;padding-bottom: 5px;} +h1 {font-size: 24px;line-height: 34px;text-align: center;} +h2 {font-size: 14px;line-height: 24px;padding-top: 5px;} +h6 {font-weight: normal;font-size: 12px;letter-spacing: 1px;line-height: 24px;text-align: center;} */ +/* a {color:#3C6E31;text-decoration: underline;} +a:hover {background-color:#3C6E31;color:white;} */ +input.radio {margin: 0 2px 0 8px;} +input.radio.first {margin-left:0;} +input.empty {color: lightgray;} +code {color: #2f332a;} +.highlight_red {color:#A60000;} +.highlight_green {color:#A7F43D;} +li {list-style: circle;font-size: 12px;} +li.title {list-style: none;} +ul.list {margin-left: 17px;} + +div.content_wrap {width: 600px;height:380px;} +div.content_wrap div.left{float: left;width: 250px;} +div.content_wrap div.right{float: right;width: 340px;} +div.zTreeDemoBackground {width:250px;height:362px;text-align:left;} + +ul.ztree {margin-top: 10px;border: 1px solid #eee;/*background: #f0f6e4;width:220px;height:360px;*/overflow-y:auto;overflow-x:auto;/*ict*/padding: 25px;padding-right: 50px;} +ul.log {border: 1px solid #617775;background: #f0f6e4;width:300px;height:170px;overflow: hidden;} +ul.log.small {height:45px;} +ul.log li {color: #666666;list-style: none;padding-left: 10px;} +ul.log li.dark {background-color: #E3E3E3;} + +/* ruler */ +div.ruler {height:20px; width:220px; background-color:#f0f6e4;border: 1px solid #333; margin-bottom: 5px; cursor: pointer} +div.ruler div.cursor {height:20px; width:30px; background-color:#3C6E31; color:white; text-align: right; padding-right: 5px; cursor: pointer} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/ReadMe.txt b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/ReadMe.txt new file mode 100644 index 00000000..c4ae4434 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/ReadMe.txt @@ -0,0 +1 @@ +½ڵ㣬ɾקڵ㣬zTreeStyle_select.cssļ \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/Thumbs.db b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/Thumbs.db new file mode 100644 index 00000000..4fe7e7e2 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/Thumbs.db differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/1_close.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/1_close.png new file mode 100644 index 00000000..68ccb3c3 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/1_close.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/1_open.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/1_open.png new file mode 100644 index 00000000..d6ff36d3 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/1_open.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/2.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/2.png new file mode 100644 index 00000000..9eff506b Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/2.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/3.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/3.png new file mode 100644 index 00000000..d7ba6d0c Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/3.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/4.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/4.png new file mode 100644 index 00000000..753e2bfd Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/4.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/5.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/5.png new file mode 100644 index 00000000..0c5eccd5 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/5.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/6.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/6.png new file mode 100644 index 00000000..070b8352 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/6.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/7.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/7.png new file mode 100644 index 00000000..532b037f Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/7.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/8.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/8.png new file mode 100644 index 00000000..a8f3a86e Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/8.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/9.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/9.png new file mode 100644 index 00000000..4db73cd4 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/9.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/Thumbs.db b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/Thumbs.db new file mode 100644 index 00000000..f4a46171 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/diy/Thumbs.db differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/line_conn.gif b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/line_conn.gif new file mode 100644 index 00000000..d561d36a Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/line_conn.gif differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/loading.gif b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/loading.gif new file mode 100644 index 00000000..e8c28929 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/loading.gif differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.gif b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.gif new file mode 100644 index 00000000..50c94fd4 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.gif differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.gifbak b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.gifbak new file mode 100644 index 00000000..50c94fd4 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.gifbak differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.png b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.png new file mode 100644 index 00000000..e831f6d1 Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.png differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.pngbak b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.pngbak new file mode 100644 index 00000000..ffda01ef Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.pngbak differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.psd b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.psd new file mode 100644 index 00000000..e3630f4e Binary files /dev/null and b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/img/zTreeStandard.psd differ diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/zTreeStyle.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/zTreeStyle.css new file mode 100644 index 00000000..d40353f8 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/css/zTreeStyle/zTreeStyle.css @@ -0,0 +1,107 @@ +/*------------------------------------- +zTree Style + +version: 3.4 +author: Hunter.z +email: hunter.z@263.net +website: http://code.google.com/p/jquerytree/ + +-------------------------------------*/ + +.ztree * {padding:0; margin:0; font-size:14px; font-family: Verdana, Arial, Helvetica, AppleGothic, sans-serif} +.ztree {margin:0; padding:5px; color:#333; /*overflow-x: auto;*/ overflow-x: visible;} +.ztree li{padding:0; margin:0; list-style:none; line-height:14px; text-align:left; white-space:nowrap; outline:0} +.ztree li ul{ margin:0; padding:0 0 0 18px} +.ztree li ul.line{ background:url(./img/line_conn.gif) 0 0 repeat-y;} + +.ztree li a {padding:1px 3px 0 0; margin:0; cursor:pointer; height:30px; color:#333; background-color: transparent; + text-decoration:none; vertical-align:top; display: inline-block; + /*ict*/width:100%; + background: #fff; + border: 1px solid #eeeeee; + color: #606060; + padding: 10px ; + padding-top: 5px; + padding-right:10%; +} +.ztree li a:hover {text-decoration:underline} +.ztree li a.curSelectedNode {padding-top:5px; background-color:#e7f2f9; color:#2a2a2a; height:28px; border:1px #accbdd solid; opacity:0.8;} +.ztree li a.curSelectedNode_Edit {padding-top:0px; background-color:#e7f2f9; color:#2a2a2a; height:16px; border:1px #accbdd solid; opacity:0.8;} +.ztree li a.tmpTargetNode_inner {padding-top:5px; background-color:#316AC5; color:white; height:26px; border:1px #316AC5 solid; + opacity:0.8; filter:alpha(opacity=80)} +.ztree li a.tmpTargetNode_prev {} +.ztree li a.tmpTargetNode_next {} +.ztree li a input.rename {height:14px; width:80px; padding:0; margin:0; + font-size:12px; border:1px #7EC4CC solid; *border:0px} +.ztree li span {line-height:16px; margin-right:2px} +.ztree li span.button {line-height:0; margin:0; width:16px; height:16px; display: inline-block; vertical-align:middle; + border:0 none; cursor: pointer;outline:none; + background-color:transparent; background-repeat:no-repeat; background-attachment: scroll; + background-image:url("./img/zTreeStandard.png"); *background-image:url("./img/zTreeStandard.gif")} + +.ztree li span.button.chk {width:13px; height:13px; margin:0 3px 0 0; cursor: auto} +.ztree li span.button.chk.checkbox_false_full {background-position:0 0} +.ztree li span.button.chk.checkbox_false_full_focus {background-position:0 -14px} +.ztree li span.button.chk.checkbox_false_part {background-position:0 -28px} +.ztree li span.button.chk.checkbox_false_part_focus {background-position:0 -42px} +.ztree li span.button.chk.checkbox_false_disable {background-position:0 -56px} +.ztree li span.button.chk.checkbox_true_full {background-position:-14px 0} +.ztree li span.button.chk.checkbox_true_full_focus {background-position:-14px -14px} +.ztree li span.button.chk.checkbox_true_part {background-position:-14px -28px} +.ztree li span.button.chk.checkbox_true_part_focus {background-position:-14px -42px} +.ztree li span.button.chk.checkbox_true_disable {background-position:-14px -56px} +.ztree li span.button.chk.radio_false_full {background-position:-28px 0} +.ztree li span.button.chk.radio_false_full_focus {background-position:-28px -14px} +.ztree li span.button.chk.radio_false_part {background-position:-28px -28px} +.ztree li span.button.chk.radio_false_part_focus {background-position:-28px -42px} +.ztree li span.button.chk.radio_false_disable {background-position:-28px -56px} +.ztree li span.button.chk.radio_true_full {background-position:-42px 0} +.ztree li span.button.chk.radio_true_full_focus {background-position:-42px -14px} +.ztree li span.button.chk.radio_true_part {background-position:-42px -28px} +.ztree li span.button.chk.radio_true_part_focus {background-position:-42px -42px} +.ztree li span.button.chk.radio_true_disable {background-position:-42px -56px} + +.ztree li span.button.switch {width:18px; height:18px} +.ztree li span.button.root_open{background-position:-92px -54px} +.ztree li span.button.root_close{background-position:-74px -54px} +.ztree li span.button.roots_open{background-position:-92px 0} +.ztree li span.button.roots_close{background-position:-74px 0} +.ztree li span.button.center_open{background-position:-92px -18px} +.ztree li span.button.center_close{background-position:-74px -18px} +.ztree li span.button.bottom_open{background-position:-92px -36px} +.ztree li span.button.bottom_close{background-position:-74px -36px} +.ztree li span.button.noline_open{background-position:-92px -72px} +.ztree li span.button.noline_close{background-position:-74px -72px} +.ztree li span.button.root_docu{ background:none;} +.ztree li span.button.roots_docu{background-position:-56px 0} +.ztree li span.button.center_docu{background-position:-56px -18px} +.ztree li span.button.bottom_docu{background-position:-56px -36px} +.ztree li span.button.noline_docu{ background:none;} + +.ztree li span.button.ico_open{margin-right:2px; background-position:-110px -16px; vertical-align:top; *vertical-align:middle} +.ztree li span.button.ico_close{margin-right:2px; background-position:-110px 0; vertical-align:top; *vertical-align:middle} +.ztree li span.button.ico_docu{margin-right:2px; background-position:-110px -32px; vertical-align:top; *vertical-align:middle} +/*ict*/ +.ztree li span.button.add {margin-left:2px; /* margin-right: -1px; */ margin-right: 2px; background-position:-144px 0; vertical-align:top; *vertical-align:middle;float: right;} +.ztree li span.button.edit {margin-right:2px; background-position:-110px -48px; vertical-align:top; *vertical-align:middle;float: right;} +.ztree li span.button.remove {margin-right:2px; background-position:-110px -64px; vertical-align:top; *vertical-align:middle;float: right;} + +.ztree li span.button.ico_loading{margin-right:2px; background:url(./img/loading.gif) no-repeat scroll 0 0 transparent; vertical-align:top; *vertical-align:middle} + +ul.tmpTargetzTree {background-color:#FFE6B0; opacity:0.8; filter:alpha(opacity=80)} + +span.tmpzTreeMove_arrow {width:16px; height:16px; display: inline-block; padding:0; margin:2px 0 0 1px; border:0 none; position:absolute; + background-color:transparent; background-repeat:no-repeat; background-attachment: scroll; + background-position:-110px -80px; background-image:url("./img/zTreeStandard.png"); *background-image:url("./img/zTreeStandard.gif")} + +ul.ztree.zTreeDragUL {margin:0; padding:0; position:absolute; width:auto; height:auto;overflow:hidden; background-color:#cfcfcf; border:1px #00B83F dotted; opacity:0.8; filter:alpha(opacity=80)} +.zTreeMask {z-index:10000; background-color:#cfcfcf; opacity:0.0; filter:alpha(opacity=0); position:absolute} + +/* level style*/ +/*.ztree li span.button.level0 { + display:none; +} +.ztree li ul.level0 { + padding:0; + background:none; +}*/ \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.all.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.all.js new file mode 100644 index 00000000..28bca45a --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.all.js @@ -0,0 +1,3506 @@ + +/* + * JQuery zTree core v3.5.16 + * http://zTree.me/ + * + * Copyright (c) 2010 Hunter.z + * + * Licensed same as jquery - MIT License + * http://www.opensource.org/licenses/mit-license.php + * + * email: hunter.z@263.net + * Date: 2014-03-09 + */ +(function($){ + var settings = {}, roots = {}, caches = {}, + //default consts of core + _consts = { + className: { + BUTTON: "button", + LEVEL: "level", + ICO_LOADING: "ico_loading", + SWITCH: "switch" + }, + event: { + NODECREATED: "ztree_nodeCreated", + CLICK: "ztree_click", + EXPAND: "ztree_expand", + COLLAPSE: "ztree_collapse", + ASYNC_SUCCESS: "ztree_async_success", + ASYNC_ERROR: "ztree_async_error", + REMOVE: "ztree_remove" + }, + id: { + A: "_a", + ICON: "_ico", + SPAN: "_span", + SWITCH: "_switch", + UL: "_ul" + }, + line: { + ROOT: "root", + ROOTS: "roots", + CENTER: "center", + BOTTOM: "bottom", + NOLINE: "noline", + LINE: "line" + }, + folder: { + OPEN: "open", + CLOSE: "close", + DOCU: "docu" + }, + node: { + CURSELECTED: "curSelectedNode" + } + }, + //default setting of core + _setting = { + treeId: "", + treeObj: null, + view: { + addDiyDom: null, + autoCancelSelected: true, + dblClickExpand: true, + expandSpeed: "fast", + fontCss: {}, + nameIsHTML: false, + selectedMulti: true, + showIcon: true, + showLine: true, + showTitle: true, + txtSelectedEnable: false + }, + data: { + key: { + children: "children", + name: "name", + title: "", + url: "url" + }, + simpleData: { + enable: false, + idKey: "id", + pIdKey: "pId", + rootPId: null + }, + keep: { + parent: false, + leaf: false + } + }, + async: { + enable: false, + contentType: "application/x-www-form-urlencoded", + type: "post", + dataType: "text", + url: "", + autoParam: [], + otherParam: [], + dataFilter: null + }, + callback: { + beforeAsync:null, + beforeClick:null, + beforeDblClick:null, + beforeRightClick:null, + beforeMouseDown:null, + beforeMouseUp:null, + beforeExpand:null, + beforeCollapse:null, + beforeRemove:null, + + onAsyncError:null, + onAsyncSuccess:null, + onNodeCreated:null, + onClick:null, + onDblClick:null, + onRightClick:null, + onMouseDown:null, + onMouseUp:null, + onExpand:null, + onCollapse:null, + onRemove:null + } + }, + //default root of core + //zTree use root to save full data + _initRoot = function (setting) { + var r = data.getRoot(setting); + if (!r) { + r = {}; + data.setRoot(setting, r); + } + r[setting.data.key.children] = []; + r.expandTriggerFlag = false; + r.curSelectedList = []; + r.noSelection = true; + r.createdNodes = []; + r.zId = 0; + r._ver = (new Date()).getTime(); + }, + //default cache of core + _initCache = function(setting) { + var c = data.getCache(setting); + if (!c) { + c = {}; + data.setCache(setting, c); + } + c.nodes = []; + c.doms = []; + }, + //default bindEvent of core + _bindEvent = function(setting) { + var o = setting.treeObj, + c = consts.event; + o.bind(c.NODECREATED, function (event, treeId, node) { + tools.apply(setting.callback.onNodeCreated, [event, treeId, node]); + }); + + o.bind(c.CLICK, function (event, srcEvent, treeId, node, clickFlag) { + tools.apply(setting.callback.onClick, [srcEvent, treeId, node, clickFlag]); + }); + + o.bind(c.EXPAND, function (event, treeId, node) { + tools.apply(setting.callback.onExpand, [event, treeId, node]); + }); + + o.bind(c.COLLAPSE, function (event, treeId, node) { + tools.apply(setting.callback.onCollapse, [event, treeId, node]); + }); + + o.bind(c.ASYNC_SUCCESS, function (event, treeId, node, msg) { + tools.apply(setting.callback.onAsyncSuccess, [event, treeId, node, msg]); + }); + + o.bind(c.ASYNC_ERROR, function (event, treeId, node, XMLHttpRequest, textStatus, errorThrown) { + tools.apply(setting.callback.onAsyncError, [event, treeId, node, XMLHttpRequest, textStatus, errorThrown]); + }); + + o.bind(c.REMOVE, function (event, treeId, treeNode) { + tools.apply(setting.callback.onRemove, [event, treeId, treeNode]); + }); + }, + _unbindEvent = function(setting) { + var o = setting.treeObj, + c = consts.event; + o.unbind(c.NODECREATED) + .unbind(c.CLICK) + .unbind(c.EXPAND) + .unbind(c.COLLAPSE) + .unbind(c.ASYNC_SUCCESS) + .unbind(c.ASYNC_ERROR) + .unbind(c.REMOVE); + }, + //default event proxy of core + _eventProxy = function(event) { + var target = event.target, + setting = data.getSetting(event.data.treeId), + tId = "", node = null, + nodeEventType = "", treeEventType = "", + nodeEventCallback = null, treeEventCallback = null, + tmp = null; + + if (tools.eqs(event.type, "mousedown")) { + treeEventType = "mousedown"; + } else if (tools.eqs(event.type, "mouseup")) { + treeEventType = "mouseup"; + } else if (tools.eqs(event.type, "contextmenu")) { + treeEventType = "contextmenu"; + } else if (tools.eqs(event.type, "click")) { + if (tools.eqs(target.tagName, "span") && target.getAttribute("treeNode"+ consts.id.SWITCH) !== null) { + tId = tools.getNodeMainDom(target).id; + nodeEventType = "switchNode"; + } else { + tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]); + if (tmp) { + tId = tools.getNodeMainDom(tmp).id; + nodeEventType = "clickNode"; + } + } + } else if (tools.eqs(event.type, "dblclick")) { + treeEventType = "dblclick"; + tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]); + if (tmp) { + tId = tools.getNodeMainDom(tmp).id; + nodeEventType = "switchNode"; + } + } + if (treeEventType.length > 0 && tId.length == 0) { + tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]); + if (tmp) {tId = tools.getNodeMainDom(tmp).id;} + } + // event to node + if (tId.length>0) { + node = data.getNodeCache(setting, tId); + switch (nodeEventType) { + case "switchNode" : + if (!node.isParent) { + nodeEventType = ""; + } else if (tools.eqs(event.type, "click") + || (tools.eqs(event.type, "dblclick") && tools.apply(setting.view.dblClickExpand, [setting.treeId, node], setting.view.dblClickExpand))) { + nodeEventCallback = handler.onSwitchNode; + } else { + nodeEventType = ""; + } + break; + case "clickNode" : + nodeEventCallback = handler.onClickNode; + break; + } + } + // event to zTree + switch (treeEventType) { + case "mousedown" : + treeEventCallback = handler.onZTreeMousedown; + break; + case "mouseup" : + treeEventCallback = handler.onZTreeMouseup; + break; + case "dblclick" : + treeEventCallback = handler.onZTreeDblclick; + break; + case "contextmenu" : + treeEventCallback = handler.onZTreeContextmenu; + break; + } + var proxyResult = { + stop: false, + node: node, + nodeEventType: nodeEventType, + nodeEventCallback: nodeEventCallback, + treeEventType: treeEventType, + treeEventCallback: treeEventCallback + }; + return proxyResult + }, + //default init node of core + _initNode = function(setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) { + if (!n) return; + var r = data.getRoot(setting), + childKey = setting.data.key.children; + n.level = level; + n.tId = setting.treeId + "_" + (++r.zId); + n.parentTId = parentNode ? parentNode.tId : null; + n.open = (typeof n.open == "string") ? tools.eqs(n.open, "true") : !!n.open; + if (n[childKey] && n[childKey].length > 0) { + n.isParent = true; + n.zAsync = true; + } else { + n.isParent = (typeof n.isParent == "string") ? tools.eqs(n.isParent, "true") : !!n.isParent; + n.open = (n.isParent && !setting.async.enable) ? n.open : false; + n.zAsync = !n.isParent; + } + n.isFirstNode = isFirstNode; + n.isLastNode = isLastNode; + n.getParentNode = function() {return data.getNodeCache(setting, n.parentTId);}; + n.getPreNode = function() {return data.getPreNode(setting, n);}; + n.getNextNode = function() {return data.getNextNode(setting, n);}; + n.isAjaxing = false; + data.fixPIdKeyValue(setting, n); + }, + _init = { + bind: [_bindEvent], + unbind: [_unbindEvent], + caches: [_initCache], + nodes: [_initNode], + proxys: [_eventProxy], + roots: [_initRoot], + beforeA: [], + afterA: [], + innerBeforeA: [], + innerAfterA: [], + zTreeTools: [] + }, + //method of operate data + data = { + addNodeCache: function(setting, node) { + data.getCache(setting).nodes[data.getNodeCacheId(node.tId)] = node; + }, + getNodeCacheId: function(tId) { + return tId.substring(tId.lastIndexOf("_")+1); + }, + addAfterA: function(afterA) { + _init.afterA.push(afterA); + }, + addBeforeA: function(beforeA) { + _init.beforeA.push(beforeA); + }, + addInnerAfterA: function(innerAfterA) { + _init.innerAfterA.push(innerAfterA); + }, + addInnerBeforeA: function(innerBeforeA) { + _init.innerBeforeA.push(innerBeforeA); + }, + addInitBind: function(bindEvent) { + _init.bind.push(bindEvent); + }, + addInitUnBind: function(unbindEvent) { + _init.unbind.push(unbindEvent); + }, + addInitCache: function(initCache) { + _init.caches.push(initCache); + }, + addInitNode: function(initNode) { + _init.nodes.push(initNode); + }, + addInitProxy: function(initProxy, isFirst) { + if (!!isFirst) { + _init.proxys.splice(0,0,initProxy); + } else { + _init.proxys.push(initProxy); + } + }, + addInitRoot: function(initRoot) { + _init.roots.push(initRoot); + }, + addNodesData: function(setting, parentNode, nodes) { + var childKey = setting.data.key.children; + if (!parentNode[childKey]) parentNode[childKey] = []; + if (parentNode[childKey].length > 0) { + parentNode[childKey][parentNode[childKey].length - 1].isLastNode = false; + view.setNodeLineIcos(setting, parentNode[childKey][parentNode[childKey].length - 1]); + } + parentNode.isParent = true; + parentNode[childKey] = parentNode[childKey].concat(nodes); + }, + addSelectedNode: function(setting, node) { + var root = data.getRoot(setting); + if (!data.isSelectedNode(setting, node)) { + root.curSelectedList.push(node); + } + }, + addCreatedNode: function(setting, node) { + if (!!setting.callback.onNodeCreated || !!setting.view.addDiyDom) { + var root = data.getRoot(setting); + root.createdNodes.push(node); + } + }, + addZTreeTools: function(zTreeTools) { + _init.zTreeTools.push(zTreeTools); + }, + exSetting: function(s) { + $.extend(true, _setting, s); + }, + fixPIdKeyValue: function(setting, node) { + if (setting.data.simpleData.enable) { + node[setting.data.simpleData.pIdKey] = node.parentTId ? node.getParentNode()[setting.data.simpleData.idKey] : setting.data.simpleData.rootPId; + } + }, + getAfterA: function(setting, node, array) { + for (var i=0, j=_init.afterA.length; i-1) { + result.push(nodes[i]); + } + result = result.concat(data.getNodesByParamFuzzy(setting, nodes[i][childKey], key, value)); + } + return result; + }, + getNodesByFilter: function(setting, nodes, filter, isSingle, invokeParam) { + if (!nodes) return (isSingle ? null : []); + var childKey = setting.data.key.children, + result = isSingle ? null : []; + for (var i = 0, l = nodes.length; i < l; i++) { + if (tools.apply(filter, [nodes[i], invokeParam], false)) { + if (isSingle) {return nodes[i];} + result.push(nodes[i]); + } + var tmpResult = data.getNodesByFilter(setting, nodes[i][childKey], filter, isSingle, invokeParam); + if (isSingle && !!tmpResult) {return tmpResult;} + result = isSingle ? tmpResult : result.concat(tmpResult); + } + return result; + }, + getPreNode: function(setting, node) { + if (!node) return null; + var childKey = setting.data.key.children, + p = node.parentTId ? node.getParentNode() : data.getRoot(setting); + for (var i=0, l=p[childKey].length; i 0))); + }, + clone: function (obj){ + if (obj === null) return null; + var o = tools.isArray(obj) ? [] : {}; + for(var i in obj){ + o[i] = (obj[i] instanceof Date) ? new Date(obj[i].getTime()) : (typeof obj[i] === "object" ? arguments.callee(obj[i]) : obj[i]); + } + return o; + }, + eqs: function(str1, str2) { + return str1.toLowerCase() === str2.toLowerCase(); + }, + isArray: function(arr) { + return Object.prototype.toString.apply(arr) === "[object Array]"; + }, + $: function(node, exp, setting) { + if (!!exp && typeof exp != "string") { + setting = exp; + exp = ""; + } + if (typeof node == "string") { + return $(node, setting ? setting.treeObj.get(0).ownerDocument : null); + } else { + return $("#" + node.tId + exp, setting ? setting.treeObj : null); + } + }, + getMDom: function (setting, curDom, targetExpr) { + if (!curDom) return null; + while (curDom && curDom.id !== setting.treeId) { + for (var i=0, l=targetExpr.length; curDom.tagName && i 0 ); + }, + uCanDo: function(setting, e) { + return true; + } + }, + //method of operate ztree dom + view = { + addNodes: function(setting, parentNode, newNodes, isSilent) { + if (setting.data.keep.leaf && parentNode && !parentNode.isParent) { + return; + } + if (!tools.isArray(newNodes)) { + newNodes = [newNodes]; + } + if (setting.data.simpleData.enable) { + newNodes = data.transformTozTreeFormat(setting, newNodes); + } + if (parentNode) { + var target_switchObj = $$(parentNode, consts.id.SWITCH, setting), + target_icoObj = $$(parentNode, consts.id.ICON, setting), + target_ulObj = $$(parentNode, consts.id.UL, setting); + + if (!parentNode.open) { + view.replaceSwitchClass(parentNode, target_switchObj, consts.folder.CLOSE); + view.replaceIcoClass(parentNode, target_icoObj, consts.folder.CLOSE); + parentNode.open = false; + target_ulObj.css({ + "display": "none" + }); + } + + data.addNodesData(setting, parentNode, newNodes); + view.createNodes(setting, parentNode.level + 1, newNodes, parentNode); + if (!isSilent) { + view.expandCollapseParentNode(setting, parentNode, true); + } + } else { + data.addNodesData(setting, data.getRoot(setting), newNodes); + view.createNodes(setting, 0, newNodes, null); + } + }, + appendNodes: function(setting, level, nodes, parentNode, initFlag, openFlag) { + if (!nodes) return []; + var html = [], + childKey = setting.data.key.children; + for (var i = 0, l = nodes.length; i < l; i++) { + var node = nodes[i]; + if (initFlag) { + var tmpPNode = (parentNode) ? parentNode: data.getRoot(setting), + tmpPChild = tmpPNode[childKey], + isFirstNode = ((tmpPChild.length == nodes.length) && (i == 0)), + isLastNode = (i == (nodes.length - 1)); + data.initNode(setting, level, node, parentNode, isFirstNode, isLastNode, openFlag); + data.addNodeCache(setting, node); + } + + var childHtml = []; + if (node[childKey] && node[childKey].length > 0) { + //make child html first, because checkType + childHtml = view.appendNodes(setting, level + 1, node[childKey], node, initFlag, openFlag && node.open); + } + if (openFlag) { + + view.makeDOMNodeMainBefore(html, setting, node); + view.makeDOMNodeLine(html, setting, node); + data.getBeforeA(setting, node, html); + view.makeDOMNodeNameBefore(html, setting, node); + data.getInnerBeforeA(setting, node, html); + view.makeDOMNodeIcon(html, setting, node); + data.getInnerAfterA(setting, node, html); + view.makeDOMNodeNameAfter(html, setting, node); + data.getAfterA(setting, node, html); + if (node.isParent && node.open) { + view.makeUlHtml(setting, node, html, childHtml.join('')); + } + view.makeDOMNodeMainAfter(html, setting, node); + data.addCreatedNode(setting, node); + } + } + return html; + }, + appendParentULDom: function(setting, node) { + var html = [], + nObj = $$(node, setting); + if (!nObj.get(0) && !!node.parentTId) { + view.appendParentULDom(setting, node.getParentNode()); + nObj = $$(node, setting); + } + var ulObj = $$(node, consts.id.UL, setting); + if (ulObj.get(0)) { + ulObj.remove(); + } + var childKey = setting.data.key.children, + childHtml = view.appendNodes(setting, node.level+1, node[childKey], node, false, true); + view.makeUlHtml(setting, node, html, childHtml.join('')); + nObj.append(html.join('')); + }, + asyncNode: function(setting, node, isSilent, callback) { + var i, l; + if (node && !node.isParent) { + tools.apply(callback); + return false; + } else if (node && node.isAjaxing) { + return false; + } else if (tools.apply(setting.callback.beforeAsync, [setting.treeId, node], true) == false) { + tools.apply(callback); + return false; + } + if (node) { + node.isAjaxing = true; + var icoObj = $$(node, consts.id.ICON, setting); + icoObj.attr({"style":"", "class":consts.className.BUTTON + " " + consts.className.ICO_LOADING}); + } + + var tmpParam = {}; + for (i = 0, l = setting.async.autoParam.length; node && i < l; i++) { + var pKey = setting.async.autoParam[i].split("="), spKey = pKey; + if (pKey.length>1) { + spKey = pKey[1]; + pKey = pKey[0]; + } + tmpParam[spKey] = node[pKey]; + } + if (tools.isArray(setting.async.otherParam)) { + for (i = 0, l = setting.async.otherParam.length; i < l; i += 2) { + tmpParam[setting.async.otherParam[i]] = setting.async.otherParam[i + 1]; + } + } else { + for (var p in setting.async.otherParam) { + tmpParam[p] = setting.async.otherParam[p]; + } + } + + var _tmpV = data.getRoot(setting)._ver; + $.ajax({ + contentType: setting.async.contentType, + type: setting.async.type, + url: tools.apply(setting.async.url, [setting.treeId, node], setting.async.url), + data: tmpParam, + dataType: setting.async.dataType, + success: function(msg) { + if (_tmpV != data.getRoot(setting)._ver) { + return; + } + var newNodes = []; + try { + if (!msg || msg.length == 0) { + newNodes = []; + } else if (typeof msg == "string") { + newNodes = eval("(" + msg + ")"); + } else { + newNodes = msg; + } + } catch(err) { + newNodes = msg; + } + + if (node) { + node.isAjaxing = null; + node.zAsync = true; + } + view.setNodeLineIcos(setting, node); + if (newNodes && newNodes !== "") { + newNodes = tools.apply(setting.async.dataFilter, [setting.treeId, node, newNodes], newNodes); + view.addNodes(setting, node, !!newNodes ? tools.clone(newNodes) : [], !!isSilent); + } else { + view.addNodes(setting, node, [], !!isSilent); + } + setting.treeObj.trigger(consts.event.ASYNC_SUCCESS, [setting.treeId, node, msg]); + tools.apply(callback); + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (_tmpV != data.getRoot(setting)._ver) { + return; + } + if (node) node.isAjaxing = null; + view.setNodeLineIcos(setting, node); + setting.treeObj.trigger(consts.event.ASYNC_ERROR, [setting.treeId, node, XMLHttpRequest, textStatus, errorThrown]); + } + }); + return true; + }, + cancelPreSelectedNode: function (setting, node) { + var list = data.getRoot(setting).curSelectedList; + for (var i=0, j=list.length-1; j>=i; j--) { + if (!node || node === list[j]) { + $$(list[j], consts.id.A, setting).removeClass(consts.node.CURSELECTED); + if (node) { + data.removeSelectedNode(setting, node); + break; + } + } + } + if (!node) data.getRoot(setting).curSelectedList = []; + }, + createNodeCallback: function(setting) { + if (!!setting.callback.onNodeCreated || !!setting.view.addDiyDom) { + var root = data.getRoot(setting); + while (root.createdNodes.length>0) { + var node = root.createdNodes.shift(); + tools.apply(setting.view.addDiyDom, [setting.treeId, node]); + if (!!setting.callback.onNodeCreated) { + setting.treeObj.trigger(consts.event.NODECREATED, [setting.treeId, node]); + } + } + } + }, + createNodes: function(setting, level, nodes, parentNode) { + if (!nodes || nodes.length == 0) return; + var root = data.getRoot(setting), + childKey = setting.data.key.children, + openFlag = !parentNode || parentNode.open || !!$$(parentNode[childKey][0], setting).get(0); + root.createdNodes = []; + var zTreeHtml = view.appendNodes(setting, level, nodes, parentNode, true, openFlag); + if (!parentNode) { + setting.treeObj.append(zTreeHtml.join('')); + } else { + var ulObj = $$(parentNode, consts.id.UL, setting); + if (ulObj.get(0)) { + ulObj.append(zTreeHtml.join('')); + } + } + view.createNodeCallback(setting); + }, + destroy: function(setting) { + if (!setting) return; + data.initCache(setting); + data.initRoot(setting); + event.unbindTree(setting); + event.unbindEvent(setting); + setting.treeObj.empty(); + delete settings[setting.treeId]; + }, + expandCollapseNode: function(setting, node, expandFlag, animateFlag, callback) { + var root = data.getRoot(setting), + childKey = setting.data.key.children; + if (!node) { + tools.apply(callback, []); + return; + } + if (root.expandTriggerFlag) { + var _callback = callback; + callback = function(){ + if (_callback) _callback(); + if (node.open) { + setting.treeObj.trigger(consts.event.EXPAND, [setting.treeId, node]); + } else { + setting.treeObj.trigger(consts.event.COLLAPSE, [setting.treeId, node]); + } + }; + root.expandTriggerFlag = false; + } + if (!node.open && node.isParent && ((!$$(node, consts.id.UL, setting).get(0)) || (node[childKey] && node[childKey].length>0 && !$$(node[childKey][0], setting).get(0)))) { + view.appendParentULDom(setting, node); + view.createNodeCallback(setting); + } + if (node.open == expandFlag) { + tools.apply(callback, []); + return; + } + var ulObj = $$(node, consts.id.UL, setting), + switchObj = $$(node, consts.id.SWITCH, setting), + icoObj = $$(node, consts.id.ICON, setting); + + if (node.isParent) { + node.open = !node.open; + if (node.iconOpen && node.iconClose) { + icoObj.attr("style", view.makeNodeIcoStyle(setting, node)); + } + + if (node.open) { + view.replaceSwitchClass(node, switchObj, consts.folder.OPEN); + view.replaceIcoClass(node, icoObj, consts.folder.OPEN); + if (animateFlag == false || setting.view.expandSpeed == "") { + ulObj.show(); + tools.apply(callback, []); + } else { + if (node[childKey] && node[childKey].length > 0) { + ulObj.slideDown(setting.view.expandSpeed, callback); + } else { + ulObj.show(); + tools.apply(callback, []); + } + } + } else { + view.replaceSwitchClass(node, switchObj, consts.folder.CLOSE); + view.replaceIcoClass(node, icoObj, consts.folder.CLOSE); + if (animateFlag == false || setting.view.expandSpeed == "" || !(node[childKey] && node[childKey].length > 0)) { + ulObj.hide(); + tools.apply(callback, []); + } else { + ulObj.slideUp(setting.view.expandSpeed, callback); + } + } + } else { + tools.apply(callback, []); + } + }, + expandCollapseParentNode: function(setting, node, expandFlag, animateFlag, callback) { + if (!node) return; + if (!node.parentTId) { + view.expandCollapseNode(setting, node, expandFlag, animateFlag, callback); + return; + } else { + view.expandCollapseNode(setting, node, expandFlag, animateFlag); + } + if (node.parentTId) { + view.expandCollapseParentNode(setting, node.getParentNode(), expandFlag, animateFlag, callback); + } + }, + expandCollapseSonNode: function(setting, node, expandFlag, animateFlag, callback) { + var root = data.getRoot(setting), + childKey = setting.data.key.children, + treeNodes = (node) ? node[childKey]: root[childKey], + selfAnimateSign = (node) ? false : animateFlag, + expandTriggerFlag = data.getRoot(setting).expandTriggerFlag; + data.getRoot(setting).expandTriggerFlag = false; + if (treeNodes) { + for (var i = 0, l = treeNodes.length; i < l; i++) { + if (treeNodes[i]) view.expandCollapseSonNode(setting, treeNodes[i], expandFlag, selfAnimateSign); + } + } + data.getRoot(setting).expandTriggerFlag = expandTriggerFlag; + view.expandCollapseNode(setting, node, expandFlag, animateFlag, callback ); + }, + makeDOMNodeIcon: function(html, setting, node) { + var nameStr = data.getNodeName(setting, node), + name = setting.view.nameIsHTML ? nameStr : nameStr.replace(/&/g,'&').replace(//g,'>'); + html.push("",name,""); + }, + makeDOMNodeLine: function(html, setting, node) { + html.push(""); + }, + makeDOMNodeMainAfter: function(html, setting, node) { + html.push("
                • "); + }, + makeDOMNodeMainBefore: function(html, setting, node) { + html.push("
                • "); + }, + makeDOMNodeNameAfter: function(html, setting, node) { + html.push(""); + }, + makeDOMNodeNameBefore: function(html, setting, node) { + var title = data.getNodeTitle(setting, node), + url = view.makeNodeUrl(setting, node), + fontcss = view.makeNodeFontCss(setting, node), + fontStyle = []; + for (var f in fontcss) { + fontStyle.push(f, ":", fontcss[f], ";"); + } + html.push(" 0) ? "href='" + url + "'" : ""), " target='",view.makeNodeTarget(node),"' style='", fontStyle.join(''), + "'"); + if (tools.apply(setting.view.showTitle, [setting.treeId, node], setting.view.showTitle) && title) {html.push("title='", title.replace(/'/g,"'").replace(//g,'>'),"'");} + html.push(">"); + }, + makeNodeFontCss: function(setting, node) { + var fontCss = tools.apply(setting.view.fontCss, [setting.treeId, node], setting.view.fontCss); + return (fontCss && ((typeof fontCss) != "function")) ? fontCss : {}; + }, + makeNodeIcoClass: function(setting, node) { + var icoCss = ["ico"]; + if (!node.isAjaxing) { + icoCss[0] = (node.iconSkin ? node.iconSkin + "_" : "") + icoCss[0]; + if (node.isParent) { + icoCss.push(node.open ? consts.folder.OPEN : consts.folder.CLOSE); + } else { + icoCss.push(consts.folder.DOCU); + } + } + return consts.className.BUTTON + " " + icoCss.join('_'); + }, + makeNodeIcoStyle: function(setting, node) { + var icoStyle = []; + if (!node.isAjaxing) { + var icon = (node.isParent && node.iconOpen && node.iconClose) ? (node.open ? node.iconOpen : node.iconClose) : node.icon; + if (icon) icoStyle.push("background:url(", icon, ") 0 0 no-repeat;"); + if (setting.view.showIcon == false || !tools.apply(setting.view.showIcon, [setting.treeId, node], true)) { + icoStyle.push("width:0px;height:0px;"); + } + } + return icoStyle.join(''); + }, + makeNodeLineClass: function(setting, node) { + var lineClass = []; + if (setting.view.showLine) { + if (node.level == 0 && node.isFirstNode && node.isLastNode) { + lineClass.push(consts.line.ROOT); + } else if (node.level == 0 && node.isFirstNode) { + lineClass.push(consts.line.ROOTS); + } else if (node.isLastNode) { + lineClass.push(consts.line.BOTTOM); + } else { + lineClass.push(consts.line.CENTER); + } + } else { + lineClass.push(consts.line.NOLINE); + } + if (node.isParent) { + lineClass.push(node.open ? consts.folder.OPEN : consts.folder.CLOSE); + } else { + lineClass.push(consts.folder.DOCU); + } + return view.makeNodeLineClassEx(node) + lineClass.join('_'); + }, + makeNodeLineClassEx: function(node) { + return consts.className.BUTTON + " " + consts.className.LEVEL + node.level + " " + consts.className.SWITCH + " "; + }, + makeNodeTarget: function(node) { + return (node.target || "_blank"); + }, + makeNodeUrl: function(setting, node) { + var urlKey = setting.data.key.url; + return node[urlKey] ? node[urlKey] : null; + }, + makeUlHtml: function(setting, node, html, content) { + html.push("
                    "); + html.push(content); + html.push("
                  "); + }, + makeUlLineClass: function(setting, node) { + return ((setting.view.showLine && !node.isLastNode) ? consts.line.LINE : ""); + }, + removeChildNodes: function(setting, node) { + if (!node) return; + var childKey = setting.data.key.children, + nodes = node[childKey]; + if (!nodes) return; + + for (var i = 0, l = nodes.length; i < l; i++) { + data.removeNodeCache(setting, nodes[i]); + } + data.removeSelectedNode(setting); + delete node[childKey]; + + if (!setting.data.keep.parent) { + node.isParent = false; + node.open = false; + var tmp_switchObj = $$(node, consts.id.SWITCH, setting), + tmp_icoObj = $$(node, consts.id.ICON, setting); + view.replaceSwitchClass(node, tmp_switchObj, consts.folder.DOCU); + view.replaceIcoClass(node, tmp_icoObj, consts.folder.DOCU); + $$(node, consts.id.UL, setting).remove(); + } else { + $$(node, consts.id.UL, setting).empty(); + } + }, + setFirstNode: function(setting, parentNode) { + var childKey = setting.data.key.children, childLength = parentNode[childKey].length; + if ( childLength > 0) { + parentNode[childKey][0].isFirstNode = true; + } + }, + setLastNode: function(setting, parentNode) { + var childKey = setting.data.key.children, childLength = parentNode[childKey].length; + if ( childLength > 0) { + parentNode[childKey][childLength - 1].isLastNode = true; + } + }, + removeNode: function(setting, node) { + var root = data.getRoot(setting), + childKey = setting.data.key.children, + parentNode = (node.parentTId) ? node.getParentNode() : root; + + node.isFirstNode = false; + node.isLastNode = false; + node.getPreNode = function() {return null;}; + node.getNextNode = function() {return null;}; + + if (!data.getNodeCache(setting, node.tId)) { + return; + } + + $$(node, setting).remove(); + data.removeNodeCache(setting, node); + data.removeSelectedNode(setting, node); + + for (var i = 0, l = parentNode[childKey].length; i < l; i++) { + if (parentNode[childKey][i].tId == node.tId) { + parentNode[childKey].splice(i, 1); + break; + } + } + view.setFirstNode(setting, parentNode); + view.setLastNode(setting, parentNode); + + var tmp_ulObj,tmp_switchObj,tmp_icoObj, + childLength = parentNode[childKey].length; + + //repair nodes old parent + if (!setting.data.keep.parent && childLength == 0) { + //old parentNode has no child nodes + parentNode.isParent = false; + parentNode.open = false; + tmp_ulObj = $$(parentNode, consts.id.UL, setting); + tmp_switchObj = $$(parentNode, consts.id.SWITCH, setting); + tmp_icoObj = $$(parentNode, consts.id.ICON, setting); + view.replaceSwitchClass(parentNode, tmp_switchObj, consts.folder.DOCU); + view.replaceIcoClass(parentNode, tmp_icoObj, consts.folder.DOCU); + tmp_ulObj.css("display", "none"); + + } else if (setting.view.showLine && childLength > 0) { + //old parentNode has child nodes + var newLast = parentNode[childKey][childLength - 1]; + tmp_ulObj = $$(newLast, consts.id.UL, setting); + tmp_switchObj = $$(newLast, consts.id.SWITCH, setting); + tmp_icoObj = $$(newLast, consts.id.ICON, setting); + if (parentNode == root) { + if (parentNode[childKey].length == 1) { + //node was root, and ztree has only one root after move node + view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.ROOT); + } else { + var tmp_first_switchObj = $$(parentNode[childKey][0], consts.id.SWITCH, setting); + view.replaceSwitchClass(parentNode[childKey][0], tmp_first_switchObj, consts.line.ROOTS); + view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.BOTTOM); + } + } else { + view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.BOTTOM); + } + tmp_ulObj.removeClass(consts.line.LINE); + } + }, + replaceIcoClass: function(node, obj, newName) { + if (!obj || node.isAjaxing) return; + var tmpName = obj.attr("class"); + if (tmpName == undefined) return; + var tmpList = tmpName.split("_"); + switch (newName) { + case consts.folder.OPEN: + case consts.folder.CLOSE: + case consts.folder.DOCU: + tmpList[tmpList.length-1] = newName; + break; + } + obj.attr("class", tmpList.join("_")); + }, + replaceSwitchClass: function(node, obj, newName) { + if (!obj) return; + var tmpName = obj.attr("class"); + if (tmpName == undefined) return; + var tmpList = tmpName.split("_"); + switch (newName) { + case consts.line.ROOT: + case consts.line.ROOTS: + case consts.line.CENTER: + case consts.line.BOTTOM: + case consts.line.NOLINE: + tmpList[0] = view.makeNodeLineClassEx(node) + newName; + break; + case consts.folder.OPEN: + case consts.folder.CLOSE: + case consts.folder.DOCU: + tmpList[1] = newName; + break; + } + obj.attr("class", tmpList.join("_")); + if (newName !== consts.folder.DOCU) { + obj.removeAttr("disabled"); + } else { + obj.attr("disabled", "disabled"); + } + }, + selectNode: function(setting, node, addFlag) { + if (!addFlag) { + view.cancelPreSelectedNode(setting); + } + $$(node, consts.id.A, setting).addClass(consts.node.CURSELECTED); + data.addSelectedNode(setting, node); + }, + setNodeFontCss: function(setting, treeNode) { + var aObj = $$(treeNode, consts.id.A, setting), + fontCss = view.makeNodeFontCss(setting, treeNode); + if (fontCss) { + aObj.css(fontCss); + } + }, + setNodeLineIcos: function(setting, node) { + if (!node) return; + var switchObj = $$(node, consts.id.SWITCH, setting), + ulObj = $$(node, consts.id.UL, setting), + icoObj = $$(node, consts.id.ICON, setting), + ulLine = view.makeUlLineClass(setting, node); + if (ulLine.length==0) { + ulObj.removeClass(consts.line.LINE); + } else { + ulObj.addClass(ulLine); + } + switchObj.attr("class", view.makeNodeLineClass(setting, node)); + if (node.isParent) { + switchObj.removeAttr("disabled"); + } else { + switchObj.attr("disabled", "disabled"); + } + icoObj.removeAttr("style"); + icoObj.attr("style", view.makeNodeIcoStyle(setting, node)); + icoObj.attr("class", view.makeNodeIcoClass(setting, node)); + }, + setNodeName: function(setting, node) { + var title = data.getNodeTitle(setting, node), + nObj = $$(node, consts.id.SPAN, setting); + nObj.empty(); + if (setting.view.nameIsHTML) { + nObj.html(data.getNodeName(setting, node)); + } else { + nObj.text(data.getNodeName(setting, node)); + } + if (tools.apply(setting.view.showTitle, [setting.treeId, node], setting.view.showTitle)) { + var aObj = $$(node, consts.id.A, setting); + aObj.attr("title", !title ? "" : title); + } + }, + setNodeTarget: function(setting, node) { + var aObj = $$(node, consts.id.A, setting); + aObj.attr("target", view.makeNodeTarget(node)); + }, + setNodeUrl: function(setting, node) { + var aObj = $$(node, consts.id.A, setting), + url = view.makeNodeUrl(setting, node); + if (url == null || url.length == 0) { + aObj.removeAttr("href"); + } else { + aObj.attr("href", url); + } + }, + switchNode: function(setting, node) { + if (node.open || !tools.canAsync(setting, node)) { + view.expandCollapseNode(setting, node, !node.open); + } else if (setting.async.enable) { + if (!view.asyncNode(setting, node)) { + view.expandCollapseNode(setting, node, !node.open); + return; + } + } else if (node) { + view.expandCollapseNode(setting, node, !node.open); + } + } + }; + // zTree defind + $.fn.zTree = { + consts : _consts, + _z : { + tools: tools, + view: view, + event: event, + data: data + }, + getZTreeObj: function(treeId) { + var o = data.getZTreeTools(treeId); + return o ? o : null; + }, + destroy: function(treeId) { + if (!!treeId && treeId.length > 0) { + view.destroy(data.getSetting(treeId)); + } else { + for(var s in settings) { + view.destroy(settings[s]); + } + } + }, + init: function(obj, zSetting, zNodes) { + var setting = tools.clone(_setting); + $.extend(true, setting, zSetting); + setting.treeId = obj.attr("id"); + setting.treeObj = obj; + setting.treeObj.empty(); + settings[setting.treeId] = setting; + //For some older browser,(e.g., ie6) + if(typeof document.body.style.maxHeight === "undefined") { + setting.view.expandSpeed = ""; + } + data.initRoot(setting); + var root = data.getRoot(setting), + childKey = setting.data.key.children; + zNodes = zNodes ? tools.clone(tools.isArray(zNodes)? zNodes : [zNodes]) : []; + if (setting.data.simpleData.enable) { + root[childKey] = data.transformTozTreeFormat(setting, zNodes); + } else { + root[childKey] = zNodes; + } + + data.initCache(setting); + event.unbindTree(setting); + event.bindTree(setting); + event.unbindEvent(setting); + event.bindEvent(setting); + + var zTreeTools = { + setting : setting, + addNodes : function(parentNode, newNodes, isSilent) { + if (!newNodes) return null; + if (!parentNode) parentNode = null; + if (parentNode && !parentNode.isParent && setting.data.keep.leaf) return null; + var xNewNodes = tools.clone(tools.isArray(newNodes)? newNodes: [newNodes]); + function addCallback() { + view.addNodes(setting, parentNode, xNewNodes, (isSilent==true)); + } + + if (tools.canAsync(setting, parentNode)) { + view.asyncNode(setting, parentNode, isSilent, addCallback); + } else { + addCallback(); + } + return xNewNodes; + }, + cancelSelectedNode : function(node) { + view.cancelPreSelectedNode(setting, node); + }, + destroy : function() { + view.destroy(setting); + }, + expandAll : function(expandFlag) { + expandFlag = !!expandFlag; + view.expandCollapseSonNode(setting, null, expandFlag, true); + return expandFlag; + }, + expandNode : function(node, expandFlag, sonSign, focus, callbackFlag) { + if (!node || !node.isParent) return null; + if (expandFlag !== true && expandFlag !== false) { + expandFlag = !node.open; + } + callbackFlag = !!callbackFlag; + + if (callbackFlag && expandFlag && (tools.apply(setting.callback.beforeExpand, [setting.treeId, node], true) == false)) { + return null; + } else if (callbackFlag && !expandFlag && (tools.apply(setting.callback.beforeCollapse, [setting.treeId, node], true) == false)) { + return null; + } + if (expandFlag && node.parentTId) { + view.expandCollapseParentNode(setting, node.getParentNode(), expandFlag, false); + } + if (expandFlag === node.open && !sonSign) { + return null; + } + + data.getRoot(setting).expandTriggerFlag = callbackFlag; + if (!tools.canAsync(setting, node) && sonSign) { + view.expandCollapseSonNode(setting, node, expandFlag, true, function() { + if (focus !== false) {try{$$(node, setting).focus().blur();}catch(e){}} + }); + } else { + node.open = !expandFlag; + view.switchNode(this.setting, node); + if (focus !== false) {try{$$(node, setting).focus().blur();}catch(e){}} + } + return expandFlag; + }, + getNodes : function() { + return data.getNodes(setting); + }, + getNodeByParam : function(key, value, parentNode) { + if (!key) return null; + return data.getNodeByParam(setting, parentNode?parentNode[setting.data.key.children]:data.getNodes(setting), key, value); + }, + getNodeByTId : function(tId) { + return data.getNodeCache(setting, tId); + }, + getNodesByParam : function(key, value, parentNode) { + if (!key) return null; + return data.getNodesByParam(setting, parentNode?parentNode[setting.data.key.children]:data.getNodes(setting), key, value); + }, + getNodesByParamFuzzy : function(key, value, parentNode) { + if (!key) return null; + return data.getNodesByParamFuzzy(setting, parentNode?parentNode[setting.data.key.children]:data.getNodes(setting), key, value); + }, + getNodesByFilter: function(filter, isSingle, parentNode, invokeParam) { + isSingle = !!isSingle; + if (!filter || (typeof filter != "function")) return (isSingle ? null : []); + return data.getNodesByFilter(setting, parentNode?parentNode[setting.data.key.children]:data.getNodes(setting), filter, isSingle, invokeParam); + }, + getNodeIndex : function(node) { + if (!node) return null; + var childKey = setting.data.key.children, + parentNode = (node.parentTId) ? node.getParentNode() : data.getRoot(setting); + for (var i=0, l = parentNode[childKey].length; i < l; i++) { + if (parentNode[childKey][i] == node) return i; + } + return -1; + }, + getSelectedNodes : function() { + var r = [], list = data.getRoot(setting).curSelectedList; + for (var i=0, l=list.length; i 0) { + view.createNodes(setting, 0, root[childKey]); + } else if (setting.async.enable && setting.async.url && setting.async.url !== '') { + view.asyncNode(setting); + } + return zTreeTools; + } + }; + + var zt = $.fn.zTree, + $$ = tools.$, + consts = zt.consts; +})(jQuery); +/* + * JQuery zTree excheck v3.5.16 + * http://zTree.me/ + * + * Copyright (c) 2010 Hunter.z + * + * Licensed same as jquery - MIT License + * http://www.opensource.org/licenses/mit-license.php + * + * email: hunter.z@263.net + * Date: 2014-03-09 + */ +(function($){ + //default consts of excheck + var _consts = { + event: { + CHECK: "ztree_check" + }, + id: { + CHECK: "_check" + }, + checkbox: { + STYLE: "checkbox", + DEFAULT: "chk", + DISABLED: "disable", + FALSE: "false", + TRUE: "true", + FULL: "full", + PART: "part", + FOCUS: "focus" + }, + radio: { + STYLE: "radio", + TYPE_ALL: "all", + TYPE_LEVEL: "level" + } + }, + //default setting of excheck + _setting = { + check: { + enable: false, + autoCheckTrigger: false, + chkStyle: _consts.checkbox.STYLE, + nocheckInherit: false, + chkDisabledInherit: false, + radioType: _consts.radio.TYPE_LEVEL, + chkboxType: { + "Y": "ps", + "N": "ps" + } + }, + data: { + key: { + checked: "checked" + } + }, + callback: { + beforeCheck:null, + onCheck:null + } + }, + //default root of excheck + _initRoot = function (setting) { + var r = data.getRoot(setting); + r.radioCheckedList = []; + }, + //default cache of excheck + _initCache = function(treeId) {}, + //default bind event of excheck + _bindEvent = function(setting) { + var o = setting.treeObj, + c = consts.event; + o.bind(c.CHECK, function (event, srcEvent, treeId, node) { + event.srcEvent = srcEvent; + tools.apply(setting.callback.onCheck, [event, treeId, node]); + }); + }, + _unbindEvent = function(setting) { + var o = setting.treeObj, + c = consts.event; + o.unbind(c.CHECK); + }, + //default event proxy of excheck + _eventProxy = function(e) { + var target = e.target, + setting = data.getSetting(e.data.treeId), + tId = "", node = null, + nodeEventType = "", treeEventType = "", + nodeEventCallback = null, treeEventCallback = null; + + if (tools.eqs(e.type, "mouseover")) { + if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode"+ consts.id.CHECK) !== null) { + tId = tools.getNodeMainDom(target).id; + nodeEventType = "mouseoverCheck"; + } + } else if (tools.eqs(e.type, "mouseout")) { + if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode"+ consts.id.CHECK) !== null) { + tId = tools.getNodeMainDom(target).id; + nodeEventType = "mouseoutCheck"; + } + } else if (tools.eqs(e.type, "click")) { + if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode"+ consts.id.CHECK) !== null) { + tId = tools.getNodeMainDom(target).id; + nodeEventType = "checkNode"; + } + } + if (tId.length>0) { + node = data.getNodeCache(setting, tId); + switch (nodeEventType) { + case "checkNode" : + nodeEventCallback = _handler.onCheckNode; + break; + case "mouseoverCheck" : + nodeEventCallback = _handler.onMouseoverCheck; + break; + case "mouseoutCheck" : + nodeEventCallback = _handler.onMouseoutCheck; + break; + } + } + var proxyResult = { + stop: nodeEventType === "checkNode", + node: node, + nodeEventType: nodeEventType, + nodeEventCallback: nodeEventCallback, + treeEventType: treeEventType, + treeEventCallback: treeEventCallback + }; + return proxyResult + }, + //default init node of excheck + _initNode = function(setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) { + if (!n) return; + var checkedKey = setting.data.key.checked; + if (typeof n[checkedKey] == "string") n[checkedKey] = tools.eqs(n[checkedKey], "true"); + n[checkedKey] = !!n[checkedKey]; + n.checkedOld = n[checkedKey]; + if (typeof n.nocheck == "string") n.nocheck = tools.eqs(n.nocheck, "true"); + n.nocheck = !!n.nocheck || (setting.check.nocheckInherit && parentNode && !!parentNode.nocheck); + if (typeof n.chkDisabled == "string") n.chkDisabled = tools.eqs(n.chkDisabled, "true"); + n.chkDisabled = !!n.chkDisabled || (setting.check.chkDisabledInherit && parentNode && !!parentNode.chkDisabled); + if (typeof n.halfCheck == "string") n.halfCheck = tools.eqs(n.halfCheck, "true"); + n.halfCheck = !!n.halfCheck; + n.check_Child_State = -1; + n.check_Focus = false; + n.getCheckStatus = function() {return data.getCheckStatus(setting, n);}; + + if (setting.check.chkStyle == consts.radio.STYLE && setting.check.radioType == consts.radio.TYPE_ALL && n[checkedKey] ) { + var r = data.getRoot(setting); + r.radioCheckedList.push(n); + } + }, + //add dom for check + _beforeA = function(setting, node, html) { + var checkedKey = setting.data.key.checked; + if (setting.check.enable) { + data.makeChkFlag(setting, node); + html.push(""); + } + }, + //update zTreeObj, add method of check + _zTreeTools = function(setting, zTreeTools) { + zTreeTools.checkNode = function(node, checked, checkTypeFlag, callbackFlag) { + var checkedKey = this.setting.data.key.checked; + if (node.chkDisabled === true) return; + if (checked !== true && checked !== false) { + checked = !node[checkedKey]; + } + callbackFlag = !!callbackFlag; + + if (node[checkedKey] === checked && !checkTypeFlag) { + return; + } else if (callbackFlag && tools.apply(this.setting.callback.beforeCheck, [this.setting.treeId, node], true) == false) { + return; + } + if (tools.uCanDo(this.setting) && this.setting.check.enable && node.nocheck !== true) { + node[checkedKey] = checked; + var checkObj = $$(node, consts.id.CHECK, this.setting); + if (checkTypeFlag || this.setting.check.chkStyle === consts.radio.STYLE) view.checkNodeRelation(this.setting, node); + view.setChkClass(this.setting, checkObj, node); + view.repairParentChkClassWithSelf(this.setting, node); + if (callbackFlag) { + this.setting.treeObj.trigger(consts.event.CHECK, [null, this.setting.treeId, node]); + } + } + } + + zTreeTools.checkAllNodes = function(checked) { + view.repairAllChk(this.setting, !!checked); + } + + zTreeTools.getCheckedNodes = function(checked) { + var childKey = this.setting.data.key.children; + checked = (checked !== false); + return data.getTreeCheckedNodes(this.setting, data.getRoot(this.setting)[childKey], checked); + } + + zTreeTools.getChangeCheckedNodes = function() { + var childKey = this.setting.data.key.children; + return data.getTreeChangeCheckedNodes(this.setting, data.getRoot(this.setting)[childKey]); + } + + zTreeTools.setChkDisabled = function(node, disabled, inheritParent, inheritChildren) { + disabled = !!disabled; + inheritParent = !!inheritParent; + inheritChildren = !!inheritChildren; + view.repairSonChkDisabled(this.setting, node, disabled, inheritChildren); + view.repairParentChkDisabled(this.setting, node.getParentNode(), disabled, inheritParent); + } + + var _updateNode = zTreeTools.updateNode; + zTreeTools.updateNode = function(node, checkTypeFlag) { + if (_updateNode) _updateNode.apply(zTreeTools, arguments); + if (!node || !this.setting.check.enable) return; + var nObj = $$(node, this.setting); + if (nObj.get(0) && tools.uCanDo(this.setting)) { + var checkObj = $$(node, consts.id.CHECK, this.setting); + if (checkTypeFlag == true || this.setting.check.chkStyle === consts.radio.STYLE) view.checkNodeRelation(this.setting, node); + view.setChkClass(this.setting, checkObj, node); + view.repairParentChkClassWithSelf(this.setting, node); + } + } + }, + //method of operate data + _data = { + getRadioCheckedList: function(setting) { + var checkedList = data.getRoot(setting).radioCheckedList; + for (var i=0, j=checkedList.length; i -1 && node.check_Child_State < 2) : (node.check_Child_State > 0))) + }; + return r; + }, + getTreeCheckedNodes: function(setting, nodes, checked, results) { + if (!nodes) return []; + var childKey = setting.data.key.children, + checkedKey = setting.data.key.checked, + onlyOne = (checked && setting.check.chkStyle == consts.radio.STYLE && setting.check.radioType == consts.radio.TYPE_ALL); + results = !results ? [] : results; + for (var i = 0, l = nodes.length; i < l; i++) { + if (nodes[i].nocheck !== true && nodes[i].chkDisabled !== true && nodes[i][checkedKey] == checked) { + results.push(nodes[i]); + if(onlyOne) { + break; + } + } + data.getTreeCheckedNodes(setting, nodes[i][childKey], checked, results); + if(onlyOne && results.length > 0) { + break; + } + } + return results; + }, + getTreeChangeCheckedNodes: function(setting, nodes, results) { + if (!nodes) return []; + var childKey = setting.data.key.children, + checkedKey = setting.data.key.checked; + results = !results ? [] : results; + for (var i = 0, l = nodes.length; i < l; i++) { + if (nodes[i].nocheck !== true && nodes[i].chkDisabled !== true && nodes[i][checkedKey] != nodes[i].checkedOld) { + results.push(nodes[i]); + } + data.getTreeChangeCheckedNodes(setting, nodes[i][childKey], results); + } + return results; + }, + makeChkFlag: function(setting, node) { + if (!node) return; + var childKey = setting.data.key.children, + checkedKey = setting.data.key.checked, + chkFlag = -1; + if (node[childKey]) { + for (var i = 0, l = node[childKey].length; i < l; i++) { + var cNode = node[childKey][i]; + var tmp = -1; + if (setting.check.chkStyle == consts.radio.STYLE) { + if (cNode.nocheck === true || cNode.chkDisabled === true) { + tmp = cNode.check_Child_State; + } else if (cNode.halfCheck === true) { + tmp = 2; + } else if (cNode[checkedKey]) { + tmp = 2; + } else { + tmp = cNode.check_Child_State > 0 ? 2:0; + } + if (tmp == 2) { + chkFlag = 2; break; + } else if (tmp == 0){ + chkFlag = 0; + } + } else if (setting.check.chkStyle == consts.checkbox.STYLE) { + if (cNode.nocheck === true || cNode.chkDisabled === true) { + tmp = cNode.check_Child_State; + } else if (cNode.halfCheck === true) { + tmp = 1; + } else if (cNode[checkedKey] ) { + tmp = (cNode.check_Child_State === -1 || cNode.check_Child_State === 2) ? 2 : 1; + } else { + tmp = (cNode.check_Child_State > 0) ? 1 : 0; + } + if (tmp === 1) { + chkFlag = 1; break; + } else if (tmp === 2 && chkFlag > -1 && i > 0 && tmp !== chkFlag) { + chkFlag = 1; break; + } else if (chkFlag === 2 && tmp > -1 && tmp < 2) { + chkFlag = 1; break; + } else if (tmp > -1) { + chkFlag = tmp; + } + } + } + } + node.check_Child_State = chkFlag; + } + }, + //method of event proxy + _event = { + + }, + //method of event handler + _handler = { + onCheckNode: function (event, node) { + if (node.chkDisabled === true) return false; + var setting = data.getSetting(event.data.treeId), + checkedKey = setting.data.key.checked; + if (tools.apply(setting.callback.beforeCheck, [setting.treeId, node], true) == false) return true; + node[checkedKey] = !node[checkedKey]; + view.checkNodeRelation(setting, node); + var checkObj = $$(node, consts.id.CHECK, setting); + view.setChkClass(setting, checkObj, node); + view.repairParentChkClassWithSelf(setting, node); + setting.treeObj.trigger(consts.event.CHECK, [event, setting.treeId, node]); + return true; + }, + onMouseoverCheck: function(event, node) { + if (node.chkDisabled === true) return false; + var setting = data.getSetting(event.data.treeId), + checkObj = $$(node, consts.id.CHECK, setting); + node.check_Focus = true; + view.setChkClass(setting, checkObj, node); + return true; + }, + onMouseoutCheck: function(event, node) { + if (node.chkDisabled === true) return false; + var setting = data.getSetting(event.data.treeId), + checkObj = $$(node, consts.id.CHECK, setting); + node.check_Focus = false; + view.setChkClass(setting, checkObj, node); + return true; + } + }, + //method of tools for zTree + _tools = { + + }, + //method of operate ztree dom + _view = { + checkNodeRelation: function(setting, node) { + var pNode, i, l, + childKey = setting.data.key.children, + checkedKey = setting.data.key.checked, + r = consts.radio; + if (setting.check.chkStyle == r.STYLE) { + var checkedList = data.getRadioCheckedList(setting); + if (node[checkedKey]) { + if (setting.check.radioType == r.TYPE_ALL) { + for (i = checkedList.length-1; i >= 0; i--) { + pNode = checkedList[i]; + if (pNode[checkedKey] && pNode != node) { + pNode[checkedKey] = false; + checkedList.splice(i, 1); + + view.setChkClass(setting, $$(pNode, consts.id.CHECK, setting), pNode); + if (pNode.parentTId != node.parentTId) { + view.repairParentChkClassWithSelf(setting, pNode); + } + } + } + checkedList.push(node); + } else { + var parentNode = (node.parentTId) ? node.getParentNode() : data.getRoot(setting); + for (i = 0, l = parentNode[childKey].length; i < l; i++) { + pNode = parentNode[childKey][i]; + if (pNode[checkedKey] && pNode != node) { + pNode[checkedKey] = false; + view.setChkClass(setting, $$(pNode, consts.id.CHECK, setting), pNode); + } + } + } + } else if (setting.check.radioType == r.TYPE_ALL) { + for (i = 0, l = checkedList.length; i < l; i++) { + if (node == checkedList[i]) { + checkedList.splice(i, 1); + break; + } + } + } + + } else { + if (node[checkedKey] && (!node[childKey] || node[childKey].length==0 || setting.check.chkboxType.Y.indexOf("s") > -1)) { + view.setSonNodeCheckBox(setting, node, true); + } + if (!node[checkedKey] && (!node[childKey] || node[childKey].length==0 || setting.check.chkboxType.N.indexOf("s") > -1)) { + view.setSonNodeCheckBox(setting, node, false); + } + if (node[checkedKey] && setting.check.chkboxType.Y.indexOf("p") > -1) { + view.setParentNodeCheckBox(setting, node, true); + } + if (!node[checkedKey] && setting.check.chkboxType.N.indexOf("p") > -1) { + view.setParentNodeCheckBox(setting, node, false); + } + } + }, + makeChkClass: function(setting, node) { + var checkedKey = setting.data.key.checked, + c = consts.checkbox, r = consts.radio, + fullStyle = ""; + if (node.chkDisabled === true) { + fullStyle = c.DISABLED; + } else if (node.halfCheck) { + fullStyle = c.PART; + } else if (setting.check.chkStyle == r.STYLE) { + fullStyle = (node.check_Child_State < 1)? c.FULL:c.PART; + } else { + fullStyle = node[checkedKey] ? ((node.check_Child_State === 2 || node.check_Child_State === -1) ? c.FULL:c.PART) : ((node.check_Child_State < 1)? c.FULL:c.PART); + } + var chkName = setting.check.chkStyle + "_" + (node[checkedKey] ? c.TRUE : c.FALSE) + "_" + fullStyle; + chkName = (node.check_Focus && node.chkDisabled !== true) ? chkName + "_" + c.FOCUS : chkName; + return consts.className.BUTTON + " " + c.DEFAULT + " " + chkName; + }, + repairAllChk: function(setting, checked) { + if (setting.check.enable && setting.check.chkStyle === consts.checkbox.STYLE) { + var checkedKey = setting.data.key.checked, + childKey = setting.data.key.children, + root = data.getRoot(setting); + for (var i = 0, l = root[childKey].length; i 0) { + view.repairParentChkClass(setting, node[childKey][0]); + } else { + view.repairParentChkClass(setting, node); + } + }, + repairSonChkDisabled: function(setting, node, chkDisabled, inherit) { + if (!node) return; + var childKey = setting.data.key.children; + if (node.chkDisabled != chkDisabled) { + node.chkDisabled = chkDisabled; + } + view.repairChkClass(setting, node); + if (node[childKey] && inherit) { + for (var i = 0, l = node[childKey].length; i < l; i++) { + var sNode = node[childKey][i]; + view.repairSonChkDisabled(setting, sNode, chkDisabled, inherit); + } + } + }, + repairParentChkDisabled: function(setting, node, chkDisabled, inherit) { + if (!node) return; + if (node.chkDisabled != chkDisabled && inherit) { + node.chkDisabled = chkDisabled; + } + view.repairChkClass(setting, node); + view.repairParentChkDisabled(setting, node.getParentNode(), chkDisabled, inherit); + }, + setChkClass: function(setting, obj, node) { + if (!obj) return; + if (node.nocheck === true) { + obj.hide(); + } else { + obj.show(); + } + obj.removeClass(); + obj.addClass(view.makeChkClass(setting, node)); + }, + setParentNodeCheckBox: function(setting, node, value, srcNode) { + var childKey = setting.data.key.children, + checkedKey = setting.data.key.checked, + checkObj = $$(node, consts.id.CHECK, setting); + if (!srcNode) srcNode = node; + data.makeChkFlag(setting, node); + if (node.nocheck !== true && node.chkDisabled !== true) { + node[checkedKey] = value; + view.setChkClass(setting, checkObj, node); + if (setting.check.autoCheckTrigger && node != srcNode) { + setting.treeObj.trigger(consts.event.CHECK, [null, setting.treeId, node]); + } + } + if (node.parentTId) { + var pSign = true; + if (!value) { + var pNodes = node.getParentNode()[childKey]; + for (var i = 0, l = pNodes.length; i < l; i++) { + if ((pNodes[i].nocheck !== true && pNodes[i].chkDisabled !== true && pNodes[i][checkedKey]) + || ((pNodes[i].nocheck === true || pNodes[i].chkDisabled === true) && pNodes[i].check_Child_State > 0)) { + pSign = false; + break; + } + } + } + if (pSign) { + view.setParentNodeCheckBox(setting, node.getParentNode(), value, srcNode); + } + } + }, + setSonNodeCheckBox: function(setting, node, value, srcNode) { + if (!node) return; + var childKey = setting.data.key.children, + checkedKey = setting.data.key.checked, + checkObj = $$(node, consts.id.CHECK, setting); + if (!srcNode) srcNode = node; + + var hasDisable = false; + if (node[childKey]) { + for (var i = 0, l = node[childKey].length; i < l && node.chkDisabled !== true; i++) { + var sNode = node[childKey][i]; + view.setSonNodeCheckBox(setting, sNode, value, srcNode); + if (sNode.chkDisabled === true) hasDisable = true; + } + } + + if (node != data.getRoot(setting) && node.chkDisabled !== true) { + if (hasDisable && node.nocheck !== true) { + data.makeChkFlag(setting, node); + } + if (node.nocheck !== true && node.chkDisabled !== true) { + node[checkedKey] = value; + if (!hasDisable) node.check_Child_State = (node[childKey] && node[childKey].length > 0) ? (value ? 2 : 0) : -1; + } else { + node.check_Child_State = -1; + } + view.setChkClass(setting, checkObj, node); + if (setting.check.autoCheckTrigger && node != srcNode && node.nocheck !== true && node.chkDisabled !== true) { + setting.treeObj.trigger(consts.event.CHECK, [null, setting.treeId, node]); + } + } + + } + }, + + _z = { + tools: _tools, + view: _view, + event: _event, + data: _data + }; + $.extend(true, $.fn.zTree.consts, _consts); + $.extend(true, $.fn.zTree._z, _z); + + var zt = $.fn.zTree, + tools = zt._z.tools, + consts = zt.consts, + view = zt._z.view, + data = zt._z.data, + event = zt._z.event, + $$ = tools.$; + + data.exSetting(_setting); + data.addInitBind(_bindEvent); + data.addInitUnBind(_unbindEvent); + data.addInitCache(_initCache); + data.addInitNode(_initNode); + data.addInitProxy(_eventProxy, true); + data.addInitRoot(_initRoot); + data.addBeforeA(_beforeA); + data.addZTreeTools(_zTreeTools); + + var _createNodes = view.createNodes; + view.createNodes = function(setting, level, nodes, parentNode) { + if (_createNodes) _createNodes.apply(view, arguments); + if (!nodes) return; + view.repairParentChkClassWithSelf(setting, parentNode); + } + var _removeNode = view.removeNode; + view.removeNode = function(setting, node) { + var parentNode = node.getParentNode(); + if (_removeNode) _removeNode.apply(view, arguments); + if (!node || !parentNode) return; + view.repairChkClass(setting, parentNode); + view.repairParentChkClass(setting, parentNode); + } + + var _appendNodes = view.appendNodes; + view.appendNodes = function(setting, level, nodes, parentNode, initFlag, openFlag) { + var html = ""; + if (_appendNodes) { + html = _appendNodes.apply(view, arguments); + } + if (parentNode) { + data.makeChkFlag(setting, parentNode); + } + return html; + } +})(jQuery); +/* + * JQuery zTree exedit v3.5.16 + * http://zTree.me/ + * + * Copyright (c) 2010 Hunter.z + * + * Licensed same as jquery - MIT License + * http://www.opensource.org/licenses/mit-license.php + * + * email: hunter.z@263.net + * Date: 2014-03-09 + */ +(function($){ + //default consts of exedit + var _consts = { + event: { + DRAG: "ztree_drag", + DROP: "ztree_drop", + RENAME: "ztree_rename", + DRAGMOVE:"ztree_dragmove" + }, + id: { + EDIT: "_edit", + INPUT: "_input", + REMOVE: "_remove" + }, + move: { + TYPE_INNER: "inner", + TYPE_PREV: "prev", + TYPE_NEXT: "next" + }, + node: { + CURSELECTED_EDIT: "curSelectedNode_Edit", + TMPTARGET_TREE: "tmpTargetzTree", + TMPTARGET_NODE: "tmpTargetNode" + } + }, + //default setting of exedit + _setting = { + edit: { + enable: false, + editNameSelectAll: false, + showRemoveBtn: true, + showRenameBtn: true, + removeTitle: "remove", + renameTitle: "rename", + drag: { + autoExpandTrigger: false, + isCopy: true, + isMove: true, + prev: true, + next: true, + inner: true, + minMoveSize: 5, + borderMax: 10, + borderMin: -5, + maxShowNodeNum: 5, + autoOpenTime: 500 + } + }, + view: { + addHoverDom: null, + removeHoverDom: null + }, + callback: { + beforeDrag:null, + beforeDragOpen:null, + beforeDrop:null, + beforeEditName:null, + beforeRename:null, + onDrag:null, + onDragMove:null, + onDrop:null, + onRename:null + } + }, + //default root of exedit + _initRoot = function (setting) { + var r = data.getRoot(setting), rs = data.getRoots(); + r.curEditNode = null; + r.curEditInput = null; + r.curHoverNode = null; + r.dragFlag = 0; + r.dragNodeShowBefore = []; + r.dragMaskList = new Array(); + rs.showHoverDom = true; + }, + //default cache of exedit + _initCache = function(treeId) {}, + //default bind event of exedit + _bindEvent = function(setting) { + var o = setting.treeObj; + var c = consts.event; + o.bind(c.RENAME, function (event, treeId, treeNode, isCancel) { + tools.apply(setting.callback.onRename, [event, treeId, treeNode, isCancel]); + }); + + o.bind(c.DRAG, function (event, srcEvent, treeId, treeNodes) { + tools.apply(setting.callback.onDrag, [srcEvent, treeId, treeNodes]); + }); + + o.bind(c.DRAGMOVE,function(event, srcEvent, treeId, treeNodes){ + tools.apply(setting.callback.onDragMove,[srcEvent, treeId, treeNodes]); + }); + + o.bind(c.DROP, function (event, srcEvent, treeId, treeNodes, targetNode, moveType, isCopy) { + tools.apply(setting.callback.onDrop, [srcEvent, treeId, treeNodes, targetNode, moveType, isCopy]); + }); + }, + _unbindEvent = function(setting) { + var o = setting.treeObj; + var c = consts.event; + o.unbind(c.RENAME); + o.unbind(c.DRAG); + o.unbind(c.DRAGMOVE); + o.unbind(c.DROP); + }, + //default event proxy of exedit + _eventProxy = function(e) { + var target = e.target, + setting = data.getSetting(e.data.treeId), + relatedTarget = e.relatedTarget, + tId = "", node = null, + nodeEventType = "", treeEventType = "", + nodeEventCallback = null, treeEventCallback = null, + tmp = null; + + if (tools.eqs(e.type, "mouseover")) { + tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]); + if (tmp) { + tId = tools.getNodeMainDom(tmp).id; + nodeEventType = "hoverOverNode"; + } + } else if (tools.eqs(e.type, "mouseout")) { + tmp = tools.getMDom(setting, relatedTarget, [{tagName:"a", attrName:"treeNode"+consts.id.A}]); + if (!tmp) { + tId = "remove"; + nodeEventType = "hoverOutNode"; + } + } else if (tools.eqs(e.type, "mousedown")) { + tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]); + if (tmp) { + tId = tools.getNodeMainDom(tmp).id; + nodeEventType = "mousedownNode"; + } + } + if (tId.length>0) { + node = data.getNodeCache(setting, tId); + switch (nodeEventType) { + case "mousedownNode" : + nodeEventCallback = _handler.onMousedownNode; + break; + case "hoverOverNode" : + nodeEventCallback = _handler.onHoverOverNode; + break; + case "hoverOutNode" : + nodeEventCallback = _handler.onHoverOutNode; + break; + } + } + var proxyResult = { + stop: false, + node: node, + nodeEventType: nodeEventType, + nodeEventCallback: nodeEventCallback, + treeEventType: treeEventType, + treeEventCallback: treeEventCallback + }; + return proxyResult + }, + //default init node of exedit + _initNode = function(setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) { + if (!n) return; + n.isHover = false; + n.editNameFlag = false; + }, + //update zTreeObj, add method of edit + _zTreeTools = function(setting, zTreeTools) { + zTreeTools.cancelEditName = function(newName) { + var root = data.getRoot(this.setting); + if (!root.curEditNode) return; + view.cancelCurEditNode(this.setting, newName?newName:null, true); + } + zTreeTools.copyNode = function(targetNode, node, moveType, isSilent) { + if (!node) return null; + if (targetNode && !targetNode.isParent && this.setting.data.keep.leaf && moveType === consts.move.TYPE_INNER) return null; + var _this = this, + newNode = tools.clone(node); + if (!targetNode) { + targetNode = null; + moveType = consts.move.TYPE_INNER; + } + if (moveType == consts.move.TYPE_INNER) { + function copyCallback() { + view.addNodes(_this.setting, targetNode, [newNode], isSilent); + } + + if (tools.canAsync(this.setting, targetNode)) { + view.asyncNode(this.setting, targetNode, isSilent, copyCallback); + } else { + copyCallback(); + } + } else { + view.addNodes(this.setting, targetNode.parentNode, [newNode], isSilent); + view.moveNode(this.setting, targetNode, newNode, moveType, false, isSilent); + } + return newNode; + } + zTreeTools.editName = function(node) { + if (!node || !node.tId || node !== data.getNodeCache(this.setting, node.tId)) return; + if (node.parentTId) view.expandCollapseParentNode(this.setting, node.getParentNode(), true); + view.editNode(this.setting, node) + } + zTreeTools.moveNode = function(targetNode, node, moveType, isSilent) { + if (!node) return node; + if (targetNode && !targetNode.isParent && this.setting.data.keep.leaf && moveType === consts.move.TYPE_INNER) { + return null; + } else if (targetNode && ((node.parentTId == targetNode.tId && moveType == consts.move.TYPE_INNER) || $$(node, this.setting).find("#" + targetNode.tId).length > 0)) { + return null; + } else if (!targetNode) { + targetNode = null; + } + var _this = this; + function moveCallback() { + view.moveNode(_this.setting, targetNode, node, moveType, false, isSilent); + } + if (tools.canAsync(this.setting, targetNode) && moveType === consts.move.TYPE_INNER) { + view.asyncNode(this.setting, targetNode, isSilent, moveCallback); + } else { + moveCallback(); + } + return node; + } + zTreeTools.setEditable = function(editable) { + this.setting.edit.enable = editable; + return this.refresh(); + } + }, + //method of operate data + _data = { + setSonNodeLevel: function(setting, parentNode, node) { + if (!node) return; + var childKey = setting.data.key.children; + node.level = (parentNode)? parentNode.level + 1 : 0; + if (!node[childKey]) return; + for (var i = 0, l = node[childKey].length; i < l; i++) { + if (node[childKey][i]) data.setSonNodeLevel(setting, node, node[childKey][i]); + } + } + }, + //method of event proxy + _event = { + + }, + //method of event handler + _handler = { + onHoverOverNode: function(event, node) { + var setting = data.getSetting(event.data.treeId), + root = data.getRoot(setting); + if (root.curHoverNode != node) { + _handler.onHoverOutNode(event); + } + root.curHoverNode = node; + view.addHoverDom(setting, node); + }, + onHoverOutNode: function(event, node) { + var setting = data.getSetting(event.data.treeId), + root = data.getRoot(setting); + if (root.curHoverNode && !data.isSelectedNode(setting, root.curHoverNode)) { + view.removeTreeDom(setting, root.curHoverNode); + root.curHoverNode = null; + } + }, + onMousedownNode: function(eventMouseDown, _node) { + var i,l, + setting = data.getSetting(eventMouseDown.data.treeId), + root = data.getRoot(setting), roots = data.getRoots(); + //right click can't drag & drop + if (eventMouseDown.button == 2 || !setting.edit.enable || (!setting.edit.drag.isCopy && !setting.edit.drag.isMove)) return true; + + //input of edit node name can't drag & drop + var target = eventMouseDown.target, + _nodes = data.getRoot(setting).curSelectedList, + nodes = []; + if (!data.isSelectedNode(setting, _node)) { + nodes = [_node]; + } else { + for (i=0, l=_nodes.length; i1) { + var pNodes = nodes[0].parentTId ? nodes[0].getParentNode()[childKey] : data.getNodes(setting); + tmpNodes = []; + for (i=0, l=pNodes.length; i -1 && (lastIndex+1) !== i) { + isOrder = false; + } + tmpNodes.push(pNodes[i]); + lastIndex = i; + } + if (nodes.length === tmpNodes.length) { + nodes = tmpNodes; + break; + } + } + } + if (isOrder) { + preNode = nodes[0].getPreNode(); + nextNode = nodes[nodes.length-1].getNextNode(); + } + + //set node in selected + curNode = $$("
                    ", setting); + for (i=0, l=nodes.length; i0); + view.removeTreeDom(setting, tmpNode); + + if (i > setting.edit.drag.maxShowNodeNum-1) { + continue; + } + + tmpDom = $$("
                  • ", setting); + tmpDom.append($$(tmpNode, consts.id.A, setting).clone()); + tmpDom.css("padding", "0"); + tmpDom.children("#" + tmpNode.tId + consts.id.A).removeClass(consts.node.CURSELECTED); + curNode.append(tmpDom); + if (i == setting.edit.drag.maxShowNodeNum-1) { + tmpDom = $$("
                  • ...
                  • ", setting); + curNode.append(tmpDom); + } + } + curNode.attr("id", nodes[0].tId + consts.id.UL + "_tmp"); + curNode.addClass(setting.treeObj.attr("class")); + curNode.appendTo(body); + + tmpArrow = $$("", setting); + tmpArrow.attr("id", "zTreeMove_arrow_tmp"); + tmpArrow.appendTo(body); + + setting.treeObj.trigger(consts.event.DRAG, [event, setting.treeId, nodes]); + } + + if (root.dragFlag == 1) { + if (tmpTarget && tmpArrow.attr("id") == event.target.id && tmpTargetNodeId && (event.clientX + doc.scrollLeft()+2) > ($("#" + tmpTargetNodeId + consts.id.A, tmpTarget).offset().left)) { + var xT = $("#" + tmpTargetNodeId + consts.id.A, tmpTarget); + event.target = (xT.length > 0) ? xT.get(0) : event.target; + } else if (tmpTarget) { + tmpTarget.removeClass(consts.node.TMPTARGET_TREE); + if (tmpTargetNodeId) $("#" + tmpTargetNodeId + consts.id.A, tmpTarget).removeClass(consts.node.TMPTARGET_NODE + "_" + consts.move.TYPE_PREV) + .removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_NEXT).removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_INNER); + } + tmpTarget = null; + tmpTargetNodeId = null; + + //judge drag & drop in multi ztree + isOtherTree = false; + targetSetting = setting; + var settings = data.getSettings(); + for (var s in settings) { + if (settings[s].treeId && settings[s].edit.enable && settings[s].treeId != setting.treeId + && (event.target.id == settings[s].treeId || $(event.target).parents("#" + settings[s].treeId).length>0)) { + isOtherTree = true; + targetSetting = settings[s]; + } + } + + var docScrollTop = doc.scrollTop(), + docScrollLeft = doc.scrollLeft(), + treeOffset = targetSetting.treeObj.offset(), + scrollHeight = targetSetting.treeObj.get(0).scrollHeight, + scrollWidth = targetSetting.treeObj.get(0).scrollWidth, + dTop = (event.clientY + docScrollTop - treeOffset.top), + dBottom = (targetSetting.treeObj.height() + treeOffset.top - event.clientY - docScrollTop), + dLeft = (event.clientX + docScrollLeft - treeOffset.left), + dRight = (targetSetting.treeObj.width() + treeOffset.left - event.clientX - docScrollLeft), + isTop = (dTop < setting.edit.drag.borderMax && dTop > setting.edit.drag.borderMin), + isBottom = (dBottom < setting.edit.drag.borderMax && dBottom > setting.edit.drag.borderMin), + isLeft = (dLeft < setting.edit.drag.borderMax && dLeft > setting.edit.drag.borderMin), + isRight = (dRight < setting.edit.drag.borderMax && dRight > setting.edit.drag.borderMin), + isTreeInner = dTop > setting.edit.drag.borderMin && dBottom > setting.edit.drag.borderMin && dLeft > setting.edit.drag.borderMin && dRight > setting.edit.drag.borderMin, + isTreeTop = (isTop && targetSetting.treeObj.scrollTop() <= 0), + isTreeBottom = (isBottom && (targetSetting.treeObj.scrollTop() + targetSetting.treeObj.height()+10) >= scrollHeight), + isTreeLeft = (isLeft && targetSetting.treeObj.scrollLeft() <= 0), + isTreeRight = (isRight && (targetSetting.treeObj.scrollLeft() + targetSetting.treeObj.width()+10) >= scrollWidth); + + if (event.target && tools.isChildOrSelf(event.target, targetSetting.treeId)) { + //get node
                  • dom + var targetObj = event.target; + while (targetObj && targetObj.tagName && !tools.eqs(targetObj.tagName, "li") && targetObj.id != targetSetting.treeId) { + targetObj = targetObj.parentNode; + } + + var canMove = true; + //don't move to self or children of self + for (i=0, l=nodes.length; i 0) { + canMove = false; + break; + } + } + if (canMove && event.target && tools.isChildOrSelf(event.target, targetObj.id + consts.id.A)) { + tmpTarget = $(targetObj); + tmpTargetNodeId = targetObj.id; + } + } + + //the mouse must be in zTree + tmpNode = nodes[0]; + if (isTreeInner && tools.isChildOrSelf(event.target, targetSetting.treeId)) { + //judge mouse move in root of ztree + if (!tmpTarget && (event.target.id == targetSetting.treeId || isTreeTop || isTreeBottom || isTreeLeft || isTreeRight) && (isOtherTree || (!isOtherTree && tmpNode.parentTId))) { + tmpTarget = targetSetting.treeObj; + } + //auto scroll top + if (isTop) { + targetSetting.treeObj.scrollTop(targetSetting.treeObj.scrollTop()-10); + } else if (isBottom) { + targetSetting.treeObj.scrollTop(targetSetting.treeObj.scrollTop()+10); + } + if (isLeft) { + targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft()-10); + } else if (isRight) { + targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft()+10); + } + //auto scroll left + if (tmpTarget && tmpTarget != targetSetting.treeObj && tmpTarget.offset().left < targetSetting.treeObj.offset().left) { + targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft()+ tmpTarget.offset().left - targetSetting.treeObj.offset().left); + } + } + + curNode.css({ + "top": (event.clientY + docScrollTop + 3) + "px", + "left": (event.clientX + docScrollLeft + 3) + "px" + }); + + var dX = 0; + var dY = 0; + if (tmpTarget && tmpTarget.attr("id")!=targetSetting.treeId) { + var tmpTargetNode = tmpTargetNodeId == null ? null: data.getNodeCache(targetSetting, tmpTargetNodeId), + isCopy = ((event.ctrlKey || event.metaKey) && setting.edit.drag.isMove && setting.edit.drag.isCopy) || (!setting.edit.drag.isMove && setting.edit.drag.isCopy), + isPrev = !!(preNode && tmpTargetNodeId === preNode.tId), + isNext = !!(nextNode && tmpTargetNodeId === nextNode.tId), + isInner = (tmpNode.parentTId && tmpNode.parentTId == tmpTargetNodeId), + canPrev = (isCopy || !isNext) && tools.apply(targetSetting.edit.drag.prev, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.prev), + canNext = (isCopy || !isPrev) && tools.apply(targetSetting.edit.drag.next, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.next), + canInner = (isCopy || !isInner) && !(targetSetting.data.keep.leaf && !tmpTargetNode.isParent) && tools.apply(targetSetting.edit.drag.inner, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.inner); + if (!canPrev && !canNext && !canInner) { + tmpTarget = null; + tmpTargetNodeId = ""; + moveType = consts.move.TYPE_INNER; + tmpArrow.css({ + "display":"none" + }); + if (window.zTreeMoveTimer) { + clearTimeout(window.zTreeMoveTimer); + window.zTreeMoveTargetNodeTId = null + } + } else { + var tmpTargetA = $("#" + tmpTargetNodeId + consts.id.A, tmpTarget), + tmpNextA = tmpTargetNode.isLastNode ? null : $("#" + tmpTargetNode.getNextNode().tId + consts.id.A, tmpTarget.next()), + tmpTop = tmpTargetA.offset().top, + tmpLeft = tmpTargetA.offset().left, + prevPercent = canPrev ? (canInner ? 0.25 : (canNext ? 0.5 : 1) ) : -1, + nextPercent = canNext ? (canInner ? 0.75 : (canPrev ? 0.5 : 0) ) : -1, + dY_percent = (event.clientY + docScrollTop - tmpTop)/tmpTargetA.height(); + if ((prevPercent==1 ||dY_percent<=prevPercent && dY_percent>=-.2) && canPrev) { + dX = 1 - tmpArrow.width(); + dY = tmpTop - tmpArrow.height()/2; + moveType = consts.move.TYPE_PREV; + } else if ((nextPercent==0 || dY_percent>=nextPercent && dY_percent<=1.2) && canNext) { + dX = 1 - tmpArrow.width(); + dY = (tmpNextA == null || (tmpTargetNode.isParent && tmpTargetNode.open)) ? (tmpTop + tmpTargetA.height() - tmpArrow.height()/2) : (tmpNextA.offset().top - tmpArrow.height()/2); + moveType = consts.move.TYPE_NEXT; + }else { + dX = 5 - tmpArrow.width(); + dY = tmpTop; + moveType = consts.move.TYPE_INNER; + } + tmpArrow.css({ + "display":"block", + "top": dY + "px", + "left": (tmpLeft + dX) + "px" + }); + tmpTargetA.addClass(consts.node.TMPTARGET_NODE + "_" + moveType); + + if (preTmpTargetNodeId != tmpTargetNodeId || preTmpMoveType != moveType) { + startTime = (new Date()).getTime(); + } + if (tmpTargetNode && tmpTargetNode.isParent && moveType == consts.move.TYPE_INNER) { + var startTimer = true; + if (window.zTreeMoveTimer && window.zTreeMoveTargetNodeTId !== tmpTargetNode.tId) { + clearTimeout(window.zTreeMoveTimer); + window.zTreeMoveTargetNodeTId = null; + }else if (window.zTreeMoveTimer && window.zTreeMoveTargetNodeTId === tmpTargetNode.tId) { + startTimer = false; + } + if (startTimer) { + window.zTreeMoveTimer = setTimeout(function() { + if (moveType != consts.move.TYPE_INNER) return; + if (tmpTargetNode && tmpTargetNode.isParent && !tmpTargetNode.open && (new Date()).getTime() - startTime > targetSetting.edit.drag.autoOpenTime + && tools.apply(targetSetting.callback.beforeDragOpen, [targetSetting.treeId, tmpTargetNode], true)) { + view.switchNode(targetSetting, tmpTargetNode); + if (targetSetting.edit.drag.autoExpandTrigger) { + targetSetting.treeObj.trigger(consts.event.EXPAND, [targetSetting.treeId, tmpTargetNode]); + } + } + }, targetSetting.edit.drag.autoOpenTime+50); + window.zTreeMoveTargetNodeTId = tmpTargetNode.tId; + } + } + } + } else { + moveType = consts.move.TYPE_INNER; + if (tmpTarget && tools.apply(targetSetting.edit.drag.inner, [targetSetting.treeId, nodes, null], !!targetSetting.edit.drag.inner)) { + tmpTarget.addClass(consts.node.TMPTARGET_TREE); + } else { + tmpTarget = null; + } + tmpArrow.css({ + "display":"none" + }); + if (window.zTreeMoveTimer) { + clearTimeout(window.zTreeMoveTimer); + window.zTreeMoveTargetNodeTId = null; + } + } + preTmpTargetNodeId = tmpTargetNodeId; + preTmpMoveType = moveType; + + setting.treeObj.trigger(consts.event.DRAGMOVE, [event, setting.treeId, nodes]); + } + return false; + } + + doc.bind("mouseup", _docMouseUp); + function _docMouseUp(event) { + if (window.zTreeMoveTimer) { + clearTimeout(window.zTreeMoveTimer); + window.zTreeMoveTargetNodeTId = null; + } + preTmpTargetNodeId = null; + preTmpMoveType = null; + doc.unbind("mousemove", _docMouseMove); + doc.unbind("mouseup", _docMouseUp); + doc.unbind("selectstart", _docSelect); + body.css("cursor", "auto"); + if (tmpTarget) { + tmpTarget.removeClass(consts.node.TMPTARGET_TREE); + if (tmpTargetNodeId) $("#" + tmpTargetNodeId + consts.id.A, tmpTarget).removeClass(consts.node.TMPTARGET_NODE + "_" + consts.move.TYPE_PREV) + .removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_NEXT).removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_INNER); + } + tools.showIfameMask(setting, false); + + roots.showHoverDom = true; + if (root.dragFlag == 0) return; + root.dragFlag = 0; + + var i, l, tmpNode; + for (i=0, l=nodes.length; i 0) { + root.dragMaskList[0].remove(); + root.dragMaskList.shift(); + } + if (showSign) { + //show mask + var iframeList = $$("iframe", setting); + for (var i = 0, l = iframeList.length; i < l; i++) { + var obj = iframeList.get(i), + r = tools.getAbs(obj), + dragMask = $$("
                    ", setting); + dragMask.appendTo($$("body", setting)); + root.dragMaskList.push(dragMask); + } + } + } + }, + //method of operate ztree dom + _view = { + addEditBtn: function(setting, node) { + if (node.editNameFlag || $$(node, consts.id.EDIT, setting).length > 0) { + return; + } + if (!tools.apply(setting.edit.showRenameBtn, [setting.treeId, node], setting.edit.showRenameBtn)) { + return; + } + var aObj = $$(node, consts.id.A, setting), + editStr = ""; + aObj.append(editStr); + + $$(node, consts.id.EDIT, setting).bind('click', + function() { + if (!tools.uCanDo(setting) || tools.apply(setting.callback.beforeEditName, [setting.treeId, node], true) == false) return false; + view.editNode(setting, node); + return false; + } + ).show(); + }, + addRemoveBtn: function(setting, node) { + if (node.editNameFlag || $$(node, consts.id.REMOVE, setting).length > 0) { + return; + } + if (!tools.apply(setting.edit.showRemoveBtn, [setting.treeId, node], setting.edit.showRemoveBtn)) { + return; + } + var aObj = $$(node, consts.id.A, setting), + removeStr = ""; + aObj.append(removeStr); + + $$(node, consts.id.REMOVE, setting).bind('click', + function() { + if (!tools.uCanDo(setting) || tools.apply(setting.callback.beforeRemove, [setting.treeId, node], true) == false) return false; + view.removeNode(setting, node); + setting.treeObj.trigger(consts.event.REMOVE, [setting.treeId, node]); + return false; + } + ).bind('mousedown', + function(eventMouseDown) { + return true; + } + ).show(); + }, + addHoverDom: function(setting, node) { + if (data.getRoots().showHoverDom) { + node.isHover = true; + if (setting.edit.enable) { + //view.addEditBtn(setting, node); + view.addRemoveBtn(setting, node); + view.addEditBtn(setting, node); + } + tools.apply(setting.view.addHoverDom, [setting.treeId, node]); + } + }, + cancelCurEditNode: function (setting, forceName, isCancel) { + var root = data.getRoot(setting), + nameKey = setting.data.key.name, + node = root.curEditNode; + + if (node) { + var inputObj = root.curEditInput, + newName = forceName ? forceName:(isCancel ? node[nameKey]: inputObj.val()); + if (tools.apply(setting.callback.beforeRename, [setting.treeId, node, newName, isCancel], true) === false) { + return false; + } else { + node[nameKey] = newName; + setting.treeObj.trigger(consts.event.RENAME, [setting.treeId, node, isCancel]); + } + var aObj = $$(node, consts.id.A, setting); + aObj.removeClass(consts.node.CURSELECTED_EDIT); + inputObj.unbind(); + view.setNodeName(setting, node); + node.editNameFlag = false; + root.curEditNode = null; + root.curEditInput = null; + view.selectNode(setting, node, false); + } + root.noSelection = true; + return true; + }, + editNode: function(setting, node) { + var root = data.getRoot(setting); + view.editNodeBlur = false; + if (data.isSelectedNode(setting, node) && root.curEditNode == node && node.editNameFlag) { + setTimeout(function() {tools.inputFocus(root.curEditInput);}, 0); + return; + } + var nameKey = setting.data.key.name; + node.editNameFlag = true; + view.removeTreeDom(setting, node); + view.cancelCurEditNode(setting); + view.selectNode(setting, node, false); + $$(node, consts.id.SPAN, setting).html(""); + var inputObj = $$(node, consts.id.INPUT, setting); + inputObj.attr("value", node[nameKey]); + if (setting.edit.editNameSelectAll) { + tools.inputSelect(inputObj); + } else { + tools.inputFocus(inputObj); + } + + inputObj.bind('blur', function(event) { + if (!view.editNodeBlur) { + view.cancelCurEditNode(setting); + } + }).bind('keydown', function(event) { + if (event.keyCode=="13") { + view.editNodeBlur = true; + view.cancelCurEditNode(setting); + } else if (event.keyCode=="27") { + view.cancelCurEditNode(setting, null, true); + } + }).bind('click', function(event) { + return false; + }).bind('dblclick', function(event) { + return false; + }); + + $$(node, consts.id.A, setting).addClass(consts.node.CURSELECTED_EDIT); + root.curEditInput = inputObj; + root.noSelection = false; + root.curEditNode = node; + }, + moveNode: function(setting, targetNode, node, moveType, animateFlag, isSilent) { + var root = data.getRoot(setting), + childKey = setting.data.key.children; + if (targetNode == node) return; + if (setting.data.keep.leaf && targetNode && !targetNode.isParent && moveType == consts.move.TYPE_INNER) return; + var oldParentNode = (node.parentTId ? node.getParentNode(): root), + targetNodeIsRoot = (targetNode === null || targetNode == root); + if (targetNodeIsRoot && targetNode === null) targetNode = root; + if (targetNodeIsRoot) moveType = consts.move.TYPE_INNER; + var targetParentNode = (targetNode.parentTId ? targetNode.getParentNode() : root); + + if (moveType != consts.move.TYPE_PREV && moveType != consts.move.TYPE_NEXT) { + moveType = consts.move.TYPE_INNER; + } + + if (moveType == consts.move.TYPE_INNER) { + if (targetNodeIsRoot) { + //parentTId of root node is null + node.parentTId = null; + } else { + if (!targetNode.isParent) { + targetNode.isParent = true; + targetNode.open = !!targetNode.open; + view.setNodeLineIcos(setting, targetNode); + } + node.parentTId = targetNode.tId; + } + } + + //move node Dom + var targetObj, target_ulObj; + if (targetNodeIsRoot) { + targetObj = setting.treeObj; + target_ulObj = targetObj; + } else { + if (!isSilent && moveType == consts.move.TYPE_INNER) { + view.expandCollapseNode(setting, targetNode, true, false); + } else if (!isSilent) { + view.expandCollapseNode(setting, targetNode.getParentNode(), true, false); + } + targetObj = $$(targetNode, setting); + target_ulObj = $$(targetNode, consts.id.UL, setting); + if (!!targetObj.get(0) && !target_ulObj.get(0)) { + var ulstr = []; + view.makeUlHtml(setting, targetNode, ulstr, ''); + targetObj.append(ulstr.join('')); + } + target_ulObj = $$(targetNode, consts.id.UL, setting); + } + var nodeDom = $$(node, setting); + if (!nodeDom.get(0)) { + nodeDom = view.appendNodes(setting, node.level, [node], null, false, true).join(''); + } else if (!targetObj.get(0)) { + nodeDom.remove(); + } + if (target_ulObj.get(0) && moveType == consts.move.TYPE_INNER) { + target_ulObj.append(nodeDom); + } else if (targetObj.get(0) && moveType == consts.move.TYPE_PREV) { + targetObj.before(nodeDom); + } else if (targetObj.get(0) && moveType == consts.move.TYPE_NEXT) { + targetObj.after(nodeDom); + } + + //repair the data after move + var i,l, + tmpSrcIndex = -1, + tmpTargetIndex = 0, + oldNeighbor = null, + newNeighbor = null, + oldLevel = node.level; + if (node.isFirstNode) { + tmpSrcIndex = 0; + if (oldParentNode[childKey].length > 1 ) { + oldNeighbor = oldParentNode[childKey][1]; + oldNeighbor.isFirstNode = true; + } + } else if (node.isLastNode) { + tmpSrcIndex = oldParentNode[childKey].length -1; + oldNeighbor = oldParentNode[childKey][tmpSrcIndex - 1]; + oldNeighbor.isLastNode = true; + } else { + for (i = 0, l = oldParentNode[childKey].length; i < l; i++) { + if (oldParentNode[childKey][i].tId == node.tId) { + tmpSrcIndex = i; + break; + } + } + } + if (tmpSrcIndex >= 0) { + oldParentNode[childKey].splice(tmpSrcIndex, 1); + } + if (moveType != consts.move.TYPE_INNER) { + for (i = 0, l = targetParentNode[childKey].length; i < l; i++) { + if (targetParentNode[childKey][i].tId == targetNode.tId) tmpTargetIndex = i; + } + } + if (moveType == consts.move.TYPE_INNER) { + if (!targetNode[childKey]) targetNode[childKey] = new Array(); + if (targetNode[childKey].length > 0) { + newNeighbor = targetNode[childKey][targetNode[childKey].length - 1]; + newNeighbor.isLastNode = false; + } + targetNode[childKey].splice(targetNode[childKey].length, 0, node); + node.isLastNode = true; + node.isFirstNode = (targetNode[childKey].length == 1); + } else if (targetNode.isFirstNode && moveType == consts.move.TYPE_PREV) { + targetParentNode[childKey].splice(tmpTargetIndex, 0, node); + newNeighbor = targetNode; + newNeighbor.isFirstNode = false; + node.parentTId = targetNode.parentTId; + node.isFirstNode = true; + node.isLastNode = false; + + } else if (targetNode.isLastNode && moveType == consts.move.TYPE_NEXT) { + targetParentNode[childKey].splice(tmpTargetIndex + 1, 0, node); + newNeighbor = targetNode; + newNeighbor.isLastNode = false; + node.parentTId = targetNode.parentTId; + node.isFirstNode = false; + node.isLastNode = true; + + } else { + if (moveType == consts.move.TYPE_PREV) { + targetParentNode[childKey].splice(tmpTargetIndex, 0, node); + } else { + targetParentNode[childKey].splice(tmpTargetIndex + 1, 0, node); + } + node.parentTId = targetNode.parentTId; + node.isFirstNode = false; + node.isLastNode = false; + } + data.fixPIdKeyValue(setting, node); + data.setSonNodeLevel(setting, node.getParentNode(), node); + + //repair node what been moved + view.setNodeLineIcos(setting, node); + view.repairNodeLevelClass(setting, node, oldLevel) + + //repair node's old parentNode dom + if (!setting.data.keep.parent && oldParentNode[childKey].length < 1) { + //old parentNode has no child nodes + oldParentNode.isParent = false; + oldParentNode.open = false; + var tmp_ulObj = $$(oldParentNode, consts.id.UL, setting), + tmp_switchObj = $$(oldParentNode, consts.id.SWITCH, setting), + tmp_icoObj = $$(oldParentNode, consts.id.ICON, setting); + view.replaceSwitchClass(oldParentNode, tmp_switchObj, consts.folder.DOCU); + view.replaceIcoClass(oldParentNode, tmp_icoObj, consts.folder.DOCU); + tmp_ulObj.css("display", "none"); + + } else if (oldNeighbor) { + //old neigbor node + view.setNodeLineIcos(setting, oldNeighbor); + } + + //new neigbor node + if (newNeighbor) { + view.setNodeLineIcos(setting, newNeighbor); + } + + //repair checkbox / radio + if (!!setting.check && setting.check.enable && view.repairChkClass) { + view.repairChkClass(setting, oldParentNode); + view.repairParentChkClassWithSelf(setting, oldParentNode); + if (oldParentNode != node.parent) + view.repairParentChkClassWithSelf(setting, node); + } + + //expand parents after move + if (!isSilent) { + view.expandCollapseParentNode(setting, node.getParentNode(), true, animateFlag); + } + }, + removeEditBtn: function(setting, node) { + $$(node, consts.id.EDIT, setting).unbind().remove(); + }, + removeRemoveBtn: function(setting, node) { + $$(node, consts.id.REMOVE, setting).unbind().remove(); + }, + removeTreeDom: function(setting, node) { + node.isHover = false; + view.removeEditBtn(setting, node); + view.removeRemoveBtn(setting, node); + tools.apply(setting.view.removeHoverDom, [setting.treeId, node]); + }, + repairNodeLevelClass: function(setting, node, oldLevel) { + if (oldLevel === node.level) return; + var liObj = $$(node, setting), + aObj = $$(node, consts.id.A, setting), + ulObj = $$(node, consts.id.UL, setting), + oldClass = consts.className.LEVEL + oldLevel, + newClass = consts.className.LEVEL + node.level; + liObj.removeClass(oldClass); + liObj.addClass(newClass); + aObj.removeClass(oldClass); + aObj.addClass(newClass); + ulObj.removeClass(oldClass); + ulObj.addClass(newClass); + }, + selectNodes : function(setting, nodes) { + for (var i=0, l=nodes.length; i0); + } + } + }, + + _z = { + tools: _tools, + view: _view, + event: _event, + data: _data + }; + $.extend(true, $.fn.zTree.consts, _consts); + $.extend(true, $.fn.zTree._z, _z); + + var zt = $.fn.zTree, + tools = zt._z.tools, + consts = zt.consts, + view = zt._z.view, + data = zt._z.data, + event = zt._z.event, + $$ = tools.$; + + data.exSetting(_setting); + data.addInitBind(_bindEvent); + data.addInitUnBind(_unbindEvent); + data.addInitCache(_initCache); + data.addInitNode(_initNode); + data.addInitProxy(_eventProxy); + data.addInitRoot(_initRoot); + data.addZTreeTools(_zTreeTools); + + var _cancelPreSelectedNode = view.cancelPreSelectedNode; + view.cancelPreSelectedNode = function (setting, node) { + var list = data.getRoot(setting).curSelectedList; + for (var i=0, j=list.length; i0?(c.isParent=!0,c.zAsync=!0):(c.isParent=typeof c.isParent== +"string"?j.eqs(c.isParent,"true"):!!c.isParent,c.open=c.isParent&&!b.async.enable?c.open:!1,c.zAsync=!c.isParent);c.isFirstNode=f;c.isLastNode=g;c.getParentNode=function(){return h.getNodeCache(b,c.parentTId)};c.getPreNode=function(){return h.getPreNode(b,c)};c.getNextNode=function(){return h.getNextNode(b,c)};c.isAjaxing=!1;h.fixPIdKeyValue(b,c)}}],s=[function(b){var a=b.target,c=h.getSetting(b.data.treeId),d="",f=null,g="",l="",i=null,n=null,k=null;if(j.eqs(b.type,"mousedown"))l="mousedown";else if(j.eqs(b.type, +"mouseup"))l="mouseup";else if(j.eqs(b.type,"contextmenu"))l="contextmenu";else if(j.eqs(b.type,"click"))if(j.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+e.id.SWITCH)!==null)d=j.getNodeMainDom(a).id,g="switchNode";else{if(k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}]))d=j.getNodeMainDom(k).id,g="clickNode"}else if(j.eqs(b.type,"dblclick")&&(l="dblclick",k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}])))d=j.getNodeMainDom(k).id,g="switchNode";if(l.length>0&&d.length==0&& +(k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}])))d=j.getNodeMainDom(k).id;if(d.length>0)switch(f=h.getNodeCache(c,d),g){case "switchNode":f.isParent?j.eqs(b.type,"click")||j.eqs(b.type,"dblclick")&&j.apply(c.view.dblClickExpand,[c.treeId,f],c.view.dblClickExpand)?i=G:g="":g="";break;case "clickNode":i=H}switch(l){case "mousedown":n=I;break;case "mouseup":n=J;break;case "dblclick":n=K;break;case "contextmenu":n=L}return{stop:!1,node:f,nodeEventType:g,nodeEventCallback:i,treeEventType:l, +treeEventCallback:n}}],A=[function(b){var a=h.getRoot(b);a||(a={},h.setRoot(b,a));a[b.data.key.children]=[];a.expandTriggerFlag=!1;a.curSelectedList=[];a.noSelection=!0;a.createdNodes=[];a.zId=0;a._ver=(new Date).getTime()}],B=[],C=[],D=[],E=[],F=[],h={addNodeCache:function(b,a){h.getCache(b).nodes[h.getNodeCacheId(a.tId)]=a},getNodeCacheId:function(b){return b.substring(b.lastIndexOf("_")+1)},addAfterA:function(b){C.push(b)},addBeforeA:function(b){B.push(b)},addInnerAfterA:function(b){E.push(b)}, +addInnerBeforeA:function(b){D.push(b)},addInitBind:function(b){w.push(b)},addInitUnBind:function(b){x.push(b)},addInitCache:function(b){y.push(b)},addInitNode:function(b){z.push(b)},addInitProxy:function(b,a){a?s.splice(0,0,b):s.push(b)},addInitRoot:function(b){A.push(b)},addNodesData:function(b,a,c){var d=b.data.key.children;a[d]||(a[d]=[]);if(a[d].length>0)a[d][a[d].length-1].isLastNode=!1,i.setNodeLineIcos(b,a[d][a[d].length-1]);a.isParent=!0;a[d]=a[d].concat(c)},addSelectedNode:function(b,a){var c= +h.getRoot(b);h.isSelectedNode(b,a)||c.curSelectedList.push(a)},addCreatedNode:function(b,a){(b.callback.onNodeCreated||b.view.addDiyDom)&&h.getRoot(b).createdNodes.push(a)},addZTreeTools:function(b){F.push(b)},exSetting:function(b){p.extend(!0,M,b)},fixPIdKeyValue:function(b,a){b.data.simpleData.enable&&(a[b.data.simpleData.pIdKey]=a.parentTId?a.getParentNode()[b.data.simpleData.idKey]:b.data.simpleData.rootPId)},getAfterA:function(b,a,c){for(var d=0,f=C.length;d-1&&g.push(a[l]),g=g.concat(h.getNodesByParamFuzzy(b,a[l][f],c,d));return g},getNodesByFilter:function(b,a,c,d,f){if(!a)return d? +null:[];for(var g=b.data.key.children,e=d?null:[],i=0,n=a.length;i0)},clone:function(b){if(b===null)return null;var a=j.isArray(b)?[]:{},c;for(c in b)a[c]=b[c]instanceof +Date?new Date(b[c].getTime()):typeof b[c]==="object"?arguments.callee(b[c]):b[c];return a},eqs:function(b,a){return b.toLowerCase()===a.toLowerCase()},isArray:function(b){return Object.prototype.toString.apply(b)==="[object Array]"},$:function(b,a,c){a&&typeof a!="string"&&(c=a,a="");return typeof b=="string"?p(b,c?c.treeObj.get(0).ownerDocument:null):p("#"+b.tId+a,c?c.treeObj:null)},getMDom:function(b,a,c){if(!a)return null;for(;a&&a.id!==b.treeId;){for(var d=0,f=c.length;a.tagName&&d0},uCanDo:function(){return!0}},i={addNodes:function(b,a,c,d){if(!b.data.keep.leaf||!a||a.isParent)if(j.isArray(c)||(c=[c]),b.data.simpleData.enable&&(c=h.transformTozTreeFormat(b,c)),a){var f=k(a,e.id.SWITCH,b),g=k(a,e.id.ICON,b),l=k(a,e.id.UL,b);if(!a.open)i.replaceSwitchClass(a, +f,e.folder.CLOSE),i.replaceIcoClass(a,g,e.folder.CLOSE),a.open=!1,l.css({display:"none"});h.addNodesData(b,a,c);i.createNodes(b,a.level+1,c,a);d||i.expandCollapseParentNode(b,a,!0)}else h.addNodesData(b,h.getRoot(b),c),i.createNodes(b,0,c,null)},appendNodes:function(b,a,c,d,f,g){if(!c)return[];for(var e=[],j=b.data.key.children,k=0,m=c.length;k +0&&(t=i.appendNodes(b,a+1,o[j],o,f,g&&o.open));g&&(i.makeDOMNodeMainBefore(e,b,o),i.makeDOMNodeLine(e,b,o),h.getBeforeA(b,o,e),i.makeDOMNodeNameBefore(e,b,o),h.getInnerBeforeA(b,o,e),i.makeDOMNodeIcon(e,b,o),h.getInnerAfterA(b,o,e),i.makeDOMNodeNameAfter(e,b,o),h.getAfterA(b,o,e),o.isParent&&o.open&&i.makeUlHtml(b,o,e,t.join("")),i.makeDOMNodeMainAfter(e,b,o),h.addCreatedNode(b,o))}return e},appendParentULDom:function(b,a){var c=[],d=k(a,b);!d.get(0)&&a.parentTId&&(i.appendParentULDom(b,a.getParentNode()), +d=k(a,b));var f=k(a,e.id.UL,b);f.get(0)&&f.remove();f=i.appendNodes(b,a.level+1,a[b.data.key.children],a,!1,!0);i.makeUlHtml(b,a,c,f.join(""));d.append(c.join(""))},asyncNode:function(b,a,c,d){var f,g;if(a&&!a.isParent)return j.apply(d),!1;else if(a&&a.isAjaxing)return!1;else if(j.apply(b.callback.beforeAsync,[b.treeId,a],!0)==!1)return j.apply(d),!1;if(a)a.isAjaxing=!0,k(a,e.id.ICON,b).attr({style:"","class":e.className.BUTTON+" "+e.className.ICO_LOADING});var l={};for(f=0,g=b.async.autoParam.length;a&& +f1&&(n=q[1],q=q[0]);l[n]=a[q]}if(j.isArray(b.async.otherParam))for(f=0,g=b.async.otherParam.length;f=0;d--)if(!a||a===c[d])if(k(c[d],e.id.A,b).removeClass(e.node.CURSELECTED),a){h.removeSelectedNode(b,a);break}if(!a)h.getRoot(b).curSelectedList=[]},createNodeCallback:function(b){if(b.callback.onNodeCreated||b.view.addDiyDom)for(var a=h.getRoot(b);a.createdNodes.length>0;){var c=a.createdNodes.shift();j.apply(b.view.addDiyDom,[b.treeId,c]);b.callback.onNodeCreated&&b.treeObj.trigger(e.event.NODECREATED,[b.treeId,c])}},createNodes:function(b, +a,c,d){if(c&&c.length!=0){var f=h.getRoot(b),g=b.data.key.children,g=!d||d.open||!!k(d[g][0],b).get(0);f.createdNodes=[];a=i.appendNodes(b,a,c,d,!0,g);d?(d=k(d,e.id.UL,b),d.get(0)&&d.append(a.join(""))):b.treeObj.append(a.join(""));i.createNodeCallback(b)}},destroy:function(b){b&&(h.initCache(b),h.initRoot(b),m.unbindTree(b),m.unbindEvent(b),b.treeObj.empty(),delete r[b.treeId])},expandCollapseNode:function(b,a,c,d,f){var g=h.getRoot(b),l=b.data.key.children;if(a){if(g.expandTriggerFlag){var q=f, +f=function(){q&&q();a.open?b.treeObj.trigger(e.event.EXPAND,[b.treeId,a]):b.treeObj.trigger(e.event.COLLAPSE,[b.treeId,a])};g.expandTriggerFlag=!1}if(!a.open&&a.isParent&&(!k(a,e.id.UL,b).get(0)||a[l]&&a[l].length>0&&!k(a[l][0],b).get(0)))i.appendParentULDom(b,a),i.createNodeCallback(b);if(a.open==c)j.apply(f,[]);else{var c=k(a,e.id.UL,b),g=k(a,e.id.SWITCH,b),n=k(a,e.id.ICON,b);a.isParent?(a.open=!a.open,a.iconOpen&&a.iconClose&&n.attr("style",i.makeNodeIcoStyle(b,a)),a.open?(i.replaceSwitchClass(a, +g,e.folder.OPEN),i.replaceIcoClass(a,n,e.folder.OPEN),d==!1||b.view.expandSpeed==""?(c.show(),j.apply(f,[])):a[l]&&a[l].length>0?c.slideDown(b.view.expandSpeed,f):(c.show(),j.apply(f,[]))):(i.replaceSwitchClass(a,g,e.folder.CLOSE),i.replaceIcoClass(a,n,e.folder.CLOSE),d==!1||b.view.expandSpeed==""||!(a[l]&&a[l].length>0)?(c.hide(),j.apply(f,[])):c.slideUp(b.view.expandSpeed,f))):j.apply(f,[])}}else j.apply(f,[])},expandCollapseParentNode:function(b,a,c,d,f){a&&(a.parentTId?(i.expandCollapseNode(b, +a,c,d),a.parentTId&&i.expandCollapseParentNode(b,a.getParentNode(),c,d,f)):i.expandCollapseNode(b,a,c,d,f))},expandCollapseSonNode:function(b,a,c,d,f){var g=h.getRoot(b),e=b.data.key.children,g=a?a[e]:g[e],e=a?!1:d,j=h.getRoot(b).expandTriggerFlag;h.getRoot(b).expandTriggerFlag=!1;if(g)for(var k=0,m=g.length;k/g,">");b.push("",d,"")},makeDOMNodeLine:function(b,a,c){b.push("")},makeDOMNodeMainAfter:function(b){b.push("
                  • ")},makeDOMNodeMainBefore:function(b, +a,c){b.push("
                  • ")},makeDOMNodeNameAfter:function(b){b.push("")},makeDOMNodeNameBefore:function(b,a,c){var d=h.getNodeTitle(a,c),f=i.makeNodeUrl(a,c),g=i.makeNodeFontCss(a,c),l=[],k;for(k in g)l.push(k,":",g[k],";");b.push("0?"href='"+f+"'":""," target='",i.makeNodeTarget(c), +"' style='",l.join(""),"'");j.apply(a.view.showTitle,[a.treeId,c],a.view.showTitle)&&d&&b.push("title='",d.replace(/'/g,"'").replace(//g,">"),"'");b.push(">")},makeNodeFontCss:function(b,a){var c=j.apply(b.view.fontCss,[b.treeId,a],b.view.fontCss);return c&&typeof c!="function"?c:{}},makeNodeIcoClass:function(b,a){var c=["ico"];a.isAjaxing||(c[0]=(a.iconSkin?a.iconSkin+"_":"")+c[0],a.isParent?c.push(a.open?e.folder.OPEN:e.folder.CLOSE):c.push(e.folder.DOCU));return e.className.BUTTON+ +" "+c.join("_")},makeNodeIcoStyle:function(b,a){var c=[];if(!a.isAjaxing){var d=a.isParent&&a.iconOpen&&a.iconClose?a.open?a.iconOpen:a.iconClose:a.icon;d&&c.push("background:url(",d,") 0 0 no-repeat;");(b.view.showIcon==!1||!j.apply(b.view.showIcon,[b.treeId,a],!0))&&c.push("width:0px;height:0px;")}return c.join("")},makeNodeLineClass:function(b,a){var c=[];b.view.showLine?a.level==0&&a.isFirstNode&&a.isLastNode?c.push(e.line.ROOT):a.level==0&&a.isFirstNode?c.push(e.line.ROOTS):a.isLastNode?c.push(e.line.BOTTOM): +c.push(e.line.CENTER):c.push(e.line.NOLINE);a.isParent?c.push(a.open?e.folder.OPEN:e.folder.CLOSE):c.push(e.folder.DOCU);return i.makeNodeLineClassEx(a)+c.join("_")},makeNodeLineClassEx:function(b){return e.className.BUTTON+" "+e.className.LEVEL+b.level+" "+e.className.SWITCH+" "},makeNodeTarget:function(b){return b.target||"_blank"},makeNodeUrl:function(b,a){var c=b.data.key.url;return a[c]?a[c]:null},makeUlHtml:function(b,a,c,d){c.push("
                      ");c.push(d);c.push("
                    ")},makeUlLineClass:function(b,a){return b.view.showLine&&!a.isLastNode?e.line.LINE:""},removeChildNodes:function(b,a){if(a){var c=b.data.key.children,d=a[c];if(d){for(var f=0,g=d.length;f0)a[c][0].isFirstNode=!0},setLastNode:function(b,a){var c=b.data.key.children,d=a[c].length;if(d>0)a[c][d-1].isLastNode=!0},removeNode:function(b,a){var c=h.getRoot(b),d=b.data.key.children,f=a.parentTId?a.getParentNode():c;a.isFirstNode=!1;a.isLastNode=!1;a.getPreNode=function(){return null};a.getNextNode=function(){return null};if(h.getNodeCache(b,a.tId)){k(a,b).remove(); +h.removeNodeCache(b,a);h.removeSelectedNode(b,a);for(var g=0,l=f[d].length;g0){var n=f[d][g-1],g=k(n,e.id.UL,b),l=k(n,e.id.SWITCH,b);j=k(n,e.id.ICON,b); +f==c?f[d].length==1?i.replaceSwitchClass(n,l,e.line.ROOT):(c=k(f[d][0],e.id.SWITCH,b),i.replaceSwitchClass(f[d][0],c,e.line.ROOTS),i.replaceSwitchClass(n,l,e.line.BOTTOM)):i.replaceSwitchClass(n,l,e.line.BOTTOM);g.removeClass(e.line.LINE)}}},replaceIcoClass:function(b,a,c){if(a&&!b.isAjaxing&&(b=a.attr("class"),b!=void 0)){b=b.split("_");switch(c){case e.folder.OPEN:case e.folder.CLOSE:case e.folder.DOCU:b[b.length-1]=c}a.attr("class",b.join("_"))}},replaceSwitchClass:function(b,a,c){if(a){var d= +a.attr("class");if(d!=void 0){d=d.split("_");switch(c){case e.line.ROOT:case e.line.ROOTS:case e.line.CENTER:case e.line.BOTTOM:case e.line.NOLINE:d[0]=i.makeNodeLineClassEx(b)+c;break;case e.folder.OPEN:case e.folder.CLOSE:case e.folder.DOCU:d[1]=c}a.attr("class",d.join("_"));c!==e.folder.DOCU?a.removeAttr("disabled"):a.attr("disabled","disabled")}}},selectNode:function(b,a,c){c||i.cancelPreSelectedNode(b);k(a,e.id.A,b).addClass(e.node.CURSELECTED);h.addSelectedNode(b,a)},setNodeFontCss:function(b, +a){var c=k(a,e.id.A,b),d=i.makeNodeFontCss(b,a);d&&c.css(d)},setNodeLineIcos:function(b,a){if(a){var c=k(a,e.id.SWITCH,b),d=k(a,e.id.UL,b),f=k(a,e.id.ICON,b),g=i.makeUlLineClass(b,a);g.length==0?d.removeClass(e.line.LINE):d.addClass(g);c.attr("class",i.makeNodeLineClass(b,a));a.isParent?c.removeAttr("disabled"):c.attr("disabled","disabled");f.removeAttr("style");f.attr("style",i.makeNodeIcoStyle(b,a));f.attr("class",i.makeNodeIcoClass(b,a))}},setNodeName:function(b,a){var c=h.getNodeTitle(b,a),d= +k(a,e.id.SPAN,b);d.empty();b.view.nameIsHTML?d.html(h.getNodeName(b,a)):d.text(h.getNodeName(b,a));j.apply(b.view.showTitle,[b.treeId,a],b.view.showTitle)&&k(a,e.id.A,b).attr("title",!c?"":c)},setNodeTarget:function(b,a){k(a,e.id.A,b).attr("target",i.makeNodeTarget(a))},setNodeUrl:function(b,a){var c=k(a,e.id.A,b),d=i.makeNodeUrl(b,a);d==null||d.length==0?c.removeAttr("href"):c.attr("href",d)},switchNode:function(b,a){a.open||!j.canAsync(b,a)?i.expandCollapseNode(b,a,!a.open):b.async.enable?i.asyncNode(b, +a)||i.expandCollapseNode(b,a,!a.open):a&&i.expandCollapseNode(b,a,!a.open)}};p.fn.zTree={consts:{className:{BUTTON:"button",LEVEL:"level",ICO_LOADING:"ico_loading",SWITCH:"switch"},event:{NODECREATED:"ztree_nodeCreated",CLICK:"ztree_click",EXPAND:"ztree_expand",COLLAPSE:"ztree_collapse",ASYNC_SUCCESS:"ztree_async_success",ASYNC_ERROR:"ztree_async_error",REMOVE:"ztree_remove"},id:{A:"_a",ICON:"_ico",SPAN:"_span",SWITCH:"_switch",UL:"_ul"},line:{ROOT:"root",ROOTS:"roots",CENTER:"center",BOTTOM:"bottom", +NOLINE:"noline",LINE:"line"},folder:{OPEN:"open",CLOSE:"close",DOCU:"docu"},node:{CURSELECTED:"curSelectedNode"}},_z:{tools:j,view:i,event:m,data:h},getZTreeObj:function(b){return(b=h.getZTreeTools(b))?b:null},destroy:function(b){if(b&&b.length>0)i.destroy(h.getSetting(b));else for(var a in r)i.destroy(r[a])},init:function(b,a,c){var d=j.clone(M);p.extend(!0,d,a);d.treeId=b.attr("id");d.treeObj=b;d.treeObj.empty();r[d.treeId]=d;if(typeof document.body.style.maxHeight==="undefined")d.view.expandSpeed= +"";h.initRoot(d);b=h.getRoot(d);a=d.data.key.children;c=c?j.clone(j.isArray(c)?c:[c]):[];b[a]=d.data.simpleData.enable?h.transformTozTreeFormat(d,c):c;h.initCache(d);m.unbindTree(d);m.bindTree(d);m.unbindEvent(d);m.bindEvent(d);c={setting:d,addNodes:function(a,b,c){function e(){i.addNodes(d,a,h,c==!0)}if(!b)return null;a||(a=null);if(a&&!a.isParent&&d.data.keep.leaf)return null;var h=j.clone(j.isArray(b)?b:[b]);j.canAsync(d,a)?i.asyncNode(d,a,c,e):e();return h},cancelSelectedNode:function(a){i.cancelPreSelectedNode(d, +a)},destroy:function(){i.destroy(d)},expandAll:function(a){a=!!a;i.expandCollapseSonNode(d,null,a,!0);return a},expandNode:function(a,b,c,e,n){if(!a||!a.isParent)return null;b!==!0&&b!==!1&&(b=!a.open);if((n=!!n)&&b&&j.apply(d.callback.beforeExpand,[d.treeId,a],!0)==!1)return null;else if(n&&!b&&j.apply(d.callback.beforeCollapse,[d.treeId,a],!0)==!1)return null;b&&a.parentTId&&i.expandCollapseParentNode(d,a.getParentNode(),b,!1);if(b===a.open&&!c)return null;h.getRoot(d).expandTriggerFlag=n;if(!j.canAsync(d, +a)&&c)i.expandCollapseSonNode(d,a,b,!0,function(){if(e!==!1)try{k(a,d).focus().blur()}catch(b){}});else if(a.open=!b,i.switchNode(this.setting,a),e!==!1)try{k(a,d).focus().blur()}catch(m){}return b},getNodes:function(){return h.getNodes(d)},getNodeByParam:function(a,b,c){return!a?null:h.getNodeByParam(d,c?c[d.data.key.children]:h.getNodes(d),a,b)},getNodeByTId:function(a){return h.getNodeCache(d,a)},getNodesByParam:function(a,b,c){return!a?null:h.getNodesByParam(d,c?c[d.data.key.children]:h.getNodes(d), +a,b)},getNodesByParamFuzzy:function(a,b,c){return!a?null:h.getNodesByParamFuzzy(d,c?c[d.data.key.children]:h.getNodes(d),a,b)},getNodesByFilter:function(a,b,c,e){b=!!b;return!a||typeof a!="function"?b?null:[]:h.getNodesByFilter(d,c?c[d.data.key.children]:h.getNodes(d),a,b,e)},getNodeIndex:function(a){if(!a)return null;for(var b=d.data.key.children,c=a.parentTId?a.getParentNode():h.getRoot(d),e=0,i=c[b].length;e0?i.createNodes(d, +0,b[a]):d.async.enable&&d.async.url&&d.async.url!==""&&i.asyncNode(d);return c}};var N=p.fn.zTree,k=j.$,e=N.consts})(jQuery); + +/* + * JQuery zTree excheck v3.5.16 + * http://zTree.me/ + * + * Copyright (c) 2010 Hunter.z + * + * Licensed same as jquery - MIT License + * http://www.opensource.org/licenses/mit-license.php + * + * email: hunter.z@263.net + * Date: 2014-03-09 + */ +(function(m){var p,q,r,o={event:{CHECK:"ztree_check"},id:{CHECK:"_check"},checkbox:{STYLE:"checkbox",DEFAULT:"chk",DISABLED:"disable",FALSE:"false",TRUE:"true",FULL:"full",PART:"part",FOCUS:"focus"},radio:{STYLE:"radio",TYPE_ALL:"all",TYPE_LEVEL:"level"}},v={check:{enable:!1,autoCheckTrigger:!1,chkStyle:o.checkbox.STYLE,nocheckInherit:!1,chkDisabledInherit:!1,radioType:o.radio.TYPE_LEVEL,chkboxType:{Y:"ps",N:"ps"}},data:{key:{checked:"checked"}},callback:{beforeCheck:null,onCheck:null}};p=function(c, +a){if(a.chkDisabled===!0)return!1;var b=f.getSetting(c.data.treeId),d=b.data.key.checked;if(k.apply(b.callback.beforeCheck,[b.treeId,a],!0)==!1)return!0;a[d]=!a[d];e.checkNodeRelation(b,a);d=n(a,j.id.CHECK,b);e.setChkClass(b,d,a);e.repairParentChkClassWithSelf(b,a);b.treeObj.trigger(j.event.CHECK,[c,b.treeId,a]);return!0};q=function(c,a){if(a.chkDisabled===!0)return!1;var b=f.getSetting(c.data.treeId),d=n(a,j.id.CHECK,b);a.check_Focus=!0;e.setChkClass(b,d,a);return!0};r=function(c,a){if(a.chkDisabled=== +!0)return!1;var b=f.getSetting(c.data.treeId),d=n(a,j.id.CHECK,b);a.check_Focus=!1;e.setChkClass(b,d,a);return!0};m.extend(!0,m.fn.zTree.consts,o);m.extend(!0,m.fn.zTree._z,{tools:{},view:{checkNodeRelation:function(c,a){var b,d,h,i=c.data.key.children,l=c.data.key.checked;b=j.radio;if(c.check.chkStyle==b.STYLE){var g=f.getRadioCheckedList(c);if(a[l])if(c.check.radioType==b.TYPE_ALL){for(d=g.length-1;d>=0;d--)b=g[d],b[l]&&b!=a&&(b[l]=!1,g.splice(d,1),e.setChkClass(c,n(b,j.id.CHECK,c),b),b.parentTId!= +a.parentTId&&e.repairParentChkClassWithSelf(c,b));g.push(a)}else{g=a.parentTId?a.getParentNode():f.getRoot(c);for(d=0,h=g[i].length;d-1)&&e.setSonNodeCheckBox(c,a,!0),!a[l]&&(!a[i]||a[i].length==0||c.check.chkboxType.N.indexOf("s")>-1)&&e.setSonNodeCheckBox(c, +a,!1),a[l]&&c.check.chkboxType.Y.indexOf("p")>-1&&e.setParentNodeCheckBox(c,a,!0),!a[l]&&c.check.chkboxType.N.indexOf("p")>-1&&e.setParentNodeCheckBox(c,a,!1)},makeChkClass:function(c,a){var b=c.data.key.checked,d=j.checkbox,h=j.radio,i="",i=a.chkDisabled===!0?d.DISABLED:a.halfCheck?d.PART:c.check.chkStyle==h.STYLE?a.check_Child_State<1?d.FULL:d.PART:a[b]?a.check_Child_State===2||a.check_Child_State===-1?d.FULL:d.PART:a.check_Child_State<1?d.FULL:d.PART,b=c.check.chkStyle+"_"+(a[b]?d.TRUE:d.FALSE)+ +"_"+i,b=a.check_Focus&&a.chkDisabled!==!0?b+"_"+d.FOCUS:b;return j.className.BUTTON+" "+d.DEFAULT+" "+b},repairAllChk:function(c,a){if(c.check.enable&&c.check.chkStyle===j.checkbox.STYLE)for(var b=c.data.key.checked,d=c.data.key.children,h=f.getRoot(c),i=0,l=h[d].length;i0?e.repairParentChkClass(c,a[b][0]):e.repairParentChkClass(c,a)}},repairSonChkDisabled:function(c,a,b,d){if(a){var h=c.data.key.children;if(a.chkDisabled!=b)a.chkDisabled=b;e.repairChkClass(c,a);if(a[h]&&d)for(var i=0,l=a[h].length;i0){l=!1;break}l&&e.setParentNodeCheckBox(c,a.getParentNode(),b,d)}},setSonNodeCheckBox:function(c,a,b,d){if(a){var h=c.data.key.children,i=c.data.key.checked,l=n(a,j.id.CHECK,c);d||(d=a);var g=!1;if(a[h])for(var k=0,m=a[h].length;k0?b?2:0:-1}else a.check_Child_State=-1;e.setChkClass(c,l,a);c.check.autoCheckTrigger&&a!=d&&a.nocheck!==!0&&a.chkDisabled!==!0&&c.treeObj.trigger(j.event.CHECK,[null,c.treeId,a])}}}},event:{},data:{getRadioCheckedList:function(c){for(var a=f.getRoot(c).radioCheckedList,b=0,d=a.length;b-1&&a.check_Child_State<2:a.check_Child_State>0}},getTreeCheckedNodes:function(c,a,b,d){if(!a)return[];for(var h=c.data.key.children,i=c.data.key.checked,e=b&&c.check.chkStyle==j.radio.STYLE&&c.check.radioType==j.radio.TYPE_ALL, +d=!d?[]:d,g=0,k=a.length;g0)break}return d},getTreeChangeCheckedNodes:function(c,a,b){if(!a)return[];for(var d=c.data.key.children,h=c.data.key.checked,b=!b?[]:b,i=0,e=a.length;i0?2:0,f==2){h=2;break}else f==0&&(h=0);else if(c.check.chkStyle==j.checkbox.STYLE)if(f=g.nocheck===!0||g.chkDisabled===!0?g.check_Child_State:g.halfCheck===!0?1:g[d]?g.check_Child_State===-1||g.check_Child_State===2?2:1:g.check_Child_State>0?1:0,f===1){h=1;break}else if(f=== +2&&h>-1&&i>0&&f!==h){h=1;break}else if(h===2&&f>-1&&f<2){h=1;break}else f>-1&&(h=f)}a.check_Child_State=h}}}});var m=m.fn.zTree,k=m._z.tools,j=m.consts,e=m._z.view,f=m._z.data,n=k.$;f.exSetting(v);f.addInitBind(function(c){c.treeObj.bind(j.event.CHECK,function(a,b,d,h){a.srcEvent=b;k.apply(c.callback.onCheck,[a,d,h])})});f.addInitUnBind(function(c){c.treeObj.unbind(j.event.CHECK)});f.addInitCache(function(){});f.addInitNode(function(c,a,b,d){if(b){a=c.data.key.checked;typeof b[a]=="string"&&(b[a]= +k.eqs(b[a],"true"));b[a]=!!b[a];b.checkedOld=b[a];if(typeof b.nocheck=="string")b.nocheck=k.eqs(b.nocheck,"true");b.nocheck=!!b.nocheck||c.check.nocheckInherit&&d&&!!d.nocheck;if(typeof b.chkDisabled=="string")b.chkDisabled=k.eqs(b.chkDisabled,"true");b.chkDisabled=!!b.chkDisabled||c.check.chkDisabledInherit&&d&&!!d.chkDisabled;if(typeof b.halfCheck=="string")b.halfCheck=k.eqs(b.halfCheck,"true");b.halfCheck=!!b.halfCheck;b.check_Child_State=-1;b.check_Focus=!1;b.getCheckStatus=function(){return f.getCheckStatus(c, +b)};c.check.chkStyle==j.radio.STYLE&&c.check.radioType==j.radio.TYPE_ALL&&b[a]&&f.getRoot(c).radioCheckedList.push(b)}});f.addInitProxy(function(c){var a=c.target,b=f.getSetting(c.data.treeId),d="",h=null,e="",l=null;if(k.eqs(c.type,"mouseover")){if(b.check.enable&&k.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+j.id.CHECK)!==null)d=k.getNodeMainDom(a).id,e="mouseoverCheck"}else if(k.eqs(c.type,"mouseout")){if(b.check.enable&&k.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+j.id.CHECK)!==null)d= +k.getNodeMainDom(a).id,e="mouseoutCheck"}else if(k.eqs(c.type,"click")&&b.check.enable&&k.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+j.id.CHECK)!==null)d=k.getNodeMainDom(a).id,e="checkNode";if(d.length>0)switch(h=f.getNodeCache(b,d),e){case "checkNode":l=p;break;case "mouseoverCheck":l=q;break;case "mouseoutCheck":l=r}return{stop:e==="checkNode",node:h,nodeEventType:e,nodeEventCallback:l,treeEventType:"",treeEventCallback:null}},!0);f.addInitRoot(function(c){f.getRoot(c).radioCheckedList=[]}); +f.addBeforeA(function(c,a,b){c.check.enable&&(f.makeChkFlag(c,a),b.push(""))});f.addZTreeTools(function(c,a){a.checkNode=function(a,b,c,f){var g=this.setting.data.key.checked;if(a.chkDisabled!==!0&&(b!==!0&&b!==!1&&(b=!a[g]),f=!!f,(a[g]!==b||c)&&!(f&&k.apply(this.setting.callback.beforeCheck,[this.setting.treeId,a],!0)==!1)&&k.uCanDo(this.setting)&&this.setting.check.enable&& +a.nocheck!==!0))a[g]=b,b=n(a,j.id.CHECK,this.setting),(c||this.setting.check.chkStyle===j.radio.STYLE)&&e.checkNodeRelation(this.setting,a),e.setChkClass(this.setting,b,a),e.repairParentChkClassWithSelf(this.setting,a),f&&this.setting.treeObj.trigger(j.event.CHECK,[null,this.setting.treeId,a])};a.checkAllNodes=function(a){e.repairAllChk(this.setting,!!a)};a.getCheckedNodes=function(a){var b=this.setting.data.key.children;return f.getTreeCheckedNodes(this.setting,f.getRoot(this.setting)[b],a!==!1)}; +a.getChangeCheckedNodes=function(){var a=this.setting.data.key.children;return f.getTreeChangeCheckedNodes(this.setting,f.getRoot(this.setting)[a])};a.setChkDisabled=function(a,b,c,f){b=!!b;c=!!c;e.repairSonChkDisabled(this.setting,a,b,!!f);e.repairParentChkDisabled(this.setting,a.getParentNode(),b,c)};var b=a.updateNode;a.updateNode=function(c,f){b&&b.apply(a,arguments);if(c&&this.setting.check.enable&&n(c,this.setting).get(0)&&k.uCanDo(this.setting)){var i=n(c,j.id.CHECK,this.setting);(f==!0||this.setting.check.chkStyle=== +j.radio.STYLE)&&e.checkNodeRelation(this.setting,c);e.setChkClass(this.setting,i,c);e.repairParentChkClassWithSelf(this.setting,c)}}});var s=e.createNodes;e.createNodes=function(c,a,b,d){s&&s.apply(e,arguments);b&&e.repairParentChkClassWithSelf(c,d)};var t=e.removeNode;e.removeNode=function(c,a){var b=a.getParentNode();t&&t.apply(e,arguments);a&&b&&(e.repairChkClass(c,b),e.repairParentChkClass(c,b))};var u=e.appendNodes;e.appendNodes=function(c,a,b,d,h,i){var j="";u&&(j=u.apply(e,arguments));d&&f.makeChkFlag(c, +d);return j}})(jQuery); + +/* + * JQuery zTree exedit v3.5.16 + * http://zTree.me/ + * + * Copyright (c) 2010 Hunter.z + * + * Licensed same as jquery - MIT License + * http://www.opensource.org/licenses/mit-license.php + * + * email: hunter.z@263.net + * Date: 2014-03-09 + */ +(function(w){var I={event:{DRAG:"ztree_drag",DROP:"ztree_drop",RENAME:"ztree_rename",DRAGMOVE:"ztree_dragmove"},id:{EDIT:"_edit",INPUT:"_input",REMOVE:"_remove"},move:{TYPE_INNER:"inner",TYPE_PREV:"prev",TYPE_NEXT:"next"},node:{CURSELECTED_EDIT:"curSelectedNode_Edit",TMPTARGET_TREE:"tmpTargetzTree",TMPTARGET_NODE:"tmpTargetNode"}},x={onHoverOverNode:function(b,a){var c=m.getSetting(b.data.treeId),d=m.getRoot(c);if(d.curHoverNode!=a)x.onHoverOutNode(b);d.curHoverNode=a;f.addHoverDom(c,a)},onHoverOutNode:function(b){var b= +m.getSetting(b.data.treeId),a=m.getRoot(b);if(a.curHoverNode&&!m.isSelectedNode(b,a.curHoverNode))f.removeTreeDom(b,a.curHoverNode),a.curHoverNode=null},onMousedownNode:function(b,a){function c(b){if(C.dragFlag==0&&Math.abs(N-b.clientX)1){var j=l[0].parentTId?l[0].getParentNode()[i]:m.getNodes(e);i=[];for(a=0,c=j.length;a-1&&k+1!==a&&(n=!1),i.push(j[a]),k=a),l.length===i.length){l=i;break}}n&&(H=l[0].getPreNode(),R=l[l.length-1].getNextNode());D=o("
                      ", +e);for(a=0,c=l.length;a0),f.removeTreeDom(e,n),a>e.edit.drag.maxShowNodeNum-1||(k=o("
                    • ",e),k.append(o(n,d.id.A,e).clone()),k.css("padding","0"),k.children("#"+n.tId+d.id.A).removeClass(d.node.CURSELECTED),D.append(k),a==e.edit.drag.maxShowNodeNum-1&&(k=o("
                    • ...
                    • ",e),D.append(k)));D.attr("id",l[0].tId+d.id.UL+"_tmp");D.addClass(e.treeObj.attr("class"));D.appendTo(M);B=o("", +e);B.attr("id","zTreeMove_arrow_tmp");B.appendTo(M);e.treeObj.trigger(d.event.DRAG,[b,e.treeId,l])}if(C.dragFlag==1){s&&B.attr("id")==b.target.id&&u&&b.clientX+F.scrollLeft()+2>w("#"+u+d.id.A,s).offset().left?(n=w("#"+u+d.id.A,s),b.target=n.length>0?n.get(0):b.target):s&&(s.removeClass(d.node.TMPTARGET_TREE),u&&w("#"+u+d.id.A,s).removeClass(d.node.TMPTARGET_NODE+"_"+d.move.TYPE_PREV).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_NEXT).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_INNER)); +u=s=null;J=!1;h=e;n=m.getSettings();for(var y in n)if(n[y].treeId&&n[y].edit.enable&&n[y].treeId!=e.treeId&&(b.target.id==n[y].treeId||w(b.target).parents("#"+n[y].treeId).length>0))J=!0,h=n[y];y=F.scrollTop();k=F.scrollLeft();i=h.treeObj.offset();a=h.treeObj.get(0).scrollHeight;n=h.treeObj.get(0).scrollWidth;c=b.clientY+y-i.top;var p=h.treeObj.height()+i.top-b.clientY-y,q=b.clientX+k-i.left,x=h.treeObj.width()+i.left-b.clientX-k;i=ce.edit.drag.borderMin;var j=pe.edit.drag.borderMin,K=qe.edit.drag.borderMin,G=xe.edit.drag.borderMin,p=c>e.edit.drag.borderMin&&p>e.edit.drag.borderMin&&q>e.edit.drag.borderMin&&x>e.edit.drag.borderMin,q=i&&h.treeObj.scrollTop()<=0,x=j&&h.treeObj.scrollTop()+h.treeObj.height()+10>=a,P=K&&h.treeObj.scrollLeft()<=0,Q=G&&h.treeObj.scrollLeft()+h.treeObj.width()+10>=n;if(b.target&&g.isChildOrSelf(b.target,h.treeId)){for(var E=b.target;E&&E.tagName&&!g.eqs(E.tagName,"li")&&E.id!= +h.treeId;)E=E.parentNode;var S=!0;for(a=0,c=l.length;a0){S=!1;break}if(S&&b.target&&g.isChildOrSelf(b.target,E.id+d.id.A))s=w(E),u=E.id}n=l[0];if(p&&g.isChildOrSelf(b.target,h.treeId)){if(!s&&(b.target.id==h.treeId||q||x||P||Q)&&(J||!J&&n.parentTId))s=h.treeObj;i?h.treeObj.scrollTop(h.treeObj.scrollTop()-10):j&&h.treeObj.scrollTop(h.treeObj.scrollTop()+10);K?h.treeObj.scrollLeft(h.treeObj.scrollLeft()-10):G&&h.treeObj.scrollLeft(h.treeObj.scrollLeft()+ +10);s&&s!=h.treeObj&&s.offset().left=-0.2)&&n?(a=1-B.width(),i=j-B.height()/2,v=d.move.TYPE_PREV):(G==0||y>=G&&y<=1.2)&&a?(a=1-B.width(),i=i==null||z.isParent&&z.open?j+c.height()-B.height()/2:i.offset().top-B.height()/2,v=d.move.TYPE_NEXT):(a=5-B.width(),i=j,v=d.move.TYPE_INNER);B.css({display:"block",top:i+"px",left:k+a+"px"});c.addClass(d.node.TMPTARGET_NODE+"_"+v);if(T!=u||U!=v)L=(new Date).getTime();if(z&&z.isParent&&v==d.move.TYPE_INNER&&(y=!0,window.zTreeMoveTimer&& +window.zTreeMoveTargetNodeTId!==z.tId?(clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null):window.zTreeMoveTimer&&window.zTreeMoveTargetNodeTId===z.tId&&(y=!1),y))window.zTreeMoveTimer=setTimeout(function(){v==d.move.TYPE_INNER&&z&&z.isParent&&!z.open&&(new Date).getTime()-L>h.edit.drag.autoOpenTime&&g.apply(h.callback.beforeDragOpen,[h.treeId,z],!0)&&(f.switchNode(h,z),h.edit.drag.autoExpandTrigger&&h.treeObj.trigger(d.event.EXPAND,[h.treeId,z]))},h.edit.drag.autoOpenTime+50), +window.zTreeMoveTargetNodeTId=z.tId}}else if(v=d.move.TYPE_INNER,s&&g.apply(h.edit.drag.inner,[h.treeId,l,null],!!h.edit.drag.inner)?s.addClass(d.node.TMPTARGET_TREE):s=null,B.css({display:"none"}),window.zTreeMoveTimer)clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null;T=u;U=v;e.treeObj.trigger(d.event.DRAGMOVE,[b,e.treeId,l])}return!1}function r(b){if(window.zTreeMoveTimer)clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null;U=T=null;F.unbind("mousemove",c); +F.unbind("mouseup",r);F.unbind("selectstart",k);M.css("cursor","auto");s&&(s.removeClass(d.node.TMPTARGET_TREE),u&&w("#"+u+d.id.A,s).removeClass(d.node.TMPTARGET_NODE+"_"+d.move.TYPE_PREV).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_NEXT).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_INNER));g.showIfameMask(e,!1);t.showHoverDom=!0;if(C.dragFlag!=0){C.dragFlag=0;var a,i,j;for(a=0,i=l.length;a0;)c.dragMaskList[0].remove(),c.dragMaskList.shift();if(a)for(var d=o("iframe",b),f=0,i=d.length;f",b);j.appendTo(o("body",b));c.dragMaskList.push(j)}}},view:{addEditBtn:function(b, +a){if(!(a.editNameFlag||o(a,d.id.EDIT,b).length>0)&&g.apply(b.edit.showRenameBtn,[b.treeId,a],b.edit.showRenameBtn)){var c=o(a,d.id.A,b),r="";c.append(r);o(a,d.id.EDIT,b).bind("click",function(){if(!g.uCanDo(b)||g.apply(b.callback.beforeEditName,[b.treeId,a],!0)==!1)return!1;f.editNode(b,a);return!1}).show()}}, +addRemoveBtn:function(b,a){if(!(a.editNameFlag||o(a,d.id.REMOVE,b).length>0)&&g.apply(b.edit.showRemoveBtn,[b.treeId,a],b.edit.showRemoveBtn)){var c=o(a,d.id.A,b),r="";c.append(r);o(a,d.id.REMOVE,b).bind("click",function(){if(!g.uCanDo(b)||g.apply(b.callback.beforeRemove,[b.treeId,a],!0)==!1)return!1;f.removeNode(b, +a);b.treeObj.trigger(d.event.REMOVE,[b.treeId,a]);return!1}).bind("mousedown",function(){return!0}).show()}},addHoverDom:function(b,a){if(m.getRoots().showHoverDom)a.isHover=!0,b.edit.enable&&(f.addEditBtn(b,a),f.addRemoveBtn(b,a)),g.apply(b.view.addHoverDom,[b.treeId,a])},cancelCurEditNode:function(b,a,c){var r=m.getRoot(b),k=b.data.key.name,i=r.curEditNode;if(i){var j=r.curEditInput,a=a?a:c?i[k]:j.val();if(g.apply(b.callback.beforeRename,[b.treeId,i,a,c],!0)===!1)return!1;else i[k]=a,b.treeObj.trigger(d.event.RENAME, +[b.treeId,i,c]);o(i,d.id.A,b).removeClass(d.node.CURSELECTED_EDIT);j.unbind();f.setNodeName(b,i);i.editNameFlag=!1;r.curEditNode=null;r.curEditInput=null;f.selectNode(b,i,!1)}return r.noSelection=!0},editNode:function(b,a){var c=m.getRoot(b);f.editNodeBlur=!1;if(m.isSelectedNode(b,a)&&c.curEditNode==a&&a.editNameFlag)setTimeout(function(){g.inputFocus(c.curEditInput)},0);else{var r=b.data.key.name;a.editNameFlag=!0;f.removeTreeDom(b,a);f.cancelCurEditNode(b);f.selectNode(b,a,!1);o(a,d.id.SPAN,b).html("");var k=o(a,d.id.INPUT,b);k.attr("value",a[r]);b.edit.editNameSelectAll?g.inputSelect(k):g.inputFocus(k);k.bind("blur",function(){f.editNodeBlur||f.cancelCurEditNode(b)}).bind("keydown",function(a){a.keyCode=="13"?(f.editNodeBlur=!0,f.cancelCurEditNode(b)):a.keyCode=="27"&&f.cancelCurEditNode(b,null,!0)}).bind("click",function(){return!1}).bind("dblclick",function(){return!1});o(a,d.id.A,b).addClass(d.node.CURSELECTED_EDIT);c.curEditInput=k;c.noSelection= +!1;c.curEditNode=a}},moveNode:function(b,a,c,r,k,i){var j=m.getRoot(b),e=b.data.key.children;if(a!=c&&(!b.data.keep.leaf||!a||a.isParent||r!=d.move.TYPE_INNER)){var g=c.parentTId?c.getParentNode():j,t=a===null||a==j;t&&a===null&&(a=j);if(t)r=d.move.TYPE_INNER;j=a.parentTId?a.getParentNode():j;if(r!=d.move.TYPE_PREV&&r!=d.move.TYPE_NEXT)r=d.move.TYPE_INNER;if(r==d.move.TYPE_INNER)if(t)c.parentTId=null;else{if(!a.isParent)a.isParent=!0,a.open=!!a.open,f.setNodeLineIcos(b,a);c.parentTId=a.tId}var p; +t?p=t=b.treeObj:(!i&&r==d.move.TYPE_INNER?f.expandCollapseNode(b,a,!0,!1):i||f.expandCollapseNode(b,a.getParentNode(),!0,!1),t=o(a,b),p=o(a,d.id.UL,b),t.get(0)&&!p.get(0)&&(p=[],f.makeUlHtml(b,a,p,""),t.append(p.join(""))),p=o(a,d.id.UL,b));var q=o(c,b);q.get(0)?t.get(0)||q.remove():q=f.appendNodes(b,c.level,[c],null,!1,!0).join("");p.get(0)&&r==d.move.TYPE_INNER?p.append(q):t.get(0)&&r==d.move.TYPE_PREV?t.before(q):t.get(0)&&r==d.move.TYPE_NEXT&&t.after(q);var l=-1,w=0,x=null,t=null,D=c.level;if(c.isFirstNode){if(l= +0,g[e].length>1)x=g[e][1],x.isFirstNode=!0}else if(c.isLastNode)l=g[e].length-1,x=g[e][l-1],x.isLastNode=!0;else for(p=0,q=g[e].length;p=0&&g[e].splice(l,1);if(r!=d.move.TYPE_INNER)for(p=0,q=j[e].length;p0)t=a[e][a[e].length-1],t.isLastNode=!1;a[e].splice(a[e].length,0,c);c.isLastNode=!0;c.isFirstNode=a[e].length==1}else a.isFirstNode&&r==d.move.TYPE_PREV?(j[e].splice(w, +0,c),t=a,t.isFirstNode=!1,c.parentTId=a.parentTId,c.isFirstNode=!0,c.isLastNode=!1):a.isLastNode&&r==d.move.TYPE_NEXT?(j[e].splice(w+1,0,c),t=a,t.isLastNode=!1,c.parentTId=a.parentTId,c.isFirstNode=!1,c.isLastNode=!0):(r==d.move.TYPE_PREV?j[e].splice(w,0,c):j[e].splice(w+1,0,c),c.parentTId=a.parentTId,c.isFirstNode=!1,c.isLastNode=!1);m.fixPIdKeyValue(b,c);m.setSonNodeLevel(b,c.getParentNode(),c);f.setNodeLineIcos(b,c);f.repairNodeLevelClass(b,c,D);!b.data.keep.parent&&g[e].length<1?(g.isParent=!1, +g.open=!1,a=o(g,d.id.UL,b),r=o(g,d.id.SWITCH,b),e=o(g,d.id.ICON,b),f.replaceSwitchClass(g,r,d.folder.DOCU),f.replaceIcoClass(g,e,d.folder.DOCU),a.css("display","none")):x&&f.setNodeLineIcos(b,x);t&&f.setNodeLineIcos(b,t);b.check&&b.check.enable&&f.repairChkClass&&(f.repairChkClass(b,g),f.repairParentChkClassWithSelf(b,g),g!=c.parent&&f.repairParentChkClassWithSelf(b,c));i||f.expandCollapseParentNode(b,c.getParentNode(),!0,k)}},removeEditBtn:function(b,a){o(a,d.id.EDIT,b).unbind().remove()},removeRemoveBtn:function(b, +a){o(a,d.id.REMOVE,b).unbind().remove()},removeTreeDom:function(b,a){a.isHover=!1;f.removeEditBtn(b,a);f.removeRemoveBtn(b,a);g.apply(b.view.removeHoverDom,[b.treeId,a])},repairNodeLevelClass:function(b,a,c){if(c!==a.level){var f=o(a,b),g=o(a,d.id.A,b),b=o(a,d.id.UL,b),c=d.className.LEVEL+c,a=d.className.LEVEL+a.level;f.removeClass(c);f.addClass(a);g.removeClass(c);g.addClass(a);b.removeClass(c);b.addClass(a)}},selectNodes:function(b,a){for(var c=0,d=a.length;c0)}},event:{}, +data:{setSonNodeLevel:function(b,a,c){if(c){var d=b.data.key.children;c.level=a?a.level+1:0;if(c[d])for(var a=0,f=c[d].length;a0)switch(i=m.getNodeCache(c,k),j){case "mousedownNode":e=x.onMousedownNode;break;case "hoverOverNode":e=x.onHoverOverNode;break;case "hoverOutNode":e=x.onHoverOutNode}return{stop:!1, +node:i,nodeEventType:j,nodeEventCallback:e,treeEventType:"",treeEventCallback:null}});m.addInitRoot(function(b){var b=m.getRoot(b),a=m.getRoots();b.curEditNode=null;b.curEditInput=null;b.curHoverNode=null;b.dragFlag=0;b.dragNodeShowBefore=[];b.dragMaskList=[];a.showHoverDom=!0});m.addZTreeTools(function(b,a){a.cancelEditName=function(a){m.getRoot(this.setting).curEditNode&&f.cancelCurEditNode(this.setting,a?a:null,!0)};a.copyNode=function(a,b,k,i){if(!b)return null;if(a&&!a.isParent&&this.setting.data.keep.leaf&& +k===d.move.TYPE_INNER)return null;var j=this,e=g.clone(b);if(!a)a=null,k=d.move.TYPE_INNER;k==d.move.TYPE_INNER?(b=function(){f.addNodes(j.setting,a,[e],i)},g.canAsync(this.setting,a)?f.asyncNode(this.setting,a,i,b):b()):(f.addNodes(this.setting,a.parentNode,[e],i),f.moveNode(this.setting,a,e,k,!1,i));return e};a.editName=function(a){a&&a.tId&&a===m.getNodeCache(this.setting,a.tId)&&(a.parentTId&&f.expandCollapseParentNode(this.setting,a.getParentNode(),!0),f.editNode(this.setting,a))};a.moveNode= +function(a,b,k,i){function j(){f.moveNode(e.setting,a,b,k,!1,i)}if(!b)return b;if(a&&!a.isParent&&this.setting.data.keep.leaf&&k===d.move.TYPE_INNER)return null;else if(a&&(b.parentTId==a.tId&&k==d.move.TYPE_INNER||o(b,this.setting).find("#"+a.tId).length>0))return null;else a||(a=null);var e=this;g.canAsync(this.setting,a)&&k===d.move.TYPE_INNER?f.asyncNode(this.setting,a,i,j):j();return b};a.setEditable=function(a){this.setting.edit.enable=a;return this.refresh()}});var N=f.cancelPreSelectedNode; +f.cancelPreSelectedNode=function(b,a){for(var c=m.getRoot(b).curSelectedList,d=0,g=c.length;d 0 && tId.length == 0) { + tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]); + if (tmp) {tId = tools.getNodeMainDom(tmp).id;} + } + // event to node + if (tId.length>0) { + node = data.getNodeCache(setting, tId); + switch (nodeEventType) { + case "switchNode" : + if (!node.isParent) { + nodeEventType = ""; + } else if (tools.eqs(event.type, "click") + || (tools.eqs(event.type, "dblclick") && tools.apply(setting.view.dblClickExpand, [setting.treeId, node], setting.view.dblClickExpand))) { + nodeEventCallback = handler.onSwitchNode; + } else { + nodeEventType = ""; + } + break; + case "clickNode" : + nodeEventCallback = handler.onClickNode; + break; + } + } + // event to zTree + switch (treeEventType) { + case "mousedown" : + treeEventCallback = handler.onZTreeMousedown; + break; + case "mouseup" : + treeEventCallback = handler.onZTreeMouseup; + break; + case "dblclick" : + treeEventCallback = handler.onZTreeDblclick; + break; + case "contextmenu" : + treeEventCallback = handler.onZTreeContextmenu; + break; + } + var proxyResult = { + stop: false, + node: node, + nodeEventType: nodeEventType, + nodeEventCallback: nodeEventCallback, + treeEventType: treeEventType, + treeEventCallback: treeEventCallback + }; + return proxyResult + }, + //default init node of core + _initNode = function(setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) { + if (!n) return; + var r = data.getRoot(setting), + childKey = setting.data.key.children; + n.level = level; + n.tId = setting.treeId + "_" + (++r.zId); + n.parentTId = parentNode ? parentNode.tId : null; + n.open = (typeof n.open == "string") ? tools.eqs(n.open, "true") : !!n.open; + if (n[childKey] && n[childKey].length > 0) { + n.isParent = true; + n.zAsync = true; + } else { + n.isParent = (typeof n.isParent == "string") ? tools.eqs(n.isParent, "true") : !!n.isParent; + n.open = (n.isParent && !setting.async.enable) ? n.open : false; + n.zAsync = !n.isParent; + } + n.isFirstNode = isFirstNode; + n.isLastNode = isLastNode; + n.getParentNode = function() {return data.getNodeCache(setting, n.parentTId);}; + n.getPreNode = function() {return data.getPreNode(setting, n);}; + n.getNextNode = function() {return data.getNextNode(setting, n);}; + n.isAjaxing = false; + data.fixPIdKeyValue(setting, n); + }, + _init = { + bind: [_bindEvent], + unbind: [_unbindEvent], + caches: [_initCache], + nodes: [_initNode], + proxys: [_eventProxy], + roots: [_initRoot], + beforeA: [], + afterA: [], + innerBeforeA: [], + innerAfterA: [], + zTreeTools: [] + }, + //method of operate data + data = { + addNodeCache: function(setting, node) { + data.getCache(setting).nodes[data.getNodeCacheId(node.tId)] = node; + }, + getNodeCacheId: function(tId) { + return tId.substring(tId.lastIndexOf("_")+1); + }, + addAfterA: function(afterA) { + _init.afterA.push(afterA); + }, + addBeforeA: function(beforeA) { + _init.beforeA.push(beforeA); + }, + addInnerAfterA: function(innerAfterA) { + _init.innerAfterA.push(innerAfterA); + }, + addInnerBeforeA: function(innerBeforeA) { + _init.innerBeforeA.push(innerBeforeA); + }, + addInitBind: function(bindEvent) { + _init.bind.push(bindEvent); + }, + addInitUnBind: function(unbindEvent) { + _init.unbind.push(unbindEvent); + }, + addInitCache: function(initCache) { + _init.caches.push(initCache); + }, + addInitNode: function(initNode) { + _init.nodes.push(initNode); + }, + addInitProxy: function(initProxy, isFirst) { + if (!!isFirst) { + _init.proxys.splice(0,0,initProxy); + } else { + _init.proxys.push(initProxy); + } + }, + addInitRoot: function(initRoot) { + _init.roots.push(initRoot); + }, + addNodesData: function(setting, parentNode, nodes) { + var childKey = setting.data.key.children; + if (!parentNode[childKey]) parentNode[childKey] = []; + if (parentNode[childKey].length > 0) { + parentNode[childKey][parentNode[childKey].length - 1].isLastNode = false; + view.setNodeLineIcos(setting, parentNode[childKey][parentNode[childKey].length - 1]); + } + parentNode.isParent = true; + parentNode[childKey] = parentNode[childKey].concat(nodes); + }, + addSelectedNode: function(setting, node) { + var root = data.getRoot(setting); + if (!data.isSelectedNode(setting, node)) { + root.curSelectedList.push(node); + } + }, + addCreatedNode: function(setting, node) { + if (!!setting.callback.onNodeCreated || !!setting.view.addDiyDom) { + var root = data.getRoot(setting); + root.createdNodes.push(node); + } + }, + addZTreeTools: function(zTreeTools) { + _init.zTreeTools.push(zTreeTools); + }, + exSetting: function(s) { + $.extend(true, _setting, s); + }, + fixPIdKeyValue: function(setting, node) { + if (setting.data.simpleData.enable) { + node[setting.data.simpleData.pIdKey] = node.parentTId ? node.getParentNode()[setting.data.simpleData.idKey] : setting.data.simpleData.rootPId; + } + }, + getAfterA: function(setting, node, array) { + for (var i=0, j=_init.afterA.length; i-1) { + result.push(nodes[i]); + } + result = result.concat(data.getNodesByParamFuzzy(setting, nodes[i][childKey], key, value)); + } + return result; + }, + getNodesByFilter: function(setting, nodes, filter, isSingle, invokeParam) { + if (!nodes) return (isSingle ? null : []); + var childKey = setting.data.key.children, + result = isSingle ? null : []; + for (var i = 0, l = nodes.length; i < l; i++) { + if (tools.apply(filter, [nodes[i], invokeParam], false)) { + if (isSingle) {return nodes[i];} + result.push(nodes[i]); + } + var tmpResult = data.getNodesByFilter(setting, nodes[i][childKey], filter, isSingle, invokeParam); + if (isSingle && !!tmpResult) {return tmpResult;} + result = isSingle ? tmpResult : result.concat(tmpResult); + } + return result; + }, + getPreNode: function(setting, node) { + if (!node) return null; + var childKey = setting.data.key.children, + p = node.parentTId ? node.getParentNode() : data.getRoot(setting); + for (var i=0, l=p[childKey].length; i 0))); + }, + clone: function (obj){ + if (obj === null) return null; + var o = tools.isArray(obj) ? [] : {}; + for(var i in obj){ + o[i] = (obj[i] instanceof Date) ? new Date(obj[i].getTime()) : (typeof obj[i] === "object" ? arguments.callee(obj[i]) : obj[i]); + } + return o; + }, + eqs: function(str1, str2) { + return str1.toLowerCase() === str2.toLowerCase(); + }, + isArray: function(arr) { + return Object.prototype.toString.apply(arr) === "[object Array]"; + }, + $: function(node, exp, setting) { + if (!!exp && typeof exp != "string") { + setting = exp; + exp = ""; + } + if (typeof node == "string") { + return $(node, setting ? setting.treeObj.get(0).ownerDocument : null); + } else { + return $("#" + node.tId + exp, setting ? setting.treeObj : null); + } + }, + getMDom: function (setting, curDom, targetExpr) { + if (!curDom) return null; + while (curDom && curDom.id !== setting.treeId) { + for (var i=0, l=targetExpr.length; curDom.tagName && i 0 ); + }, + uCanDo: function(setting, e) { + return true; + } + }, + //method of operate ztree dom + view = { + addNodes: function(setting, parentNode, newNodes, isSilent) { + if (setting.data.keep.leaf && parentNode && !parentNode.isParent) { + return; + } + if (!tools.isArray(newNodes)) { + newNodes = [newNodes]; + } + if (setting.data.simpleData.enable) { + newNodes = data.transformTozTreeFormat(setting, newNodes); + } + if (parentNode) { + var target_switchObj = $$(parentNode, consts.id.SWITCH, setting), + target_icoObj = $$(parentNode, consts.id.ICON, setting), + target_ulObj = $$(parentNode, consts.id.UL, setting); + + if (!parentNode.open) { + view.replaceSwitchClass(parentNode, target_switchObj, consts.folder.CLOSE); + view.replaceIcoClass(parentNode, target_icoObj, consts.folder.CLOSE); + parentNode.open = false; + target_ulObj.css({ + "display": "none" + }); + } + + data.addNodesData(setting, parentNode, newNodes); + view.createNodes(setting, parentNode.level + 1, newNodes, parentNode); + if (!isSilent) { + view.expandCollapseParentNode(setting, parentNode, true); + } + } else { + data.addNodesData(setting, data.getRoot(setting), newNodes); + view.createNodes(setting, 0, newNodes, null); + } + }, + appendNodes: function(setting, level, nodes, parentNode, initFlag, openFlag) { + if (!nodes) return []; + var html = [], + childKey = setting.data.key.children; + for (var i = 0, l = nodes.length; i < l; i++) { + var node = nodes[i]; + if (initFlag) { + var tmpPNode = (parentNode) ? parentNode: data.getRoot(setting), + tmpPChild = tmpPNode[childKey], + isFirstNode = ((tmpPChild.length == nodes.length) && (i == 0)), + isLastNode = (i == (nodes.length - 1)); + data.initNode(setting, level, node, parentNode, isFirstNode, isLastNode, openFlag); + data.addNodeCache(setting, node); + } + + var childHtml = []; + if (node[childKey] && node[childKey].length > 0) { + //make child html first, because checkType + childHtml = view.appendNodes(setting, level + 1, node[childKey], node, initFlag, openFlag && node.open); + } + if (openFlag) { + + view.makeDOMNodeMainBefore(html, setting, node); + view.makeDOMNodeLine(html, setting, node); + data.getBeforeA(setting, node, html); + view.makeDOMNodeNameBefore(html, setting, node); + data.getInnerBeforeA(setting, node, html); + view.makeDOMNodeIcon(html, setting, node); + data.getInnerAfterA(setting, node, html); + view.makeDOMNodeNameAfter(html, setting, node); + data.getAfterA(setting, node, html); + if (node.isParent && node.open) { + view.makeUlHtml(setting, node, html, childHtml.join('')); + } + view.makeDOMNodeMainAfter(html, setting, node); + data.addCreatedNode(setting, node); + } + } + return html; + }, + appendParentULDom: function(setting, node) { + var html = [], + nObj = $$(node, setting); + if (!nObj.get(0) && !!node.parentTId) { + view.appendParentULDom(setting, node.getParentNode()); + nObj = $$(node, setting); + } + var ulObj = $$(node, consts.id.UL, setting); + if (ulObj.get(0)) { + ulObj.remove(); + } + var childKey = setting.data.key.children, + childHtml = view.appendNodes(setting, node.level+1, node[childKey], node, false, true); + view.makeUlHtml(setting, node, html, childHtml.join('')); + nObj.append(html.join('')); + }, + asyncNode: function(setting, node, isSilent, callback) { + var i, l; + if (node && !node.isParent) { + tools.apply(callback); + return false; + } else if (node && node.isAjaxing) { + return false; + } else if (tools.apply(setting.callback.beforeAsync, [setting.treeId, node], true) == false) { + tools.apply(callback); + return false; + } + if (node) { + node.isAjaxing = true; + var icoObj = $$(node, consts.id.ICON, setting); + icoObj.attr({"style":"", "class":consts.className.BUTTON + " " + consts.className.ICO_LOADING}); + } + + var tmpParam = {}; + for (i = 0, l = setting.async.autoParam.length; node && i < l; i++) { + var pKey = setting.async.autoParam[i].split("="), spKey = pKey; + if (pKey.length>1) { + spKey = pKey[1]; + pKey = pKey[0]; + } + tmpParam[spKey] = node[pKey]; + } + if (tools.isArray(setting.async.otherParam)) { + for (i = 0, l = setting.async.otherParam.length; i < l; i += 2) { + tmpParam[setting.async.otherParam[i]] = setting.async.otherParam[i + 1]; + } + } else { + for (var p in setting.async.otherParam) { + tmpParam[p] = setting.async.otherParam[p]; + } + } + + var _tmpV = data.getRoot(setting)._ver; + $.ajax({ + contentType: setting.async.contentType, + type: setting.async.type, + url: tools.apply(setting.async.url, [setting.treeId, node], setting.async.url), + data: tmpParam, + dataType: setting.async.dataType, + success: function(msg) { + if (_tmpV != data.getRoot(setting)._ver) { + return; + } + var newNodes = []; + try { + if (!msg || msg.length == 0) { + newNodes = []; + } else if (typeof msg == "string") { + newNodes = eval("(" + msg + ")"); + } else { + newNodes = msg; + } + } catch(err) { + newNodes = msg; + } + + if (node) { + node.isAjaxing = null; + node.zAsync = true; + } + view.setNodeLineIcos(setting, node); + if (newNodes && newNodes !== "") { + newNodes = tools.apply(setting.async.dataFilter, [setting.treeId, node, newNodes], newNodes); + view.addNodes(setting, node, !!newNodes ? tools.clone(newNodes) : [], !!isSilent); + } else { + view.addNodes(setting, node, [], !!isSilent); + } + setting.treeObj.trigger(consts.event.ASYNC_SUCCESS, [setting.treeId, node, msg]); + tools.apply(callback); + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (_tmpV != data.getRoot(setting)._ver) { + return; + } + if (node) node.isAjaxing = null; + view.setNodeLineIcos(setting, node); + setting.treeObj.trigger(consts.event.ASYNC_ERROR, [setting.treeId, node, XMLHttpRequest, textStatus, errorThrown]); + } + }); + return true; + }, + cancelPreSelectedNode: function (setting, node) { + var list = data.getRoot(setting).curSelectedList; + for (var i=0, j=list.length-1; j>=i; j--) { + if (!node || node === list[j]) { + $$(list[j], consts.id.A, setting).removeClass(consts.node.CURSELECTED); + if (node) { + data.removeSelectedNode(setting, node); + break; + } + } + } + if (!node) data.getRoot(setting).curSelectedList = []; + }, + createNodeCallback: function(setting) { + if (!!setting.callback.onNodeCreated || !!setting.view.addDiyDom) { + var root = data.getRoot(setting); + while (root.createdNodes.length>0) { + var node = root.createdNodes.shift(); + tools.apply(setting.view.addDiyDom, [setting.treeId, node]); + if (!!setting.callback.onNodeCreated) { + setting.treeObj.trigger(consts.event.NODECREATED, [setting.treeId, node]); + } + } + } + }, + createNodes: function(setting, level, nodes, parentNode) { + if (!nodes || nodes.length == 0) return; + var root = data.getRoot(setting), + childKey = setting.data.key.children, + openFlag = !parentNode || parentNode.open || !!$$(parentNode[childKey][0], setting).get(0); + root.createdNodes = []; + var zTreeHtml = view.appendNodes(setting, level, nodes, parentNode, true, openFlag); + if (!parentNode) { + setting.treeObj.append(zTreeHtml.join('')); + } else { + var ulObj = $$(parentNode, consts.id.UL, setting); + if (ulObj.get(0)) { + ulObj.append(zTreeHtml.join('')); + } + } + view.createNodeCallback(setting); + }, + destroy: function(setting) { + if (!setting) return; + data.initCache(setting); + data.initRoot(setting); + event.unbindTree(setting); + event.unbindEvent(setting); + setting.treeObj.empty(); + delete settings[setting.treeId]; + }, + expandCollapseNode: function(setting, node, expandFlag, animateFlag, callback) { + var root = data.getRoot(setting), + childKey = setting.data.key.children; + if (!node) { + tools.apply(callback, []); + return; + } + if (root.expandTriggerFlag) { + var _callback = callback; + callback = function(){ + if (_callback) _callback(); + if (node.open) { + setting.treeObj.trigger(consts.event.EXPAND, [setting.treeId, node]); + } else { + setting.treeObj.trigger(consts.event.COLLAPSE, [setting.treeId, node]); + } + }; + root.expandTriggerFlag = false; + } + if (!node.open && node.isParent && ((!$$(node, consts.id.UL, setting).get(0)) || (node[childKey] && node[childKey].length>0 && !$$(node[childKey][0], setting).get(0)))) { + view.appendParentULDom(setting, node); + view.createNodeCallback(setting); + } + if (node.open == expandFlag) { + tools.apply(callback, []); + return; + } + var ulObj = $$(node, consts.id.UL, setting), + switchObj = $$(node, consts.id.SWITCH, setting), + icoObj = $$(node, consts.id.ICON, setting); + + if (node.isParent) { + node.open = !node.open; + if (node.iconOpen && node.iconClose) { + icoObj.attr("style", view.makeNodeIcoStyle(setting, node)); + } + + if (node.open) { + view.replaceSwitchClass(node, switchObj, consts.folder.OPEN); + view.replaceIcoClass(node, icoObj, consts.folder.OPEN); + if (animateFlag == false || setting.view.expandSpeed == "") { + ulObj.show(); + tools.apply(callback, []); + } else { + if (node[childKey] && node[childKey].length > 0) { + ulObj.slideDown(setting.view.expandSpeed, callback); + } else { + ulObj.show(); + tools.apply(callback, []); + } + } + } else { + view.replaceSwitchClass(node, switchObj, consts.folder.CLOSE); + view.replaceIcoClass(node, icoObj, consts.folder.CLOSE); + if (animateFlag == false || setting.view.expandSpeed == "" || !(node[childKey] && node[childKey].length > 0)) { + ulObj.hide(); + tools.apply(callback, []); + } else { + ulObj.slideUp(setting.view.expandSpeed, callback); + } + } + } else { + tools.apply(callback, []); + } + }, + expandCollapseParentNode: function(setting, node, expandFlag, animateFlag, callback) { + if (!node) return; + if (!node.parentTId) { + view.expandCollapseNode(setting, node, expandFlag, animateFlag, callback); + return; + } else { + view.expandCollapseNode(setting, node, expandFlag, animateFlag); + } + if (node.parentTId) { + view.expandCollapseParentNode(setting, node.getParentNode(), expandFlag, animateFlag, callback); + } + }, + expandCollapseSonNode: function(setting, node, expandFlag, animateFlag, callback) { + var root = data.getRoot(setting), + childKey = setting.data.key.children, + treeNodes = (node) ? node[childKey]: root[childKey], + selfAnimateSign = (node) ? false : animateFlag, + expandTriggerFlag = data.getRoot(setting).expandTriggerFlag; + data.getRoot(setting).expandTriggerFlag = false; + if (treeNodes) { + for (var i = 0, l = treeNodes.length; i < l; i++) { + if (treeNodes[i]) view.expandCollapseSonNode(setting, treeNodes[i], expandFlag, selfAnimateSign); + } + } + data.getRoot(setting).expandTriggerFlag = expandTriggerFlag; + view.expandCollapseNode(setting, node, expandFlag, animateFlag, callback ); + }, + makeDOMNodeIcon: function(html, setting, node) { + var nameStr = data.getNodeName(setting, node), + name = setting.view.nameIsHTML ? nameStr : nameStr.replace(/&/g,'&').replace(//g,'>'); + html.push("",name,""); + }, + makeDOMNodeLine: function(html, setting, node) { + html.push(""); + }, + makeDOMNodeMainAfter: function(html, setting, node) { + html.push(""); + }, + makeDOMNodeMainBefore: function(html, setting, node) { + html.push("
                    • "); + }, + makeDOMNodeNameAfter: function(html, setting, node) { + html.push(""); + }, + makeDOMNodeNameBefore: function(html, setting, node) { + var title = data.getNodeTitle(setting, node), + url = view.makeNodeUrl(setting, node), + fontcss = view.makeNodeFontCss(setting, node), + fontStyle = []; + for (var f in fontcss) { + fontStyle.push(f, ":", fontcss[f], ";"); + } + html.push(" 0) ? "href='" + url + "'" : ""), " target='",view.makeNodeTarget(node),"' style='", fontStyle.join(''), + "'"); + if (tools.apply(setting.view.showTitle, [setting.treeId, node], setting.view.showTitle) && title) {html.push("title='", title.replace(/'/g,"'").replace(//g,'>'),"'");} + html.push(">"); + }, + makeNodeFontCss: function(setting, node) { + var fontCss = tools.apply(setting.view.fontCss, [setting.treeId, node], setting.view.fontCss); + return (fontCss && ((typeof fontCss) != "function")) ? fontCss : {}; + }, + makeNodeIcoClass: function(setting, node) { + var icoCss = ["ico"]; + if (!node.isAjaxing) { + icoCss[0] = (node.iconSkin ? node.iconSkin + "_" : "") + icoCss[0]; + if (node.isParent) { + icoCss.push(node.open ? consts.folder.OPEN : consts.folder.CLOSE); + } else { + icoCss.push(consts.folder.DOCU); + } + } + return consts.className.BUTTON + " " + icoCss.join('_'); + }, + makeNodeIcoStyle: function(setting, node) { + var icoStyle = []; + if (!node.isAjaxing) { + var icon = (node.isParent && node.iconOpen && node.iconClose) ? (node.open ? node.iconOpen : node.iconClose) : node.icon; + if (icon) icoStyle.push("background:url(", icon, ") 0 0 no-repeat;"); + if (setting.view.showIcon == false || !tools.apply(setting.view.showIcon, [setting.treeId, node], true)) { + icoStyle.push("width:0px;height:0px;"); + } + } + return icoStyle.join(''); + }, + makeNodeLineClass: function(setting, node) { + var lineClass = []; + if (setting.view.showLine) { + if (node.level == 0 && node.isFirstNode && node.isLastNode) { + lineClass.push(consts.line.ROOT); + } else if (node.level == 0 && node.isFirstNode) { + lineClass.push(consts.line.ROOTS); + } else if (node.isLastNode) { + lineClass.push(consts.line.BOTTOM); + } else { + lineClass.push(consts.line.CENTER); + } + } else { + lineClass.push(consts.line.NOLINE); + } + if (node.isParent) { + lineClass.push(node.open ? consts.folder.OPEN : consts.folder.CLOSE); + } else { + lineClass.push(consts.folder.DOCU); + } + return view.makeNodeLineClassEx(node) + lineClass.join('_'); + }, + makeNodeLineClassEx: function(node) { + return consts.className.BUTTON + " " + consts.className.LEVEL + node.level + " " + consts.className.SWITCH + " "; + }, + makeNodeTarget: function(node) { + return (node.target || "_blank"); + }, + makeNodeUrl: function(setting, node) { + var urlKey = setting.data.key.url; + return node[urlKey] ? node[urlKey] : null; + }, + makeUlHtml: function(setting, node, html, content) { + html.push("
                        "); + html.push(content); + html.push("
                      "); + }, + makeUlLineClass: function(setting, node) { + return ((setting.view.showLine && !node.isLastNode) ? consts.line.LINE : ""); + }, + removeChildNodes: function(setting, node) { + if (!node) return; + var childKey = setting.data.key.children, + nodes = node[childKey]; + if (!nodes) return; + + for (var i = 0, l = nodes.length; i < l; i++) { + data.removeNodeCache(setting, nodes[i]); + } + data.removeSelectedNode(setting); + delete node[childKey]; + + if (!setting.data.keep.parent) { + node.isParent = false; + node.open = false; + var tmp_switchObj = $$(node, consts.id.SWITCH, setting), + tmp_icoObj = $$(node, consts.id.ICON, setting); + view.replaceSwitchClass(node, tmp_switchObj, consts.folder.DOCU); + view.replaceIcoClass(node, tmp_icoObj, consts.folder.DOCU); + $$(node, consts.id.UL, setting).remove(); + } else { + $$(node, consts.id.UL, setting).empty(); + } + }, + setFirstNode: function(setting, parentNode) { + var childKey = setting.data.key.children, childLength = parentNode[childKey].length; + if ( childLength > 0) { + parentNode[childKey][0].isFirstNode = true; + } + }, + setLastNode: function(setting, parentNode) { + var childKey = setting.data.key.children, childLength = parentNode[childKey].length; + if ( childLength > 0) { + parentNode[childKey][childLength - 1].isLastNode = true; + } + }, + removeNode: function(setting, node) { + var root = data.getRoot(setting), + childKey = setting.data.key.children, + parentNode = (node.parentTId) ? node.getParentNode() : root; + + node.isFirstNode = false; + node.isLastNode = false; + node.getPreNode = function() {return null;}; + node.getNextNode = function() {return null;}; + + if (!data.getNodeCache(setting, node.tId)) { + return; + } + + $$(node, setting).remove(); + data.removeNodeCache(setting, node); + data.removeSelectedNode(setting, node); + + for (var i = 0, l = parentNode[childKey].length; i < l; i++) { + if (parentNode[childKey][i].tId == node.tId) { + parentNode[childKey].splice(i, 1); + break; + } + } + view.setFirstNode(setting, parentNode); + view.setLastNode(setting, parentNode); + + var tmp_ulObj,tmp_switchObj,tmp_icoObj, + childLength = parentNode[childKey].length; + + //repair nodes old parent + if (!setting.data.keep.parent && childLength == 0) { + //old parentNode has no child nodes + parentNode.isParent = false; + parentNode.open = false; + tmp_ulObj = $$(parentNode, consts.id.UL, setting); + tmp_switchObj = $$(parentNode, consts.id.SWITCH, setting); + tmp_icoObj = $$(parentNode, consts.id.ICON, setting); + view.replaceSwitchClass(parentNode, tmp_switchObj, consts.folder.DOCU); + view.replaceIcoClass(parentNode, tmp_icoObj, consts.folder.DOCU); + tmp_ulObj.css("display", "none"); + + } else if (setting.view.showLine && childLength > 0) { + //old parentNode has child nodes + var newLast = parentNode[childKey][childLength - 1]; + tmp_ulObj = $$(newLast, consts.id.UL, setting); + tmp_switchObj = $$(newLast, consts.id.SWITCH, setting); + tmp_icoObj = $$(newLast, consts.id.ICON, setting); + if (parentNode == root) { + if (parentNode[childKey].length == 1) { + //node was root, and ztree has only one root after move node + view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.ROOT); + } else { + var tmp_first_switchObj = $$(parentNode[childKey][0], consts.id.SWITCH, setting); + view.replaceSwitchClass(parentNode[childKey][0], tmp_first_switchObj, consts.line.ROOTS); + view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.BOTTOM); + } + } else { + view.replaceSwitchClass(newLast, tmp_switchObj, consts.line.BOTTOM); + } + tmp_ulObj.removeClass(consts.line.LINE); + } + }, + replaceIcoClass: function(node, obj, newName) { + if (!obj || node.isAjaxing) return; + var tmpName = obj.attr("class"); + if (tmpName == undefined) return; + var tmpList = tmpName.split("_"); + switch (newName) { + case consts.folder.OPEN: + case consts.folder.CLOSE: + case consts.folder.DOCU: + tmpList[tmpList.length-1] = newName; + break; + } + obj.attr("class", tmpList.join("_")); + }, + replaceSwitchClass: function(node, obj, newName) { + if (!obj) return; + var tmpName = obj.attr("class"); + if (tmpName == undefined) return; + var tmpList = tmpName.split("_"); + switch (newName) { + case consts.line.ROOT: + case consts.line.ROOTS: + case consts.line.CENTER: + case consts.line.BOTTOM: + case consts.line.NOLINE: + tmpList[0] = view.makeNodeLineClassEx(node) + newName; + break; + case consts.folder.OPEN: + case consts.folder.CLOSE: + case consts.folder.DOCU: + tmpList[1] = newName; + break; + } + obj.attr("class", tmpList.join("_")); + if (newName !== consts.folder.DOCU) { + obj.removeAttr("disabled"); + } else { + obj.attr("disabled", "disabled"); + } + }, + selectNode: function(setting, node, addFlag) { + if (!addFlag) { + view.cancelPreSelectedNode(setting); + } + $$(node, consts.id.A, setting).addClass(consts.node.CURSELECTED); + data.addSelectedNode(setting, node); + }, + setNodeFontCss: function(setting, treeNode) { + var aObj = $$(treeNode, consts.id.A, setting), + fontCss = view.makeNodeFontCss(setting, treeNode); + if (fontCss) { + aObj.css(fontCss); + } + }, + setNodeLineIcos: function(setting, node) { + if (!node) return; + var switchObj = $$(node, consts.id.SWITCH, setting), + ulObj = $$(node, consts.id.UL, setting), + icoObj = $$(node, consts.id.ICON, setting), + ulLine = view.makeUlLineClass(setting, node); + if (ulLine.length==0) { + ulObj.removeClass(consts.line.LINE); + } else { + ulObj.addClass(ulLine); + } + switchObj.attr("class", view.makeNodeLineClass(setting, node)); + if (node.isParent) { + switchObj.removeAttr("disabled"); + } else { + switchObj.attr("disabled", "disabled"); + } + icoObj.removeAttr("style"); + icoObj.attr("style", view.makeNodeIcoStyle(setting, node)); + icoObj.attr("class", view.makeNodeIcoClass(setting, node)); + }, + setNodeName: function(setting, node) { + var title = data.getNodeTitle(setting, node), + nObj = $$(node, consts.id.SPAN, setting); + nObj.empty(); + if (setting.view.nameIsHTML) { + nObj.html(data.getNodeName(setting, node)); + } else { + nObj.text(data.getNodeName(setting, node)); + } + if (tools.apply(setting.view.showTitle, [setting.treeId, node], setting.view.showTitle)) { + var aObj = $$(node, consts.id.A, setting); + aObj.attr("title", !title ? "" : title); + } + }, + setNodeTarget: function(setting, node) { + var aObj = $$(node, consts.id.A, setting); + aObj.attr("target", view.makeNodeTarget(node)); + }, + setNodeUrl: function(setting, node) { + var aObj = $$(node, consts.id.A, setting), + url = view.makeNodeUrl(setting, node); + if (url == null || url.length == 0) { + aObj.removeAttr("href"); + } else { + aObj.attr("href", url); + } + }, + switchNode: function(setting, node) { + if (node.open || !tools.canAsync(setting, node)) { + view.expandCollapseNode(setting, node, !node.open); + } else if (setting.async.enable) { + if (!view.asyncNode(setting, node)) { + view.expandCollapseNode(setting, node, !node.open); + return; + } + } else if (node) { + view.expandCollapseNode(setting, node, !node.open); + } + } + }; + // zTree defind + $.fn.zTree = { + consts : _consts, + _z : { + tools: tools, + view: view, + event: event, + data: data + }, + getZTreeObj: function(treeId) { + var o = data.getZTreeTools(treeId); + return o ? o : null; + }, + destroy: function(treeId) { + if (!!treeId && treeId.length > 0) { + view.destroy(data.getSetting(treeId)); + } else { + for(var s in settings) { + view.destroy(settings[s]); + } + } + }, + init: function(obj, zSetting, zNodes) { + var setting = tools.clone(_setting); + $.extend(true, setting, zSetting); + setting.treeId = obj.attr("id"); + setting.treeObj = obj; + setting.treeObj.empty(); + settings[setting.treeId] = setting; + //For some older browser,(e.g., ie6) + if(typeof document.body.style.maxHeight === "undefined") { + setting.view.expandSpeed = ""; + } + data.initRoot(setting); + var root = data.getRoot(setting), + childKey = setting.data.key.children; + zNodes = zNodes ? tools.clone(tools.isArray(zNodes)? zNodes : [zNodes]) : []; + if (setting.data.simpleData.enable) { + root[childKey] = data.transformTozTreeFormat(setting, zNodes); + } else { + root[childKey] = zNodes; + } + + data.initCache(setting); + event.unbindTree(setting); + event.bindTree(setting); + event.unbindEvent(setting); + event.bindEvent(setting); + + var zTreeTools = { + setting : setting, + addNodes : function(parentNode, newNodes, isSilent) { + if (!newNodes) return null; + if (!parentNode) parentNode = null; + if (parentNode && !parentNode.isParent && setting.data.keep.leaf) return null; + var xNewNodes = tools.clone(tools.isArray(newNodes)? newNodes: [newNodes]); + function addCallback() { + view.addNodes(setting, parentNode, xNewNodes, (isSilent==true)); + } + + if (tools.canAsync(setting, parentNode)) { + view.asyncNode(setting, parentNode, isSilent, addCallback); + } else { + addCallback(); + } + return xNewNodes; + }, + cancelSelectedNode : function(node) { + view.cancelPreSelectedNode(setting, node); + }, + destroy : function() { + view.destroy(setting); + }, + expandAll : function(expandFlag) { + expandFlag = !!expandFlag; + view.expandCollapseSonNode(setting, null, expandFlag, true); + return expandFlag; + }, + expandNode : function(node, expandFlag, sonSign, focus, callbackFlag) { + if (!node || !node.isParent) return null; + if (expandFlag !== true && expandFlag !== false) { + expandFlag = !node.open; + } + callbackFlag = !!callbackFlag; + + if (callbackFlag && expandFlag && (tools.apply(setting.callback.beforeExpand, [setting.treeId, node], true) == false)) { + return null; + } else if (callbackFlag && !expandFlag && (tools.apply(setting.callback.beforeCollapse, [setting.treeId, node], true) == false)) { + return null; + } + if (expandFlag && node.parentTId) { + view.expandCollapseParentNode(setting, node.getParentNode(), expandFlag, false); + } + if (expandFlag === node.open && !sonSign) { + return null; + } + + data.getRoot(setting).expandTriggerFlag = callbackFlag; + if (!tools.canAsync(setting, node) && sonSign) { + view.expandCollapseSonNode(setting, node, expandFlag, true, function() { + if (focus !== false) {try{$$(node, setting).focus().blur();}catch(e){}} + }); + } else { + node.open = !expandFlag; + view.switchNode(this.setting, node); + if (focus !== false) {try{$$(node, setting).focus().blur();}catch(e){}} + } + return expandFlag; + }, + getNodes : function() { + return data.getNodes(setting); + }, + getNodeByParam : function(key, value, parentNode) { + if (!key) return null; + return data.getNodeByParam(setting, parentNode?parentNode[setting.data.key.children]:data.getNodes(setting), key, value); + }, + getNodeByTId : function(tId) { + return data.getNodeCache(setting, tId); + }, + getNodesByParam : function(key, value, parentNode) { + if (!key) return null; + return data.getNodesByParam(setting, parentNode?parentNode[setting.data.key.children]:data.getNodes(setting), key, value); + }, + getNodesByParamFuzzy : function(key, value, parentNode) { + if (!key) return null; + return data.getNodesByParamFuzzy(setting, parentNode?parentNode[setting.data.key.children]:data.getNodes(setting), key, value); + }, + getNodesByFilter: function(filter, isSingle, parentNode, invokeParam) { + isSingle = !!isSingle; + if (!filter || (typeof filter != "function")) return (isSingle ? null : []); + return data.getNodesByFilter(setting, parentNode?parentNode[setting.data.key.children]:data.getNodes(setting), filter, isSingle, invokeParam); + }, + getNodeIndex : function(node) { + if (!node) return null; + var childKey = setting.data.key.children, + parentNode = (node.parentTId) ? node.getParentNode() : data.getRoot(setting); + for (var i=0, l = parentNode[childKey].length; i < l; i++) { + if (parentNode[childKey][i] == node) return i; + } + return -1; + }, + getSelectedNodes : function() { + var r = [], list = data.getRoot(setting).curSelectedList; + for (var i=0, l=list.length; i 0) { + view.createNodes(setting, 0, root[childKey]); + } else if (setting.async.enable && setting.async.url && setting.async.url !== '') { + view.asyncNode(setting); + } + return zTreeTools; + } + }; + + var zt = $.fn.zTree, + $$ = tools.$, + consts = zt.consts; +})(jQuery); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.core.min.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.core.min.js new file mode 100644 index 00000000..705bdb4f --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.core.min.js @@ -0,0 +1,69 @@ +/* + * JQuery zTree core v3.5.16 + * http://zTree.me/ + * + * Copyright (c) 2010 Hunter.z + * + * Licensed same as jquery - MIT License + * http://www.opensource.org/licenses/mit-license.php + * + * email: hunter.z@263.net + * Date: 2014-03-09 + */ +(function(p){var G,H,I,J,K,L,r={},u={},v={},M={treeId:"",treeObj:null,view:{addDiyDom:null,autoCancelSelected:!0,dblClickExpand:!0,expandSpeed:"fast",fontCss:{},nameIsHTML:!1,selectedMulti:!0,showIcon:!0,showLine:!0,showTitle:!0,txtSelectedEnable:!1},data:{key:{children:"children",name:"name",title:"",url:"url"},simpleData:{enable:!1,idKey:"id",pIdKey:"pId",rootPId:null},keep:{parent:!1,leaf:!1}},async:{enable:!1,contentType:"application/x-www-form-urlencoded",type:"post",dataType:"text",url:"",autoParam:[], +otherParam:[],dataFilter:null},callback:{beforeAsync:null,beforeClick:null,beforeDblClick:null,beforeRightClick:null,beforeMouseDown:null,beforeMouseUp:null,beforeExpand:null,beforeCollapse:null,beforeRemove:null,onAsyncError:null,onAsyncSuccess:null,onNodeCreated:null,onClick:null,onDblClick:null,onRightClick:null,onMouseDown:null,onMouseUp:null,onExpand:null,onCollapse:null,onRemove:null}},w=[function(b){var a=b.treeObj,c=e.event;a.bind(c.NODECREATED,function(a,c,g){j.apply(b.callback.onNodeCreated, +[a,c,g])});a.bind(c.CLICK,function(a,c,g,l,h){j.apply(b.callback.onClick,[c,g,l,h])});a.bind(c.EXPAND,function(a,c,g){j.apply(b.callback.onExpand,[a,c,g])});a.bind(c.COLLAPSE,function(a,c,g){j.apply(b.callback.onCollapse,[a,c,g])});a.bind(c.ASYNC_SUCCESS,function(a,c,g,l){j.apply(b.callback.onAsyncSuccess,[a,c,g,l])});a.bind(c.ASYNC_ERROR,function(a,c,g,l,h,e){j.apply(b.callback.onAsyncError,[a,c,g,l,h,e])});a.bind(c.REMOVE,function(a,c,g){j.apply(b.callback.onRemove,[a,c,g])})}],x=[function(b){var a= +e.event;b.treeObj.unbind(a.NODECREATED).unbind(a.CLICK).unbind(a.EXPAND).unbind(a.COLLAPSE).unbind(a.ASYNC_SUCCESS).unbind(a.ASYNC_ERROR).unbind(a.REMOVE)}],y=[function(b){var a=h.getCache(b);a||(a={},h.setCache(b,a));a.nodes=[];a.doms=[]}],z=[function(b,a,c,d,f,g){if(c){var l=h.getRoot(b),e=b.data.key.children;c.level=a;c.tId=b.treeId+"_"+ ++l.zId;c.parentTId=d?d.tId:null;c.open=typeof c.open=="string"?j.eqs(c.open,"true"):!!c.open;c[e]&&c[e].length>0?(c.isParent=!0,c.zAsync=!0):(c.isParent=typeof c.isParent== +"string"?j.eqs(c.isParent,"true"):!!c.isParent,c.open=c.isParent&&!b.async.enable?c.open:!1,c.zAsync=!c.isParent);c.isFirstNode=f;c.isLastNode=g;c.getParentNode=function(){return h.getNodeCache(b,c.parentTId)};c.getPreNode=function(){return h.getPreNode(b,c)};c.getNextNode=function(){return h.getNextNode(b,c)};c.isAjaxing=!1;h.fixPIdKeyValue(b,c)}}],s=[function(b){var a=b.target,c=h.getSetting(b.data.treeId),d="",f=null,g="",l="",i=null,n=null,k=null;if(j.eqs(b.type,"mousedown"))l="mousedown";else if(j.eqs(b.type, +"mouseup"))l="mouseup";else if(j.eqs(b.type,"contextmenu"))l="contextmenu";else if(j.eqs(b.type,"click"))if(j.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+e.id.SWITCH)!==null)d=j.getNodeMainDom(a).id,g="switchNode";else{if(k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}]))d=j.getNodeMainDom(k).id,g="clickNode"}else if(j.eqs(b.type,"dblclick")&&(l="dblclick",k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}])))d=j.getNodeMainDom(k).id,g="switchNode";if(l.length>0&&d.length==0&& +(k=j.getMDom(c,a,[{tagName:"a",attrName:"treeNode"+e.id.A}])))d=j.getNodeMainDom(k).id;if(d.length>0)switch(f=h.getNodeCache(c,d),g){case "switchNode":f.isParent?j.eqs(b.type,"click")||j.eqs(b.type,"dblclick")&&j.apply(c.view.dblClickExpand,[c.treeId,f],c.view.dblClickExpand)?i=G:g="":g="";break;case "clickNode":i=H}switch(l){case "mousedown":n=I;break;case "mouseup":n=J;break;case "dblclick":n=K;break;case "contextmenu":n=L}return{stop:!1,node:f,nodeEventType:g,nodeEventCallback:i,treeEventType:l, +treeEventCallback:n}}],A=[function(b){var a=h.getRoot(b);a||(a={},h.setRoot(b,a));a[b.data.key.children]=[];a.expandTriggerFlag=!1;a.curSelectedList=[];a.noSelection=!0;a.createdNodes=[];a.zId=0;a._ver=(new Date).getTime()}],B=[],C=[],D=[],E=[],F=[],h={addNodeCache:function(b,a){h.getCache(b).nodes[h.getNodeCacheId(a.tId)]=a},getNodeCacheId:function(b){return b.substring(b.lastIndexOf("_")+1)},addAfterA:function(b){C.push(b)},addBeforeA:function(b){B.push(b)},addInnerAfterA:function(b){E.push(b)}, +addInnerBeforeA:function(b){D.push(b)},addInitBind:function(b){w.push(b)},addInitUnBind:function(b){x.push(b)},addInitCache:function(b){y.push(b)},addInitNode:function(b){z.push(b)},addInitProxy:function(b,a){a?s.splice(0,0,b):s.push(b)},addInitRoot:function(b){A.push(b)},addNodesData:function(b,a,c){var d=b.data.key.children;a[d]||(a[d]=[]);if(a[d].length>0)a[d][a[d].length-1].isLastNode=!1,i.setNodeLineIcos(b,a[d][a[d].length-1]);a.isParent=!0;a[d]=a[d].concat(c)},addSelectedNode:function(b,a){var c= +h.getRoot(b);h.isSelectedNode(b,a)||c.curSelectedList.push(a)},addCreatedNode:function(b,a){(b.callback.onNodeCreated||b.view.addDiyDom)&&h.getRoot(b).createdNodes.push(a)},addZTreeTools:function(b){F.push(b)},exSetting:function(b){p.extend(!0,M,b)},fixPIdKeyValue:function(b,a){b.data.simpleData.enable&&(a[b.data.simpleData.pIdKey]=a.parentTId?a.getParentNode()[b.data.simpleData.idKey]:b.data.simpleData.rootPId)},getAfterA:function(b,a,c){for(var d=0,f=C.length;d-1&&g.push(a[l]),g=g.concat(h.getNodesByParamFuzzy(b,a[l][f],c,d));return g},getNodesByFilter:function(b,a,c,d,f){if(!a)return d? +null:[];for(var g=b.data.key.children,e=d?null:[],i=0,n=a.length;i0)},clone:function(b){if(b===null)return null;var a=j.isArray(b)?[]:{},c;for(c in b)a[c]=b[c]instanceof +Date?new Date(b[c].getTime()):typeof b[c]==="object"?arguments.callee(b[c]):b[c];return a},eqs:function(b,a){return b.toLowerCase()===a.toLowerCase()},isArray:function(b){return Object.prototype.toString.apply(b)==="[object Array]"},$:function(b,a,c){a&&typeof a!="string"&&(c=a,a="");return typeof b=="string"?p(b,c?c.treeObj.get(0).ownerDocument:null):p("#"+b.tId+a,c?c.treeObj:null)},getMDom:function(b,a,c){if(!a)return null;for(;a&&a.id!==b.treeId;){for(var d=0,f=c.length;a.tagName&&d0},uCanDo:function(){return!0}},i={addNodes:function(b,a,c,d){if(!b.data.keep.leaf||!a||a.isParent)if(j.isArray(c)||(c=[c]),b.data.simpleData.enable&&(c=h.transformTozTreeFormat(b,c)),a){var f=k(a,e.id.SWITCH,b),g=k(a,e.id.ICON,b),l=k(a,e.id.UL,b);if(!a.open)i.replaceSwitchClass(a, +f,e.folder.CLOSE),i.replaceIcoClass(a,g,e.folder.CLOSE),a.open=!1,l.css({display:"none"});h.addNodesData(b,a,c);i.createNodes(b,a.level+1,c,a);d||i.expandCollapseParentNode(b,a,!0)}else h.addNodesData(b,h.getRoot(b),c),i.createNodes(b,0,c,null)},appendNodes:function(b,a,c,d,f,g){if(!c)return[];for(var e=[],j=b.data.key.children,k=0,m=c.length;k +0&&(t=i.appendNodes(b,a+1,o[j],o,f,g&&o.open));g&&(i.makeDOMNodeMainBefore(e,b,o),i.makeDOMNodeLine(e,b,o),h.getBeforeA(b,o,e),i.makeDOMNodeNameBefore(e,b,o),h.getInnerBeforeA(b,o,e),i.makeDOMNodeIcon(e,b,o),h.getInnerAfterA(b,o,e),i.makeDOMNodeNameAfter(e,b,o),h.getAfterA(b,o,e),o.isParent&&o.open&&i.makeUlHtml(b,o,e,t.join("")),i.makeDOMNodeMainAfter(e,b,o),h.addCreatedNode(b,o))}return e},appendParentULDom:function(b,a){var c=[],d=k(a,b);!d.get(0)&&a.parentTId&&(i.appendParentULDom(b,a.getParentNode()), +d=k(a,b));var f=k(a,e.id.UL,b);f.get(0)&&f.remove();f=i.appendNodes(b,a.level+1,a[b.data.key.children],a,!1,!0);i.makeUlHtml(b,a,c,f.join(""));d.append(c.join(""))},asyncNode:function(b,a,c,d){var f,g;if(a&&!a.isParent)return j.apply(d),!1;else if(a&&a.isAjaxing)return!1;else if(j.apply(b.callback.beforeAsync,[b.treeId,a],!0)==!1)return j.apply(d),!1;if(a)a.isAjaxing=!0,k(a,e.id.ICON,b).attr({style:"","class":e.className.BUTTON+" "+e.className.ICO_LOADING});var l={};for(f=0,g=b.async.autoParam.length;a&& +f1&&(n=q[1],q=q[0]);l[n]=a[q]}if(j.isArray(b.async.otherParam))for(f=0,g=b.async.otherParam.length;f=0;d--)if(!a||a===c[d])if(k(c[d],e.id.A,b).removeClass(e.node.CURSELECTED),a){h.removeSelectedNode(b,a);break}if(!a)h.getRoot(b).curSelectedList=[]},createNodeCallback:function(b){if(b.callback.onNodeCreated||b.view.addDiyDom)for(var a=h.getRoot(b);a.createdNodes.length>0;){var c=a.createdNodes.shift();j.apply(b.view.addDiyDom,[b.treeId,c]);b.callback.onNodeCreated&&b.treeObj.trigger(e.event.NODECREATED,[b.treeId,c])}},createNodes:function(b, +a,c,d){if(c&&c.length!=0){var f=h.getRoot(b),g=b.data.key.children,g=!d||d.open||!!k(d[g][0],b).get(0);f.createdNodes=[];a=i.appendNodes(b,a,c,d,!0,g);d?(d=k(d,e.id.UL,b),d.get(0)&&d.append(a.join(""))):b.treeObj.append(a.join(""));i.createNodeCallback(b)}},destroy:function(b){b&&(h.initCache(b),h.initRoot(b),m.unbindTree(b),m.unbindEvent(b),b.treeObj.empty(),delete r[b.treeId])},expandCollapseNode:function(b,a,c,d,f){var g=h.getRoot(b),l=b.data.key.children;if(a){if(g.expandTriggerFlag){var q=f, +f=function(){q&&q();a.open?b.treeObj.trigger(e.event.EXPAND,[b.treeId,a]):b.treeObj.trigger(e.event.COLLAPSE,[b.treeId,a])};g.expandTriggerFlag=!1}if(!a.open&&a.isParent&&(!k(a,e.id.UL,b).get(0)||a[l]&&a[l].length>0&&!k(a[l][0],b).get(0)))i.appendParentULDom(b,a),i.createNodeCallback(b);if(a.open==c)j.apply(f,[]);else{var c=k(a,e.id.UL,b),g=k(a,e.id.SWITCH,b),n=k(a,e.id.ICON,b);a.isParent?(a.open=!a.open,a.iconOpen&&a.iconClose&&n.attr("style",i.makeNodeIcoStyle(b,a)),a.open?(i.replaceSwitchClass(a, +g,e.folder.OPEN),i.replaceIcoClass(a,n,e.folder.OPEN),d==!1||b.view.expandSpeed==""?(c.show(),j.apply(f,[])):a[l]&&a[l].length>0?c.slideDown(b.view.expandSpeed,f):(c.show(),j.apply(f,[]))):(i.replaceSwitchClass(a,g,e.folder.CLOSE),i.replaceIcoClass(a,n,e.folder.CLOSE),d==!1||b.view.expandSpeed==""||!(a[l]&&a[l].length>0)?(c.hide(),j.apply(f,[])):c.slideUp(b.view.expandSpeed,f))):j.apply(f,[])}}else j.apply(f,[])},expandCollapseParentNode:function(b,a,c,d,f){a&&(a.parentTId?(i.expandCollapseNode(b, +a,c,d),a.parentTId&&i.expandCollapseParentNode(b,a.getParentNode(),c,d,f)):i.expandCollapseNode(b,a,c,d,f))},expandCollapseSonNode:function(b,a,c,d,f){var g=h.getRoot(b),e=b.data.key.children,g=a?a[e]:g[e],e=a?!1:d,j=h.getRoot(b).expandTriggerFlag;h.getRoot(b).expandTriggerFlag=!1;if(g)for(var k=0,m=g.length;k/g,">");b.push("",d,"")},makeDOMNodeLine:function(b,a,c){b.push("")},makeDOMNodeMainAfter:function(b){b.push("
                    • ")},makeDOMNodeMainBefore:function(b, +a,c){b.push("
                    • ")},makeDOMNodeNameAfter:function(b){b.push("")},makeDOMNodeNameBefore:function(b,a,c){var d=h.getNodeTitle(a,c),f=i.makeNodeUrl(a,c),g=i.makeNodeFontCss(a,c),l=[],k;for(k in g)l.push(k,":",g[k],";");b.push("0?"href='"+f+"'":""," target='",i.makeNodeTarget(c), +"' style='",l.join(""),"'");j.apply(a.view.showTitle,[a.treeId,c],a.view.showTitle)&&d&&b.push("title='",d.replace(/'/g,"'").replace(//g,">"),"'");b.push(">")},makeNodeFontCss:function(b,a){var c=j.apply(b.view.fontCss,[b.treeId,a],b.view.fontCss);return c&&typeof c!="function"?c:{}},makeNodeIcoClass:function(b,a){var c=["ico"];a.isAjaxing||(c[0]=(a.iconSkin?a.iconSkin+"_":"")+c[0],a.isParent?c.push(a.open?e.folder.OPEN:e.folder.CLOSE):c.push(e.folder.DOCU));return e.className.BUTTON+ +" "+c.join("_")},makeNodeIcoStyle:function(b,a){var c=[];if(!a.isAjaxing){var d=a.isParent&&a.iconOpen&&a.iconClose?a.open?a.iconOpen:a.iconClose:a.icon;d&&c.push("background:url(",d,") 0 0 no-repeat;");(b.view.showIcon==!1||!j.apply(b.view.showIcon,[b.treeId,a],!0))&&c.push("width:0px;height:0px;")}return c.join("")},makeNodeLineClass:function(b,a){var c=[];b.view.showLine?a.level==0&&a.isFirstNode&&a.isLastNode?c.push(e.line.ROOT):a.level==0&&a.isFirstNode?c.push(e.line.ROOTS):a.isLastNode?c.push(e.line.BOTTOM): +c.push(e.line.CENTER):c.push(e.line.NOLINE);a.isParent?c.push(a.open?e.folder.OPEN:e.folder.CLOSE):c.push(e.folder.DOCU);return i.makeNodeLineClassEx(a)+c.join("_")},makeNodeLineClassEx:function(b){return e.className.BUTTON+" "+e.className.LEVEL+b.level+" "+e.className.SWITCH+" "},makeNodeTarget:function(b){return b.target||"_blank"},makeNodeUrl:function(b,a){var c=b.data.key.url;return a[c]?a[c]:null},makeUlHtml:function(b,a,c,d){c.push("
                        ");c.push(d);c.push("
                      ")},makeUlLineClass:function(b,a){return b.view.showLine&&!a.isLastNode?e.line.LINE:""},removeChildNodes:function(b,a){if(a){var c=b.data.key.children,d=a[c];if(d){for(var f=0,g=d.length;f0)a[c][0].isFirstNode=!0},setLastNode:function(b,a){var c=b.data.key.children,d=a[c].length;if(d>0)a[c][d-1].isLastNode=!0},removeNode:function(b,a){var c=h.getRoot(b),d=b.data.key.children,f=a.parentTId?a.getParentNode():c;a.isFirstNode=!1;a.isLastNode=!1;a.getPreNode=function(){return null};a.getNextNode=function(){return null};if(h.getNodeCache(b,a.tId)){k(a,b).remove(); +h.removeNodeCache(b,a);h.removeSelectedNode(b,a);for(var g=0,l=f[d].length;g0){var n=f[d][g-1],g=k(n,e.id.UL,b),l=k(n,e.id.SWITCH,b);j=k(n,e.id.ICON,b); +f==c?f[d].length==1?i.replaceSwitchClass(n,l,e.line.ROOT):(c=k(f[d][0],e.id.SWITCH,b),i.replaceSwitchClass(f[d][0],c,e.line.ROOTS),i.replaceSwitchClass(n,l,e.line.BOTTOM)):i.replaceSwitchClass(n,l,e.line.BOTTOM);g.removeClass(e.line.LINE)}}},replaceIcoClass:function(b,a,c){if(a&&!b.isAjaxing&&(b=a.attr("class"),b!=void 0)){b=b.split("_");switch(c){case e.folder.OPEN:case e.folder.CLOSE:case e.folder.DOCU:b[b.length-1]=c}a.attr("class",b.join("_"))}},replaceSwitchClass:function(b,a,c){if(a){var d= +a.attr("class");if(d!=void 0){d=d.split("_");switch(c){case e.line.ROOT:case e.line.ROOTS:case e.line.CENTER:case e.line.BOTTOM:case e.line.NOLINE:d[0]=i.makeNodeLineClassEx(b)+c;break;case e.folder.OPEN:case e.folder.CLOSE:case e.folder.DOCU:d[1]=c}a.attr("class",d.join("_"));c!==e.folder.DOCU?a.removeAttr("disabled"):a.attr("disabled","disabled")}}},selectNode:function(b,a,c){c||i.cancelPreSelectedNode(b);k(a,e.id.A,b).addClass(e.node.CURSELECTED);h.addSelectedNode(b,a)},setNodeFontCss:function(b, +a){var c=k(a,e.id.A,b),d=i.makeNodeFontCss(b,a);d&&c.css(d)},setNodeLineIcos:function(b,a){if(a){var c=k(a,e.id.SWITCH,b),d=k(a,e.id.UL,b),f=k(a,e.id.ICON,b),g=i.makeUlLineClass(b,a);g.length==0?d.removeClass(e.line.LINE):d.addClass(g);c.attr("class",i.makeNodeLineClass(b,a));a.isParent?c.removeAttr("disabled"):c.attr("disabled","disabled");f.removeAttr("style");f.attr("style",i.makeNodeIcoStyle(b,a));f.attr("class",i.makeNodeIcoClass(b,a))}},setNodeName:function(b,a){var c=h.getNodeTitle(b,a),d= +k(a,e.id.SPAN,b);d.empty();b.view.nameIsHTML?d.html(h.getNodeName(b,a)):d.text(h.getNodeName(b,a));j.apply(b.view.showTitle,[b.treeId,a],b.view.showTitle)&&k(a,e.id.A,b).attr("title",!c?"":c)},setNodeTarget:function(b,a){k(a,e.id.A,b).attr("target",i.makeNodeTarget(a))},setNodeUrl:function(b,a){var c=k(a,e.id.A,b),d=i.makeNodeUrl(b,a);d==null||d.length==0?c.removeAttr("href"):c.attr("href",d)},switchNode:function(b,a){a.open||!j.canAsync(b,a)?i.expandCollapseNode(b,a,!a.open):b.async.enable?i.asyncNode(b, +a)||i.expandCollapseNode(b,a,!a.open):a&&i.expandCollapseNode(b,a,!a.open)}};p.fn.zTree={consts:{className:{BUTTON:"button",LEVEL:"level",ICO_LOADING:"ico_loading",SWITCH:"switch"},event:{NODECREATED:"ztree_nodeCreated",CLICK:"ztree_click",EXPAND:"ztree_expand",COLLAPSE:"ztree_collapse",ASYNC_SUCCESS:"ztree_async_success",ASYNC_ERROR:"ztree_async_error",REMOVE:"ztree_remove"},id:{A:"_a",ICON:"_ico",SPAN:"_span",SWITCH:"_switch",UL:"_ul"},line:{ROOT:"root",ROOTS:"roots",CENTER:"center",BOTTOM:"bottom", +NOLINE:"noline",LINE:"line"},folder:{OPEN:"open",CLOSE:"close",DOCU:"docu"},node:{CURSELECTED:"curSelectedNode"}},_z:{tools:j,view:i,event:m,data:h},getZTreeObj:function(b){return(b=h.getZTreeTools(b))?b:null},destroy:function(b){if(b&&b.length>0)i.destroy(h.getSetting(b));else for(var a in r)i.destroy(r[a])},init:function(b,a,c){var d=j.clone(M);p.extend(!0,d,a);d.treeId=b.attr("id");d.treeObj=b;d.treeObj.empty();r[d.treeId]=d;if(typeof document.body.style.maxHeight==="undefined")d.view.expandSpeed= +"";h.initRoot(d);b=h.getRoot(d);a=d.data.key.children;c=c?j.clone(j.isArray(c)?c:[c]):[];b[a]=d.data.simpleData.enable?h.transformTozTreeFormat(d,c):c;h.initCache(d);m.unbindTree(d);m.bindTree(d);m.unbindEvent(d);m.bindEvent(d);c={setting:d,addNodes:function(a,b,c){function e(){i.addNodes(d,a,h,c==!0)}if(!b)return null;a||(a=null);if(a&&!a.isParent&&d.data.keep.leaf)return null;var h=j.clone(j.isArray(b)?b:[b]);j.canAsync(d,a)?i.asyncNode(d,a,c,e):e();return h},cancelSelectedNode:function(a){i.cancelPreSelectedNode(d, +a)},destroy:function(){i.destroy(d)},expandAll:function(a){a=!!a;i.expandCollapseSonNode(d,null,a,!0);return a},expandNode:function(a,b,c,e,n){if(!a||!a.isParent)return null;b!==!0&&b!==!1&&(b=!a.open);if((n=!!n)&&b&&j.apply(d.callback.beforeExpand,[d.treeId,a],!0)==!1)return null;else if(n&&!b&&j.apply(d.callback.beforeCollapse,[d.treeId,a],!0)==!1)return null;b&&a.parentTId&&i.expandCollapseParentNode(d,a.getParentNode(),b,!1);if(b===a.open&&!c)return null;h.getRoot(d).expandTriggerFlag=n;if(!j.canAsync(d, +a)&&c)i.expandCollapseSonNode(d,a,b,!0,function(){if(e!==!1)try{k(a,d).focus().blur()}catch(b){}});else if(a.open=!b,i.switchNode(this.setting,a),e!==!1)try{k(a,d).focus().blur()}catch(m){}return b},getNodes:function(){return h.getNodes(d)},getNodeByParam:function(a,b,c){return!a?null:h.getNodeByParam(d,c?c[d.data.key.children]:h.getNodes(d),a,b)},getNodeByTId:function(a){return h.getNodeCache(d,a)},getNodesByParam:function(a,b,c){return!a?null:h.getNodesByParam(d,c?c[d.data.key.children]:h.getNodes(d), +a,b)},getNodesByParamFuzzy:function(a,b,c){return!a?null:h.getNodesByParamFuzzy(d,c?c[d.data.key.children]:h.getNodes(d),a,b)},getNodesByFilter:function(a,b,c,e){b=!!b;return!a||typeof a!="function"?b?null:[]:h.getNodesByFilter(d,c?c[d.data.key.children]:h.getNodes(d),a,b,e)},getNodeIndex:function(a){if(!a)return null;for(var b=d.data.key.children,c=a.parentTId?a.getParentNode():h.getRoot(d),e=0,i=c[b].length;e0?i.createNodes(d, +0,b[a]):d.async.enable&&d.async.url&&d.async.url!==""&&i.asyncNode(d);return c}};var N=p.fn.zTree,k=j.$,e=N.consts})(jQuery); diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.excheck.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.excheck.js new file mode 100644 index 00000000..1374c525 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.excheck.js @@ -0,0 +1,629 @@ +/* + * JQuery zTree excheck v3.5.16 + * http://zTree.me/ + * + * Copyright (c) 2010 Hunter.z + * + * Licensed same as jquery - MIT License + * http://www.opensource.org/licenses/mit-license.php + * + * email: hunter.z@263.net + * Date: 2014-03-09 + */ +(function($){ + //default consts of excheck + var _consts = { + event: { + CHECK: "ztree_check" + }, + id: { + CHECK: "_check" + }, + checkbox: { + STYLE: "checkbox", + DEFAULT: "chk", + DISABLED: "disable", + FALSE: "false", + TRUE: "true", + FULL: "full", + PART: "part", + FOCUS: "focus" + }, + radio: { + STYLE: "radio", + TYPE_ALL: "all", + TYPE_LEVEL: "level" + } + }, + //default setting of excheck + _setting = { + check: { + enable: false, + autoCheckTrigger: false, + chkStyle: _consts.checkbox.STYLE, + nocheckInherit: false, + chkDisabledInherit: false, + radioType: _consts.radio.TYPE_LEVEL, + chkboxType: { + "Y": "ps", + "N": "ps" + } + }, + data: { + key: { + checked: "checked" + } + }, + callback: { + beforeCheck:null, + onCheck:null + } + }, + //default root of excheck + _initRoot = function (setting) { + var r = data.getRoot(setting); + r.radioCheckedList = []; + }, + //default cache of excheck + _initCache = function(treeId) {}, + //default bind event of excheck + _bindEvent = function(setting) { + var o = setting.treeObj, + c = consts.event; + o.bind(c.CHECK, function (event, srcEvent, treeId, node) { + event.srcEvent = srcEvent; + tools.apply(setting.callback.onCheck, [event, treeId, node]); + }); + }, + _unbindEvent = function(setting) { + var o = setting.treeObj, + c = consts.event; + o.unbind(c.CHECK); + }, + //default event proxy of excheck + _eventProxy = function(e) { + var target = e.target, + setting = data.getSetting(e.data.treeId), + tId = "", node = null, + nodeEventType = "", treeEventType = "", + nodeEventCallback = null, treeEventCallback = null; + + if (tools.eqs(e.type, "mouseover")) { + if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode"+ consts.id.CHECK) !== null) { + tId = tools.getNodeMainDom(target).id; + nodeEventType = "mouseoverCheck"; + } + } else if (tools.eqs(e.type, "mouseout")) { + if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode"+ consts.id.CHECK) !== null) { + tId = tools.getNodeMainDom(target).id; + nodeEventType = "mouseoutCheck"; + } + } else if (tools.eqs(e.type, "click")) { + if (setting.check.enable && tools.eqs(target.tagName, "span") && target.getAttribute("treeNode"+ consts.id.CHECK) !== null) { + tId = tools.getNodeMainDom(target).id; + nodeEventType = "checkNode"; + } + } + if (tId.length>0) { + node = data.getNodeCache(setting, tId); + switch (nodeEventType) { + case "checkNode" : + nodeEventCallback = _handler.onCheckNode; + break; + case "mouseoverCheck" : + nodeEventCallback = _handler.onMouseoverCheck; + break; + case "mouseoutCheck" : + nodeEventCallback = _handler.onMouseoutCheck; + break; + } + } + var proxyResult = { + stop: nodeEventType === "checkNode", + node: node, + nodeEventType: nodeEventType, + nodeEventCallback: nodeEventCallback, + treeEventType: treeEventType, + treeEventCallback: treeEventCallback + }; + return proxyResult + }, + //default init node of excheck + _initNode = function(setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) { + if (!n) return; + var checkedKey = setting.data.key.checked; + if (typeof n[checkedKey] == "string") n[checkedKey] = tools.eqs(n[checkedKey], "true"); + n[checkedKey] = !!n[checkedKey]; + n.checkedOld = n[checkedKey]; + if (typeof n.nocheck == "string") n.nocheck = tools.eqs(n.nocheck, "true"); + n.nocheck = !!n.nocheck || (setting.check.nocheckInherit && parentNode && !!parentNode.nocheck); + if (typeof n.chkDisabled == "string") n.chkDisabled = tools.eqs(n.chkDisabled, "true"); + n.chkDisabled = !!n.chkDisabled || (setting.check.chkDisabledInherit && parentNode && !!parentNode.chkDisabled); + if (typeof n.halfCheck == "string") n.halfCheck = tools.eqs(n.halfCheck, "true"); + n.halfCheck = !!n.halfCheck; + n.check_Child_State = -1; + n.check_Focus = false; + n.getCheckStatus = function() {return data.getCheckStatus(setting, n);}; + + if (setting.check.chkStyle == consts.radio.STYLE && setting.check.radioType == consts.radio.TYPE_ALL && n[checkedKey] ) { + var r = data.getRoot(setting); + r.radioCheckedList.push(n); + } + }, + //add dom for check + _beforeA = function(setting, node, html) { + var checkedKey = setting.data.key.checked; + if (setting.check.enable) { + data.makeChkFlag(setting, node); + html.push(""); + } + }, + //update zTreeObj, add method of check + _zTreeTools = function(setting, zTreeTools) { + zTreeTools.checkNode = function(node, checked, checkTypeFlag, callbackFlag) { + var checkedKey = this.setting.data.key.checked; + if (node.chkDisabled === true) return; + if (checked !== true && checked !== false) { + checked = !node[checkedKey]; + } + callbackFlag = !!callbackFlag; + + if (node[checkedKey] === checked && !checkTypeFlag) { + return; + } else if (callbackFlag && tools.apply(this.setting.callback.beforeCheck, [this.setting.treeId, node], true) == false) { + return; + } + if (tools.uCanDo(this.setting) && this.setting.check.enable && node.nocheck !== true) { + node[checkedKey] = checked; + var checkObj = $$(node, consts.id.CHECK, this.setting); + if (checkTypeFlag || this.setting.check.chkStyle === consts.radio.STYLE) view.checkNodeRelation(this.setting, node); + view.setChkClass(this.setting, checkObj, node); + view.repairParentChkClassWithSelf(this.setting, node); + if (callbackFlag) { + this.setting.treeObj.trigger(consts.event.CHECK, [null, this.setting.treeId, node]); + } + } + } + + zTreeTools.checkAllNodes = function(checked) { + view.repairAllChk(this.setting, !!checked); + } + + zTreeTools.getCheckedNodes = function(checked) { + var childKey = this.setting.data.key.children; + checked = (checked !== false); + return data.getTreeCheckedNodes(this.setting, data.getRoot(this.setting)[childKey], checked); + } + + zTreeTools.getChangeCheckedNodes = function() { + var childKey = this.setting.data.key.children; + return data.getTreeChangeCheckedNodes(this.setting, data.getRoot(this.setting)[childKey]); + } + + zTreeTools.setChkDisabled = function(node, disabled, inheritParent, inheritChildren) { + disabled = !!disabled; + inheritParent = !!inheritParent; + inheritChildren = !!inheritChildren; + view.repairSonChkDisabled(this.setting, node, disabled, inheritChildren); + view.repairParentChkDisabled(this.setting, node.getParentNode(), disabled, inheritParent); + } + + var _updateNode = zTreeTools.updateNode; + zTreeTools.updateNode = function(node, checkTypeFlag) { + if (_updateNode) _updateNode.apply(zTreeTools, arguments); + if (!node || !this.setting.check.enable) return; + var nObj = $$(node, this.setting); + if (nObj.get(0) && tools.uCanDo(this.setting)) { + var checkObj = $$(node, consts.id.CHECK, this.setting); + if (checkTypeFlag == true || this.setting.check.chkStyle === consts.radio.STYLE) view.checkNodeRelation(this.setting, node); + view.setChkClass(this.setting, checkObj, node); + view.repairParentChkClassWithSelf(this.setting, node); + } + } + }, + //method of operate data + _data = { + getRadioCheckedList: function(setting) { + var checkedList = data.getRoot(setting).radioCheckedList; + for (var i=0, j=checkedList.length; i -1 && node.check_Child_State < 2) : (node.check_Child_State > 0))) + }; + return r; + }, + getTreeCheckedNodes: function(setting, nodes, checked, results) { + if (!nodes) return []; + var childKey = setting.data.key.children, + checkedKey = setting.data.key.checked, + onlyOne = (checked && setting.check.chkStyle == consts.radio.STYLE && setting.check.radioType == consts.radio.TYPE_ALL); + results = !results ? [] : results; + for (var i = 0, l = nodes.length; i < l; i++) { + if (nodes[i].nocheck !== true && nodes[i].chkDisabled !== true && nodes[i][checkedKey] == checked) { + results.push(nodes[i]); + if(onlyOne) { + break; + } + } + data.getTreeCheckedNodes(setting, nodes[i][childKey], checked, results); + if(onlyOne && results.length > 0) { + break; + } + } + return results; + }, + getTreeChangeCheckedNodes: function(setting, nodes, results) { + if (!nodes) return []; + var childKey = setting.data.key.children, + checkedKey = setting.data.key.checked; + results = !results ? [] : results; + for (var i = 0, l = nodes.length; i < l; i++) { + if (nodes[i].nocheck !== true && nodes[i].chkDisabled !== true && nodes[i][checkedKey] != nodes[i].checkedOld) { + results.push(nodes[i]); + } + data.getTreeChangeCheckedNodes(setting, nodes[i][childKey], results); + } + return results; + }, + makeChkFlag: function(setting, node) { + if (!node) return; + var childKey = setting.data.key.children, + checkedKey = setting.data.key.checked, + chkFlag = -1; + if (node[childKey]) { + for (var i = 0, l = node[childKey].length; i < l; i++) { + var cNode = node[childKey][i]; + var tmp = -1; + if (setting.check.chkStyle == consts.radio.STYLE) { + if (cNode.nocheck === true || cNode.chkDisabled === true) { + tmp = cNode.check_Child_State; + } else if (cNode.halfCheck === true) { + tmp = 2; + } else if (cNode[checkedKey]) { + tmp = 2; + } else { + tmp = cNode.check_Child_State > 0 ? 2:0; + } + if (tmp == 2) { + chkFlag = 2; break; + } else if (tmp == 0){ + chkFlag = 0; + } + } else if (setting.check.chkStyle == consts.checkbox.STYLE) { + if (cNode.nocheck === true || cNode.chkDisabled === true) { + tmp = cNode.check_Child_State; + } else if (cNode.halfCheck === true) { + tmp = 1; + } else if (cNode[checkedKey] ) { + tmp = (cNode.check_Child_State === -1 || cNode.check_Child_State === 2) ? 2 : 1; + } else { + tmp = (cNode.check_Child_State > 0) ? 1 : 0; + } + if (tmp === 1) { + chkFlag = 1; break; + } else if (tmp === 2 && chkFlag > -1 && i > 0 && tmp !== chkFlag) { + chkFlag = 1; break; + } else if (chkFlag === 2 && tmp > -1 && tmp < 2) { + chkFlag = 1; break; + } else if (tmp > -1) { + chkFlag = tmp; + } + } + } + } + node.check_Child_State = chkFlag; + } + }, + //method of event proxy + _event = { + + }, + //method of event handler + _handler = { + onCheckNode: function (event, node) { + if (node.chkDisabled === true) return false; + var setting = data.getSetting(event.data.treeId), + checkedKey = setting.data.key.checked; + if (tools.apply(setting.callback.beforeCheck, [setting.treeId, node], true) == false) return true; + node[checkedKey] = !node[checkedKey]; + view.checkNodeRelation(setting, node); + var checkObj = $$(node, consts.id.CHECK, setting); + view.setChkClass(setting, checkObj, node); + view.repairParentChkClassWithSelf(setting, node); + setting.treeObj.trigger(consts.event.CHECK, [event, setting.treeId, node]); + return true; + }, + onMouseoverCheck: function(event, node) { + if (node.chkDisabled === true) return false; + var setting = data.getSetting(event.data.treeId), + checkObj = $$(node, consts.id.CHECK, setting); + node.check_Focus = true; + view.setChkClass(setting, checkObj, node); + return true; + }, + onMouseoutCheck: function(event, node) { + if (node.chkDisabled === true) return false; + var setting = data.getSetting(event.data.treeId), + checkObj = $$(node, consts.id.CHECK, setting); + node.check_Focus = false; + view.setChkClass(setting, checkObj, node); + return true; + } + }, + //method of tools for zTree + _tools = { + + }, + //method of operate ztree dom + _view = { + checkNodeRelation: function(setting, node) { + var pNode, i, l, + childKey = setting.data.key.children, + checkedKey = setting.data.key.checked, + r = consts.radio; + if (setting.check.chkStyle == r.STYLE) { + var checkedList = data.getRadioCheckedList(setting); + if (node[checkedKey]) { + if (setting.check.radioType == r.TYPE_ALL) { + for (i = checkedList.length-1; i >= 0; i--) { + pNode = checkedList[i]; + if (pNode[checkedKey] && pNode != node) { + pNode[checkedKey] = false; + checkedList.splice(i, 1); + + view.setChkClass(setting, $$(pNode, consts.id.CHECK, setting), pNode); + if (pNode.parentTId != node.parentTId) { + view.repairParentChkClassWithSelf(setting, pNode); + } + } + } + checkedList.push(node); + } else { + var parentNode = (node.parentTId) ? node.getParentNode() : data.getRoot(setting); + for (i = 0, l = parentNode[childKey].length; i < l; i++) { + pNode = parentNode[childKey][i]; + if (pNode[checkedKey] && pNode != node) { + pNode[checkedKey] = false; + view.setChkClass(setting, $$(pNode, consts.id.CHECK, setting), pNode); + } + } + } + } else if (setting.check.radioType == r.TYPE_ALL) { + for (i = 0, l = checkedList.length; i < l; i++) { + if (node == checkedList[i]) { + checkedList.splice(i, 1); + break; + } + } + } + + } else { + if (node[checkedKey] && (!node[childKey] || node[childKey].length==0 || setting.check.chkboxType.Y.indexOf("s") > -1)) { + view.setSonNodeCheckBox(setting, node, true); + } + if (!node[checkedKey] && (!node[childKey] || node[childKey].length==0 || setting.check.chkboxType.N.indexOf("s") > -1)) { + view.setSonNodeCheckBox(setting, node, false); + } + if (node[checkedKey] && setting.check.chkboxType.Y.indexOf("p") > -1) { + view.setParentNodeCheckBox(setting, node, true); + } + if (!node[checkedKey] && setting.check.chkboxType.N.indexOf("p") > -1) { + view.setParentNodeCheckBox(setting, node, false); + } + } + }, + makeChkClass: function(setting, node) { + var checkedKey = setting.data.key.checked, + c = consts.checkbox, r = consts.radio, + fullStyle = ""; + if (node.chkDisabled === true) { + fullStyle = c.DISABLED; + } else if (node.halfCheck) { + fullStyle = c.PART; + } else if (setting.check.chkStyle == r.STYLE) { + fullStyle = (node.check_Child_State < 1)? c.FULL:c.PART; + } else { + fullStyle = node[checkedKey] ? ((node.check_Child_State === 2 || node.check_Child_State === -1) ? c.FULL:c.PART) : ((node.check_Child_State < 1)? c.FULL:c.PART); + } + var chkName = setting.check.chkStyle + "_" + (node[checkedKey] ? c.TRUE : c.FALSE) + "_" + fullStyle; + chkName = (node.check_Focus && node.chkDisabled !== true) ? chkName + "_" + c.FOCUS : chkName; + return consts.className.BUTTON + " " + c.DEFAULT + " " + chkName; + }, + repairAllChk: function(setting, checked) { + if (setting.check.enable && setting.check.chkStyle === consts.checkbox.STYLE) { + var checkedKey = setting.data.key.checked, + childKey = setting.data.key.children, + root = data.getRoot(setting); + for (var i = 0, l = root[childKey].length; i 0) { + view.repairParentChkClass(setting, node[childKey][0]); + } else { + view.repairParentChkClass(setting, node); + } + }, + repairSonChkDisabled: function(setting, node, chkDisabled, inherit) { + if (!node) return; + var childKey = setting.data.key.children; + if (node.chkDisabled != chkDisabled) { + node.chkDisabled = chkDisabled; + } + view.repairChkClass(setting, node); + if (node[childKey] && inherit) { + for (var i = 0, l = node[childKey].length; i < l; i++) { + var sNode = node[childKey][i]; + view.repairSonChkDisabled(setting, sNode, chkDisabled, inherit); + } + } + }, + repairParentChkDisabled: function(setting, node, chkDisabled, inherit) { + if (!node) return; + if (node.chkDisabled != chkDisabled && inherit) { + node.chkDisabled = chkDisabled; + } + view.repairChkClass(setting, node); + view.repairParentChkDisabled(setting, node.getParentNode(), chkDisabled, inherit); + }, + setChkClass: function(setting, obj, node) { + if (!obj) return; + if (node.nocheck === true) { + obj.hide(); + } else { + obj.show(); + } + obj.removeClass(); + obj.addClass(view.makeChkClass(setting, node)); + }, + setParentNodeCheckBox: function(setting, node, value, srcNode) { + var childKey = setting.data.key.children, + checkedKey = setting.data.key.checked, + checkObj = $$(node, consts.id.CHECK, setting); + if (!srcNode) srcNode = node; + data.makeChkFlag(setting, node); + if (node.nocheck !== true && node.chkDisabled !== true) { + node[checkedKey] = value; + view.setChkClass(setting, checkObj, node); + if (setting.check.autoCheckTrigger && node != srcNode) { + setting.treeObj.trigger(consts.event.CHECK, [null, setting.treeId, node]); + } + } + if (node.parentTId) { + var pSign = true; + if (!value) { + var pNodes = node.getParentNode()[childKey]; + for (var i = 0, l = pNodes.length; i < l; i++) { + if ((pNodes[i].nocheck !== true && pNodes[i].chkDisabled !== true && pNodes[i][checkedKey]) + || ((pNodes[i].nocheck === true || pNodes[i].chkDisabled === true) && pNodes[i].check_Child_State > 0)) { + pSign = false; + break; + } + } + } + if (pSign) { + view.setParentNodeCheckBox(setting, node.getParentNode(), value, srcNode); + } + } + }, + setSonNodeCheckBox: function(setting, node, value, srcNode) { + if (!node) return; + var childKey = setting.data.key.children, + checkedKey = setting.data.key.checked, + checkObj = $$(node, consts.id.CHECK, setting); + if (!srcNode) srcNode = node; + + var hasDisable = false; + if (node[childKey]) { + for (var i = 0, l = node[childKey].length; i < l && node.chkDisabled !== true; i++) { + var sNode = node[childKey][i]; + view.setSonNodeCheckBox(setting, sNode, value, srcNode); + if (sNode.chkDisabled === true) hasDisable = true; + } + } + + if (node != data.getRoot(setting) && node.chkDisabled !== true) { + if (hasDisable && node.nocheck !== true) { + data.makeChkFlag(setting, node); + } + if (node.nocheck !== true && node.chkDisabled !== true) { + node[checkedKey] = value; + if (!hasDisable) node.check_Child_State = (node[childKey] && node[childKey].length > 0) ? (value ? 2 : 0) : -1; + } else { + node.check_Child_State = -1; + } + view.setChkClass(setting, checkObj, node); + if (setting.check.autoCheckTrigger && node != srcNode && node.nocheck !== true && node.chkDisabled !== true) { + setting.treeObj.trigger(consts.event.CHECK, [null, setting.treeId, node]); + } + } + + } + }, + + _z = { + tools: _tools, + view: _view, + event: _event, + data: _data + }; + $.extend(true, $.fn.zTree.consts, _consts); + $.extend(true, $.fn.zTree._z, _z); + + var zt = $.fn.zTree, + tools = zt._z.tools, + consts = zt.consts, + view = zt._z.view, + data = zt._z.data, + event = zt._z.event, + $$ = tools.$; + + data.exSetting(_setting); + data.addInitBind(_bindEvent); + data.addInitUnBind(_unbindEvent); + data.addInitCache(_initCache); + data.addInitNode(_initNode); + data.addInitProxy(_eventProxy, true); + data.addInitRoot(_initRoot); + data.addBeforeA(_beforeA); + data.addZTreeTools(_zTreeTools); + + var _createNodes = view.createNodes; + view.createNodes = function(setting, level, nodes, parentNode) { + if (_createNodes) _createNodes.apply(view, arguments); + if (!nodes) return; + view.repairParentChkClassWithSelf(setting, parentNode); + } + var _removeNode = view.removeNode; + view.removeNode = function(setting, node) { + var parentNode = node.getParentNode(); + if (_removeNode) _removeNode.apply(view, arguments); + if (!node || !parentNode) return; + view.repairChkClass(setting, parentNode); + view.repairParentChkClass(setting, parentNode); + } + + var _appendNodes = view.appendNodes; + view.appendNodes = function(setting, level, nodes, parentNode, initFlag, openFlag) { + var html = ""; + if (_appendNodes) { + html = _appendNodes.apply(view, arguments); + } + if (parentNode) { + data.makeChkFlag(setting, parentNode); + } + return html; + } +})(jQuery); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.excheck.min.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.excheck.min.js new file mode 100644 index 00000000..9c56f461 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.excheck.min.js @@ -0,0 +1,34 @@ +/* + * JQuery zTree excheck v3.5.16 + * http://zTree.me/ + * + * Copyright (c) 2010 Hunter.z + * + * Licensed same as jquery - MIT License + * http://www.opensource.org/licenses/mit-license.php + * + * email: hunter.z@263.net + * Date: 2014-03-09 + */ +(function(m){var p,q,r,o={event:{CHECK:"ztree_check"},id:{CHECK:"_check"},checkbox:{STYLE:"checkbox",DEFAULT:"chk",DISABLED:"disable",FALSE:"false",TRUE:"true",FULL:"full",PART:"part",FOCUS:"focus"},radio:{STYLE:"radio",TYPE_ALL:"all",TYPE_LEVEL:"level"}},v={check:{enable:!1,autoCheckTrigger:!1,chkStyle:o.checkbox.STYLE,nocheckInherit:!1,chkDisabledInherit:!1,radioType:o.radio.TYPE_LEVEL,chkboxType:{Y:"ps",N:"ps"}},data:{key:{checked:"checked"}},callback:{beforeCheck:null,onCheck:null}};p=function(c, +a){if(a.chkDisabled===!0)return!1;var b=f.getSetting(c.data.treeId),d=b.data.key.checked;if(k.apply(b.callback.beforeCheck,[b.treeId,a],!0)==!1)return!0;a[d]=!a[d];e.checkNodeRelation(b,a);d=n(a,j.id.CHECK,b);e.setChkClass(b,d,a);e.repairParentChkClassWithSelf(b,a);b.treeObj.trigger(j.event.CHECK,[c,b.treeId,a]);return!0};q=function(c,a){if(a.chkDisabled===!0)return!1;var b=f.getSetting(c.data.treeId),d=n(a,j.id.CHECK,b);a.check_Focus=!0;e.setChkClass(b,d,a);return!0};r=function(c,a){if(a.chkDisabled=== +!0)return!1;var b=f.getSetting(c.data.treeId),d=n(a,j.id.CHECK,b);a.check_Focus=!1;e.setChkClass(b,d,a);return!0};m.extend(!0,m.fn.zTree.consts,o);m.extend(!0,m.fn.zTree._z,{tools:{},view:{checkNodeRelation:function(c,a){var b,d,h,i=c.data.key.children,l=c.data.key.checked;b=j.radio;if(c.check.chkStyle==b.STYLE){var g=f.getRadioCheckedList(c);if(a[l])if(c.check.radioType==b.TYPE_ALL){for(d=g.length-1;d>=0;d--)b=g[d],b[l]&&b!=a&&(b[l]=!1,g.splice(d,1),e.setChkClass(c,n(b,j.id.CHECK,c),b),b.parentTId!= +a.parentTId&&e.repairParentChkClassWithSelf(c,b));g.push(a)}else{g=a.parentTId?a.getParentNode():f.getRoot(c);for(d=0,h=g[i].length;d-1)&&e.setSonNodeCheckBox(c,a,!0),!a[l]&&(!a[i]||a[i].length==0||c.check.chkboxType.N.indexOf("s")>-1)&&e.setSonNodeCheckBox(c, +a,!1),a[l]&&c.check.chkboxType.Y.indexOf("p")>-1&&e.setParentNodeCheckBox(c,a,!0),!a[l]&&c.check.chkboxType.N.indexOf("p")>-1&&e.setParentNodeCheckBox(c,a,!1)},makeChkClass:function(c,a){var b=c.data.key.checked,d=j.checkbox,h=j.radio,i="",i=a.chkDisabled===!0?d.DISABLED:a.halfCheck?d.PART:c.check.chkStyle==h.STYLE?a.check_Child_State<1?d.FULL:d.PART:a[b]?a.check_Child_State===2||a.check_Child_State===-1?d.FULL:d.PART:a.check_Child_State<1?d.FULL:d.PART,b=c.check.chkStyle+"_"+(a[b]?d.TRUE:d.FALSE)+ +"_"+i,b=a.check_Focus&&a.chkDisabled!==!0?b+"_"+d.FOCUS:b;return j.className.BUTTON+" "+d.DEFAULT+" "+b},repairAllChk:function(c,a){if(c.check.enable&&c.check.chkStyle===j.checkbox.STYLE)for(var b=c.data.key.checked,d=c.data.key.children,h=f.getRoot(c),i=0,l=h[d].length;i0?e.repairParentChkClass(c,a[b][0]):e.repairParentChkClass(c,a)}},repairSonChkDisabled:function(c,a,b,d){if(a){var h=c.data.key.children;if(a.chkDisabled!=b)a.chkDisabled=b;e.repairChkClass(c,a);if(a[h]&&d)for(var i=0,l=a[h].length;i0){l=!1;break}l&&e.setParentNodeCheckBox(c,a.getParentNode(),b,d)}},setSonNodeCheckBox:function(c,a,b,d){if(a){var h=c.data.key.children,i=c.data.key.checked,l=n(a,j.id.CHECK,c);d||(d=a);var g=!1;if(a[h])for(var k=0,m=a[h].length;k0?b?2:0:-1}else a.check_Child_State=-1;e.setChkClass(c,l,a);c.check.autoCheckTrigger&&a!=d&&a.nocheck!==!0&&a.chkDisabled!==!0&&c.treeObj.trigger(j.event.CHECK,[null,c.treeId,a])}}}},event:{},data:{getRadioCheckedList:function(c){for(var a=f.getRoot(c).radioCheckedList,b=0,d=a.length;b-1&&a.check_Child_State<2:a.check_Child_State>0}},getTreeCheckedNodes:function(c,a,b,d){if(!a)return[];for(var h=c.data.key.children,i=c.data.key.checked,e=b&&c.check.chkStyle==j.radio.STYLE&&c.check.radioType==j.radio.TYPE_ALL, +d=!d?[]:d,g=0,k=a.length;g0)break}return d},getTreeChangeCheckedNodes:function(c,a,b){if(!a)return[];for(var d=c.data.key.children,h=c.data.key.checked,b=!b?[]:b,i=0,e=a.length;i0?2:0,f==2){h=2;break}else f==0&&(h=0);else if(c.check.chkStyle==j.checkbox.STYLE)if(f=g.nocheck===!0||g.chkDisabled===!0?g.check_Child_State:g.halfCheck===!0?1:g[d]?g.check_Child_State===-1||g.check_Child_State===2?2:1:g.check_Child_State>0?1:0,f===1){h=1;break}else if(f=== +2&&h>-1&&i>0&&f!==h){h=1;break}else if(h===2&&f>-1&&f<2){h=1;break}else f>-1&&(h=f)}a.check_Child_State=h}}}});var m=m.fn.zTree,k=m._z.tools,j=m.consts,e=m._z.view,f=m._z.data,n=k.$;f.exSetting(v);f.addInitBind(function(c){c.treeObj.bind(j.event.CHECK,function(a,b,d,h){a.srcEvent=b;k.apply(c.callback.onCheck,[a,d,h])})});f.addInitUnBind(function(c){c.treeObj.unbind(j.event.CHECK)});f.addInitCache(function(){});f.addInitNode(function(c,a,b,d){if(b){a=c.data.key.checked;typeof b[a]=="string"&&(b[a]= +k.eqs(b[a],"true"));b[a]=!!b[a];b.checkedOld=b[a];if(typeof b.nocheck=="string")b.nocheck=k.eqs(b.nocheck,"true");b.nocheck=!!b.nocheck||c.check.nocheckInherit&&d&&!!d.nocheck;if(typeof b.chkDisabled=="string")b.chkDisabled=k.eqs(b.chkDisabled,"true");b.chkDisabled=!!b.chkDisabled||c.check.chkDisabledInherit&&d&&!!d.chkDisabled;if(typeof b.halfCheck=="string")b.halfCheck=k.eqs(b.halfCheck,"true");b.halfCheck=!!b.halfCheck;b.check_Child_State=-1;b.check_Focus=!1;b.getCheckStatus=function(){return f.getCheckStatus(c, +b)};c.check.chkStyle==j.radio.STYLE&&c.check.radioType==j.radio.TYPE_ALL&&b[a]&&f.getRoot(c).radioCheckedList.push(b)}});f.addInitProxy(function(c){var a=c.target,b=f.getSetting(c.data.treeId),d="",h=null,e="",l=null;if(k.eqs(c.type,"mouseover")){if(b.check.enable&&k.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+j.id.CHECK)!==null)d=k.getNodeMainDom(a).id,e="mouseoverCheck"}else if(k.eqs(c.type,"mouseout")){if(b.check.enable&&k.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+j.id.CHECK)!==null)d= +k.getNodeMainDom(a).id,e="mouseoutCheck"}else if(k.eqs(c.type,"click")&&b.check.enable&&k.eqs(a.tagName,"span")&&a.getAttribute("treeNode"+j.id.CHECK)!==null)d=k.getNodeMainDom(a).id,e="checkNode";if(d.length>0)switch(h=f.getNodeCache(b,d),e){case "checkNode":l=p;break;case "mouseoverCheck":l=q;break;case "mouseoutCheck":l=r}return{stop:e==="checkNode",node:h,nodeEventType:e,nodeEventCallback:l,treeEventType:"",treeEventCallback:null}},!0);f.addInitRoot(function(c){f.getRoot(c).radioCheckedList=[]}); +f.addBeforeA(function(c,a,b){c.check.enable&&(f.makeChkFlag(c,a),b.push(""))});f.addZTreeTools(function(c,a){a.checkNode=function(a,b,c,f){var g=this.setting.data.key.checked;if(a.chkDisabled!==!0&&(b!==!0&&b!==!1&&(b=!a[g]),f=!!f,(a[g]!==b||c)&&!(f&&k.apply(this.setting.callback.beforeCheck,[this.setting.treeId,a],!0)==!1)&&k.uCanDo(this.setting)&&this.setting.check.enable&& +a.nocheck!==!0))a[g]=b,b=n(a,j.id.CHECK,this.setting),(c||this.setting.check.chkStyle===j.radio.STYLE)&&e.checkNodeRelation(this.setting,a),e.setChkClass(this.setting,b,a),e.repairParentChkClassWithSelf(this.setting,a),f&&this.setting.treeObj.trigger(j.event.CHECK,[null,this.setting.treeId,a])};a.checkAllNodes=function(a){e.repairAllChk(this.setting,!!a)};a.getCheckedNodes=function(a){var b=this.setting.data.key.children;return f.getTreeCheckedNodes(this.setting,f.getRoot(this.setting)[b],a!==!1)}; +a.getChangeCheckedNodes=function(){var a=this.setting.data.key.children;return f.getTreeChangeCheckedNodes(this.setting,f.getRoot(this.setting)[a])};a.setChkDisabled=function(a,b,c,f){b=!!b;c=!!c;e.repairSonChkDisabled(this.setting,a,b,!!f);e.repairParentChkDisabled(this.setting,a.getParentNode(),b,c)};var b=a.updateNode;a.updateNode=function(c,f){b&&b.apply(a,arguments);if(c&&this.setting.check.enable&&n(c,this.setting).get(0)&&k.uCanDo(this.setting)){var i=n(c,j.id.CHECK,this.setting);(f==!0||this.setting.check.chkStyle=== +j.radio.STYLE)&&e.checkNodeRelation(this.setting,c);e.setChkClass(this.setting,i,c);e.repairParentChkClassWithSelf(this.setting,c)}}});var s=e.createNodes;e.createNodes=function(c,a,b,d){s&&s.apply(e,arguments);b&&e.repairParentChkClassWithSelf(c,d)};var t=e.removeNode;e.removeNode=function(c,a){var b=a.getParentNode();t&&t.apply(e,arguments);a&&b&&(e.repairChkClass(c,b),e.repairParentChkClass(c,b))};var u=e.appendNodes;e.appendNodes=function(c,a,b,d,h,i){var j="";u&&(j=u.apply(e,arguments));d&&f.makeChkFlag(c, +d);return j}})(jQuery); diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.exedit.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.exedit.js new file mode 100644 index 00000000..70a20936 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.exedit.js @@ -0,0 +1,1191 @@ +/* + * JQuery zTree exedit v3.5.16 + * http://zTree.me/ + * + * Copyright (c) 2010 Hunter.z + * + * Licensed same as jquery - MIT License + * http://www.opensource.org/licenses/mit-license.php + * + * email: hunter.z@263.net + * Date: 2014-03-09 + */ +(function($){ + //default consts of exedit + var _consts = { + event: { + DRAG: "ztree_drag", + DROP: "ztree_drop", + RENAME: "ztree_rename", + DRAGMOVE:"ztree_dragmove" + }, + id: { + EDIT: "_edit", + INPUT: "_input", + REMOVE: "_remove" + }, + move: { + TYPE_INNER: "inner", + TYPE_PREV: "prev", + TYPE_NEXT: "next" + }, + node: { + CURSELECTED_EDIT: "curSelectedNode_Edit", + TMPTARGET_TREE: "tmpTargetzTree", + TMPTARGET_NODE: "tmpTargetNode" + } + }, + //default setting of exedit + _setting = { + edit: { + enable: false, + editNameSelectAll: false, + showRemoveBtn: true, + showRenameBtn: true, + removeTitle: "remove", + renameTitle: "rename", + drag: { + autoExpandTrigger: false, + isCopy: true, + isMove: true, + prev: true, + next: true, + inner: true, + minMoveSize: 5, + borderMax: 10, + borderMin: -5, + maxShowNodeNum: 5, + autoOpenTime: 500 + } + }, + view: { + addHoverDom: null, + removeHoverDom: null + }, + callback: { + beforeDrag:null, + beforeDragOpen:null, + beforeDrop:null, + beforeEditName:null, + beforeRename:null, + onDrag:null, + onDragMove:null, + onDrop:null, + onRename:null + } + }, + //default root of exedit + _initRoot = function (setting) { + var r = data.getRoot(setting), rs = data.getRoots(); + r.curEditNode = null; + r.curEditInput = null; + r.curHoverNode = null; + r.dragFlag = 0; + r.dragNodeShowBefore = []; + r.dragMaskList = new Array(); + rs.showHoverDom = true; + }, + //default cache of exedit + _initCache = function(treeId) {}, + //default bind event of exedit + _bindEvent = function(setting) { + var o = setting.treeObj; + var c = consts.event; + o.bind(c.RENAME, function (event, treeId, treeNode, isCancel) { + tools.apply(setting.callback.onRename, [event, treeId, treeNode, isCancel]); + }); + + o.bind(c.DRAG, function (event, srcEvent, treeId, treeNodes) { + tools.apply(setting.callback.onDrag, [srcEvent, treeId, treeNodes]); + }); + + o.bind(c.DRAGMOVE,function(event, srcEvent, treeId, treeNodes){ + tools.apply(setting.callback.onDragMove,[srcEvent, treeId, treeNodes]); + }); + + o.bind(c.DROP, function (event, srcEvent, treeId, treeNodes, targetNode, moveType, isCopy) { + tools.apply(setting.callback.onDrop, [srcEvent, treeId, treeNodes, targetNode, moveType, isCopy]); + }); + }, + _unbindEvent = function(setting) { + var o = setting.treeObj; + var c = consts.event; + o.unbind(c.RENAME); + o.unbind(c.DRAG); + o.unbind(c.DRAGMOVE); + o.unbind(c.DROP); + }, + //default event proxy of exedit + _eventProxy = function(e) { + var target = e.target, + setting = data.getSetting(e.data.treeId), + relatedTarget = e.relatedTarget, + tId = "", node = null, + nodeEventType = "", treeEventType = "", + nodeEventCallback = null, treeEventCallback = null, + tmp = null; + + if (tools.eqs(e.type, "mouseover")) { + tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]); + if (tmp) { + tId = tools.getNodeMainDom(tmp).id; + nodeEventType = "hoverOverNode"; + } + } else if (tools.eqs(e.type, "mouseout")) { + tmp = tools.getMDom(setting, relatedTarget, [{tagName:"a", attrName:"treeNode"+consts.id.A}]); + if (!tmp) { + tId = "remove"; + nodeEventType = "hoverOutNode"; + } + } else if (tools.eqs(e.type, "mousedown")) { + tmp = tools.getMDom(setting, target, [{tagName:"a", attrName:"treeNode"+consts.id.A}]); + if (tmp) { + tId = tools.getNodeMainDom(tmp).id; + nodeEventType = "mousedownNode"; + } + } + if (tId.length>0) { + node = data.getNodeCache(setting, tId); + switch (nodeEventType) { + case "mousedownNode" : + nodeEventCallback = _handler.onMousedownNode; + break; + case "hoverOverNode" : + nodeEventCallback = _handler.onHoverOverNode; + break; + case "hoverOutNode" : + nodeEventCallback = _handler.onHoverOutNode; + break; + } + } + var proxyResult = { + stop: false, + node: node, + nodeEventType: nodeEventType, + nodeEventCallback: nodeEventCallback, + treeEventType: treeEventType, + treeEventCallback: treeEventCallback + }; + return proxyResult + }, + //default init node of exedit + _initNode = function(setting, level, n, parentNode, isFirstNode, isLastNode, openFlag) { + if (!n) return; + n.isHover = false; + n.editNameFlag = false; + }, + //update zTreeObj, add method of edit + _zTreeTools = function(setting, zTreeTools) { + zTreeTools.cancelEditName = function(newName) { + var root = data.getRoot(this.setting); + if (!root.curEditNode) return; + view.cancelCurEditNode(this.setting, newName?newName:null, true); + } + zTreeTools.copyNode = function(targetNode, node, moveType, isSilent) { + if (!node) return null; + if (targetNode && !targetNode.isParent && this.setting.data.keep.leaf && moveType === consts.move.TYPE_INNER) return null; + var _this = this, + newNode = tools.clone(node); + if (!targetNode) { + targetNode = null; + moveType = consts.move.TYPE_INNER; + } + if (moveType == consts.move.TYPE_INNER) { + function copyCallback() { + view.addNodes(_this.setting, targetNode, [newNode], isSilent); + } + + if (tools.canAsync(this.setting, targetNode)) { + view.asyncNode(this.setting, targetNode, isSilent, copyCallback); + } else { + copyCallback(); + } + } else { + view.addNodes(this.setting, targetNode.parentNode, [newNode], isSilent); + view.moveNode(this.setting, targetNode, newNode, moveType, false, isSilent); + } + return newNode; + } + zTreeTools.editName = function(node) { + if (!node || !node.tId || node !== data.getNodeCache(this.setting, node.tId)) return; + if (node.parentTId) view.expandCollapseParentNode(this.setting, node.getParentNode(), true); + view.editNode(this.setting, node) + } + zTreeTools.moveNode = function(targetNode, node, moveType, isSilent) { + if (!node) return node; + if (targetNode && !targetNode.isParent && this.setting.data.keep.leaf && moveType === consts.move.TYPE_INNER) { + return null; + } else if (targetNode && ((node.parentTId == targetNode.tId && moveType == consts.move.TYPE_INNER) || $$(node, this.setting).find("#" + targetNode.tId).length > 0)) { + return null; + } else if (!targetNode) { + targetNode = null; + } + var _this = this; + function moveCallback() { + view.moveNode(_this.setting, targetNode, node, moveType, false, isSilent); + } + if (tools.canAsync(this.setting, targetNode) && moveType === consts.move.TYPE_INNER) { + view.asyncNode(this.setting, targetNode, isSilent, moveCallback); + } else { + moveCallback(); + } + return node; + } + zTreeTools.setEditable = function(editable) { + this.setting.edit.enable = editable; + return this.refresh(); + } + }, + //method of operate data + _data = { + setSonNodeLevel: function(setting, parentNode, node) { + if (!node) return; + var childKey = setting.data.key.children; + node.level = (parentNode)? parentNode.level + 1 : 0; + if (!node[childKey]) return; + for (var i = 0, l = node[childKey].length; i < l; i++) { + if (node[childKey][i]) data.setSonNodeLevel(setting, node, node[childKey][i]); + } + } + }, + //method of event proxy + _event = { + + }, + //method of event handler + _handler = { + onHoverOverNode: function(event, node) { + var setting = data.getSetting(event.data.treeId), + root = data.getRoot(setting); + if (root.curHoverNode != node) { + _handler.onHoverOutNode(event); + } + root.curHoverNode = node; + view.addHoverDom(setting, node); + }, + onHoverOutNode: function(event, node) { + var setting = data.getSetting(event.data.treeId), + root = data.getRoot(setting); + if (root.curHoverNode && !data.isSelectedNode(setting, root.curHoverNode)) { + view.removeTreeDom(setting, root.curHoverNode); + root.curHoverNode = null; + } + }, + onMousedownNode: function(eventMouseDown, _node) { + var i,l, + setting = data.getSetting(eventMouseDown.data.treeId), + root = data.getRoot(setting), roots = data.getRoots(); + //right click can't drag & drop + if (eventMouseDown.button == 2 || !setting.edit.enable || (!setting.edit.drag.isCopy && !setting.edit.drag.isMove)) return true; + + //input of edit node name can't drag & drop + var target = eventMouseDown.target, + _nodes = data.getRoot(setting).curSelectedList, + nodes = []; + if (!data.isSelectedNode(setting, _node)) { + nodes = [_node]; + } else { + for (i=0, l=_nodes.length; i1) { + var pNodes = nodes[0].parentTId ? nodes[0].getParentNode()[childKey] : data.getNodes(setting); + tmpNodes = []; + for (i=0, l=pNodes.length; i -1 && (lastIndex+1) !== i) { + isOrder = false; + } + tmpNodes.push(pNodes[i]); + lastIndex = i; + } + if (nodes.length === tmpNodes.length) { + nodes = tmpNodes; + break; + } + } + } + if (isOrder) { + preNode = nodes[0].getPreNode(); + nextNode = nodes[nodes.length-1].getNextNode(); + } + + //set node in selected + curNode = $$("
                        ", setting); + for (i=0, l=nodes.length; i0); + view.removeTreeDom(setting, tmpNode); + + if (i > setting.edit.drag.maxShowNodeNum-1) { + continue; + } + + tmpDom = $$("
                      • ", setting); + tmpDom.append($$(tmpNode, consts.id.A, setting).clone()); + tmpDom.css("padding", "0"); + tmpDom.children("#" + tmpNode.tId + consts.id.A).removeClass(consts.node.CURSELECTED); + curNode.append(tmpDom); + if (i == setting.edit.drag.maxShowNodeNum-1) { + tmpDom = $$("
                      • ...
                      • ", setting); + curNode.append(tmpDom); + } + } + curNode.attr("id", nodes[0].tId + consts.id.UL + "_tmp"); + curNode.addClass(setting.treeObj.attr("class")); + curNode.appendTo(body); + + tmpArrow = $$("", setting); + tmpArrow.attr("id", "zTreeMove_arrow_tmp"); + tmpArrow.appendTo(body); + + setting.treeObj.trigger(consts.event.DRAG, [event, setting.treeId, nodes]); + } + + if (root.dragFlag == 1) { + if (tmpTarget && tmpArrow.attr("id") == event.target.id && tmpTargetNodeId && (event.clientX + doc.scrollLeft()+2) > ($("#" + tmpTargetNodeId + consts.id.A, tmpTarget).offset().left)) { + var xT = $("#" + tmpTargetNodeId + consts.id.A, tmpTarget); + event.target = (xT.length > 0) ? xT.get(0) : event.target; + } else if (tmpTarget) { + tmpTarget.removeClass(consts.node.TMPTARGET_TREE); + if (tmpTargetNodeId) $("#" + tmpTargetNodeId + consts.id.A, tmpTarget).removeClass(consts.node.TMPTARGET_NODE + "_" + consts.move.TYPE_PREV) + .removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_NEXT).removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_INNER); + } + tmpTarget = null; + tmpTargetNodeId = null; + + //judge drag & drop in multi ztree + isOtherTree = false; + targetSetting = setting; + var settings = data.getSettings(); + for (var s in settings) { + if (settings[s].treeId && settings[s].edit.enable && settings[s].treeId != setting.treeId + && (event.target.id == settings[s].treeId || $(event.target).parents("#" + settings[s].treeId).length>0)) { + isOtherTree = true; + targetSetting = settings[s]; + } + } + + var docScrollTop = doc.scrollTop(), + docScrollLeft = doc.scrollLeft(), + treeOffset = targetSetting.treeObj.offset(), + scrollHeight = targetSetting.treeObj.get(0).scrollHeight, + scrollWidth = targetSetting.treeObj.get(0).scrollWidth, + dTop = (event.clientY + docScrollTop - treeOffset.top), + dBottom = (targetSetting.treeObj.height() + treeOffset.top - event.clientY - docScrollTop), + dLeft = (event.clientX + docScrollLeft - treeOffset.left), + dRight = (targetSetting.treeObj.width() + treeOffset.left - event.clientX - docScrollLeft), + isTop = (dTop < setting.edit.drag.borderMax && dTop > setting.edit.drag.borderMin), + isBottom = (dBottom < setting.edit.drag.borderMax && dBottom > setting.edit.drag.borderMin), + isLeft = (dLeft < setting.edit.drag.borderMax && dLeft > setting.edit.drag.borderMin), + isRight = (dRight < setting.edit.drag.borderMax && dRight > setting.edit.drag.borderMin), + isTreeInner = dTop > setting.edit.drag.borderMin && dBottom > setting.edit.drag.borderMin && dLeft > setting.edit.drag.borderMin && dRight > setting.edit.drag.borderMin, + isTreeTop = (isTop && targetSetting.treeObj.scrollTop() <= 0), + isTreeBottom = (isBottom && (targetSetting.treeObj.scrollTop() + targetSetting.treeObj.height()+10) >= scrollHeight), + isTreeLeft = (isLeft && targetSetting.treeObj.scrollLeft() <= 0), + isTreeRight = (isRight && (targetSetting.treeObj.scrollLeft() + targetSetting.treeObj.width()+10) >= scrollWidth); + + if (event.target && tools.isChildOrSelf(event.target, targetSetting.treeId)) { + //get node
                      • dom + var targetObj = event.target; + while (targetObj && targetObj.tagName && !tools.eqs(targetObj.tagName, "li") && targetObj.id != targetSetting.treeId) { + targetObj = targetObj.parentNode; + } + + var canMove = true; + //don't move to self or children of self + for (i=0, l=nodes.length; i 0) { + canMove = false; + break; + } + } + if (canMove && event.target && tools.isChildOrSelf(event.target, targetObj.id + consts.id.A)) { + tmpTarget = $(targetObj); + tmpTargetNodeId = targetObj.id; + } + } + + //the mouse must be in zTree + tmpNode = nodes[0]; + if (isTreeInner && tools.isChildOrSelf(event.target, targetSetting.treeId)) { + //judge mouse move in root of ztree + if (!tmpTarget && (event.target.id == targetSetting.treeId || isTreeTop || isTreeBottom || isTreeLeft || isTreeRight) && (isOtherTree || (!isOtherTree && tmpNode.parentTId))) { + tmpTarget = targetSetting.treeObj; + } + //auto scroll top + if (isTop) { + targetSetting.treeObj.scrollTop(targetSetting.treeObj.scrollTop()-10); + } else if (isBottom) { + targetSetting.treeObj.scrollTop(targetSetting.treeObj.scrollTop()+10); + } + if (isLeft) { + targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft()-10); + } else if (isRight) { + targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft()+10); + } + //auto scroll left + if (tmpTarget && tmpTarget != targetSetting.treeObj && tmpTarget.offset().left < targetSetting.treeObj.offset().left) { + targetSetting.treeObj.scrollLeft(targetSetting.treeObj.scrollLeft()+ tmpTarget.offset().left - targetSetting.treeObj.offset().left); + } + } + + curNode.css({ + "top": (event.clientY + docScrollTop + 3) + "px", + "left": (event.clientX + docScrollLeft + 3) + "px" + }); + + var dX = 0; + var dY = 0; + if (tmpTarget && tmpTarget.attr("id")!=targetSetting.treeId) { + var tmpTargetNode = tmpTargetNodeId == null ? null: data.getNodeCache(targetSetting, tmpTargetNodeId), + isCopy = ((event.ctrlKey || event.metaKey) && setting.edit.drag.isMove && setting.edit.drag.isCopy) || (!setting.edit.drag.isMove && setting.edit.drag.isCopy), + isPrev = !!(preNode && tmpTargetNodeId === preNode.tId), + isNext = !!(nextNode && tmpTargetNodeId === nextNode.tId), + isInner = (tmpNode.parentTId && tmpNode.parentTId == tmpTargetNodeId), + canPrev = (isCopy || !isNext) && tools.apply(targetSetting.edit.drag.prev, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.prev), + canNext = (isCopy || !isPrev) && tools.apply(targetSetting.edit.drag.next, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.next), + canInner = (isCopy || !isInner) && !(targetSetting.data.keep.leaf && !tmpTargetNode.isParent) && tools.apply(targetSetting.edit.drag.inner, [targetSetting.treeId, nodes, tmpTargetNode], !!targetSetting.edit.drag.inner); + if (!canPrev && !canNext && !canInner) { + tmpTarget = null; + tmpTargetNodeId = ""; + moveType = consts.move.TYPE_INNER; + tmpArrow.css({ + "display":"none" + }); + if (window.zTreeMoveTimer) { + clearTimeout(window.zTreeMoveTimer); + window.zTreeMoveTargetNodeTId = null + } + } else { + var tmpTargetA = $("#" + tmpTargetNodeId + consts.id.A, tmpTarget), + tmpNextA = tmpTargetNode.isLastNode ? null : $("#" + tmpTargetNode.getNextNode().tId + consts.id.A, tmpTarget.next()), + tmpTop = tmpTargetA.offset().top, + tmpLeft = tmpTargetA.offset().left, + prevPercent = canPrev ? (canInner ? 0.25 : (canNext ? 0.5 : 1) ) : -1, + nextPercent = canNext ? (canInner ? 0.75 : (canPrev ? 0.5 : 0) ) : -1, + dY_percent = (event.clientY + docScrollTop - tmpTop)/tmpTargetA.height(); + if ((prevPercent==1 ||dY_percent<=prevPercent && dY_percent>=-.2) && canPrev) { + dX = 1 - tmpArrow.width(); + dY = tmpTop - tmpArrow.height()/2; + moveType = consts.move.TYPE_PREV; + } else if ((nextPercent==0 || dY_percent>=nextPercent && dY_percent<=1.2) && canNext) { + dX = 1 - tmpArrow.width(); + dY = (tmpNextA == null || (tmpTargetNode.isParent && tmpTargetNode.open)) ? (tmpTop + tmpTargetA.height() - tmpArrow.height()/2) : (tmpNextA.offset().top - tmpArrow.height()/2); + moveType = consts.move.TYPE_NEXT; + }else { + dX = 5 - tmpArrow.width(); + dY = tmpTop; + moveType = consts.move.TYPE_INNER; + } + tmpArrow.css({ + "display":"block", + "top": dY + "px", + "left": (tmpLeft + dX) + "px" + }); + tmpTargetA.addClass(consts.node.TMPTARGET_NODE + "_" + moveType); + + if (preTmpTargetNodeId != tmpTargetNodeId || preTmpMoveType != moveType) { + startTime = (new Date()).getTime(); + } + if (tmpTargetNode && tmpTargetNode.isParent && moveType == consts.move.TYPE_INNER) { + var startTimer = true; + if (window.zTreeMoveTimer && window.zTreeMoveTargetNodeTId !== tmpTargetNode.tId) { + clearTimeout(window.zTreeMoveTimer); + window.zTreeMoveTargetNodeTId = null; + }else if (window.zTreeMoveTimer && window.zTreeMoveTargetNodeTId === tmpTargetNode.tId) { + startTimer = false; + } + if (startTimer) { + window.zTreeMoveTimer = setTimeout(function() { + if (moveType != consts.move.TYPE_INNER) return; + if (tmpTargetNode && tmpTargetNode.isParent && !tmpTargetNode.open && (new Date()).getTime() - startTime > targetSetting.edit.drag.autoOpenTime + && tools.apply(targetSetting.callback.beforeDragOpen, [targetSetting.treeId, tmpTargetNode], true)) { + view.switchNode(targetSetting, tmpTargetNode); + if (targetSetting.edit.drag.autoExpandTrigger) { + targetSetting.treeObj.trigger(consts.event.EXPAND, [targetSetting.treeId, tmpTargetNode]); + } + } + }, targetSetting.edit.drag.autoOpenTime+50); + window.zTreeMoveTargetNodeTId = tmpTargetNode.tId; + } + } + } + } else { + moveType = consts.move.TYPE_INNER; + if (tmpTarget && tools.apply(targetSetting.edit.drag.inner, [targetSetting.treeId, nodes, null], !!targetSetting.edit.drag.inner)) { + tmpTarget.addClass(consts.node.TMPTARGET_TREE); + } else { + tmpTarget = null; + } + tmpArrow.css({ + "display":"none" + }); + if (window.zTreeMoveTimer) { + clearTimeout(window.zTreeMoveTimer); + window.zTreeMoveTargetNodeTId = null; + } + } + preTmpTargetNodeId = tmpTargetNodeId; + preTmpMoveType = moveType; + + setting.treeObj.trigger(consts.event.DRAGMOVE, [event, setting.treeId, nodes]); + } + return false; + } + + doc.bind("mouseup", _docMouseUp); + function _docMouseUp(event) { + if (window.zTreeMoveTimer) { + clearTimeout(window.zTreeMoveTimer); + window.zTreeMoveTargetNodeTId = null; + } + preTmpTargetNodeId = null; + preTmpMoveType = null; + doc.unbind("mousemove", _docMouseMove); + doc.unbind("mouseup", _docMouseUp); + doc.unbind("selectstart", _docSelect); + body.css("cursor", "auto"); + if (tmpTarget) { + tmpTarget.removeClass(consts.node.TMPTARGET_TREE); + if (tmpTargetNodeId) $("#" + tmpTargetNodeId + consts.id.A, tmpTarget).removeClass(consts.node.TMPTARGET_NODE + "_" + consts.move.TYPE_PREV) + .removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_NEXT).removeClass(consts.node.TMPTARGET_NODE + "_" + _consts.move.TYPE_INNER); + } + tools.showIfameMask(setting, false); + + roots.showHoverDom = true; + if (root.dragFlag == 0) return; + root.dragFlag = 0; + + var i, l, tmpNode; + for (i=0, l=nodes.length; i 0) { + root.dragMaskList[0].remove(); + root.dragMaskList.shift(); + } + if (showSign) { + //show mask + var iframeList = $$("iframe", setting); + for (var i = 0, l = iframeList.length; i < l; i++) { + var obj = iframeList.get(i), + r = tools.getAbs(obj), + dragMask = $$("
                        ", setting); + dragMask.appendTo($$("body", setting)); + root.dragMaskList.push(dragMask); + } + } + } + }, + //method of operate ztree dom + _view = { + addEditBtn: function(setting, node) { + if (node.editNameFlag || $$(node, consts.id.EDIT, setting).length > 0) { + return; + } + if (!tools.apply(setting.edit.showRenameBtn, [setting.treeId, node], setting.edit.showRenameBtn)) { + return; + } + var aObj = $$(node, consts.id.A, setting), + editStr = ""; + aObj.append(editStr); + + $$(node, consts.id.EDIT, setting).bind('click', + function() { + if (!tools.uCanDo(setting) || tools.apply(setting.callback.beforeEditName, [setting.treeId, node], true) == false) return false; + view.editNode(setting, node); + return false; + } + ).show(); + }, + addRemoveBtn: function(setting, node) { + if (node.editNameFlag || $$(node, consts.id.REMOVE, setting).length > 0) { + return; + } + if (!tools.apply(setting.edit.showRemoveBtn, [setting.treeId, node], setting.edit.showRemoveBtn)) { + return; + } + var aObj = $$(node, consts.id.A, setting), + removeStr = ""; + aObj.append(removeStr); + + $$(node, consts.id.REMOVE, setting).bind('click', + function() { + if (!tools.uCanDo(setting) || tools.apply(setting.callback.beforeRemove, [setting.treeId, node], true) == false) return false; + view.removeNode(setting, node); + setting.treeObj.trigger(consts.event.REMOVE, [setting.treeId, node]); + return false; + } + ).bind('mousedown', + function(eventMouseDown) { + return true; + } + ).show(); + }, + addHoverDom: function(setting, node) { + if (data.getRoots().showHoverDom) { + node.isHover = true; + if (setting.edit.enable) { + view.addEditBtn(setting, node); + view.addRemoveBtn(setting, node); + } + tools.apply(setting.view.addHoverDom, [setting.treeId, node]); + } + }, + cancelCurEditNode: function (setting, forceName, isCancel) { + var root = data.getRoot(setting), + nameKey = setting.data.key.name, + node = root.curEditNode; + + if (node) { + var inputObj = root.curEditInput, + newName = forceName ? forceName:(isCancel ? node[nameKey]: inputObj.val()); + if (tools.apply(setting.callback.beforeRename, [setting.treeId, node, newName, isCancel], true) === false) { + return false; + } else { + node[nameKey] = newName; + setting.treeObj.trigger(consts.event.RENAME, [setting.treeId, node, isCancel]); + } + var aObj = $$(node, consts.id.A, setting); + aObj.removeClass(consts.node.CURSELECTED_EDIT); + inputObj.unbind(); + view.setNodeName(setting, node); + node.editNameFlag = false; + root.curEditNode = null; + root.curEditInput = null; + view.selectNode(setting, node, false); + } + root.noSelection = true; + return true; + }, + editNode: function(setting, node) { + var root = data.getRoot(setting); + view.editNodeBlur = false; + if (data.isSelectedNode(setting, node) && root.curEditNode == node && node.editNameFlag) { + setTimeout(function() {tools.inputFocus(root.curEditInput);}, 0); + return; + } + var nameKey = setting.data.key.name; + node.editNameFlag = true; + view.removeTreeDom(setting, node); + view.cancelCurEditNode(setting); + view.selectNode(setting, node, false); + $$(node, consts.id.SPAN, setting).html(""); + var inputObj = $$(node, consts.id.INPUT, setting); + inputObj.attr("value", node[nameKey]); + if (setting.edit.editNameSelectAll) { + tools.inputSelect(inputObj); + } else { + tools.inputFocus(inputObj); + } + + inputObj.bind('blur', function(event) { + if (!view.editNodeBlur) { + view.cancelCurEditNode(setting); + } + }).bind('keydown', function(event) { + if (event.keyCode=="13") { + view.editNodeBlur = true; + view.cancelCurEditNode(setting); + } else if (event.keyCode=="27") { + view.cancelCurEditNode(setting, null, true); + } + }).bind('click', function(event) { + return false; + }).bind('dblclick', function(event) { + return false; + }); + + $$(node, consts.id.A, setting).addClass(consts.node.CURSELECTED_EDIT); + root.curEditInput = inputObj; + root.noSelection = false; + root.curEditNode = node; + }, + moveNode: function(setting, targetNode, node, moveType, animateFlag, isSilent) { + var root = data.getRoot(setting), + childKey = setting.data.key.children; + if (targetNode == node) return; + if (setting.data.keep.leaf && targetNode && !targetNode.isParent && moveType == consts.move.TYPE_INNER) return; + var oldParentNode = (node.parentTId ? node.getParentNode(): root), + targetNodeIsRoot = (targetNode === null || targetNode == root); + if (targetNodeIsRoot && targetNode === null) targetNode = root; + if (targetNodeIsRoot) moveType = consts.move.TYPE_INNER; + var targetParentNode = (targetNode.parentTId ? targetNode.getParentNode() : root); + + if (moveType != consts.move.TYPE_PREV && moveType != consts.move.TYPE_NEXT) { + moveType = consts.move.TYPE_INNER; + } + + if (moveType == consts.move.TYPE_INNER) { + if (targetNodeIsRoot) { + //parentTId of root node is null + node.parentTId = null; + } else { + if (!targetNode.isParent) { + targetNode.isParent = true; + targetNode.open = !!targetNode.open; + view.setNodeLineIcos(setting, targetNode); + } + node.parentTId = targetNode.tId; + } + } + + //move node Dom + var targetObj, target_ulObj; + if (targetNodeIsRoot) { + targetObj = setting.treeObj; + target_ulObj = targetObj; + } else { + if (!isSilent && moveType == consts.move.TYPE_INNER) { + view.expandCollapseNode(setting, targetNode, true, false); + } else if (!isSilent) { + view.expandCollapseNode(setting, targetNode.getParentNode(), true, false); + } + targetObj = $$(targetNode, setting); + target_ulObj = $$(targetNode, consts.id.UL, setting); + if (!!targetObj.get(0) && !target_ulObj.get(0)) { + var ulstr = []; + view.makeUlHtml(setting, targetNode, ulstr, ''); + targetObj.append(ulstr.join('')); + } + target_ulObj = $$(targetNode, consts.id.UL, setting); + } + var nodeDom = $$(node, setting); + if (!nodeDom.get(0)) { + nodeDom = view.appendNodes(setting, node.level, [node], null, false, true).join(''); + } else if (!targetObj.get(0)) { + nodeDom.remove(); + } + if (target_ulObj.get(0) && moveType == consts.move.TYPE_INNER) { + target_ulObj.append(nodeDom); + } else if (targetObj.get(0) && moveType == consts.move.TYPE_PREV) { + targetObj.before(nodeDom); + } else if (targetObj.get(0) && moveType == consts.move.TYPE_NEXT) { + targetObj.after(nodeDom); + } + + //repair the data after move + var i,l, + tmpSrcIndex = -1, + tmpTargetIndex = 0, + oldNeighbor = null, + newNeighbor = null, + oldLevel = node.level; + if (node.isFirstNode) { + tmpSrcIndex = 0; + if (oldParentNode[childKey].length > 1 ) { + oldNeighbor = oldParentNode[childKey][1]; + oldNeighbor.isFirstNode = true; + } + } else if (node.isLastNode) { + tmpSrcIndex = oldParentNode[childKey].length -1; + oldNeighbor = oldParentNode[childKey][tmpSrcIndex - 1]; + oldNeighbor.isLastNode = true; + } else { + for (i = 0, l = oldParentNode[childKey].length; i < l; i++) { + if (oldParentNode[childKey][i].tId == node.tId) { + tmpSrcIndex = i; + break; + } + } + } + if (tmpSrcIndex >= 0) { + oldParentNode[childKey].splice(tmpSrcIndex, 1); + } + if (moveType != consts.move.TYPE_INNER) { + for (i = 0, l = targetParentNode[childKey].length; i < l; i++) { + if (targetParentNode[childKey][i].tId == targetNode.tId) tmpTargetIndex = i; + } + } + if (moveType == consts.move.TYPE_INNER) { + if (!targetNode[childKey]) targetNode[childKey] = new Array(); + if (targetNode[childKey].length > 0) { + newNeighbor = targetNode[childKey][targetNode[childKey].length - 1]; + newNeighbor.isLastNode = false; + } + targetNode[childKey].splice(targetNode[childKey].length, 0, node); + node.isLastNode = true; + node.isFirstNode = (targetNode[childKey].length == 1); + } else if (targetNode.isFirstNode && moveType == consts.move.TYPE_PREV) { + targetParentNode[childKey].splice(tmpTargetIndex, 0, node); + newNeighbor = targetNode; + newNeighbor.isFirstNode = false; + node.parentTId = targetNode.parentTId; + node.isFirstNode = true; + node.isLastNode = false; + + } else if (targetNode.isLastNode && moveType == consts.move.TYPE_NEXT) { + targetParentNode[childKey].splice(tmpTargetIndex + 1, 0, node); + newNeighbor = targetNode; + newNeighbor.isLastNode = false; + node.parentTId = targetNode.parentTId; + node.isFirstNode = false; + node.isLastNode = true; + + } else { + if (moveType == consts.move.TYPE_PREV) { + targetParentNode[childKey].splice(tmpTargetIndex, 0, node); + } else { + targetParentNode[childKey].splice(tmpTargetIndex + 1, 0, node); + } + node.parentTId = targetNode.parentTId; + node.isFirstNode = false; + node.isLastNode = false; + } + data.fixPIdKeyValue(setting, node); + data.setSonNodeLevel(setting, node.getParentNode(), node); + + //repair node what been moved + view.setNodeLineIcos(setting, node); + view.repairNodeLevelClass(setting, node, oldLevel) + + //repair node's old parentNode dom + if (!setting.data.keep.parent && oldParentNode[childKey].length < 1) { + //old parentNode has no child nodes + oldParentNode.isParent = false; + oldParentNode.open = false; + var tmp_ulObj = $$(oldParentNode, consts.id.UL, setting), + tmp_switchObj = $$(oldParentNode, consts.id.SWITCH, setting), + tmp_icoObj = $$(oldParentNode, consts.id.ICON, setting); + view.replaceSwitchClass(oldParentNode, tmp_switchObj, consts.folder.DOCU); + view.replaceIcoClass(oldParentNode, tmp_icoObj, consts.folder.DOCU); + tmp_ulObj.css("display", "none"); + + } else if (oldNeighbor) { + //old neigbor node + view.setNodeLineIcos(setting, oldNeighbor); + } + + //new neigbor node + if (newNeighbor) { + view.setNodeLineIcos(setting, newNeighbor); + } + + //repair checkbox / radio + if (!!setting.check && setting.check.enable && view.repairChkClass) { + view.repairChkClass(setting, oldParentNode); + view.repairParentChkClassWithSelf(setting, oldParentNode); + if (oldParentNode != node.parent) + view.repairParentChkClassWithSelf(setting, node); + } + + //expand parents after move + if (!isSilent) { + view.expandCollapseParentNode(setting, node.getParentNode(), true, animateFlag); + } + }, + removeEditBtn: function(setting, node) { + $$(node, consts.id.EDIT, setting).unbind().remove(); + }, + removeRemoveBtn: function(setting, node) { + $$(node, consts.id.REMOVE, setting).unbind().remove(); + }, + removeTreeDom: function(setting, node) { + node.isHover = false; + view.removeEditBtn(setting, node); + view.removeRemoveBtn(setting, node); + tools.apply(setting.view.removeHoverDom, [setting.treeId, node]); + }, + repairNodeLevelClass: function(setting, node, oldLevel) { + if (oldLevel === node.level) return; + var liObj = $$(node, setting), + aObj = $$(node, consts.id.A, setting), + ulObj = $$(node, consts.id.UL, setting), + oldClass = consts.className.LEVEL + oldLevel, + newClass = consts.className.LEVEL + node.level; + liObj.removeClass(oldClass); + liObj.addClass(newClass); + aObj.removeClass(oldClass); + aObj.addClass(newClass); + ulObj.removeClass(oldClass); + ulObj.addClass(newClass); + }, + selectNodes : function(setting, nodes) { + for (var i=0, l=nodes.length; i0); + } + } + }, + + _z = { + tools: _tools, + view: _view, + event: _event, + data: _data + }; + $.extend(true, $.fn.zTree.consts, _consts); + $.extend(true, $.fn.zTree._z, _z); + + var zt = $.fn.zTree, + tools = zt._z.tools, + consts = zt.consts, + view = zt._z.view, + data = zt._z.data, + event = zt._z.event, + $$ = tools.$; + + data.exSetting(_setting); + data.addInitBind(_bindEvent); + data.addInitUnBind(_unbindEvent); + data.addInitCache(_initCache); + data.addInitNode(_initNode); + data.addInitProxy(_eventProxy); + data.addInitRoot(_initRoot); + data.addZTreeTools(_zTreeTools); + + var _cancelPreSelectedNode = view.cancelPreSelectedNode; + view.cancelPreSelectedNode = function (setting, node) { + var list = data.getRoot(setting).curSelectedList; + for (var i=0, j=list.length; i1){var j=l[0].parentTId?l[0].getParentNode()[i]:m.getNodes(e);i=[];for(a=0,c=j.length;a-1&&k+1!==a&&(n=!1),i.push(j[a]),k=a),l.length===i.length){l=i;break}}n&&(H=l[0].getPreNode(),R=l[l.length-1].getNextNode());D=o("
                          ", +e);for(a=0,c=l.length;a0),f.removeTreeDom(e,n),a>e.edit.drag.maxShowNodeNum-1||(k=o("
                        • ",e),k.append(o(n,d.id.A,e).clone()),k.css("padding","0"),k.children("#"+n.tId+d.id.A).removeClass(d.node.CURSELECTED),D.append(k),a==e.edit.drag.maxShowNodeNum-1&&(k=o("
                        • ...
                        • ",e),D.append(k)));D.attr("id",l[0].tId+d.id.UL+"_tmp");D.addClass(e.treeObj.attr("class"));D.appendTo(M);B=o("", +e);B.attr("id","zTreeMove_arrow_tmp");B.appendTo(M);e.treeObj.trigger(d.event.DRAG,[b,e.treeId,l])}if(C.dragFlag==1){s&&B.attr("id")==b.target.id&&u&&b.clientX+F.scrollLeft()+2>w("#"+u+d.id.A,s).offset().left?(n=w("#"+u+d.id.A,s),b.target=n.length>0?n.get(0):b.target):s&&(s.removeClass(d.node.TMPTARGET_TREE),u&&w("#"+u+d.id.A,s).removeClass(d.node.TMPTARGET_NODE+"_"+d.move.TYPE_PREV).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_NEXT).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_INNER)); +u=s=null;J=!1;h=e;n=m.getSettings();for(var y in n)if(n[y].treeId&&n[y].edit.enable&&n[y].treeId!=e.treeId&&(b.target.id==n[y].treeId||w(b.target).parents("#"+n[y].treeId).length>0))J=!0,h=n[y];y=F.scrollTop();k=F.scrollLeft();i=h.treeObj.offset();a=h.treeObj.get(0).scrollHeight;n=h.treeObj.get(0).scrollWidth;c=b.clientY+y-i.top;var p=h.treeObj.height()+i.top-b.clientY-y,q=b.clientX+k-i.left,x=h.treeObj.width()+i.left-b.clientX-k;i=ce.edit.drag.borderMin;var j=pe.edit.drag.borderMin,K=qe.edit.drag.borderMin,G=xe.edit.drag.borderMin,p=c>e.edit.drag.borderMin&&p>e.edit.drag.borderMin&&q>e.edit.drag.borderMin&&x>e.edit.drag.borderMin,q=i&&h.treeObj.scrollTop()<=0,x=j&&h.treeObj.scrollTop()+h.treeObj.height()+10>=a,P=K&&h.treeObj.scrollLeft()<=0,Q=G&&h.treeObj.scrollLeft()+h.treeObj.width()+10>=n;if(b.target&&g.isChildOrSelf(b.target,h.treeId)){for(var E=b.target;E&&E.tagName&&!g.eqs(E.tagName,"li")&&E.id!= +h.treeId;)E=E.parentNode;var S=!0;for(a=0,c=l.length;a0){S=!1;break}if(S&&b.target&&g.isChildOrSelf(b.target,E.id+d.id.A))s=w(E),u=E.id}n=l[0];if(p&&g.isChildOrSelf(b.target,h.treeId)){if(!s&&(b.target.id==h.treeId||q||x||P||Q)&&(J||!J&&n.parentTId))s=h.treeObj;i?h.treeObj.scrollTop(h.treeObj.scrollTop()-10):j&&h.treeObj.scrollTop(h.treeObj.scrollTop()+10);K?h.treeObj.scrollLeft(h.treeObj.scrollLeft()-10):G&&h.treeObj.scrollLeft(h.treeObj.scrollLeft()+ +10);s&&s!=h.treeObj&&s.offset().left=-0.2)&&n?(a=1-B.width(),i=j-B.height()/2,v=d.move.TYPE_PREV):(G==0||y>=G&&y<=1.2)&&a?(a=1-B.width(),i=i==null||z.isParent&&z.open?j+c.height()-B.height()/2:i.offset().top-B.height()/2,v=d.move.TYPE_NEXT):(a=5-B.width(),i=j,v=d.move.TYPE_INNER);B.css({display:"block",top:i+"px",left:k+a+"px"});c.addClass(d.node.TMPTARGET_NODE+"_"+v);if(T!=u||U!=v)L=(new Date).getTime();if(z&&z.isParent&&v==d.move.TYPE_INNER&&(y=!0,window.zTreeMoveTimer&& +window.zTreeMoveTargetNodeTId!==z.tId?(clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null):window.zTreeMoveTimer&&window.zTreeMoveTargetNodeTId===z.tId&&(y=!1),y))window.zTreeMoveTimer=setTimeout(function(){v==d.move.TYPE_INNER&&z&&z.isParent&&!z.open&&(new Date).getTime()-L>h.edit.drag.autoOpenTime&&g.apply(h.callback.beforeDragOpen,[h.treeId,z],!0)&&(f.switchNode(h,z),h.edit.drag.autoExpandTrigger&&h.treeObj.trigger(d.event.EXPAND,[h.treeId,z]))},h.edit.drag.autoOpenTime+50), +window.zTreeMoveTargetNodeTId=z.tId}}else if(v=d.move.TYPE_INNER,s&&g.apply(h.edit.drag.inner,[h.treeId,l,null],!!h.edit.drag.inner)?s.addClass(d.node.TMPTARGET_TREE):s=null,B.css({display:"none"}),window.zTreeMoveTimer)clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null;T=u;U=v;e.treeObj.trigger(d.event.DRAGMOVE,[b,e.treeId,l])}return!1}function r(b){if(window.zTreeMoveTimer)clearTimeout(window.zTreeMoveTimer),window.zTreeMoveTargetNodeTId=null;U=T=null;F.unbind("mousemove",c); +F.unbind("mouseup",r);F.unbind("selectstart",k);M.css("cursor","auto");s&&(s.removeClass(d.node.TMPTARGET_TREE),u&&w("#"+u+d.id.A,s).removeClass(d.node.TMPTARGET_NODE+"_"+d.move.TYPE_PREV).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_NEXT).removeClass(d.node.TMPTARGET_NODE+"_"+I.move.TYPE_INNER));g.showIfameMask(e,!1);t.showHoverDom=!0;if(C.dragFlag!=0){C.dragFlag=0;var a,i,j;for(a=0,i=l.length;a0;)c.dragMaskList[0].remove(),c.dragMaskList.shift();if(a)for(var d=o("iframe",b),f=0,i=d.length;f",b);j.appendTo(o("body",b));c.dragMaskList.push(j)}}},view:{addEditBtn:function(b, +a){if(!(a.editNameFlag||o(a,d.id.EDIT,b).length>0)&&g.apply(b.edit.showRenameBtn,[b.treeId,a],b.edit.showRenameBtn)){var c=o(a,d.id.A,b),r="";c.append(r);o(a,d.id.EDIT,b).bind("click",function(){if(!g.uCanDo(b)||g.apply(b.callback.beforeEditName,[b.treeId,a],!0)==!1)return!1;f.editNode(b,a);return!1}).show()}}, +addRemoveBtn:function(b,a){if(!(a.editNameFlag||o(a,d.id.REMOVE,b).length>0)&&g.apply(b.edit.showRemoveBtn,[b.treeId,a],b.edit.showRemoveBtn)){var c=o(a,d.id.A,b),r="";c.append(r);o(a,d.id.REMOVE,b).bind("click",function(){if(!g.uCanDo(b)||g.apply(b.callback.beforeRemove,[b.treeId,a],!0)==!1)return!1;f.removeNode(b, +a);b.treeObj.trigger(d.event.REMOVE,[b.treeId,a]);return!1}).bind("mousedown",function(){return!0}).show()}},addHoverDom:function(b,a){if(m.getRoots().showHoverDom)a.isHover=!0,b.edit.enable&&(f.addEditBtn(b,a),f.addRemoveBtn(b,a)),g.apply(b.view.addHoverDom,[b.treeId,a])},cancelCurEditNode:function(b,a,c){var r=m.getRoot(b),k=b.data.key.name,i=r.curEditNode;if(i){var j=r.curEditInput,a=a?a:c?i[k]:j.val();if(g.apply(b.callback.beforeRename,[b.treeId,i,a,c],!0)===!1)return!1;else i[k]=a,b.treeObj.trigger(d.event.RENAME, +[b.treeId,i,c]);o(i,d.id.A,b).removeClass(d.node.CURSELECTED_EDIT);j.unbind();f.setNodeName(b,i);i.editNameFlag=!1;r.curEditNode=null;r.curEditInput=null;f.selectNode(b,i,!1)}return r.noSelection=!0},editNode:function(b,a){var c=m.getRoot(b);f.editNodeBlur=!1;if(m.isSelectedNode(b,a)&&c.curEditNode==a&&a.editNameFlag)setTimeout(function(){g.inputFocus(c.curEditInput)},0);else{var r=b.data.key.name;a.editNameFlag=!0;f.removeTreeDom(b,a);f.cancelCurEditNode(b);f.selectNode(b,a,!1);o(a,d.id.SPAN,b).html("");var k=o(a,d.id.INPUT,b);k.attr("value",a[r]);b.edit.editNameSelectAll?g.inputSelect(k):g.inputFocus(k);k.bind("blur",function(){f.editNodeBlur||f.cancelCurEditNode(b)}).bind("keydown",function(a){a.keyCode=="13"?(f.editNodeBlur=!0,f.cancelCurEditNode(b)):a.keyCode=="27"&&f.cancelCurEditNode(b,null,!0)}).bind("click",function(){return!1}).bind("dblclick",function(){return!1});o(a,d.id.A,b).addClass(d.node.CURSELECTED_EDIT);c.curEditInput=k;c.noSelection= +!1;c.curEditNode=a}},moveNode:function(b,a,c,r,k,i){var j=m.getRoot(b),e=b.data.key.children;if(a!=c&&(!b.data.keep.leaf||!a||a.isParent||r!=d.move.TYPE_INNER)){var g=c.parentTId?c.getParentNode():j,t=a===null||a==j;t&&a===null&&(a=j);if(t)r=d.move.TYPE_INNER;j=a.parentTId?a.getParentNode():j;if(r!=d.move.TYPE_PREV&&r!=d.move.TYPE_NEXT)r=d.move.TYPE_INNER;if(r==d.move.TYPE_INNER)if(t)c.parentTId=null;else{if(!a.isParent)a.isParent=!0,a.open=!!a.open,f.setNodeLineIcos(b,a);c.parentTId=a.tId}var p; +t?p=t=b.treeObj:(!i&&r==d.move.TYPE_INNER?f.expandCollapseNode(b,a,!0,!1):i||f.expandCollapseNode(b,a.getParentNode(),!0,!1),t=o(a,b),p=o(a,d.id.UL,b),t.get(0)&&!p.get(0)&&(p=[],f.makeUlHtml(b,a,p,""),t.append(p.join(""))),p=o(a,d.id.UL,b));var q=o(c,b);q.get(0)?t.get(0)||q.remove():q=f.appendNodes(b,c.level,[c],null,!1,!0).join("");p.get(0)&&r==d.move.TYPE_INNER?p.append(q):t.get(0)&&r==d.move.TYPE_PREV?t.before(q):t.get(0)&&r==d.move.TYPE_NEXT&&t.after(q);var l=-1,w=0,x=null,t=null,D=c.level;if(c.isFirstNode){if(l= +0,g[e].length>1)x=g[e][1],x.isFirstNode=!0}else if(c.isLastNode)l=g[e].length-1,x=g[e][l-1],x.isLastNode=!0;else for(p=0,q=g[e].length;p=0&&g[e].splice(l,1);if(r!=d.move.TYPE_INNER)for(p=0,q=j[e].length;p0)t=a[e][a[e].length-1],t.isLastNode=!1;a[e].splice(a[e].length,0,c);c.isLastNode=!0;c.isFirstNode=a[e].length==1}else a.isFirstNode&&r==d.move.TYPE_PREV?(j[e].splice(w, +0,c),t=a,t.isFirstNode=!1,c.parentTId=a.parentTId,c.isFirstNode=!0,c.isLastNode=!1):a.isLastNode&&r==d.move.TYPE_NEXT?(j[e].splice(w+1,0,c),t=a,t.isLastNode=!1,c.parentTId=a.parentTId,c.isFirstNode=!1,c.isLastNode=!0):(r==d.move.TYPE_PREV?j[e].splice(w,0,c):j[e].splice(w+1,0,c),c.parentTId=a.parentTId,c.isFirstNode=!1,c.isLastNode=!1);m.fixPIdKeyValue(b,c);m.setSonNodeLevel(b,c.getParentNode(),c);f.setNodeLineIcos(b,c);f.repairNodeLevelClass(b,c,D);!b.data.keep.parent&&g[e].length<1?(g.isParent=!1, +g.open=!1,a=o(g,d.id.UL,b),r=o(g,d.id.SWITCH,b),e=o(g,d.id.ICON,b),f.replaceSwitchClass(g,r,d.folder.DOCU),f.replaceIcoClass(g,e,d.folder.DOCU),a.css("display","none")):x&&f.setNodeLineIcos(b,x);t&&f.setNodeLineIcos(b,t);b.check&&b.check.enable&&f.repairChkClass&&(f.repairChkClass(b,g),f.repairParentChkClassWithSelf(b,g),g!=c.parent&&f.repairParentChkClassWithSelf(b,c));i||f.expandCollapseParentNode(b,c.getParentNode(),!0,k)}},removeEditBtn:function(b,a){o(a,d.id.EDIT,b).unbind().remove()},removeRemoveBtn:function(b, +a){o(a,d.id.REMOVE,b).unbind().remove()},removeTreeDom:function(b,a){a.isHover=!1;f.removeEditBtn(b,a);f.removeRemoveBtn(b,a);g.apply(b.view.removeHoverDom,[b.treeId,a])},repairNodeLevelClass:function(b,a,c){if(c!==a.level){var f=o(a,b),g=o(a,d.id.A,b),b=o(a,d.id.UL,b),c=d.className.LEVEL+c,a=d.className.LEVEL+a.level;f.removeClass(c);f.addClass(a);g.removeClass(c);g.addClass(a);b.removeClass(c);b.addClass(a)}},selectNodes:function(b,a){for(var c=0,d=a.length;c0)}},event:{}, +data:{setSonNodeLevel:function(b,a,c){if(c){var d=b.data.key.children;c.level=a?a.level+1:0;if(c[d])for(var a=0,f=c[d].length;a0)switch(i=m.getNodeCache(c,k),j){case "mousedownNode":e=x.onMousedownNode;break;case "hoverOverNode":e=x.onHoverOverNode;break;case "hoverOutNode":e=x.onHoverOutNode}return{stop:!1, +node:i,nodeEventType:j,nodeEventCallback:e,treeEventType:"",treeEventCallback:null}});m.addInitRoot(function(b){var b=m.getRoot(b),a=m.getRoots();b.curEditNode=null;b.curEditInput=null;b.curHoverNode=null;b.dragFlag=0;b.dragNodeShowBefore=[];b.dragMaskList=[];a.showHoverDom=!0});m.addZTreeTools(function(b,a){a.cancelEditName=function(a){m.getRoot(this.setting).curEditNode&&f.cancelCurEditNode(this.setting,a?a:null,!0)};a.copyNode=function(a,b,k,i){if(!b)return null;if(a&&!a.isParent&&this.setting.data.keep.leaf&& +k===d.move.TYPE_INNER)return null;var j=this,e=g.clone(b);if(!a)a=null,k=d.move.TYPE_INNER;k==d.move.TYPE_INNER?(b=function(){f.addNodes(j.setting,a,[e],i)},g.canAsync(this.setting,a)?f.asyncNode(this.setting,a,i,b):b()):(f.addNodes(this.setting,a.parentNode,[e],i),f.moveNode(this.setting,a,e,k,!1,i));return e};a.editName=function(a){a&&a.tId&&a===m.getNodeCache(this.setting,a.tId)&&(a.parentTId&&f.expandCollapseParentNode(this.setting,a.getParentNode(),!0),f.editNode(this.setting,a))};a.moveNode= +function(a,b,k,i){function j(){f.moveNode(e.setting,a,b,k,!1,i)}if(!b)return b;if(a&&!a.isParent&&this.setting.data.keep.leaf&&k===d.move.TYPE_INNER)return null;else if(a&&(b.parentTId==a.tId&&k==d.move.TYPE_INNER||o(b,this.setting).find("#"+a.tId).length>0))return null;else a||(a=null);var e=this;g.canAsync(this.setting,a)&&k===d.move.TYPE_INNER?f.asyncNode(this.setting,a,i,j):j();return b};a.setEditable=function(a){this.setting.edit.enable=a;return this.refresh()}});var N=f.cancelPreSelectedNode; +f.cancelPreSelectedNode=function(b,a){for(var c=m.getRoot(b).curSelectedList,d=0,g=c.length;d"); + }, + showNode: function(setting, node, options) { + node.isHidden = false; + data.initShowForExCheck(setting, node); + $$(node, setting).show(); + }, + showNodes: function(setting, nodes, options) { + if (!nodes || nodes.length == 0) { + return; + } + var pList = {}, i, j; + for (i=0, j=nodes.length; i 0 && !parentNode[childKey][0].isHidden) { + parentNode[childKey][0].isFirstNode = true; + } else if (childLength > 0) { + view.setFirstNodeForHide(setting, parentNode[childKey]); + } + }, + setLastNode: function(setting, parentNode) { + var childKey = setting.data.key.children, childLength = parentNode[childKey].length; + if (childLength > 0 && !parentNode[childKey][0].isHidden) { + parentNode[childKey][childLength - 1].isLastNode = true; + } else if (childLength > 0) { + view.setLastNodeForHide(setting, parentNode[childKey]); + } + }, + setFirstNodeForHide: function(setting, nodes) { + var n,i,j; + for (i=0, j=nodes.length; i=0; i--) { + n = nodes[i]; + if (n.isLastNode) { + break; + } + if (!n.isHidden && !n.isLastNode) { + n.isLastNode = true; + view.setNodeLineIcos(setting, n); + break; + } else { + n = null; + } + } + return n; + }, + setLastNodeForShow: function(setting, nodes) { + var n,i,j, last, old; + for (i=nodes.length-1; i>=0; i--) { + n = nodes[i]; + if (!last && !n.isHidden && n.isLastNode) { + last = n; + break; + } else if (!last && !n.isHidden && !n.isLastNode) { + n.isLastNode = true; + last = n; + view.setNodeLineIcos(setting, n); + } else if (last && n.isLastNode) { + n.isLastNode = false; + old = n; + view.setNodeLineIcos(setting, n); + break; + } else { + n = null; + } + } + return {"new":last, "old":old}; + } + }, + + _z = { + view: _view, + data: _data + }; + $.extend(true, $.fn.zTree._z, _z); + + var zt = $.fn.zTree, + tools = zt._z.tools, + consts = zt.consts, + view = zt._z.view, + data = zt._z.data, + event = zt._z.event, + $$ = tools.$; + + data.addInitNode(_initNode); + data.addBeforeA(_beforeA); + data.addZTreeTools(_zTreeTools); + +// Override method in core + var _dInitNode = data.initNode; + data.initNode = function(setting, level, node, parentNode, isFirstNode, isLastNode, openFlag) { + var tmpPNode = (parentNode) ? parentNode: data.getRoot(setting), + children = tmpPNode[setting.data.key.children]; + data.tmpHideFirstNode = view.setFirstNodeForHide(setting, children); + data.tmpHideLastNode = view.setLastNodeForHide(setting, children); + view.setNodeLineIcos(setting, data.tmpHideFirstNode); + view.setNodeLineIcos(setting, data.tmpHideLastNode); + isFirstNode = (data.tmpHideFirstNode === node); + isLastNode = (data.tmpHideLastNode === node); + if (_dInitNode) _dInitNode.apply(data, arguments); + if (isLastNode) { + view.clearOldLastNode(setting, node); + } + }; + + var _makeChkFlag = data.makeChkFlag; + if (!!_makeChkFlag) { + data.makeChkFlag = function(setting, node) { + if (!!node && !!node.isHidden) { + return; + } + _makeChkFlag.apply(data, arguments); + } + } + + var _getTreeCheckedNodes = data.getTreeCheckedNodes; + if (!!_getTreeCheckedNodes) { + data.getTreeCheckedNodes = function(setting, nodes, checked, results) { + if (!!nodes && nodes.length > 0) { + var p = nodes[0].getParentNode(); + if (!!p && !!p.isHidden) { + return []; + } + } + return _getTreeCheckedNodes.apply(data, arguments); + } + } + + var _getTreeChangeCheckedNodes = data.getTreeChangeCheckedNodes; + if (!!_getTreeChangeCheckedNodes) { + data.getTreeChangeCheckedNodes = function(setting, nodes, results) { + if (!!nodes && nodes.length > 0) { + var p = nodes[0].getParentNode(); + if (!!p && !!p.isHidden) { + return []; + } + } + return _getTreeChangeCheckedNodes.apply(data, arguments); + } + } + + var _expandCollapseSonNode = view.expandCollapseSonNode; + if (!!_expandCollapseSonNode) { + view.expandCollapseSonNode = function(setting, node, expandFlag, animateFlag, callback) { + if (!!node && !!node.isHidden) { + return; + } + _expandCollapseSonNode.apply(view, arguments); + } + } + + var _setSonNodeCheckBox = view.setSonNodeCheckBox; + if (!!_setSonNodeCheckBox) { + view.setSonNodeCheckBox = function(setting, node, value, srcNode) { + if (!!node && !!node.isHidden) { + return; + } + _setSonNodeCheckBox.apply(view, arguments); + } + } + + var _repairParentChkClassWithSelf = view.repairParentChkClassWithSelf; + if (!!_repairParentChkClassWithSelf) { + view.repairParentChkClassWithSelf = function(setting, node) { + if (!!node && !!node.isHidden) { + return; + } + _repairParentChkClassWithSelf.apply(view, arguments); + } + } +})(jQuery); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.exhide.min.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.exhide.min.js new file mode 100644 index 00000000..f1dce5bd --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/js/jquery.ztree.exhide.min.js @@ -0,0 +1,22 @@ +/* + * JQuery zTree exHideNodes v3.5.16 + * http://zTree.me/ + * + * Copyright (c) 2010 Hunter.z + * + * Licensed same as jquery - MIT License + * http://www.opensource.org/licenses/mit-license.php + * + * email: hunter.z@263.net + * Date: 2014-03-09 + */ +(function(i){i.extend(!0,i.fn.zTree._z,{view:{clearOldFirstNode:function(c,a){for(var b=a.getNextNode();b;){if(b.isFirstNode){b.isFirstNode=!1;d.setNodeLineIcos(c,b);break}if(b.isLastNode)break;b=b.getNextNode()}},clearOldLastNode:function(c,a){for(var b=a.getPreNode();b;){if(b.isLastNode){b.isLastNode=!1;d.setNodeLineIcos(c,b);break}if(b.isFirstNode)break;b=b.getPreNode()}},makeDOMNodeMainBefore:function(c,a,b){c.push("
                        • ")},showNode:function(c,a){a.isHidden=!1;f.initShowForExCheck(c,a);j(a,c).show()},showNodes:function(c,a,b){if(a&&a.length!=0){var e={},g,k;for(g=0,k=a.length;g0&&!a[b][0].isHidden? +a[b][0].isFirstNode=!0:e>0&&d.setFirstNodeForHide(c,a[b])},setLastNode:function(c,a){var b=c.data.key.children,e=a[b].length;e>0&&!a[b][0].isHidden?a[b][e-1].isLastNode=!0:e>0&&d.setLastNodeForHide(c,a[b])},setFirstNodeForHide:function(c,a){var b,e,g;for(e=0,g=a.length;e=0;e--){b=a[e];if(b.isLastNode)break;if(!b.isHidden&&!b.isLastNode){b.isLastNode=!0;d.setNodeLineIcos(c,b);break}else b=null}return b},setLastNodeForShow:function(c,a){var b,e,g,f;for(e=a.length-1;e>=0;e--)if(b=a[e],!g&&!b.isHidden&& +b.isLastNode){g=b;break}else if(!g&&!b.isHidden&&!b.isLastNode)b.isLastNode=!0,g=b,d.setNodeLineIcos(c,b);else if(g&&b.isLastNode){b.isLastNode=!1;f=b;d.setNodeLineIcos(c,b);break}return{"new":g,old:f}}},data:{initHideForExCheck:function(c,a){if(a.isHidden&&c.check&&c.check.enable){if(typeof a._nocheck=="undefined")a._nocheck=!!a.nocheck,a.nocheck=!0;a.check_Child_State=-1;d.repairParentChkClassWithSelf&&d.repairParentChkClassWithSelf(c,a)}},initShowForExCheck:function(c,a){if(!a.isHidden&&c.check&& +c.check.enable){if(typeof a._nocheck!="undefined")a.nocheck=a._nocheck,delete a._nocheck;if(d.setChkClass){var b=j(a,l.id.CHECK,c);d.setChkClass(c,b,a)}d.repairParentChkClassWithSelf&&d.repairParentChkClassWithSelf(c,a)}}}});var i=i.fn.zTree,m=i._z.tools,l=i.consts,d=i._z.view,f=i._z.data,j=m.$;f.addInitNode(function(c,a,b){if(typeof b.isHidden=="string")b.isHidden=m.eqs(b.isHidden,"true");b.isHidden=!!b.isHidden;f.initHideForExCheck(c,b)});f.addBeforeA(function(){});f.addZTreeTools(function(c,a){a.showNodes= +function(a,b){d.showNodes(c,a,b)};a.showNode=function(a,b){a&&d.showNodes(c,[a],b)};a.hideNodes=function(a,b){d.hideNodes(c,a,b)};a.hideNode=function(a,b){a&&d.hideNodes(c,[a],b)};var b=a.checkNode;if(b)a.checkNode=function(c,d,f,h){(!c||!c.isHidden)&&b.apply(a,arguments)}});var n=f.initNode;f.initNode=function(c,a,b,e,g,i,h){var j=(e?e:f.getRoot(c))[c.data.key.children];f.tmpHideFirstNode=d.setFirstNodeForHide(c,j);f.tmpHideLastNode=d.setLastNodeForHide(c,j);d.setNodeLineIcos(c,f.tmpHideFirstNode); +d.setNodeLineIcos(c,f.tmpHideLastNode);g=f.tmpHideFirstNode===b;i=f.tmpHideLastNode===b;n&&n.apply(f,arguments);i&&d.clearOldLastNode(c,b)};var o=f.makeChkFlag;if(o)f.makeChkFlag=function(c,a){(!a||!a.isHidden)&&o.apply(f,arguments)};var p=f.getTreeCheckedNodes;if(p)f.getTreeCheckedNodes=function(c,a,b,e){if(a&&a.length>0){var d=a[0].getParentNode();if(d&&d.isHidden)return[]}return p.apply(f,arguments)};var q=f.getTreeChangeCheckedNodes;if(q)f.getTreeChangeCheckedNodes=function(c,a,b){if(a&&a.length> +0){var d=a[0].getParentNode();if(d&&d.isHidden)return[]}return q.apply(f,arguments)};var r=d.expandCollapseSonNode;if(r)d.expandCollapseSonNode=function(c,a,b,e,f){(!a||!a.isHidden)&&r.apply(d,arguments)};var s=d.setSonNodeCheckBox;if(s)d.setSonNodeCheckBox=function(c,a,b,e){(!a||!a.isHidden)&&s.apply(d,arguments)};var t=d.repairParentChkClassWithSelf;if(t)d.repairParentChkClassWithSelf=function(c,a){(!a||!a.isHidden)&&t.apply(d,arguments)}})(jQuery); diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/zTree.v3.jquery.json b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/zTree.v3.jquery.json new file mode 100644 index 00000000..ef26b102 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/zTree.v3.jquery.json @@ -0,0 +1,35 @@ +{ + "name": "zTree.v3", + "title": "zTree.v3", + "description": "jquery tree plugin", + "keywords": [ + "tree", + "ui" + ], + "version": "3.5.16", + "author": { + "name": "Zhang QiGang", + "email":"hunter.z@263.net", + "url": "https://github.com/zTree/zTree_v3" + }, + "maintainers": [ + { + "name": "Zhang QiGang", + "email":"hunter.z@263.net", + "url": "http://www.ztree.me/" + } + ], + "licenses": [ + { + "type": "MIT", + "url": "http://www.ztree.me/v3/main.php#_license" + } + ], + "bugs": "https://github.com/zTree/zTree_v3/issues", + "homepage": "http://www.ztree.me/", + "demo": "http://www.ztree.me/v3/demo.php", + "docs": "http://www.ztree.me/v3/api.php", + "dependencies": { + "jquery": ">=1.4.4" + } +} -- cgit 1.2.3-korg