diff --git a/api/API_cn.html b/api/API_cn.html index 22a2b5b4c66c12734e362a9c217c05ccf41ee2f7..3f8716af475a8e36ece0bbf05c972cef03c05a47 100644 --- a/api/API_cn.html +++ b/api/API_cn.html @@ -35,7 +35,7 @@
all.js = core + excheck + exedit ( 不包括 exhide ); 发现错误请及时通知,谢谢。
all.js = core + excheck + exedit ( without exhide ); if you found some mistakes please contact me.
需要隐藏自定义控件的节点 JSON 数据对象
var setting = {
view: {
addHoverDom: addHoverDom,
diff --git a/js/jquery.ztree.all.js b/js/jquery.ztree.all.js
index aa268e5e1417eebb5833667a57369f8d5113a117..9985e463c2151d7f41250b1bbc0a36cf19554565 100644
--- a/js/jquery.ztree.all.js
+++ b/js/jquery.ztree.all.js
@@ -8,7 +8,7 @@
* Licensed same as jquery - MIT License
* http://www.opensource.org/licenses/mit-license.php
*
- * Date: 2019-10-11
+ * Date: 2020-01-06
*/
(function ($) {
var settings = {}, roots = {}, caches = {},
@@ -1993,7 +1993,7 @@
* Licensed same as jquery - MIT License
* http://www.opensource.org/licenses/mit-license.php
*
- * Date: 2019-10-11
+ * Date: 2020-01-06
*/
(function ($) {
//default consts of excheck
@@ -2643,7 +2643,7 @@
* Licensed same as jquery - MIT License
* http://www.opensource.org/licenses/mit-license.php
*
- * Date: 2019-10-11
+ * Date: 2020-01-06
*/
(function ($) {
//default consts of exedit
diff --git a/js/jquery.ztree.all.min.js b/js/jquery.ztree.all.min.js
index 483fe047ffc4f2bbb1f3a8fff511bb64dd65f51c..1055df3125a97c739f7983099dccb9dc04518071 100644
--- a/js/jquery.ztree.all.min.js
+++ b/js/jquery.ztree.all.min.js
@@ -8,7 +8,7 @@
* Licensed same as jquery - MIT License
* http://www.opensource.org/licenses/mit-license.php
*
- * Date: 2019-10-11
+ * Date: 2020-01-06
*/
(function(r){var J,K,L,M,N,O,v,t={},w={},x={},P={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:{isParent:"isParent",children:"children",name:"name",title:"",url:"url",icon:"icon"},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",headers:{},xhrFields:{},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}},y=[function(a){var b=a.treeObj,c=g.event;b.bind(c.NODECREATED,
@@ -83,7 +83,7 @@ a),j.setNodeLineIcos(d,a),j.setNodeFontCss(d,a))}};a.treeTools=f;e.setZTreeTools
* Licensed same as jquery - MIT License
* http://www.opensource.org/licenses/mit-license.php
*
- * Date: 2019-10-11
+ * Date: 2020-01-06
*/
(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);if(i.apply(b.callback.beforeCheck,[b.treeId,a],!0)==!1)return!0;var d=f.nodeChecked(b,a);f.nodeChecked(b,a,!d);e.checkNodeRelation(b,a);d=n(a,h.id.CHECK,b);e.setChkClass(b,d,a);e.repairParentChkClassWithSelf(b,a);b.treeObj.trigger(h.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,h.id.CHECK,b);a.check_Focus=!0;e.setChkClass(b,d,a);return!0};r=function(c,
@@ -117,7 +117,7 @@ var u=e.appendNodes;e.appendNodes=function(c,a,b,d,h,g,i){var m="";u&&(m=u.apply
* Licensed same as jquery - MIT License
* http://www.opensource.org/licenses/mit-license.php
*
- * Date: 2019-10-11
+ * Date: 2020-01-06
*/
(function(B){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"}},v={onHoverOverNode:function(a,b){var c=i.getSetting(a.data.treeId),d=i.getRoot(c);if(d.curHoverNode!=b)v.onHoverOutNode(a);d.curHoverNode=b;e.addHoverDom(c,b)},onHoverOutNode:function(a){var a=
i.getSetting(a.data.treeId),b=i.getRoot(a);if(b.curHoverNode&&!i.isSelectedNode(a,b.curHoverNode))e.removeTreeDom(a,b.curHoverNode),b.curHoverNode=null},onMousedownNode:function(a,b){function c(a){if(m.dragFlag==0&&Math.abs(N-a.clientX)")},showNode:function(c,a){d.isHidden(c,a,!1);d.initShowForExCheck(c,a);k(a,c).show()},showNodes:function(c,a,b){if(a&&a.length!=0){var f={},g,i;for(g=0,i=a.length;g
+
+*2020.01.06* v3.5.41
+ * [修改] 修正 API
+
*2019.10.11* v3.5.41
* [修改] 从 源码中 移除 个人邮箱