Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@swimlane/ngx-dnd

Package Overview
Dependencies
Maintainers
11
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swimlane/ngx-dnd - npm Package Compare versions

Comparing version 7.0.0 to 8.0.0

6

bundles/swimlane-ngx-dnd.umd.js

@@ -398,3 +398,3 @@ (function (global, factory) {

DrakeStoreService.ctorParameters = function () { return []; };
/** @nocollapse */ DrakeStoreService.ngInjectableDef = core.defineInjectable({ factory: function DrakeStoreService_Factory() { return new DrakeStoreService(); }, token: DrakeStoreService, providedIn: "root" });
/** @nocollapse */ DrakeStoreService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function DrakeStoreService_Factory() { return new DrakeStoreService(); }, token: DrakeStoreService, providedIn: "root" });
return DrakeStoreService;

@@ -909,4 +909,4 @@ }());

moves: [{ type: core.Input }],
template: [{ type: core.Input }, { type: core.ContentChild, args: [core.TemplateRef,] }],
droppable: [{ type: core.Input }, { type: core.ViewChild, args: [DroppableDirective,] }],
template: [{ type: core.Input }, { type: core.ContentChild, args: [core.TemplateRef, { static: true },] }],
droppable: [{ type: core.Input }, { type: core.ViewChild, args: [DroppableDirective, { static: true },] }],
drop: [{ type: core.Output }],

@@ -913,0 +913,0 @@ drag: [{ type: core.Output }],

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common"),require("@swimlane/dragula")):"function"==typeof define&&define.amd?define("@swimlane/ngx-dnd",["exports","@angular/core","@angular/common","@swimlane/dragula"],t):t(((e=e||self).swimlane=e.swimlane||{},e.swimlane["ngx-dnd"]={}),e.ng.core,e.ng.common,e.dragulaNamespace)}(this,function(e,t,n,o){"use strict";function r(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(p){r={error:p}}finally{try{o&&!o.done&&(n=i["return"])&&n.call(i)}finally{if(r)throw r.error}}return a}function i(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(r(arguments[t]));return e}var a=o,p=function(){function e(){this.droppableMap=new WeakMap,this.draggableMap=new WeakMap,this.dragulaOptions=this.createDrakeOptions(),this.drake=a([],this.dragulaOptions),this.registerEvents()}return e.prototype.register=function(e){this.droppableMap.set(e.container,e),this.drake.containers.push(e.container)},e.prototype.remove=function(e){this.droppableMap["delete"](e.container);var t=this.drake.containers.indexOf(e.container);t>-1&&this.drake.containers.splice(t,1)},e.prototype.registerDraggable=function(e){this.draggableMap.set(e.element,e)},e.prototype.removeDraggable=function(e){this.draggableMap["delete"](e.element)},e.prototype.createDrakeOptions=function(){var e=this;return{accepts:function(t,n){if(t.contains(n))return!1;var o=e.draggableMap.get(t),r=e.droppableMap.get(n);return!o||!r||o.dropZones.includes(r.dropZone)},copy:function(t,n){var o=e.droppableMap.get(n);return!!o&&o.copy},moves:function(t,n,o,r){var i=e.draggableMap.get(t);return!i||i.moves(n,o,r)},revertOnSpill:!0,direction:function(t,n,o){return e.droppableMap.get(n).direction||"vertical"}}},e.prototype.registerEvents=function(){var e,t,n=this;this.drake.on("drag",function(o,r){if(t=undefined,e=o,o&&r){if(n.draggableMap.has(o)){var i=n.draggableMap.get(o);t=i.model,i.drag.emit({type:"drag",el:o,source:r,value:t})}if(n.droppableMap.has(r)){var a=n.droppableMap.get(r);n.dragulaOptions.removeOnSpill=a.removeOnSpill,a.drag.emit({type:"drag",el:o,source:r,sourceComponent:a,value:t})}}}),this.drake.on("drop",function(o,r,i){var a=n.droppableMap.get(r);if(a){var p=t,s=Array.prototype.indexOf.call(r.children,o);if(s<0)n.drake.cancel(!0);else{var l=n.droppableMap.get(i);if(l){var d=l.model,c=a.model,u=!(!d||!t),g=u?d.indexOf(t):-1;if(u&&g<0)return void n.drake.cancel(!0);if(c){var m=!d||e!==o;g>-1&&d&&r===i?d.splice(s,0,d.splice(g,1)[0]):(o.parentNode===r&&r.removeChild(o),m?p=JSON.parse(JSON.stringify(p)):(o.parentNode!==i&&n.drake.cancel(!0),d.splice(g,1)),c.splice(s,0,p))}}a.drop.emit({type:"drop",el:o,source:i,value:p,dropIndex:s})}}}),this.drake.on("remove",function(e,o,r){if(n.droppableMap.has(r)){var i=n.droppableMap.get(r),a=i.model,p=t&&a?a.indexOf(t):-1;p>-1&&(e.parentNode!==r&&r.appendChild(e),a.splice(p,1)),i.remove.emit({type:"remove",el:e,container:o,source:r,value:t})}}),this.drake.on("cancel",function(e,o,r){n.droppableMap.has(o)&&n.droppableMap.get(o).cancel.emit({type:"cancel",el:e,container:o,source:r,value:t})}),this.drake.on("over",function(e,o,r){n.droppableMap.has(o)&&n.droppableMap.get(o).over.emit({type:"over",el:e,container:o,source:r,value:t})}),this.drake.on("out",function(e,o,r){n.droppableMap.has(o)&&n.droppableMap.get(o).out.emit({type:"out",el:e,container:o,source:r,value:t})})},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=t.defineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}(),s=1e4;var l=function(){function e(e,n,o){this.el=e,this.renderer=n,this.drakesService=o,this.copy=!1,this.removeOnSpill=!1,this.direction="vertical",this.drop=new t.EventEmitter,this.drag=new t.EventEmitter,this.over=new t.EventEmitter,this.out=new t.EventEmitter,this.remove=new t.EventEmitter,this.cancel=new t.EventEmitter}return Object.defineProperty(e.prototype,"container",{get:function(){return this.el.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropZone",{get:function(){return this._dropZone||this.ngxDroppable||this.defaultZone},set:function(e){this._dropZone=e},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.defaultZone="@@DefaultDropZone-"+s+++"@@",this.drakesService.register(this)},e.prototype.ngAfterViewInit=function(){var e=this;this.over.subscribe(function(){e.renderer.addClass(e.container,"gu-over")}),this.out.subscribe(function(){e.renderer.removeClass(e.container,"gu-over")})},e.prototype.ngOnDestroy=function(){this.drakesService.remove(this)},e.decorators=[{type:t.Directive,args:[{selector:"[ngxDroppable]"}]}],e.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2},{type:p}]},e.propDecorators={model:[{type:t.Input}],copy:[{type:t.Input}],removeOnSpill:[{type:t.Input}],ngxDroppable:[{type:t.Input}],direction:[{type:t.Input}],drop:[{type:t.Output}],drag:[{type:t.Output}],over:[{type:t.Output}],out:[{type:t.Output}],remove:[{type:t.Output}],cancel:[{type:t.Output}],dropZone:[{type:t.Input}]},e}(),d=function(){function e(e,n,o){this.el=e,this.drakesService=n,this.droppableDirective=o,this._moves=!0,this.handles=[],this.drag=new t.EventEmitter,this.dragDelay=200,this.dragDelayed=!0}return Object.defineProperty(e.prototype,"dropZones",{get:function(){return this._dropZones||this.ngxDraggable||this._parentDropzones},set:function(e){this._dropZones=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasHandle",{get:function(){return!!this.handles.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this.el.nativeElement},enumerable:!0,configurable:!0}),e.prototype.onMove=function(e){this._moves&&!this.dragDelayed||(e.stopPropagation(),clearTimeout(this.touchTimeout))},e.prototype.onDown=function(){var e=this;this._moves&&(this.touchTimeout=setTimeout(function(){e.dragDelayed=!1},this.dragDelay))},e.prototype.onUp=function(){this._moves&&(clearTimeout(this.touchTimeout),this.dragDelayed=!0)},e.prototype.ngOnInit=function(){this.update()},e.prototype.update=function(){this._parentDropzones=[this.droppableDirective.dropZone],this.drakesService.registerDraggable(this),this.updateElements()},e.prototype.ngOnDestroy=function(){this.drakesService.removeDraggable(this)},e.prototype.updateElements=function(){var e=this.el.nativeElement,t=e.querySelectorAll("[ngxdraghandle]");this.handles=Array.from(t).filter(function(t){return function(e){for(;e.parentNode;)if((e=e.parentNode).hasAttribute&&e.hasAttribute("ngxdraggable"))return e}(t)===e})},e.prototype.canMove=function(e,t,n){return"boolean"==typeof this._moves?this._moves:"function"!=typeof this._moves||this._moves(this.model,e,t,n)},e.prototype.moves=function(e,t,n){return!!this.canMove(e,t,n)&&(!this.hasHandle||this.handles.some(function(e){return function(e,t){if(e===t)return!0;for(;(e=e.parentNode)&&e!==t;);return!!e}(t,e)}))},e.prototype.ngDoCheck=function(){this.updateElements()},e.decorators=[{type:t.Directive,args:[{selector:"[ngxDraggable]"}]}],e.ctorParameters=function(){return[{type:t.ElementRef},{type:p},{type:l}]},e.propDecorators={ngxDraggable:[{type:t.Input}],model:[{type:t.Input}],dropZones:[{type:t.Input}],_moves:[{type:t.Input,args:["moves"]}],drag:[{type:t.Output}],onMove:[{type:t.HostListener,args:["touchmove",["$event"]]}],onDown:[{type:t.HostListener,args:["touchstart"]}],onUp:[{type:t.HostListener,args:["touchend"]}]},e}(),c=function(){function e(){}return e.decorators=[{type:t.Directive,args:[{selector:"[ngxDragHandle]"}]}],e}(),u=0;var g=function(){function e(){this.copy=!1,this.removeOnSpill=!1,this.dropZone="@@DefaultDropZone-"+u+++"@@",this.drop=new t.EventEmitter,this.drag=new t.EventEmitter,this.over=new t.EventEmitter,this.out=new t.EventEmitter,this.remove=new t.EventEmitter,this.cancel=new t.EventEmitter}return Object.defineProperty(e.prototype,"dropZones",{get:function(){return this._dropZones||this._defaultZones},set:function(e){this._dropZones=e},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._defaultZones=[this.dropZone]},e.prototype.ngAfterViewInit=function(){var e=this;this.droppable.drag.subscribe(function(t){return e.drag.emit(t)}),this.droppable.drop.subscribe(function(t){return e.drop.emit(t)}),this.droppable.over.subscribe(function(t){return e.over.emit(t)}),this.droppable.out.subscribe(function(t){return e.out.emit(t)}),this.droppable.remove.subscribe(function(t){return e.remove.emit(t)}),this.droppable.cancel.subscribe(function(t){return e.cancel.emit(t)})},e.decorators=[{type:t.Component,args:[{selector:"ngx-dnd-container",template:'<div\n ngxDroppable\n [dropZone]="dropZone"\n [model]="model"\n [copy]="copy"\n [ngClass]="{ \'gu-empty\': !model?.length }"\n [removeOnSpill]="removeOnSpill"\n class=\'ngx-dnd-container\'>\n <ng-container *ngIf="model">\n <ng-container *ngFor="let item of model">\n <ngx-dnd-item\n ngxDraggable\n [model]="item"\n [dropZone]="dropZone"\n [dropZones]="dropZones"\n [copy]="copy"\n [moves]="moves"\n [removeOnSpill]="removeOnSpill"\n [droppableItemClass]="droppableItemClass">\n </ngx-dnd-item>\n </ng-container>\n </ng-container>\n <ng-content *ngIf="!model"></ng-content>\n</div>\n',encapsulation:t.ViewEncapsulation.None,styles:['.ngx-dnd-container{background-color:rgba(255,255,255,.2);border:2px solid red;margin:10px;padding:10px}.ngx-dnd-container.gu-empty{border:2px dotted red}.ngx-dnd-container:nth-child(odd){background-color:rgba(0,0,0,.2)}.ngx-dnd-container .ex-moved{background-color:#e74c3c}.ngx-dnd-container .ex-over{background-color:rgba(255,255,255,.3)}.ngx-dnd-container .handle{padding:0 5px;margin-right:5px;background-color:rgba(0,0,0,.4);cursor:move}.no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.clearfix::after{content:" ";display:block;height:0;clear:both}']}]}],e.propDecorators={model:[{type:t.Input}],copy:[{type:t.Input}],removeOnSpill:[{type:t.Input}],droppableItemClass:[{type:t.Input}],dropZone:[{type:t.Input}],dropZones:[{type:t.Input}],moves:[{type:t.Input}],template:[{type:t.Input},{type:t.ContentChild,args:[t.TemplateRef]}],droppable:[{type:t.Input},{type:t.ViewChild,args:[l]}],drop:[{type:t.Output}],drag:[{type:t.Output}],over:[{type:t.Output}],out:[{type:t.Output}],remove:[{type:t.Output}],cancel:[{type:t.Output}]},e}(),m=function(){function e(e,t){this.container=e,this.draggableDirective=t,this._copy=!1,this._removeOnSpill=!1}return Object.defineProperty(e.prototype,"dropZone",{get:function(){return this._dropZone||this.container.dropZone},set:function(e){this._dropZone=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropZones",{get:function(){return this._dropZones||this.container.dropZones},set:function(e){this._dropZones=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"droppableItemClass",{get:function(){return this._droppableItemClass||this.container.droppableItemClass},set:function(e){this._droppableItemClass=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"removeOnSpill",{get:function(){return"boolean"==typeof this._removeOnSpill?this._removeOnSpill:this.container.removeOnSpill},set:function(e){this._removeOnSpill=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"copy",{get:function(){return"boolean"==typeof this._copy?this._copy:this.container.copy},set:function(e){this._copy=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasHandle",{get:function(){return this.draggableDirective.hasHandle},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"moveDisabled",{get:function(){return!this.draggableDirective.canMove()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classString",{get:function(){var e=["ngx-dnd-item",("function"==typeof this.droppableItemClass?this.droppableItemClass(this.model):this.droppableItemClass)||""];return this.moveDisabled&&e.push("move-disabled"),this.hasHandle&&e.push("has-handle"),e.join(" ")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return Array.isArray(this.model)?"array":typeof this.model},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.data={model:this.model,type:this.type,dropZone:this.dropZone,template:this.container.template}},e.decorators=[{type:t.Component,args:[{selector:"ngx-dnd-item",template:'<ng-container [ngSwitch]="type">\n\n <ng-container *ngSwitchCase="\'array\'">\n <ngx-dnd-container\n [model]="model"\n [template]="container.template"\n [dropZone]="dropZone"\n [dropZones]="dropZones"\n [removeOnSpill]="removeOnSpill"\n [droppableItemClass]="droppableItemClass"\n [copy]="copy">\n </ngx-dnd-container>\n </ng-container>\n\n <ng-container *ngSwitchCase="\'object\'">\n <ng-template\n *ngIf="container.template"\n [ngTemplateOutlet]="container.template"\n [ngTemplateOutletContext]="data">\n </ng-template>\n <ng-container *ngIf="!container.template">\n <div\n class="ngx-dnd-content">\n {{model.label}}\n </div>\n <ngx-dnd-container\n *ngIf="model.children"\n [model]="model.children"\n [template]="container.template"\n [dropZone]="dropZone"\n [dropZones]="dropZones"\n [removeOnSpill]="removeOnSpill"\n [droppableItemClass]="droppableItemClass"\n [copy]="copy">\n </ngx-dnd-container>\n </ng-container>\n </ng-container>\n\n <ng-container *ngSwitchCase="\'undefined\'">\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <ng-template\n *ngIf="container.template"\n [ngTemplateOutlet]="container.template"\n [ngTemplateOutletContext]="data">\n </ng-template>\n <div\n *ngIf="!container.template"\n class="ngx-dnd-content">\n {{model}}\n </div>\n </ng-container>\n\n</ng-container>\n\n\n\n\n\n\n\n',encapsulation:t.ViewEncapsulation.None,styles:[".ngx-dnd-box,.ngx-dnd-item{margin:10px;padding:10px;background-color:rgba(0,0,0,.2);transition:opacity .4s ease-in-out;border:1px solid #add8e6;display:block}.ngx-dnd-box.has-handle [ngxDragHandle],.ngx-dnd-box.has-handle [ngxdraghandle],.ngx-dnd-box:not(.has-handle):not(.move-disabled),.ngx-dnd-item.has-handle [ngxDragHandle],.ngx-dnd-item.has-handle [ngxdraghandle],.ngx-dnd-item:not(.has-handle):not(.move-disabled){cursor:move;cursor:grab;cursor:-webkit-grab}.ngx-dnd-box .ngx-dnd-content,.ngx-dnd-item .ngx-dnd-content{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ngx-dnd-box:hover,.ngx-dnd-item:hover{border:1px solid #00f}.ngx-dnd-box{height:40px;width:40px;line-height:20px;text-align:center;float:left}.gu-mirror{position:fixed!important;margin:0!important;z-index:9999!important;opacity:.8}.gu-hide{display:none!important}.gu-unselectable{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.gu-transit{opacity:.2}"]}]}],e.ctorParameters=function(){return[{type:g},{type:d}]},e.propDecorators={model:[{type:t.Input}],dropZone:[{type:t.Input}],dropZones:[{type:t.Input}],droppableItemClass:[{type:t.Input}],removeOnSpill:[{type:t.Input}],copy:[{type:t.Input}],classString:[{type:t.HostBinding,args:["class"]}]},e}(),h=[g,m],f=[d,l,c],y=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:[p]}},e.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:i(h,f),exports:i(h,f)}]}],e}();e.ContainerComponent=g,e.DragHandleDirective=c,e.DraggableDirective=d,e.DrakeStoreService=p,e.DroppableDirective=l,e.ItemComponent=m,e.NgxDnDModule=y,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common"),require("@swimlane/dragula")):"function"==typeof define&&define.amd?define("@swimlane/ngx-dnd",["exports","@angular/core","@angular/common","@swimlane/dragula"],t):t(((e=e||self).swimlane=e.swimlane||{},e.swimlane["ngx-dnd"]={}),e.ng.core,e.ng.common,e.dragulaNamespace)}(this,function(e,t,n,o){"use strict";function r(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(p){r={error:p}}finally{try{o&&!o.done&&(n=i["return"])&&n.call(i)}finally{if(r)throw r.error}}return a}function i(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(r(arguments[t]));return e}var a=o,p=function(){function e(){this.droppableMap=new WeakMap,this.draggableMap=new WeakMap,this.dragulaOptions=this.createDrakeOptions(),this.drake=a([],this.dragulaOptions),this.registerEvents()}return e.prototype.register=function(e){this.droppableMap.set(e.container,e),this.drake.containers.push(e.container)},e.prototype.remove=function(e){this.droppableMap["delete"](e.container);var t=this.drake.containers.indexOf(e.container);t>-1&&this.drake.containers.splice(t,1)},e.prototype.registerDraggable=function(e){this.draggableMap.set(e.element,e)},e.prototype.removeDraggable=function(e){this.draggableMap["delete"](e.element)},e.prototype.createDrakeOptions=function(){var e=this;return{accepts:function(t,n){if(t.contains(n))return!1;var o=e.draggableMap.get(t),r=e.droppableMap.get(n);return!o||!r||o.dropZones.includes(r.dropZone)},copy:function(t,n){var o=e.droppableMap.get(n);return!!o&&o.copy},moves:function(t,n,o,r){var i=e.draggableMap.get(t);return!i||i.moves(n,o,r)},revertOnSpill:!0,direction:function(t,n,o){return e.droppableMap.get(n).direction||"vertical"}}},e.prototype.registerEvents=function(){var e,t,n=this;this.drake.on("drag",function(o,r){if(t=undefined,e=o,o&&r){if(n.draggableMap.has(o)){var i=n.draggableMap.get(o);t=i.model,i.drag.emit({type:"drag",el:o,source:r,value:t})}if(n.droppableMap.has(r)){var a=n.droppableMap.get(r);n.dragulaOptions.removeOnSpill=a.removeOnSpill,a.drag.emit({type:"drag",el:o,source:r,sourceComponent:a,value:t})}}}),this.drake.on("drop",function(o,r,i){var a=n.droppableMap.get(r);if(a){var p=t,s=Array.prototype.indexOf.call(r.children,o);if(s<0)n.drake.cancel(!0);else{var l=n.droppableMap.get(i);if(l){var d=l.model,c=a.model,u=!(!d||!t),g=u?d.indexOf(t):-1;if(u&&g<0)return void n.drake.cancel(!0);if(c){var m=!d||e!==o;g>-1&&d&&r===i?d.splice(s,0,d.splice(g,1)[0]):(o.parentNode===r&&r.removeChild(o),m?p=JSON.parse(JSON.stringify(p)):(o.parentNode!==i&&n.drake.cancel(!0),d.splice(g,1)),c.splice(s,0,p))}}a.drop.emit({type:"drop",el:o,source:i,value:p,dropIndex:s})}}}),this.drake.on("remove",function(e,o,r){if(n.droppableMap.has(r)){var i=n.droppableMap.get(r),a=i.model,p=t&&a?a.indexOf(t):-1;p>-1&&(e.parentNode!==r&&r.appendChild(e),a.splice(p,1)),i.remove.emit({type:"remove",el:e,container:o,source:r,value:t})}}),this.drake.on("cancel",function(e,o,r){n.droppableMap.has(o)&&n.droppableMap.get(o).cancel.emit({type:"cancel",el:e,container:o,source:r,value:t})}),this.drake.on("over",function(e,o,r){n.droppableMap.has(o)&&n.droppableMap.get(o).over.emit({type:"over",el:e,container:o,source:r,value:t})}),this.drake.on("out",function(e,o,r){n.droppableMap.has(o)&&n.droppableMap.get(o).out.emit({type:"out",el:e,container:o,source:r,value:t})})},e.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e}(),s=1e4;var l=function(){function e(e,n,o){this.el=e,this.renderer=n,this.drakesService=o,this.copy=!1,this.removeOnSpill=!1,this.direction="vertical",this.drop=new t.EventEmitter,this.drag=new t.EventEmitter,this.over=new t.EventEmitter,this.out=new t.EventEmitter,this.remove=new t.EventEmitter,this.cancel=new t.EventEmitter}return Object.defineProperty(e.prototype,"container",{get:function(){return this.el.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropZone",{get:function(){return this._dropZone||this.ngxDroppable||this.defaultZone},set:function(e){this._dropZone=e},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.defaultZone="@@DefaultDropZone-"+s+++"@@",this.drakesService.register(this)},e.prototype.ngAfterViewInit=function(){var e=this;this.over.subscribe(function(){e.renderer.addClass(e.container,"gu-over")}),this.out.subscribe(function(){e.renderer.removeClass(e.container,"gu-over")})},e.prototype.ngOnDestroy=function(){this.drakesService.remove(this)},e.decorators=[{type:t.Directive,args:[{selector:"[ngxDroppable]"}]}],e.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2},{type:p}]},e.propDecorators={model:[{type:t.Input}],copy:[{type:t.Input}],removeOnSpill:[{type:t.Input}],ngxDroppable:[{type:t.Input}],direction:[{type:t.Input}],drop:[{type:t.Output}],drag:[{type:t.Output}],over:[{type:t.Output}],out:[{type:t.Output}],remove:[{type:t.Output}],cancel:[{type:t.Output}],dropZone:[{type:t.Input}]},e}(),d=function(){function e(e,n,o){this.el=e,this.drakesService=n,this.droppableDirective=o,this._moves=!0,this.handles=[],this.drag=new t.EventEmitter,this.dragDelay=200,this.dragDelayed=!0}return Object.defineProperty(e.prototype,"dropZones",{get:function(){return this._dropZones||this.ngxDraggable||this._parentDropzones},set:function(e){this._dropZones=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasHandle",{get:function(){return!!this.handles.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this.el.nativeElement},enumerable:!0,configurable:!0}),e.prototype.onMove=function(e){this._moves&&!this.dragDelayed||(e.stopPropagation(),clearTimeout(this.touchTimeout))},e.prototype.onDown=function(){var e=this;this._moves&&(this.touchTimeout=setTimeout(function(){e.dragDelayed=!1},this.dragDelay))},e.prototype.onUp=function(){this._moves&&(clearTimeout(this.touchTimeout),this.dragDelayed=!0)},e.prototype.ngOnInit=function(){this.update()},e.prototype.update=function(){this._parentDropzones=[this.droppableDirective.dropZone],this.drakesService.registerDraggable(this),this.updateElements()},e.prototype.ngOnDestroy=function(){this.drakesService.removeDraggable(this)},e.prototype.updateElements=function(){var e=this.el.nativeElement,t=e.querySelectorAll("[ngxdraghandle]");this.handles=Array.from(t).filter(function(t){return function(e){for(;e.parentNode;)if((e=e.parentNode).hasAttribute&&e.hasAttribute("ngxdraggable"))return e}(t)===e})},e.prototype.canMove=function(e,t,n){return"boolean"==typeof this._moves?this._moves:"function"!=typeof this._moves||this._moves(this.model,e,t,n)},e.prototype.moves=function(e,t,n){return!!this.canMove(e,t,n)&&(!this.hasHandle||this.handles.some(function(e){return function(e,t){if(e===t)return!0;for(;(e=e.parentNode)&&e!==t;);return!!e}(t,e)}))},e.prototype.ngDoCheck=function(){this.updateElements()},e.decorators=[{type:t.Directive,args:[{selector:"[ngxDraggable]"}]}],e.ctorParameters=function(){return[{type:t.ElementRef},{type:p},{type:l}]},e.propDecorators={ngxDraggable:[{type:t.Input}],model:[{type:t.Input}],dropZones:[{type:t.Input}],_moves:[{type:t.Input,args:["moves"]}],drag:[{type:t.Output}],onMove:[{type:t.HostListener,args:["touchmove",["$event"]]}],onDown:[{type:t.HostListener,args:["touchstart"]}],onUp:[{type:t.HostListener,args:["touchend"]}]},e}(),c=function(){function e(){}return e.decorators=[{type:t.Directive,args:[{selector:"[ngxDragHandle]"}]}],e}(),u=0;var g=function(){function e(){this.copy=!1,this.removeOnSpill=!1,this.dropZone="@@DefaultDropZone-"+u+++"@@",this.drop=new t.EventEmitter,this.drag=new t.EventEmitter,this.over=new t.EventEmitter,this.out=new t.EventEmitter,this.remove=new t.EventEmitter,this.cancel=new t.EventEmitter}return Object.defineProperty(e.prototype,"dropZones",{get:function(){return this._dropZones||this._defaultZones},set:function(e){this._dropZones=e},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._defaultZones=[this.dropZone]},e.prototype.ngAfterViewInit=function(){var e=this;this.droppable.drag.subscribe(function(t){return e.drag.emit(t)}),this.droppable.drop.subscribe(function(t){return e.drop.emit(t)}),this.droppable.over.subscribe(function(t){return e.over.emit(t)}),this.droppable.out.subscribe(function(t){return e.out.emit(t)}),this.droppable.remove.subscribe(function(t){return e.remove.emit(t)}),this.droppable.cancel.subscribe(function(t){return e.cancel.emit(t)})},e.decorators=[{type:t.Component,args:[{selector:"ngx-dnd-container",template:'<div\n ngxDroppable\n [dropZone]="dropZone"\n [model]="model"\n [copy]="copy"\n [ngClass]="{ \'gu-empty\': !model?.length }"\n [removeOnSpill]="removeOnSpill"\n class=\'ngx-dnd-container\'>\n <ng-container *ngIf="model">\n <ng-container *ngFor="let item of model">\n <ngx-dnd-item\n ngxDraggable\n [model]="item"\n [dropZone]="dropZone"\n [dropZones]="dropZones"\n [copy]="copy"\n [moves]="moves"\n [removeOnSpill]="removeOnSpill"\n [droppableItemClass]="droppableItemClass">\n </ngx-dnd-item>\n </ng-container>\n </ng-container>\n <ng-content *ngIf="!model"></ng-content>\n</div>\n',encapsulation:t.ViewEncapsulation.None,styles:['.ngx-dnd-container{background-color:rgba(255,255,255,.2);border:2px solid red;margin:10px;padding:10px}.ngx-dnd-container.gu-empty{border:2px dotted red}.ngx-dnd-container:nth-child(odd){background-color:rgba(0,0,0,.2)}.ngx-dnd-container .ex-moved{background-color:#e74c3c}.ngx-dnd-container .ex-over{background-color:rgba(255,255,255,.3)}.ngx-dnd-container .handle{padding:0 5px;margin-right:5px;background-color:rgba(0,0,0,.4);cursor:move}.no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.clearfix::after{content:" ";display:block;height:0;clear:both}']}]}],e.propDecorators={model:[{type:t.Input}],copy:[{type:t.Input}],removeOnSpill:[{type:t.Input}],droppableItemClass:[{type:t.Input}],dropZone:[{type:t.Input}],dropZones:[{type:t.Input}],moves:[{type:t.Input}],template:[{type:t.Input},{type:t.ContentChild,args:[t.TemplateRef,{"static":!0}]}],droppable:[{type:t.Input},{type:t.ViewChild,args:[l,{"static":!0}]}],drop:[{type:t.Output}],drag:[{type:t.Output}],over:[{type:t.Output}],out:[{type:t.Output}],remove:[{type:t.Output}],cancel:[{type:t.Output}]},e}(),m=function(){function e(e,t){this.container=e,this.draggableDirective=t,this._copy=!1,this._removeOnSpill=!1}return Object.defineProperty(e.prototype,"dropZone",{get:function(){return this._dropZone||this.container.dropZone},set:function(e){this._dropZone=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropZones",{get:function(){return this._dropZones||this.container.dropZones},set:function(e){this._dropZones=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"droppableItemClass",{get:function(){return this._droppableItemClass||this.container.droppableItemClass},set:function(e){this._droppableItemClass=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"removeOnSpill",{get:function(){return"boolean"==typeof this._removeOnSpill?this._removeOnSpill:this.container.removeOnSpill},set:function(e){this._removeOnSpill=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"copy",{get:function(){return"boolean"==typeof this._copy?this._copy:this.container.copy},set:function(e){this._copy=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasHandle",{get:function(){return this.draggableDirective.hasHandle},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"moveDisabled",{get:function(){return!this.draggableDirective.canMove()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classString",{get:function(){var e=["ngx-dnd-item",("function"==typeof this.droppableItemClass?this.droppableItemClass(this.model):this.droppableItemClass)||""];return this.moveDisabled&&e.push("move-disabled"),this.hasHandle&&e.push("has-handle"),e.join(" ")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return Array.isArray(this.model)?"array":typeof this.model},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.data={model:this.model,type:this.type,dropZone:this.dropZone,template:this.container.template}},e.decorators=[{type:t.Component,args:[{selector:"ngx-dnd-item",template:'<ng-container [ngSwitch]="type">\n\n <ng-container *ngSwitchCase="\'array\'">\n <ngx-dnd-container\n [model]="model"\n [template]="container.template"\n [dropZone]="dropZone"\n [dropZones]="dropZones"\n [removeOnSpill]="removeOnSpill"\n [droppableItemClass]="droppableItemClass"\n [copy]="copy">\n </ngx-dnd-container>\n </ng-container>\n\n <ng-container *ngSwitchCase="\'object\'">\n <ng-template\n *ngIf="container.template"\n [ngTemplateOutlet]="container.template"\n [ngTemplateOutletContext]="data">\n </ng-template>\n <ng-container *ngIf="!container.template">\n <div\n class="ngx-dnd-content">\n {{model.label}}\n </div>\n <ngx-dnd-container\n *ngIf="model.children"\n [model]="model.children"\n [template]="container.template"\n [dropZone]="dropZone"\n [dropZones]="dropZones"\n [removeOnSpill]="removeOnSpill"\n [droppableItemClass]="droppableItemClass"\n [copy]="copy">\n </ngx-dnd-container>\n </ng-container>\n </ng-container>\n\n <ng-container *ngSwitchCase="\'undefined\'">\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <ng-template\n *ngIf="container.template"\n [ngTemplateOutlet]="container.template"\n [ngTemplateOutletContext]="data">\n </ng-template>\n <div\n *ngIf="!container.template"\n class="ngx-dnd-content">\n {{model}}\n </div>\n </ng-container>\n\n</ng-container>\n\n\n\n\n\n\n\n',encapsulation:t.ViewEncapsulation.None,styles:[".ngx-dnd-box,.ngx-dnd-item{margin:10px;padding:10px;background-color:rgba(0,0,0,.2);transition:opacity .4s ease-in-out;border:1px solid #add8e6;display:block}.ngx-dnd-box.has-handle [ngxDragHandle],.ngx-dnd-box.has-handle [ngxdraghandle],.ngx-dnd-box:not(.has-handle):not(.move-disabled),.ngx-dnd-item.has-handle [ngxDragHandle],.ngx-dnd-item.has-handle [ngxdraghandle],.ngx-dnd-item:not(.has-handle):not(.move-disabled){cursor:move;cursor:grab;cursor:-webkit-grab}.ngx-dnd-box .ngx-dnd-content,.ngx-dnd-item .ngx-dnd-content{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ngx-dnd-box:hover,.ngx-dnd-item:hover{border:1px solid #00f}.ngx-dnd-box{height:40px;width:40px;line-height:20px;text-align:center;float:left}.gu-mirror{position:fixed!important;margin:0!important;z-index:9999!important;opacity:.8}.gu-hide{display:none!important}.gu-unselectable{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.gu-transit{opacity:.2}"]}]}],e.ctorParameters=function(){return[{type:g},{type:d}]},e.propDecorators={model:[{type:t.Input}],dropZone:[{type:t.Input}],dropZones:[{type:t.Input}],droppableItemClass:[{type:t.Input}],removeOnSpill:[{type:t.Input}],copy:[{type:t.Input}],classString:[{type:t.HostBinding,args:["class"]}]},e}(),h=[g,m],f=[d,l,c],y=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:[p]}},e.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:i(h,f),exports:i(h,f)}]}],e}();e.ContainerComponent=g,e.DragHandleDirective=c,e.DraggableDirective=d,e.DrakeStoreService=p,e.DroppableDirective=l,e.ItemComponent=m,e.NgxDnDModule=y,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=swimlane-ngx-dnd.umd.min.js.map

@@ -8,2 +8,5 @@ # CHANGELOG

## 8.0.0 (2019-06-11)
* Angular version 8
## 7.0.0 (2019-04-18)

@@ -10,0 +13,0 @@ * Breaking: use `NgxDnDModule.forRoot()` in your module imports.

@@ -103,4 +103,4 @@ /**

moves: [{ type: Input }],
template: [{ type: Input }, { type: ContentChild, args: [TemplateRef,] }],
droppable: [{ type: Input }, { type: ViewChild, args: [DroppableDirective,] }],
template: [{ type: Input }, { type: ContentChild, args: [TemplateRef, { static: true },] }],
droppable: [{ type: Input }, { type: ViewChild, args: [DroppableDirective, { static: true },] }],
drop: [{ type: Output }],

@@ -147,2 +147,2 @@ drag: [{ type: Output }],

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGFpbmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bzd2ltbGFuZS9uZ3gtZG5kLyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvY29udGFpbmVyL2NvbnRhaW5lci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFDTCxTQUFTLEVBR1QsS0FBSyxFQUNMLE1BQU0sRUFDTixpQkFBaUIsRUFDakIsWUFBWSxFQUNaLFdBQVcsRUFDWCxTQUFTLEVBQ1QsWUFBWSxFQUNiLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLDBDQUEwQyxDQUFDOztJQUUxRSxDQUFDLEdBQUcsQ0FBQzs7OztBQUNULFNBQVMsU0FBUztJQUNoQixPQUFPLENBQUMsRUFBRSxDQUFDO0FBQ2IsQ0FBQzs7Ozs7O0FBYUQsTUFBTSxPQUFPLGtCQUFrQjtJQU4vQjtRQVFXLFNBQUksR0FBRyxLQUFLLENBQUM7UUFDYixrQkFBYSxHQUFHLEtBQUssQ0FBQztRQUd0QixhQUFRLEdBQUcscUJBQXFCLFNBQVMsRUFBRS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0+IHRoaXMuY2FuY2VsLmVtaXQodikpO1xuICB9XG59XG4iXX0=

@@ -334,3 +334,3 @@ /**

DrakeStoreService.ctorParameters = () => [];
/** @nocollapse */ DrakeStoreService.ngInjectableDef = i0.defineInjectable({ factory: function DrakeStoreService_Factory() { return new DrakeStoreService(); }, token: DrakeStoreService, providedIn: "root" });
/** @nocollapse */ DrakeStoreService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DrakeStoreService_Factory() { return new DrakeStoreService(); }, token: DrakeStoreService, providedIn: "root" });
if (false) {

@@ -337,0 +337,0 @@ /**

@@ -113,4 +113,4 @@ /**

moves: [{ type: Input }],
template: [{ type: Input }, { type: ContentChild, args: [TemplateRef,] }],
droppable: [{ type: Input }, { type: ViewChild, args: [DroppableDirective,] }],
template: [{ type: Input }, { type: ContentChild, args: [TemplateRef, { static: true },] }],
droppable: [{ type: Input }, { type: ViewChild, args: [DroppableDirective, { static: true },] }],
drop: [{ type: Output }],

@@ -160,2 +160,2 @@ drag: [{ type: Output }],

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGFpbmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bzd2ltbGFuZS9uZ3gtZG5kLyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvY29udGFpbmVyL2NvbnRhaW5lci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFDTCxTQUFTLEVBR1QsS0FBSyxFQUNMLE1BQU0sRUFDTixpQkFBaUIsRUFDakIsWUFBWSxFQUNaLFdBQVcsRUFDWCxTQUFTLEVBQ1QsWUFBWSxFQUNiLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLDBDQUEwQyxDQUFDOztJQUUxRSxDQUFDLEdBQUcsQ0FBQzs7OztBQUNULFNBQVMsU0F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cy5kcmFnLmVtaXQodikpO1xuICAgIHRoaXMuZHJvcHBhYmxlLmRyb3Auc3Vic2NyaWJlKCh2OiBhbnkpID0+IHRoaXMuZHJvcC5lbWl0KHYpKTtcbiAgICB0aGlzLmRyb3BwYWJsZS5vdmVyLnN1YnNjcmliZSgodjogYW55KSA9PiB0aGlzLm92ZXIuZW1pdCh2KSk7XG4gICAgdGhpcy5kcm9wcGFibGUub3V0LnN1YnNjcmliZSgodjogYW55KSA9PiB0aGlzLm91dC5lbWl0KHYpKTtcbiAgICB0aGlzLmRyb3BwYWJsZS5yZW1vdmUuc3Vic2NyaWJlKCh2OiBhbnkpID0+IHRoaXMucmVtb3ZlLmVtaXQodikpO1xuICAgIHRoaXMuZHJvcHBhYmxlLmNhbmNlbC5zdWJzY3JpYmUoKHY6IGFueSkgPT4gdGhpcy5jYW5jZWwuZW1pdCh2KSk7XG4gIH1cbn1cbiJdfQ==

@@ -357,3 +357,3 @@ /**

DrakeStoreService.ctorParameters = function () { return []; };
/** @nocollapse */ DrakeStoreService.ngInjectableDef = i0.defineInjectable({ factory: function DrakeStoreService_Factory() { return new DrakeStoreService(); }, token: DrakeStoreService, providedIn: "root" });
/** @nocollapse */ DrakeStoreService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function DrakeStoreService_Factory() { return new DrakeStoreService(); }, token: DrakeStoreService, providedIn: "root" });
return DrakeStoreService;

@@ -360,0 +360,0 @@ }());

@@ -1,2 +0,2 @@

import { Injectable, defineInjectable, EventEmitter, Directive, ElementRef, Renderer2, Input, Output, HostListener, Component, ViewEncapsulation, ContentChild, TemplateRef, ViewChild, HostBinding, NgModule } from '@angular/core';
import { Injectable, ɵɵdefineInjectable, EventEmitter, Directive, ElementRef, Renderer2, Input, Output, HostListener, Component, ViewEncapsulation, ContentChild, TemplateRef, ViewChild, HostBinding, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

@@ -335,3 +335,3 @@ import * as dragulaNamespace from '@swimlane/dragula';

DrakeStoreService.ctorParameters = () => [];
/** @nocollapse */ DrakeStoreService.ngInjectableDef = defineInjectable({ factory: function DrakeStoreService_Factory() { return new DrakeStoreService(); }, token: DrakeStoreService, providedIn: "root" });
/** @nocollapse */ DrakeStoreService.ngInjectableDef = ɵɵdefineInjectable({ factory: function DrakeStoreService_Factory() { return new DrakeStoreService(); }, token: DrakeStoreService, providedIn: "root" });

@@ -768,4 +768,4 @@ /**

moves: [{ type: Input }],
template: [{ type: Input }, { type: ContentChild, args: [TemplateRef,] }],
droppable: [{ type: Input }, { type: ViewChild, args: [DroppableDirective,] }],
template: [{ type: Input }, { type: ContentChild, args: [TemplateRef, { static: true },] }],
droppable: [{ type: Input }, { type: ViewChild, args: [DroppableDirective, { static: true },] }],
drop: [{ type: Output }],

@@ -772,0 +772,0 @@ drag: [{ type: Output }],

import { __spread } from 'tslib';
import { Injectable, defineInjectable, Directive, ElementRef, Renderer2, Input, Output, EventEmitter, HostListener, Component, ViewEncapsulation, ContentChild, TemplateRef, ViewChild, HostBinding, NgModule } from '@angular/core';
import { Injectable, ɵɵdefineInjectable, Directive, ElementRef, Renderer2, Input, Output, EventEmitter, HostListener, Component, ViewEncapsulation, ContentChild, TemplateRef, ViewChild, HostBinding, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

@@ -359,3 +359,3 @@ import * as dragulaNamespace from '@swimlane/dragula';

DrakeStoreService.ctorParameters = function () { return []; };
/** @nocollapse */ DrakeStoreService.ngInjectableDef = defineInjectable({ factory: function DrakeStoreService_Factory() { return new DrakeStoreService(); }, token: DrakeStoreService, providedIn: "root" });
/** @nocollapse */ DrakeStoreService.ngInjectableDef = ɵɵdefineInjectable({ factory: function DrakeStoreService_Factory() { return new DrakeStoreService(); }, token: DrakeStoreService, providedIn: "root" });
return DrakeStoreService;

@@ -870,4 +870,4 @@ }());

moves: [{ type: Input }],
template: [{ type: Input }, { type: ContentChild, args: [TemplateRef,] }],
droppable: [{ type: Input }, { type: ViewChild, args: [DroppableDirective,] }],
template: [{ type: Input }, { type: ContentChild, args: [TemplateRef, { static: true },] }],
droppable: [{ type: Input }, { type: ViewChild, args: [DroppableDirective, { static: true },] }],
drop: [{ type: Output }],

@@ -874,0 +874,0 @@ drag: [{ type: Output }],

{
"name": "@swimlane/ngx-dnd",
"description": "Drag and Drop for Angular2 and beyond!",
"version": "7.0.0",
"version": "8.0.0",
"peerDependencies": {
"@angular/common": "^6.0.0-rc.0 || ^6.0.0 || ^7.0.0",
"@angular/core": "^6.0.0-rc.0 || ^6.0.0 || ^7.0.0"
"@angular/common": "^8.0.0",
"@angular/core": "^8.0.0"
},

@@ -9,0 +9,0 @@ "repository": {

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"NgxDnDModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":14,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":15,"character":12}],"declarations":[{"__symbolic":"reference","name":"ContainerComponent"},{"__symbolic":"reference","name":"ItemComponent"},{"__symbolic":"reference","name":"DraggableDirective"},{"__symbolic":"reference","name":"DroppableDirective"},{"__symbolic":"reference","name":"DragHandleDirective"}],"exports":[{"__symbolic":"reference","name":"ContainerComponent"},{"__symbolic":"reference","name":"ItemComponent"},{"__symbolic":"reference","name":"DraggableDirective"},{"__symbolic":"reference","name":"DroppableDirective"},{"__symbolic":"reference","name":"DragHandleDirective"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"NgxDnDModule"},"providers":[{"__symbolic":"reference","name":"DrakeStoreService"}]}}}},"DraggableDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":10,"character":1},"arguments":[{"selector":"[ngxDraggable]"}]}],"members":{"ngxDraggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"dropZones":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"_moves":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3},"arguments":["moves"]}]}],"drag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":54,"character":16},{"__symbolic":"reference","name":"DrakeStoreService"},{"__symbolic":"reference","name":"DroppableDirective"}]}],"onMove":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":60,"character":3},"arguments":["touchmove",["$event"]]}]}],"onDown":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":68,"character":3},"arguments":["touchstart"]}]}],"onUp":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":77,"character":3},"arguments":["touchend"]}]}],"ngOnInit":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"updateElements":[{"__symbolic":"method"}],"canMove":[{"__symbolic":"method"}],"moves":[{"__symbolic":"method"}],"ngDoCheck":[{"__symbolic":"method"}]}},"DroppableDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":24,"character":1},"arguments":[{"selector":"[ngxDroppable]"}]}],"members":{"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"copy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"removeOnSpill":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"ngxDroppable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"direction":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"drop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":32,"character":3}}]}],"drag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":34,"character":3}}]}],"over":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":36,"character":3}}]}],"out":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":38,"character":3}}]}],"remove":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"cancel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"dropZone":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":59,"character":26},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":59,"character":56},{"__symbolic":"reference","name":"DrakeStoreService"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"DragHandleDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":7,"character":1},"arguments":[{"selector":"[ngxDragHandle]"}]}],"members":{}},"ItemComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"selector":"ngx-dnd-item","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":16,"character":17},"member":"None"},"template":"<ng-container [ngSwitch]=\"type\">\n\n <ng-container *ngSwitchCase=\"'array'\">\n <ngx-dnd-container\n [model]=\"model\"\n [template]=\"container.template\"\n [dropZone]=\"dropZone\"\n [dropZones]=\"dropZones\"\n [removeOnSpill]=\"removeOnSpill\"\n [droppableItemClass]=\"droppableItemClass\"\n [copy]=\"copy\">\n </ngx-dnd-container>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'object'\">\n <ng-template\n *ngIf=\"container.template\"\n [ngTemplateOutlet]=\"container.template\"\n [ngTemplateOutletContext]=\"data\">\n </ng-template>\n <ng-container *ngIf=\"!container.template\">\n <div\n class=\"ngx-dnd-content\">\n {{model.label}}\n </div>\n <ngx-dnd-container\n *ngIf=\"model.children\"\n [model]=\"model.children\"\n [template]=\"container.template\"\n [dropZone]=\"dropZone\"\n [dropZones]=\"dropZones\"\n [removeOnSpill]=\"removeOnSpill\"\n [droppableItemClass]=\"droppableItemClass\"\n [copy]=\"copy\">\n </ngx-dnd-container>\n </ng-container>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'undefined'\">\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <ng-template\n *ngIf=\"container.template\"\n [ngTemplateOutlet]=\"container.template\"\n [ngTemplateOutletContext]=\"data\">\n </ng-template>\n <div\n *ngIf=\"!container.template\"\n class=\"ngx-dnd-content\">\n {{model}}\n </div>\n </ng-container>\n\n</ng-container>\n\n\n\n\n\n\n\n","styles":[".ngx-dnd-box,.ngx-dnd-item{margin:10px;padding:10px;background-color:rgba(0,0,0,.2);transition:opacity .4s ease-in-out;border:1px solid #add8e6;display:block}.ngx-dnd-box.has-handle [ngxDragHandle],.ngx-dnd-box.has-handle [ngxdraghandle],.ngx-dnd-box:not(.has-handle):not(.move-disabled),.ngx-dnd-item.has-handle [ngxDragHandle],.ngx-dnd-item.has-handle [ngxdraghandle],.ngx-dnd-item:not(.has-handle):not(.move-disabled){cursor:move;cursor:grab;cursor:-webkit-grab}.ngx-dnd-box .ngx-dnd-content,.ngx-dnd-item .ngx-dnd-content{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ngx-dnd-box:hover,.ngx-dnd-item:hover{border:1px solid #00f}.ngx-dnd-box{height:40px;width:40px;line-height:20px;text-align:center;float:left}.gu-mirror{position:fixed!important;margin:0!important;z-index:9999!important;opacity:.8}.gu-hide{display:none!important}.gu-unselectable{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.gu-transit{opacity:.2}"]}]}],"members":{"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"dropZone":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"dropZones":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"droppableItemClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"removeOnSpill":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"copy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":3}}]}],"classString":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":76,"character":3},"arguments":["class"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ContainerComponent"},{"__symbolic":"reference","name":"DraggableDirective"}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ContainerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":25,"character":1},"arguments":[{"selector":"ngx-dnd-container","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":29,"character":17},"member":"None"},"template":"<div\n ngxDroppable\n [dropZone]=\"dropZone\"\n [model]=\"model\"\n [copy]=\"copy\"\n [ngClass]=\"{ 'gu-empty': !model?.length }\"\n [removeOnSpill]=\"removeOnSpill\"\n class='ngx-dnd-container'>\n <ng-container *ngIf=\"model\">\n <ng-container *ngFor=\"let item of model\">\n <ngx-dnd-item\n ngxDraggable\n [model]=\"item\"\n [dropZone]=\"dropZone\"\n [dropZones]=\"dropZones\"\n [copy]=\"copy\"\n [moves]=\"moves\"\n [removeOnSpill]=\"removeOnSpill\"\n [droppableItemClass]=\"droppableItemClass\">\n </ngx-dnd-item>\n </ng-container>\n </ng-container>\n <ng-content *ngIf=\"!model\"></ng-content>\n</div>\n","styles":[".ngx-dnd-container{background-color:rgba(255,255,255,.2);border:2px solid red;margin:10px;padding:10px}.ngx-dnd-container.gu-empty{border:2px dotted red}.ngx-dnd-container:nth-child(odd){background-color:rgba(0,0,0,.2)}.ngx-dnd-container .ex-moved{background-color:#e74c3c}.ngx-dnd-container .ex-over{background-color:rgba(255,255,255,.3)}.ngx-dnd-container .handle{padding:0 5px;margin-right:5px;background-color:rgba(0,0,0,.4);cursor:move}.no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.clearfix::after{content:\" \";display:block;height:0;clear:both}"]}]}],"members":{"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"copy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"removeOnSpill":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"droppableItemClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"dropZone":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"dropZones":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3}}]}],"moves":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":3}}]}],"template":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":52,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":53,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":53,"character":16}]}]}],"droppable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":57,"character":3},"arguments":[{"__symbolic":"reference","name":"DroppableDirective"}]}]}],"drop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":60,"character":3}}]}],"drag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":62,"character":3}}]}],"over":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":64,"character":3}}]}],"out":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":66,"character":3}}]}],"remove":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":68,"character":3}}]}],"cancel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":70,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}]}},"DrakeStoreService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":14,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"register":[{"__symbolic":"method"}],"remove":[{"__symbolic":"method"}],"registerDraggable":[{"__symbolic":"method"}],"removeDraggable":[{"__symbolic":"method"}],"createDrakeOptions":[{"__symbolic":"method"}],"registerEvents":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}}},"origins":{"NgxDnDModule":"./lib/ngx-dnd.module","DraggableDirective":"./lib/directives/ngx-draggable.directive","DroppableDirective":"./lib/directives/ngx-droppable.directive","DragHandleDirective":"./lib/directives/ngx-drag-handle.directive","ItemComponent":"./lib/components/item/item.component","ContainerComponent":"./lib/components/container/container.component","DrakeStoreService":"./lib/services/drake-store.service"},"importAs":"@swimlane/ngx-dnd"}
{"__symbolic":"module","version":4,"metadata":{"NgxDnDModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":14,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":15,"character":12}],"declarations":[{"__symbolic":"reference","name":"ContainerComponent"},{"__symbolic":"reference","name":"ItemComponent"},{"__symbolic":"reference","name":"DraggableDirective"},{"__symbolic":"reference","name":"DroppableDirective"},{"__symbolic":"reference","name":"DragHandleDirective"}],"exports":[{"__symbolic":"reference","name":"ContainerComponent"},{"__symbolic":"reference","name":"ItemComponent"},{"__symbolic":"reference","name":"DraggableDirective"},{"__symbolic":"reference","name":"DroppableDirective"},{"__symbolic":"reference","name":"DragHandleDirective"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"NgxDnDModule"},"providers":[{"__symbolic":"reference","name":"DrakeStoreService"}]}}}},"DraggableDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":10,"character":1},"arguments":[{"selector":"[ngxDraggable]"}]}],"members":{"ngxDraggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"dropZones":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":15,"character":3}}]}],"_moves":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3},"arguments":["moves"]}]}],"drag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":54,"character":16},{"__symbolic":"reference","name":"DrakeStoreService"},{"__symbolic":"reference","name":"DroppableDirective"}]}],"onMove":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":60,"character":3},"arguments":["touchmove",["$event"]]}]}],"onDown":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":68,"character":3},"arguments":["touchstart"]}]}],"onUp":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":77,"character":3},"arguments":["touchend"]}]}],"ngOnInit":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"updateElements":[{"__symbolic":"method"}],"canMove":[{"__symbolic":"method"}],"moves":[{"__symbolic":"method"}],"ngDoCheck":[{"__symbolic":"method"}]}},"DroppableDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":24,"character":1},"arguments":[{"selector":"[ngxDroppable]"}]}],"members":{"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"copy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"removeOnSpill":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"ngxDroppable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"direction":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"drop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":32,"character":3}}]}],"drag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":34,"character":3}}]}],"over":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":36,"character":3}}]}],"out":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":38,"character":3}}]}],"remove":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"cancel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"dropZone":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":59,"character":26},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":59,"character":56},{"__symbolic":"reference","name":"DrakeStoreService"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"DragHandleDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":7,"character":1},"arguments":[{"selector":"[ngxDragHandle]"}]}],"members":{}},"ItemComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"selector":"ngx-dnd-item","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":16,"character":17},"member":"None"},"template":"<ng-container [ngSwitch]=\"type\">\n\n <ng-container *ngSwitchCase=\"'array'\">\n <ngx-dnd-container\n [model]=\"model\"\n [template]=\"container.template\"\n [dropZone]=\"dropZone\"\n [dropZones]=\"dropZones\"\n [removeOnSpill]=\"removeOnSpill\"\n [droppableItemClass]=\"droppableItemClass\"\n [copy]=\"copy\">\n </ngx-dnd-container>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'object'\">\n <ng-template\n *ngIf=\"container.template\"\n [ngTemplateOutlet]=\"container.template\"\n [ngTemplateOutletContext]=\"data\">\n </ng-template>\n <ng-container *ngIf=\"!container.template\">\n <div\n class=\"ngx-dnd-content\">\n {{model.label}}\n </div>\n <ngx-dnd-container\n *ngIf=\"model.children\"\n [model]=\"model.children\"\n [template]=\"container.template\"\n [dropZone]=\"dropZone\"\n [dropZones]=\"dropZones\"\n [removeOnSpill]=\"removeOnSpill\"\n [droppableItemClass]=\"droppableItemClass\"\n [copy]=\"copy\">\n </ngx-dnd-container>\n </ng-container>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'undefined'\">\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <ng-template\n *ngIf=\"container.template\"\n [ngTemplateOutlet]=\"container.template\"\n [ngTemplateOutletContext]=\"data\">\n </ng-template>\n <div\n *ngIf=\"!container.template\"\n class=\"ngx-dnd-content\">\n {{model}}\n </div>\n </ng-container>\n\n</ng-container>\n\n\n\n\n\n\n\n","styles":[".ngx-dnd-box,.ngx-dnd-item{margin:10px;padding:10px;background-color:rgba(0,0,0,.2);transition:opacity .4s ease-in-out;border:1px solid #add8e6;display:block}.ngx-dnd-box.has-handle [ngxDragHandle],.ngx-dnd-box.has-handle [ngxdraghandle],.ngx-dnd-box:not(.has-handle):not(.move-disabled),.ngx-dnd-item.has-handle [ngxDragHandle],.ngx-dnd-item.has-handle [ngxdraghandle],.ngx-dnd-item:not(.has-handle):not(.move-disabled){cursor:move;cursor:grab;cursor:-webkit-grab}.ngx-dnd-box .ngx-dnd-content,.ngx-dnd-item .ngx-dnd-content{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ngx-dnd-box:hover,.ngx-dnd-item:hover{border:1px solid #00f}.ngx-dnd-box{height:40px;width:40px;line-height:20px;text-align:center;float:left}.gu-mirror{position:fixed!important;margin:0!important;z-index:9999!important;opacity:.8}.gu-hide{display:none!important}.gu-unselectable{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.gu-transit{opacity:.2}"]}]}],"members":{"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"dropZone":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"dropZones":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":29,"character":3}}]}],"droppableItemClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"removeOnSpill":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"copy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":3}}]}],"classString":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":76,"character":3},"arguments":["class"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ContainerComponent"},{"__symbolic":"reference","name":"DraggableDirective"}]}],"ngOnInit":[{"__symbolic":"method"}]}},"ContainerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":25,"character":1},"arguments":[{"selector":"ngx-dnd-container","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":29,"character":17},"member":"None"},"template":"<div\n ngxDroppable\n [dropZone]=\"dropZone\"\n [model]=\"model\"\n [copy]=\"copy\"\n [ngClass]=\"{ 'gu-empty': !model?.length }\"\n [removeOnSpill]=\"removeOnSpill\"\n class='ngx-dnd-container'>\n <ng-container *ngIf=\"model\">\n <ng-container *ngFor=\"let item of model\">\n <ngx-dnd-item\n ngxDraggable\n [model]=\"item\"\n [dropZone]=\"dropZone\"\n [dropZones]=\"dropZones\"\n [copy]=\"copy\"\n [moves]=\"moves\"\n [removeOnSpill]=\"removeOnSpill\"\n [droppableItemClass]=\"droppableItemClass\">\n </ngx-dnd-item>\n </ng-container>\n </ng-container>\n <ng-content *ngIf=\"!model\"></ng-content>\n</div>\n","styles":[".ngx-dnd-container{background-color:rgba(255,255,255,.2);border:2px solid red;margin:10px;padding:10px}.ngx-dnd-container.gu-empty{border:2px dotted red}.ngx-dnd-container:nth-child(odd){background-color:rgba(0,0,0,.2)}.ngx-dnd-container .ex-moved{background-color:#e74c3c}.ngx-dnd-container .ex-over{background-color:rgba(255,255,255,.3)}.ngx-dnd-container .handle{padding:0 5px;margin-right:5px;background-color:rgba(0,0,0,.4);cursor:move}.no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.clearfix::after{content:\" \";display:block;height:0;clear:both}"]}]}],"members":{"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"copy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"removeOnSpill":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"droppableItemClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"dropZone":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":3}}]}],"dropZones":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3}}]}],"moves":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":3}}]}],"template":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":52,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":53,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":53,"character":16},{"static":true}]}]}],"droppable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":57,"character":3},"arguments":[{"__symbolic":"reference","name":"DroppableDirective"},{"static":true}]}]}],"drop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":60,"character":3}}]}],"drag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":62,"character":3}}]}],"over":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":64,"character":3}}]}],"out":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":66,"character":3}}]}],"remove":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":68,"character":3}}]}],"cancel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":70,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}]}},"DrakeStoreService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":14,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"register":[{"__symbolic":"method"}],"remove":[{"__symbolic":"method"}],"registerDraggable":[{"__symbolic":"method"}],"removeDraggable":[{"__symbolic":"method"}],"createDrakeOptions":[{"__symbolic":"method"}],"registerEvents":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}}},"origins":{"NgxDnDModule":"./lib/ngx-dnd.module","DraggableDirective":"./lib/directives/ngx-draggable.directive","DroppableDirective":"./lib/directives/ngx-droppable.directive","DragHandleDirective":"./lib/directives/ngx-drag-handle.directive","ItemComponent":"./lib/components/item/item.component","ContainerComponent":"./lib/components/container/container.component","DrakeStoreService":"./lib/services/drake-store.service"},"importAs":"@swimlane/ngx-dnd"}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc