2 lines
18 KiB
JavaScript
2 lines
18 KiB
JavaScript
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[81628],{4258:function(ne,U,m){"use strict";m.d(U,{Z:function(){return v}});var F=m(22122),E=m(96156),G=m(81253),X=m(28991),ee=m(6610),J=m(5991),S=m(63349),T=m(10379),O=m(54070),h=m(67294),D=m(94184),k=m.n(D),_=m(64217),L=m(27822),I=function(p){for(var g=p.prefixCls,e=p.level,l=p.isStart,f=p.isEnd,y="".concat(g,"-indent-unit"),r=[],n=0;n<e;n+=1){var s;r.push(h.createElement("span",{key:n,className:k()(y,(s={},(0,E.Z)(s,"".concat(y,"-start"),l[n]),(0,E.Z)(s,"".concat(y,"-end"),f[n]),s))}))}return h.createElement("span",{"aria-hidden":"true",className:"".concat(g,"-indent")},r)},Z=h.memo(I),N=m(1089),P=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],a="open",d="close",t="---",o=function(u){(0,T.Z)(g,u);var p=(0,O.Z)(g);function g(){var e;(0,ee.Z)(this,g);for(var l=arguments.length,f=new Array(l),y=0;y<l;y++)f[y]=arguments[y];return e=p.call.apply(p,[this].concat(f)),e.state={dragNodeHighlight:!1},e.selectHandle=void 0,e.onSelectorClick=function(r){var n=e.props.context.onNodeClick;n(r,(0,N.F)(e.props)),e.isSelectable()?e.onSelect(r):e.onCheck(r)},e.onSelectorDoubleClick=function(r){var n=e.props.context.onNodeDoubleClick;n(r,(0,N.F)(e.props))},e.onSelect=function(r){if(!e.isDisabled()){var n=e.props.context.onNodeSelect;r.preventDefault(),n(r,(0,N.F)(e.props))}},e.onCheck=function(r){if(!e.isDisabled()){var n=e.props,s=n.disableCheckbox,c=n.checked,C=e.props.context.onNodeCheck;if(!(!e.isCheckable()||s)){r.preventDefault();var M=!c;C(r,(0,N.F)(e.props),M)}}},e.onMouseEnter=function(r){var n=e.props.context.onNodeMouseEnter;n(r,(0,N.F)(e.props))},e.onMouseLeave=function(r){var n=e.props.context.onNodeMouseLeave;n(r,(0,N.F)(e.props))},e.onContextMenu=function(r){var n=e.props.context.onNodeContextMenu;n(r,(0,N.F)(e.props))},e.onDragStart=function(r){var n=e.props.context.onNodeDragStart;r.stopPropagation(),e.setState({dragNodeHighlight:!0}),n(r,(0,S.Z)(e));try{r.dataTransfer.setData("text/plain","")}catch(s){}},e.onDragEnter=function(r){var n=e.props.context.onNodeDragEnter;r.preventDefault(),r.stopPropagation(),n(r,(0,S.Z)(e))},e.onDragOver=function(r){var n=e.props.context.onNodeDragOver;r.preventDefault(),r.stopPropagation(),n(r,(0,S.Z)(e))},e.onDragLeave=function(r){var n=e.props.context.onNodeDragLeave;r.stopPropagation(),n(r,(0,S.Z)(e))},e.onDragEnd=function(r){var n=e.props.context.onNodeDragEnd;r.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(r,(0,S.Z)(e))},e.onDrop=function(r){var n=e.props.context.onNodeDrop;r.preventDefault(),r.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(r,(0,S.Z)(e))},e.onExpand=function(r){var n=e.props,s=n.loading,c=n.context.onNodeExpand;s||c(r,(0,N.F)(e.props))},e.setSelectHandle=function(r){e.selectHandle=r},e.getNodeState=function(){var r=e.props.expanded;return e.isLeaf()?null:r?a:d},e.hasChildren=function(){var r=e.props.eventKey,n=e.props.context.keyEntities,s=n[r]||{},c=s.children;return!!(c||[]).length},e.isLeaf=function(){var r=e.props,n=r.isLeaf,s=r.loaded,c=e.props.context.loadData,C=e.hasChildren();return n===!1?!1:n||!c&&!C||c&&s&&!C},e.isDisabled=function(){var r=e.props.disabled,n=e.props.context.disabled;return!!(n||r)},e.isCheckable=function(){var r=e.props.checkable,n=e.props.context.checkable;return!n||r===!1?!1:n},e.syncLoadData=function(r){var n=r.expanded,s=r.loading,c=r.loaded,C=e.props.context,M=C.loadData,b=C.onNodeLoad;s||M&&n&&!e.isLeaf()&&!e.hasChildren()&&!c&&b((0,N.F)(e.props))},e.isDraggable=function(){var r=e.props,n=r.data,s=r.context.draggable;return!!(s&&(!s.nodeDraggable||s.nodeDraggable(n)))},e.renderDragHandler=function(){var r=e.props.context,n=r.draggable,s=r.prefixCls;return(n==null?void 0:n.icon)?h.createElement("span",{className:"".concat(s,"-draggable-icon")},n.icon):null},e.renderSwitcherIconDom=function(r){var n=e.props.switcherIcon,s=e.props.context.switcherIcon,c=n||s;return typeof c=="function"?c((0,X.Z)((0,X.Z)({},e.props),{},{isLeaf:r})):c},e.renderSwitcher=function(){var r=e.props.expanded,n=e.props.context.prefixCls;if(e.isLeaf()){var s=e.renderSwitcherIconDom(!0);return s!==!1?h.createElement("span",{className:k()("".concat(n,"-switcher"),"".concat(n,"-switcher-noop"))},s):null}var c=k()("".concat(n,"-switcher"),"".concat(n,"-switcher_").concat(r?a:d)),C=e.renderSwitcherIconDom(!1);return C!==!1?h.createElement("span",{onClick:e.onExpand,className:c},C):null},e.renderCheckbox=function(){var r=e.props,n=r.checked,s=r.halfChecked,c=r.disableCheckbox,C=e.props.context.prefixCls,M=e.isDisabled(),b=e.isCheckable();if(!b)return null;var x=typeof b!="boolean"?b:null;return h.createElement("span",{className:k()("".concat(C,"-checkbox"),n&&"".concat(C,"-checkbox-checked"),!n&&s&&"".concat(C,"-checkbox-indeterminate"),(M||c)&&"".concat(C,"-checkbox-disabled")),onClick:e.onCheck},x)},e.renderIcon=function(){var r=e.props.loading,n=e.props.context.prefixCls;return h.createElement("span",{className:k()("".concat(n,"-iconEle"),"".concat(n,"-icon__").concat(e.getNodeState()||"docu"),r&&"".concat(n,"-icon_loading"))})},e.renderSelector=function(){var r=e.state.dragNodeHighlight,n=e.props,s=n.title,c=s===void 0?t:s,C=n.selected,M=n.icon,b=n.loading,x=n.data,K=e.props.context,A=K.prefixCls,H=K.showIcon,j=K.icon,Q=K.loadData,z=K.titleRender,W=e.isDisabled(),V="".concat(A,"-node-content-wrapper"),Y;if(H){var $=M||j;Y=$?h.createElement("span",{className:k()("".concat(A,"-iconEle"),"".concat(A,"-icon__customize"))},typeof $=="function"?$(e.props):$):e.renderIcon()}else Q&&b&&(Y=e.renderIcon());var B;typeof c=="function"?B=c(x):z?B=z(x):B=c;var w=h.createElement("span",{className:"".concat(A,"-title")},B);return h.createElement("span",{ref:e.setSelectHandle,title:typeof c=="string"?c:"",className:k()("".concat(V),"".concat(V,"-").concat(e.getNodeState()||"normal"),!W&&(C||r)&&"".concat(A,"-node-selected")),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onContextMenu:e.onContextMenu,onClick:e.onSelectorClick,onDoubleClick:e.onSelectorDoubleClick},Y,w,e.renderDropIndicator())},e.renderDropIndicator=function(){var r=e.props,n=r.disabled,s=r.eventKey,c=e.props.context,C=c.draggable,M=c.dropLevelOffset,b=c.dropPosition,x=c.prefixCls,K=c.indent,A=c.dropIndicatorRender,H=c.dragOverNodeKey,j=c.direction,Q=!!C,z=!n&&Q&&H===s;return z?A({dropPosition:b,dropLevelOffset:M,indent:K,prefixCls:x,direction:j}):null},e}return(0,J.Z)(g,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var l=this.props.selectable,f=this.props.context.selectable;return typeof l=="boolean"?l:f}},{key:"render",value:function(){var l,f=this.props,y=f.eventKey,r=f.className,n=f.style,s=f.dragOver,c=f.dragOverGapTop,C=f.dragOverGapBottom,M=f.isLeaf,b=f.isStart,x=f.isEnd,K=f.expanded,A=f.selected,H=f.checked,j=f.halfChecked,Q=f.loading,z=f.domRef,W=f.active,V=f.data,Y=f.onMouseMove,$=f.selectable,B=(0,G.Z)(f,P),w=this.props.context,R=w.prefixCls,te=w.filterTreeNode,ie=w.keyEntities,de=w.dropContainerKey,ce=w.dropTargetKey,se=w.draggingNodeKey,re=this.isDisabled(),le=(0,_.Z)(B,{aria:!0,data:!0}),fe=ie[y]||{},ue=fe.level,pe=x[x.length-1],q=this.isDraggable(),ae=!re&&q,oe=se===y,ve=$!==void 0?{"aria-selected":!!$}:void 0;return h.createElement("div",(0,F.Z)({ref:z,className:k()(r,"".concat(R,"-treenode"),(l={},(0,E.Z)(l,"".concat(R,"-treenode-disabled"),re),(0,E.Z)(l,"".concat(R,"-treenode-switcher-").concat(K?"open":"close"),!M),(0,E.Z)(l,"".concat(R,"-treenode-checkbox-checked"),H),(0,E.Z)(l,"".concat(R,"-treenode-checkbox-indeterminate"),j),(0,E.Z)(l,"".concat(R,"-treenode-selected"),A),(0,E.Z)(l,"".concat(R,"-treenode-loading"),Q),(0,E.Z)(l,"".concat(R,"-treenode-active"),W),(0,E.Z)(l,"".concat(R,"-treenode-leaf-last"),pe),(0,E.Z)(l,"".concat(R,"-treenode-draggable"),q),(0,E.Z)(l,"dragging",oe),(0,E.Z)(l,"drop-target",ce===y),(0,E.Z)(l,"drop-container",de===y),(0,E.Z)(l,"drag-over",!re&&s),(0,E.Z)(l,"drag-over-gap-top",!re&&c),(0,E.Z)(l,"drag-over-gap-bottom",!re&&C),(0,E.Z)(l,"filter-node",te&&te((0,N.F)(this.props))),l)),style:n,draggable:ae,"aria-grabbed":oe,onDragStart:ae?this.onDragStart:void 0,onDragEnter:q?this.onDragEnter:void 0,onDragOver:q?this.onDragOver:void 0,onDragLeave:q?this.onDragLeave:void 0,onDrop:q?this.onDrop:void 0,onDragEnd:q?this.onDragEnd:void 0,onMouseMove:Y},ve,le),h.createElement(Z,{prefixCls:R,level:ue,isStart:b,isEnd:x}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),g}(h.Component),i=function(p){return h.createElement(L.k.Consumer,null,function(g){return h.createElement(o,(0,F.Z)({},p,{context:g}))})};i.displayName="TreeNode",i.isTreeNode=1;var v=i},27822:function(ne,U,m){"use strict";m.d(U,{k:function(){return E}});var F=m(67294),E=F.createContext(null)},10225:function(ne,U,m){"use strict";m.d(U,{_5:function(){return S},L0:function(){return T},yx:function(){return O},bt:function(){return h},Ds:function(){return D},wA:function(){return k},OM:function(){return I},BT:function(){return Z},E6:function(){return a},r7:function(){return d}});var F=m(85061),E=m(90484),G=m(67294),X=m(80334),ee=m(4258),J=null;function S(t,o){if(!t)return[];var i=t.slice(),v=i.indexOf(o);return v>=0&&i.splice(v,1),i}function T(t,o){var i=(t||[]).slice();return i.indexOf(o)===-1&&i.push(o),i}function O(t){return t.split("-")}function h(t,o){return"".concat(t,"-").concat(o)}function D(t){return t&&t.type&&t.type.isTreeNode}function k(t,o){var i=[],v=o[t];function u(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];p.forEach(function(g){var e=g.key,l=g.children;i.push(e),u(l)})}return u(v.children),i}function _(t){if(t.parent){var o=O(t.pos);return Number(o[o.length-1])===t.parent.children.length-1}return!1}function L(t){var o=O(t.pos);return Number(o[o.length-1])===0}function I(t,o,i,v,u,p,g,e,l,f){var y,r=t.clientX,n=t.clientY,s=t.target.getBoundingClientRect(),c=s.top,C=s.height,M=(f==="rtl"?-1:1)*(((u==null?void 0:u.x)||0)-r),b=(M-12)/v,x=e[i.props.eventKey];if(n<c+C/2){var K=g.findIndex(function(R){return R.key===x.key}),A=K<=0?0:K-1,H=g[A].key;x=e[H]}var j=x.key,Q=x,z=x.key,W=0,V=0;if(!l.includes(j))for(var Y=0;Y<b&&_(x);Y+=1)x=x.parent,V+=1;var $=o.props.data,B=x.node,w=!0;return L(x)&&x.level===0&&n<c+C/2&&p({dragNode:$,dropNode:B,dropPosition:-1})&&x.key===i.props.eventKey?W=-1:(Q.children||[]).length&&l.includes(z)?p({dragNode:$,dropNode:B,dropPosition:0})?W=0:w=!1:V===0?b>-1.5?p({dragNode:$,dropNode:B,dropPosition:1})?W=1:w=!1:p({dragNode:$,dropNode:B,dropPosition:0})?W=0:p({dragNode:$,dropNode:B,dropPosition:1})?W=1:w=!1:p({dragNode:$,dropNode:B,dropPosition:1})?W=1:w=!1,{dropPosition:W,dropLevelOffset:V,dropTargetKey:x.key,dropTargetPos:x.pos,dragOverNodeKey:z,dropContainerKey:W===0?null:((y=x.parent)===null||y===void 0?void 0:y.key)||null,dropAllowed:w}}function Z(t,o){if(!!t){var i=o.multiple;return i?t.slice():t.length?[t[0]]:t}}var N=function(o){return o};function P(t,o){if(!t)return[];var i=o||{},v=i.processProps,u=v===void 0?N:v,p=Array.isArray(t)?t:[t];return p.map(function(g){var e=g.children,l=_objectWithoutProperties(g,J),f=P(e,o);return React.createElement(TreeNode,_extends({key:l.key},u(l)),f)})}function a(t){if(!t)return null;var o;if(Array.isArray(t))o={checkedKeys:t,halfCheckedKeys:void 0};else if((0,E.Z)(t)==="object")o={checkedKeys:t.checked||void 0,halfCheckedKeys:t.halfChecked||void 0};else return(0,X.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return o}function d(t,o){var i=new Set;function v(u){if(!i.has(u)){var p=o[u];if(!!p){i.add(u);var g=p.parent,e=p.node;e.disabled||g&&v(g.key)}}}return(t||[]).forEach(function(u){v(u)}),(0,F.Z)(i)}},17341:function(ne,U,m){"use strict";m.d(U,{S:function(){return J}});var F=m(80334);function E(S,T){var O=new Set;return S.forEach(function(h){T.has(h)||O.add(h)}),O}function G(S){var T=S||{},O=T.disabled,h=T.disableCheckbox,D=T.checkable;return!!(O||h)||D===!1}function X(S,T,O,h){for(var D=new Set(S),k=new Set,_=0;_<=O;_+=1){var L=T.get(_)||new Set;L.forEach(function(P){var a=P.key,d=P.node,t=P.children,o=t===void 0?[]:t;D.has(a)&&!h(d)&&o.filter(function(i){return!h(i.node)}).forEach(function(i){D.add(i.key)})})}for(var I=new Set,Z=O;Z>=0;Z-=1){var N=T.get(Z)||new Set;N.forEach(function(P){var a=P.parent,d=P.node;if(!(h(d)||!P.parent||I.has(P.parent.key))){if(h(P.parent.node)){I.add(a.key);return}var t=!0,o=!1;(a.children||[]).filter(function(i){return!h(i.node)}).forEach(function(i){var v=i.key,u=D.has(v);t&&!u&&(t=!1),!o&&(u||k.has(v))&&(o=!0)}),t&&D.add(a.key),o&&k.add(a.key),I.add(a.key)}})}return{checkedKeys:Array.from(D),halfCheckedKeys:Array.from(E(k,D))}}function ee(S,T,O,h,D){for(var k=new Set(S),_=new Set(T),L=0;L<=h;L+=1){var I=O.get(L)||new Set;I.forEach(function(a){var d=a.key,t=a.node,o=a.children,i=o===void 0?[]:o;!k.has(d)&&!_.has(d)&&!D(t)&&i.filter(function(v){return!D(v.node)}).forEach(function(v){k.delete(v.key)})})}_=new Set;for(var Z=new Set,N=h;N>=0;N-=1){var P=O.get(N)||new Set;P.forEach(function(a){var d=a.parent,t=a.node;if(!(D(t)||!a.parent||Z.has(a.parent.key))){if(D(a.parent.node)){Z.add(d.key);return}var o=!0,i=!1;(d.children||[]).filter(function(v){return!D(v.node)}).forEach(function(v){var u=v.key,p=k.has(u);o&&!p&&(o=!1),!i&&(p||_.has(u))&&(i=!0)}),o||k.delete(d.key),i&&_.add(d.key),Z.add(d.key)}})}return{checkedKeys:Array.from(k),halfCheckedKeys:Array.from(E(_,k))}}function J(S,T,O,h){var D=[],k;h?k=h:k=G;var _=new Set(S.filter(function(N){var P=!!O[N];return P||D.push(N),P})),L=new Map,I=0;Object.keys(O).forEach(function(N){var P=O[N],a=P.level,d=L.get(a);d||(d=new Set,L.set(a,d)),d.add(P),I=Math.max(I,a)}),(0,F.ZP)(!D.length,"Tree missing follow keys: ".concat(D.slice(0,100).map(function(N){return"'".concat(N,"'")}).join(", ")));var Z;return T===!0?Z=X(_,L,I,k):Z=ee(_,T.halfCheckedKeys,L,I,k),Z}},1089:function(ne,U,m){"use strict";m.d(U,{km:function(){return h},w$:function(){return D},zn:function(){return _},oH:function(){return L},I8:function(){return Z},H8:function(){return N},F:function(){return P}});var F=m(90484),E=m(85061),G=m(28991),X=m(81253),ee=m(98423),J=m(50344),S=m(80334),T=m(10225),O=["children"];function h(a,d){return a!=null?a:d}function D(a){var d=a||{},t=d.title,o=d._title,i=d.key,v=d.children,u=t||"title";return{title:u,_title:o||[u],key:i||"key",children:v||"children"}}function k(a,d){var t=new Map;function o(i){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(i||[]).forEach(function(u){var p=u[d.key],g=u[d.children];warning(p!=null,"Tree node must have a certain key: [".concat(v).concat(p,"]"));var e=String(p);warning(!t.has(e)||p===null||p===void 0,"Same 'key' exist in the Tree: ".concat(e)),t.set(e,!0),o(g,"".concat(v).concat(e," > "))})}o(a)}function _(a){function d(t){var o=(0,J.Z)(t);return o.map(function(i){if(!(0,T.Ds)(i))return(0,S.ZP)(!i,"Tree/TreeNode can only accept TreeNode as children."),null;var v=i.key,u=i.props,p=u.children,g=(0,X.Z)(u,O),e=(0,G.Z)({key:v},g),l=d(p);return l.length&&(e.children=l),e}).filter(function(i){return i})}return d(a)}function L(a,d,t){var o=D(t),i=o._title,v=o.key,u=o.children,p=new Set(d===!0?[]:d),g=[];function e(l){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return l.map(function(y,r){for(var n=(0,T.bt)(f?f.pos:"0",r),s=h(y[v],n),c,C=0;C<i.length;C+=1){var M=i[C];if(y[M]!==void 0){c=y[M];break}}var b=(0,G.Z)((0,G.Z)({},(0,ee.Z)(y,[].concat((0,E.Z)(i),[v,u]))),{},{title:c,key:s,parent:f,pos:n,children:null,data:y,isStart:[].concat((0,E.Z)(f?f.isStart:[]),[r===0]),isEnd:[].concat((0,E.Z)(f?f.isEnd:[]),[r===l.length-1])});return g.push(b),d===!0||p.has(s)?b.children=e(y[u]||[],b):b.children=[],b})}return e(a),g}function I(a,d,t){var o={};(0,F.Z)(t)==="object"?o=t:o={externalGetKey:t},o=o||{};var i=o,v=i.childrenPropName,u=i.externalGetKey,p=i.fieldNames,g=D(p),e=g.key,l=g.children,f=v||l,y;u?typeof u=="string"?y=function(s){return s[u]}:typeof u=="function"&&(y=function(s){return u(s)}):y=function(s,c){return h(s[e],c)};function r(n,s,c,C){var M=n?n[f]:a,b=n?(0,T.bt)(c.pos,s):"0",x=n?[].concat((0,E.Z)(C),[n]):[];if(n){var K=y(n,b),A={node:n,index:s,pos:b,key:K,parentPos:c.node?c.pos:null,level:c.level+1,nodes:x};d(A)}M&&M.forEach(function(H,j){r(H,j,{node:n,pos:b,level:c?c.level+1:-1},x)})}r(null)}function Z(a){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=d.initWrapper,o=d.processEntity,i=d.onProcessFinished,v=d.externalGetKey,u=d.childrenPropName,p=d.fieldNames,g=arguments.length>2?arguments[2]:void 0,e=v||g,l={},f={},y={posEntities:l,keyEntities:f};return t&&(y=t(y)||y),I(a,function(r){var n=r.node,s=r.index,c=r.pos,C=r.key,M=r.parentPos,b=r.level,x=r.nodes,K={node:n,nodes:x,index:s,key:C,pos:c,level:b},A=h(C,c);l[c]=K,f[A]=K,K.parent=l[M],K.parent&&(K.parent.children=K.parent.children||[],K.parent.children.push(K)),o&&o(K,y)},{externalGetKey:e,childrenPropName:u,fieldNames:p}),i&&i(y),y}function N(a,d){var t=d.expandedKeys,o=d.selectedKeys,i=d.loadedKeys,v=d.loadingKeys,u=d.checkedKeys,p=d.halfCheckedKeys,g=d.dragOverNodeKey,e=d.dropPosition,l=d.keyEntities,f=l[a],y={eventKey:a,expanded:t.indexOf(a)!==-1,selected:o.indexOf(a)!==-1,loaded:i.indexOf(a)!==-1,loading:v.indexOf(a)!==-1,checked:u.indexOf(a)!==-1,halfChecked:p.indexOf(a)!==-1,pos:String(f?f.pos:""),dragOver:g===a&&e===0,dragOverGapTop:g===a&&e===-1,dragOverGapBottom:g===a&&e===1};return y}function P(a){var d=a.data,t=a.expanded,o=a.selected,i=a.checked,v=a.loaded,u=a.loading,p=a.halfChecked,g=a.dragOver,e=a.dragOverGapTop,l=a.dragOverGapBottom,f=a.pos,y=a.active,r=a.eventKey,n=(0,G.Z)((0,G.Z)({},d),{},{expanded:t,selected:o,checked:i,loaded:v,loading:u,halfChecked:p,dragOver:g,dragOverGapTop:e,dragOverGapBottom:l,pos:f,active:y,key:r});return"props"in n||Object.defineProperty(n,"props",{get:function(){return(0,S.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),a}}),n}}}]);
|