a:70:{s:9:"#provides";s:15:"dojo.dnd.Source";s:9:"#resource";s:13:"dnd/Source.js";s:9:"#requires";a:2:{i:0;a:2:{i:0;s:6:"common";i:1;s:17:"dojo.dnd.Selector";}i:1;a:2:{i:0;s:6:"common";i:1;s:16:"dojo.dnd.Manager";}}s:15:"dojo.dnd.Source";a:6:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:17:"dojo.dnd.Selector";}s:4:"call";a:1:{i:0;s:17:"dojo.dnd.Selector";}}s:7:"summary";s:27:"a constructor of the Source";s:10:"parameters";a:2:{s:4:"node";a:2:{s:4:"type";s:14:"DOMNode|String";s:7:"summary";s:40:"node or node's id to build the source on";}s:6:"params";a:3:{s:8:"optional";b:1;s:4:"type";s:21:"dojo.dnd.__SourceArgs";s:7:"summary";s:118:"any property of this class may be configured via the params object which is mixed-in to the `dojo.dnd.Source` instance";}}s:6:"source";s:933:" dojo.mixin(this, dojo.mixin({}, params)); var type = this.accept; if(type.length){ this.accept = {}; for(var i = 0; i < type.length; ++i){ this.accept[type[i]] = 1; } } // class-specific variables this.isDragging = false; this.mouseDown = false; this.targetAnchor = null; this.targetBox = null; this.before = true; this._lastX = 0; this._lastY = 0; // states this.sourceState = ""; if(this.isSource){ dojo.addClass(this.node, "dojoDndSource"); } this.targetState = ""; if(this.accept){ dojo.addClass(this.node, "dojoDndTarget"); } if(this.horizontal){ dojo.addClass(this.node, "dojoDndHorizontal"); } // set up events this.topics = [ dojo.subscribe("/dnd/source/over", this, "onDndSourceOver"), dojo.subscribe("/dnd/start", this, "onDndStart"), dojo.subscribe("/dnd/drop", this, "onDndDrop"), dojo.subscribe("/dnd/cancel", this, "onDndCancel") ];";s:9:"classlike";b:1;}s:24:"dojo.dnd.Source.isSource";a:2:{s:9:"prototype";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:26:"dojo.dnd.Source.horizontal";a:2:{s:9:"prototype";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:24:"dojo.dnd.Source.copyOnly";a:2:{s:9:"prototype";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:24:"dojo.dnd.Source.selfCopy";a:2:{s:9:"prototype";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:26:"dojo.dnd.Source.selfAccept";a:2:{s:9:"prototype";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:24:"dojo.dnd.Source.skipForm";a:2:{s:9:"prototype";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:27:"dojo.dnd.Source.withHandles";a:2:{s:9:"prototype";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:24:"dojo.dnd.Source.autoSync";a:2:{s:9:"prototype";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:21:"dojo.dnd.Source.delay";a:2:{s:9:"prototype";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:22:"dojo.dnd.Source.accept";a:3:{s:9:"prototype";s:15:"dojo.dnd.Source";s:8:"instance";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:31:"dojo.dnd.Source.checkAcceptance";a:6:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:6:"source";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:31:"the source which provides items";}s:5:"nodes";a:2:{s:4:"type";s:5:"Array";s:7:"summary";s:29:"the list of transferred items";}}s:6:"source";s:400:" if(this == source){ return !this.copyOnly || this.selfAccept; } for(var i = 0; i < nodes.length; ++i){ var type = source.getItem(nodes[i].id).type; // type instanceof Array var flag = false; for(var j = 0; j < type.length; ++j){ if(type[j] in this.accept){ flag = true; break; } } if(!flag){ return false; // Boolean } } return true; // Boolean";s:7:"summary";s:55:"checks, if the target can accept nodes from this source";s:7:"returns";s:7:"Boolean";}s:25:"dojo.dnd.Source.copyState";a:6:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:10:"keyPressed";a:2:{s:4:"type";s:7:"Boolean";s:7:"summary";s:32:"the "copy" was pressed";}s:4:"self";a:3:{s:4:"type";s:7:"Boolean";s:8:"optional";b:1;s:7:"summary";s:62:"optional flag, which means that we are about to drop on itself";}}s:6:"source";s:239:" if(keyPressed){ return true; } if(arguments.length < 2){ self = this == dojo.dnd.manager().target; } if(self){ if(this.copyOnly){ return this.selfCopy; } }else{ return this.copyOnly; } return false; // Boolean";s:7:"summary";s:112:"Returns true, if we need to copy items, false to move. It is separated to be overwritten dynamically, if needed.";s:7:"returns";s:7:"Boolean";}s:23:"dojo.dnd.Source.destroy";a:5:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:6:"source";s:123:" dojo.dnd.Source.superclass.destroy.call(this); dojo.forEach(this.topics, dojo.unsubscribe); this.targetAnchor = null;";s:7:"summary";s:43:"prepares the object to be garbage-collected";s:6:"chains";a:1:{s:4:"call";a:1:{i:0;s:34:"dojo.dnd.Source.superclass.destroy";}}}s:29:"dojo.dnd.Source.markupFactory";a:5:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:6:"params";a:1:{s:4:"type";s:0:"";}s:4:"node";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:73:" params._skipStartup = true; return new dojo.dnd.Source(node, params);";s:7:"summary";s:0:"";}s:27:"dojo.dnd.Source.onMouseMove";a:6:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:2:{s:4:"type";s:5:"Event";s:7:"summary";s:11:"mouse event";}}s:6:"source";s:1162:" if(this.isDragging && this.targetState == "Disabled"){ return; } dojo.dnd.Source.superclass.onMouseMove.call(this, e); var m = dojo.dnd.manager(); if(this.isDragging){ // calculate before/after var before = false; if(this.current){ if(!this.targetBox || this.targetAnchor != this.current){ this.targetBox = { xy: dojo.coords(this.current, true), w: this.current.offsetWidth, h: this.current.offsetHeight }; } if(this.horizontal){ before = (e.pageX - this.targetBox.xy.x) < (this.targetBox.w / 2); }else{ before = (e.pageY - this.targetBox.xy.y) < (this.targetBox.h / 2); } } if(this.current != this.targetAnchor || before != this.before){ this._markTargetAnchor(before); m.canDrop(!this.current || m.source != this || !(this.current.id in this.selection)); } }else{ if(this.mouseDown && this.isSource && (Math.abs(e.pageX - this._lastX) > this.delay || Math.abs(e.pageY - this._lastY) > this.delay)){ var nodes = this.getSelectedNodes(); if(nodes.length){ m.startDrag(this, nodes, this.copyState(dojo.dnd.getCopyKeyState(e), true)); } } }";s:7:"summary";s:31:"event processor for onmousemove";s:6:"chains";a:1:{s:4:"call";a:1:{i:0;s:38:"dojo.dnd.Source.superclass.onMouseMove";}}}s:27:"dojo.dnd.Source.onMouseDown";a:6:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:2:{s:4:"type";s:5:"Event";s:7:"summary";s:11:"mouse event";}}s:6:"source";s:238:" if(!this.mouseDown && this._legalMouseDown(e) && (!this.skipForm || !dojo.dnd.isFormElement(e))){ this.mouseDown = true; this._lastX = e.pageX; this._lastY = e.pageY; dojo.dnd.Source.superclass.onMouseDown.call(this, e); }";s:7:"summary";s:31:"event processor for onmousedown";s:6:"chains";a:1:{s:4:"call";a:1:{i:0;s:38:"dojo.dnd.Source.superclass.onMouseDown";}}}s:25:"dojo.dnd.Source.onMouseUp";a:6:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:2:{s:4:"type";s:5:"Event";s:7:"summary";s:11:"mouse event";}}s:6:"source";s:107:" if(this.mouseDown){ this.mouseDown = false; dojo.dnd.Source.superclass.onMouseUp.call(this, e); }";s:7:"summary";s:29:"event processor for onmouseup";s:6:"chains";a:1:{s:4:"call";a:1:{i:0;s:36:"dojo.dnd.Source.superclass.onMouseUp";}}}s:31:"dojo.dnd.Source.onDndSourceOver";a:5:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:6:"source";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:38:"the source which has the mouse over it";}}s:6:"source";s:300:" if(this != source){ this.mouseDown = false; if(this.targetAnchor){ this._unmarkTargetAnchor(); } }else if(this.isDragging){ var m = dojo.dnd.manager(); m.canDrop(this.targetState != "Disabled" && (!this.current || m.source != this || !(this.current.id in this.selection))); }";s:7:"summary";s:81:"topic event processor for /dnd/source/over, called when detected a current source";}s:26:"dojo.dnd.Source.onDndStart";a:5:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:6:"source";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:31:"the source which provides items";}s:5:"nodes";a:2:{s:4:"type";s:5:"Array";s:7:"summary";s:29:"the list of transferred items";}s:4:"copy";a:2:{s:4:"type";s:7:"Boolean";s:7:"summary";s:41:"copy items, if true, move items otherwise";}}s:6:"source";s:363:" if(this.autoSync){ this.sync(); } if(this.isSource){ this._changeState("Source", this == source ? (copy ? "Copied" : "Moved") : ""); } var accepted = this.accept && this.checkAcceptance(source, nodes); this._changeState("Target", accepted ? "" : "Disabled"); if(this == source){ dojo.dnd.manager().overSource(this); } this.isDragging = true;";s:7:"summary";s:74:"topic event processor for /dnd/start, called to initiate the DnD operation";}s:25:"dojo.dnd.Source.onDndDrop";a:5:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:10:"parameters";a:4:{s:6:"source";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:31:"the source which provides items";}s:5:"nodes";a:2:{s:4:"type";s:5:"Array";s:7:"summary";s:29:"the list of transferred items";}s:4:"copy";a:2:{s:4:"type";s:7:"Boolean";s:7:"summary";s:41:"copy items, if true, move items otherwise";}s:6:"target";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:30:"the target which accepts items";}}s:6:"source";s:124:" if(this == target){ // this one is for us => move nodes! this.onDrop(source, nodes, copy); } this.onDndCancel();";s:7:"summary";s:71:"topic event processor for /dnd/drop, called to finish the DnD operation";}s:27:"dojo.dnd.Source.onDndCancel";a:4:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:6:"source";s:233:" if(this.targetAnchor){ this._unmarkTargetAnchor(); this.targetAnchor = null; } this.before = true; this.isDragging = false; this.mouseDown = false; this._changeState("Source", ""); this._changeState("Target", "");";s:7:"summary";s:73:"topic event processor for /dnd/cancel, called to cancel the DnD operation";}s:22:"dojo.dnd.Source.onDrop";a:5:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:6:"source";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:31:"the source which provides items";}s:5:"nodes";a:2:{s:4:"type";s:5:"Array";s:7:"summary";s:29:"the list of transferred items";}s:4:"copy";a:2:{s:4:"type";s:7:"Boolean";s:7:"summary";s:41:"copy items, if true, move items otherwise";}}s:6:"source";s:116:" if(this != source){ this.onDropExternal(source, nodes, copy); }else{ this.onDropInternal(nodes, copy); }";s:7:"summary";s:57:"called only on the current target, when drop is performed";}s:30:"dojo.dnd.Source.onDropExternal";a:6:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:6:"source";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:31:"the source which provides items";}s:5:"nodes";a:2:{s:4:"type";s:5:"Array";s:7:"summary";s:29:"the list of transferred items";}s:4:"copy";a:2:{s:4:"type";s:7:"Boolean";s:7:"summary";s:41:"copy items, if true, move items otherwise";}}s:6:"source";s:1046:" var oldCreator = this._normalizedCreator; // transferring nodes from the source to the target if(this.creator){ // use defined creator this._normalizedCreator = function(node, hint){ return oldCreator.call(this, source.getItem(node.id).data, hint); }; }else{ // we have no creator defined => move/clone nodes if(copy){ // clone nodes this._normalizedCreator = function(node, hint){ var t = source.getItem(node.id); var n = node.cloneNode(true); n.id = dojo.dnd.getUniqueId(); return {node: n, data: t.data, type: t.type}; }; }else{ // move nodes this._normalizedCreator = function(node, hint){ var t = source.getItem(node.id); source.delItem(node.id); return {node: node, data: t.data, type: t.type}; }; } } this.selectNone(); if(!copy && !this.creator){ source.selectNone(); } this.insertNodes(true, nodes, this.before, this.current); if(!copy && this.creator){ source.deleteSelectedNodes(); } this._normalizedCreator = oldCreator;";s:7:"summary";s:81:"called only on the current target, when drop is performed from an external source";s:9:"classlike";b:1;}s:30:"dojo.dnd.Source.onDropInternal";a:6:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:5:"nodes";a:2:{s:4:"type";s:5:"Array";s:7:"summary";s:29:"the list of transferred items";}s:4:"copy";a:2:{s:4:"type";s:7:"Boolean";s:7:"summary";s:41:"copy items, if true, move items otherwise";}}s:6:"source";s:991:" var oldCreator = this._normalizedCreator; // transferring nodes within the single source if(this.current && this.current.id in this.selection){ // do nothing return; } if(copy){ if(this.creator){ // create new copies of data items this._normalizedCreator = function(node, hint){ return oldCreator.call(this, this.getItem(node.id).data, hint); }; }else{ // clone nodes this._normalizedCreator = function(node, hint){ var t = this.getItem(node.id); var n = node.cloneNode(true); n.id = dojo.dnd.getUniqueId(); return {node: n, data: t.data, type: t.type}; }; } }else{ // move nodes if(!this.current){ // do nothing return; } this._normalizedCreator = function(node, hint){ var t = this.getItem(node.id); return {node: node, data: t.data, type: t.type}; }; } this._removeSelection(); this.insertNodes(true, nodes, this.before, this.current); this._normalizedCreator = oldCreator;";s:7:"summary";s:85:"called only on the current target, when drop is performed from the same target/source";s:9:"classlike";b:1;}s:30:"dojo.dnd.Source.onDraggingOver";a:4:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:6:"source";s:122:" // summary: called during the active DnD operation, when items // are dragged over this target, and it is not disabled";s:7:"summary";s:103:"called during the active DnD operation, when items are dragged over this target, and it is not disabled";}s:29:"dojo.dnd.Source.onDraggingOut";a:4:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:6:"source";s:127:" // summary: called during the active DnD operation, when items // are dragged away from this target, and it is not disabled";s:7:"summary";s:108:"called during the active DnD operation, when items are dragged away from this target, and it is not disabled";}s:27:"dojo.dnd.Source.onOverEvent";a:5:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:6:"source";s:178:" dojo.dnd.Source.superclass.onOverEvent.call(this); dojo.dnd.manager().overSource(this); if(this.isDragging && this.targetState != "Disabled"){ this.onDraggingOver(); }";s:7:"summary";s:62:"this function is called once, when mouse is over our container";s:6:"chains";a:1:{s:4:"call";a:1:{i:0;s:38:"dojo.dnd.Source.superclass.onOverEvent";}}}s:26:"dojo.dnd.Source.onOutEvent";a:5:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:6:"source";s:175:" dojo.dnd.Source.superclass.onOutEvent.call(this); dojo.dnd.manager().outSource(this); if(this.isDragging && this.targetState != "Disabled"){ this.onDraggingOut(); }";s:7:"summary";s:64:"this function is called once, when mouse is out of our container";s:6:"chains";a:1:{s:4:"call";a:1:{i:0;s:37:"dojo.dnd.Source.superclass.onOutEvent";}}}s:33:"dojo.dnd.Source._markTargetAnchor";a:6:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:6:"before";a:2:{s:4:"type";s:7:"Boolean";s:7:"summary";s:39:"insert before, if true, after otherwise";}}s:6:"source";s:373:" if(this.current == this.targetAnchor && this.before == before){ return; } if(this.targetAnchor){ this._removeItemClass(this.targetAnchor, this.before ? "Before" : "After"); } this.targetAnchor = this.current; this.targetBox = null; this.before = before; if(this.targetAnchor){ this._addItemClass(this.targetAnchor, this.before ? "Before" : "After"); }";s:7:"summary";s:79:"assigns a class to the current target anchor based on "before" status";s:7:"private";b:1;}s:35:"dojo.dnd.Source._unmarkTargetAnchor";a:5:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:6:"source";s:188:" if(!this.targetAnchor){ return; } this._removeItemClass(this.targetAnchor, this.before ? "Before" : "After"); this.targetAnchor = null; this.targetBox = null; this.before = true;";s:7:"summary";s:79:"removes a class of the current target anchor based on "before" status";s:7:"private";b:1;}s:30:"dojo.dnd.Source._markDndStatus";a:6:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"copy";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:57:" this._changeState("Source", copy ? "Copied" : "Moved");";s:7:"summary";s:55:"changes source's state based on "copy" status";s:7:"private";b:1;}s:31:"dojo.dnd.Source._legalMouseDown";a:7:{s:9:"prototype";s:15:"dojo.dnd.Source";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:2:{s:4:"type";s:5:"Event";s:7:"summary";s:46:"mouse event accept only the left mouse button";}}s:6:"source";s:343:" if(!dojo.dnd._isLmbPressed(e)){ return false; } if(!this.withHandles){ return true; } // check for handles for(var node = e.target; node && node !== this.node; node = node.parentNode){ if(dojo.hasClass(node, "dojoDndHandle")){ return true; } if(dojo.hasClass(node, "dojoDndItem")){ break; } } return false; // Boolean";s:7:"summary";s:52:"checks if user clicked on "approved" items";s:7:"returns";s:7:"Boolean";s:7:"private";b:1;}s:28:"dojo.dnd.Source.targetAnchor";a:2:{s:8:"instance";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:27:"dojo.dnd.Source.targetState";a:2:{s:8:"instance";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:25:"dojo.dnd.Source.targetBox";a:2:{s:8:"instance";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:25:"dojo.dnd.Source.mouseDown";a:2:{s:8:"instance";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:22:"dojo.dnd.Source._lastX";a:3:{s:8:"instance";s:15:"dojo.dnd.Source";s:7:"private";b:1;s:7:"summary";s:0:"";}s:22:"dojo.dnd.Source._lastY";a:3:{s:8:"instance";s:15:"dojo.dnd.Source";s:7:"private";b:1;s:7:"summary";s:0:"";}s:26:"dojo.dnd.Source.isDragging";a:2:{s:8:"instance";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:22:"dojo.dnd.Source.before";a:2:{s:8:"instance";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:34:"dojo.dnd.Source._normalizedCreator";a:3:{s:8:"instance";s:15:"dojo.dnd.Source";s:7:"private";b:1;s:7:"summary";s:0:"";}s:49:"dojo.dnd.Source.onDropExternal._normalizedCreator";a:7:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:4:"node";a:1:{s:4:"type";s:0:"";}s:4:"hint";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:121:" var t = source.getItem(node.id); source.delItem(node.id); return {node: node, data: t.data, type: t.type};";s:6:"chains";a:1:{s:4:"call";a:1:{i:0;s:10:"oldCreator";}}s:8:"instance";s:30:"dojo.dnd.Source.onDropExternal";s:7:"private";b:1;s:7:"summary";s:0:"";}s:49:"dojo.dnd.Source.onDropInternal._normalizedCreator";a:7:{s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:4:"node";a:1:{s:4:"type";s:0:"";}s:4:"hint";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:87:" var t = this.getItem(node.id); return {node: node, data: t.data, type: t.type};";s:6:"chains";a:1:{s:4:"call";a:1:{i:0;s:10:"oldCreator";}}s:8:"instance";s:30:"dojo.dnd.Source.onDropInternal";s:7:"private";b:1;s:7:"summary";s:0:"";}s:23:"dojo.dnd.Source.current";a:2:{s:8:"instance";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:40:"dojo.dnd.Source._markTargetAnchor.before";a:3:{s:4:"type";s:7:"Boolean";s:7:"summary";s:39:"insert before, if true, after otherwise";s:14:"private_parent";b:1;}s:27:"dojo.dnd.Source.sourceState";a:2:{s:8:"instance";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:22:"dojo.dnd.Source.topics";a:2:{s:8:"instance";s:15:"dojo.dnd.Source";s:7:"summary";s:0:"";}s:15:"dojo.dnd.Target";a:6:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:15:"dojo.dnd.Source";}s:4:"call";a:1:{i:0;s:15:"dojo.dnd.Source";}}s:7:"summary";s:70:"a constructor of the Target --- see the Source constructor for details";s:10:"parameters";a:2:{s:4:"node";a:1:{s:4:"type";s:0:"";}s:6:"params";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:72:" this.isSource = false; dojo.removeClass(this.node, "dojoDndSource");";s:9:"classlike";b:1;}s:29:"dojo.dnd.Target.markupFactory";a:5:{s:9:"prototype";s:15:"dojo.dnd.Target";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:6:"params";a:1:{s:4:"type";s:0:"";}s:4:"node";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:73:" params._skipStartup = true; return new dojo.dnd.Target(node, params);";s:7:"summary";s:0:"";}s:24:"dojo.dnd.Target.isSource";a:2:{s:8:"instance";s:15:"dojo.dnd.Target";s:7:"summary";s:0:"";}s:19:"dojo.dnd.AutoSource";a:6:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:15:"dojo.dnd.Source";}s:4:"call";a:1:{i:0;s:15:"dojo.dnd.Source";}}s:7:"summary";s:74:"a constructor of the AutoSource --- see the Source constructor for details";s:10:"parameters";a:2:{s:4:"node";a:1:{s:4:"type";s:0:"";}s:6:"params";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:23:" this.autoSync = true;";s:9:"classlike";b:1;}s:33:"dojo.dnd.AutoSource.markupFactory";a:5:{s:9:"prototype";s:19:"dojo.dnd.AutoSource";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:6:"params";a:1:{s:4:"type";s:0:"";}s:4:"node";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:77:" params._skipStartup = true; return new dojo.dnd.AutoSource(node, params);";s:7:"summary";s:0:"";}s:28:"dojo.dnd.AutoSource.autoSync";a:2:{s:8:"instance";s:19:"dojo.dnd.AutoSource";s:7:"summary";s:0:"";}s:21:"dojo.dnd.__SourceArgs";a:5:{s:4:"type";s:8:"Function";s:6:"source";s:246:" this.isSource = isSource; this.accept = accept; this.autoSync = autoSync; this.copyOnly = copyOnly; this.delay = delay; this.horizontal = horizontal; this.selfCopy = selfCopy; this.selfAccept = selfAccept; this.withHandles = withHandles;";s:7:"summary";s:138:"a dict of parameters for DnD Source configuration. Note that any property on Source elements may be configured, but this is the short-list";s:7:"private";b:1;s:9:"classlike";b:1;}s:30:"dojo.dnd.__SourceArgs.isSource";a:4:{s:8:"instance";s:21:"dojo.dnd.__SourceArgs";s:4:"type";s:8:"Boolean?";s:7:"summary";s:46:"can be used as a DnD source. Defaults to true.";s:14:"private_parent";b:1;}s:28:"dojo.dnd.__SourceArgs.accept";a:4:{s:8:"instance";s:21:"dojo.dnd.__SourceArgs";s:4:"type";s:6:"Array?";s:7:"summary";s:82:"list of accepted types (text strings) for a target; defaults to ["text"]";s:14:"private_parent";b:1;}s:30:"dojo.dnd.__SourceArgs.autoSync";a:4:{s:8:"instance";s:21:"dojo.dnd.__SourceArgs";s:4:"type";s:7:"Boolean";s:7:"summary";s:68:"if true refreshes the node list on every operation; false by default";s:14:"private_parent";b:1;}s:30:"dojo.dnd.__SourceArgs.copyOnly";a:4:{s:8:"instance";s:21:"dojo.dnd.__SourceArgs";s:4:"type";s:8:"Boolean?";s:7:"summary";s:100:"copy items, if true, use a state of Ctrl key otherwise, see selfCopy and selfAccept for more details";s:14:"private_parent";b:1;}s:27:"dojo.dnd.__SourceArgs.delay";a:4:{s:8:"instance";s:21:"dojo.dnd.__SourceArgs";s:4:"type";s:6:"Number";s:7:"summary";s:62:"the move delay in pixels before detecting a drag; 0 by default";s:14:"private_parent";b:1;}s:32:"dojo.dnd.__SourceArgs.horizontal";a:4:{s:8:"instance";s:21:"dojo.dnd.__SourceArgs";s:4:"type";s:8:"Boolean?";s:7:"summary";s:67:"a horizontal container, if true, vertical otherwise or when omitted";s:14:"private_parent";b:1;}s:30:"dojo.dnd.__SourceArgs.selfCopy";a:4:{s:8:"instance";s:21:"dojo.dnd.__SourceArgs";s:4:"type";s:8:"Boolean?";s:7:"summary";s:95:"copy items by default when dropping on itself, false by default, works only if copyOnly is true";s:14:"private_parent";b:1;}s:32:"dojo.dnd.__SourceArgs.selfAccept";a:4:{s:8:"instance";s:21:"dojo.dnd.__SourceArgs";s:4:"type";s:8:"Boolean?";s:7:"summary";s:91:"accept its own items when copyOnly is true, true by default, works only if copyOnly is true";s:14:"private_parent";b:1;}s:33:"dojo.dnd.__SourceArgs.withHandles";a:4:{s:8:"instance";s:21:"dojo.dnd.__SourceArgs";s:4:"type";s:8:"Boolean?";s:7:"summary";s:49:"allows dragging only by handles, false by default";s:14:"private_parent";b:1;}s:4:"this";a:2:{s:6:"mixins";a:1:{s:6:"normal";a:1:{i:0;s:22:"dojo.mixin({}, params)";}}s:7:"summary";s:0:"";}s:8:"dojo.dnd";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:4:"dojo";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}