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

c2s-ngx-dnd

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

c2s-ngx-dnd - npm Package Compare versions

Comparing version 1.2.10 to 1.2.11

7

directives/dnd-draggable.js

@@ -43,7 +43,8 @@ import { Directive, Input, Output, ElementRef, HostListener, EventEmitter } from '@angular/core';

if(this.dndComparer === undefined) {
this.dndComparer = __jsonComparer;
let comparer = _this.dndComparer;
if (comparer === undefined) {
comparer = __jsonComparer;
}
if ( this.dndComparer(_this.dndObject, item)) {
if (comparer(_this.dndObject, item)) {
var cb = { copy: 'dndCopied', link: 'dndLinked', move: 'dndMoved', none: 'dndCanceled' };

@@ -50,0 +51,0 @@ if (_this.dragState) {

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

[{"__symbolic":"module","version":4,"metadata":{"DndDraggable":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":12,"character":1},"arguments":[{"selector":"[dndDraggable]"}]}],"members":{"option":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":5},"arguments":["dndDraggable"]}]}],"dndType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":5},"arguments":["dndType"]}]}],"dndObject":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":5},"arguments":["dndObject"]}]}],"disableDrag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":5},"arguments":["dndDragDisabled"]}]}],"dndDragStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":24,"character":5},"arguments":["dndDragStart"]}]}],"dndDragEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":25,"character":5},"arguments":["dndDragEnd"]}]}],"dndCopied":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":26,"character":5},"arguments":["dndCopied"]}]}],"dndLinked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":27,"character":5},"arguments":["dndLinked"]}]}],"dndMoved":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":28,"character":5},"arguments":["dndMoved"]}]}],"dndCanceled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":29,"character":5},"arguments":["dndCanceled"]}]}],"dndSelected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":30,"character":5},"arguments":["dndSelected"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":37,"character":25},{"__symbolic":"reference","module":"../services","name":"DndState","line":38,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"handleDragStart":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":68,"character":5},"arguments":["dragstart",["$event"]]}]}],"handleDragEnd":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":122,"character":5},"arguments":["dragend",["$event"]]}]}],"handleClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":133,"character":5},"arguments":["click",["$event"]]}]}],"findElementWithAttribute":[{"__symbolic":"method"}]}}}}]
[
{
"__symbolic": "module",
"version": 4,
"metadata": {
"DndDraggable": {
"__symbolic": "class",
"decorators": [
{
"__symbolic": "call",
"expression": {
"__symbolic": "reference",
"module": "@angular/core",
"name": "Directive",
"line": 12,
"character": 1
},
"arguments": [
{
"selector": "[dndDraggable]"
}
]
}
],
"members": {
"option": [
{
"__symbolic": "property",
"decorators": [
{
"__symbolic": "call",
"expression": {
"__symbolic": "reference",
"module": "@angular/core",
"name": "Input",
"line": 16,
"character": 5
},
"arguments": [
"dndDraggable"
]
}
]
}
],
"dndType": [
{
"__symbolic": "property",
"decorators": [
{
"__symbolic": "call",
"expression": {
"__symbolic": "reference",
"module": "@angular/core",
"name": "Input",
"line": 17,
"character": 5
},
"arguments": [
"dndType"
]
}
]
}
],
"dndObject": [
{
"__symbolic": "property",
"decorators": [
{
"__symbolic": "call",
"expression": {
"__symbolic": "reference",
"module": "@angular/core",
"name": "Input",
"line": 18,
"character": 5
},
"arguments": [
"dndObject"
]
}
]
}
],
"dndComparer": [
{
"__symbolic": "property",
"decorators": [
{
"__symbolic": "call",
"expression": {
"__symbolic": "reference",
"module": "@angular/core",
"name": "Input",
"line": 19,
"character": 5
},
"arguments": [
"dndComparer"
]
}
]
}
],
"disableDrag": [
{
"__symbolic": "property",
"decorators": [
{
"__symbolic": "call",
"expression": {
"__symbolic": "reference",
"module": "@angular/core",
"name": "Input",
"line": 19,
"character": 5
},
"arguments": [
"dndDragDisabled"
]
}
]
}
],
"dndDragStart": [
{
"__symbolic": "property",
"decorators": [
{
"__symbolic": "call",
"expression": {
"__symbolic": "reference",
"module": "@angular/core",
"name": "Output",
"line": 24,
"character": 5
},
"arguments": [
"dndDragStart"
]
}
]
}
],
"dndDragEnd": [
{
"__symbolic": "property",
"decorators": [
{
"__symbolic": "call",
"expression": {
"__symbolic": "reference",
"module": "@angular/core",
"name": "Output",
"line": 25,
"character": 5
},
"arguments": [
"dndDragEnd"
]
}
]
}
],
"dndCopied": [
{
"__symbolic": "property",
"decorators": [
{
"__symbolic": "call",
"expression": {
"__symbolic": "reference",
"module": "@angular/core",
"name": "Output",
"line": 26,
"character": 5
},
"arguments": [
"dndCopied"
]
}
]
}
],
"dndLinked": [
{
"__symbolic": "property",
"decorators": [
{
"__symbolic": "call",
"expression": {
"__symbolic": "reference",
"module": "@angular/core",
"name": "Output",
"line": 27,
"character": 5
},
"arguments": [
"dndLinked"
]
}
]
}
],
"dndMoved": [
{
"__symbolic": "property",
"decorators": [
{
"__symbolic": "call",
"expression": {
"__symbolic": "reference",
"module": "@angular/core",
"name": "Output",
"line": 28,
"character": 5
},
"arguments": [
"dndMoved"
]
}
]
}
],
"dndCanceled": [
{
"__symbolic": "property",
"decorators": [
{
"__symbolic": "call",
"expression": {
"__symbolic": "reference",
"module": "@angular/core",
"name": "Output",
"line": 29,
"character": 5
},
"arguments": [
"dndCanceled"
]
}
]
}
],
"dndSelected": [
{
"__symbolic": "property",
"decorators": [
{
"__symbolic": "call",
"expression": {
"__symbolic": "reference",
"module": "@angular/core",
"name": "Output",
"line": 30,
"character": 5
},
"arguments": [
"dndSelected"
]
}
]
}
],
"__ctor__": [
{
"__symbolic": "constructor",
"parameters": [
{
"__symbolic": "reference",
"module": "@angular/core",
"name": "ElementRef",
"line": 37,
"character": 25
},
{
"__symbolic": "reference",
"module": "../services",
"name": "DndState",
"line": 38,
"character": 26
}
]
}
],
"ngOnInit": [
{
"__symbolic": "method"
}
],
"ngOnDestroy": [
{
"__symbolic": "method"
}
],
"handleDragStart": [
{
"__symbolic": "method",
"decorators": [
{
"__symbolic": "call",
"expression": {
"__symbolic": "reference",
"module": "@angular/core",
"name": "HostListener",
"line": 68,
"character": 5
},
"arguments": [
"dragstart",
[
"$event"
]
]
}
]
}
],
"handleDragEnd": [
{
"__symbolic": "method",
"decorators": [
{
"__symbolic": "call",
"expression": {
"__symbolic": "reference",
"module": "@angular/core",
"name": "HostListener",
"line": 122,
"character": 5
},
"arguments": [
"dragend",
[
"$event"
]
]
}
]
}
],
"handleClick": [
{
"__symbolic": "method",
"decorators": [
{
"__symbolic": "call",
"expression": {
"__symbolic": "reference",
"module": "@angular/core",
"name": "HostListener",
"line": 133,
"character": 5
},
"arguments": [
"click",
[
"$event"
]
]
}
]
}
],
"findElementWithAttribute": [
{
"__symbolic": "method"
}
]
}
}
}
}
]

@@ -53,3 +53,3 @@ {

},
"version": "1.2.10"
"version": "1.2.11"
}
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