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

ng2-tagsinput

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-tagsinput - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

index.metadata.json

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

{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./ng2-tagsinput"}]}
[{"__symbolic":"module","version":2,"metadata":{},"exports":[{"from":"./ng2-tagsinput"}]},{"__symbolic":"module","exports":[{"from":"./ng2-tagsinput"}],"metadata":{},"version":1}]

@@ -22,3 +22,3 @@ "use strict";

/** @nocollapse */
Ng2TagsInputItem.ctorParameters = [];
Ng2TagsInputItem.ctorParameters = function () { return []; };
Ng2TagsInputItem.propDecorators = {

@@ -25,0 +25,0 @@ 'selected': [{ type: core_1.Input },],

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

{"__symbolic":"module","version":1,"metadata":{"Ng2TagsInputItem":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"tag-input-item","template":"{{text}}\n <span\n *ngIf=\"disabled==false\"\n class=\"ng2-tag-input-remove\"\n (click)=\"removeTag()\">&times;</span>","styles":["\n :host {\n display: inline-block;\n background: #ccc;\n padding: 7px;\n border-radius: 90px;\n margin-right: 10px;\n }\n :host.ng2-tag-input-item-selected {\n color: white;\n background: #0d8bff;\n }\n .ng2-tag-input-remove {\n cursor: pointer;\n display: inline-block;\n padding: 0 3px;\n }\n "],"host":{"[class.ng2-tag-input-item-selected]":"selected"}}]}],"members":{"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"text":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"index":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tagRemoved":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor"}],"removeTag":[{"__symbolic":"method"}]}}}}
[{"__symbolic":"module","version":2,"metadata":{"Ng2TagsInputItem":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"tag-input-item","template":"{{text}}\n <span\n *ngIf=\"disabled==false\"\n class=\"ng2-tag-input-remove\"\n (click)=\"removeTag()\">&times;</span>","styles":["\n :host {\n display: inline-block;\n background: #ccc;\n padding: 7px;\n border-radius: 90px;\n margin-right: 10px;\n }\n :host.ng2-tag-input-item-selected {\n color: white;\n background: #0d8bff;\n }\n .ng2-tag-input-remove {\n cursor: pointer;\n display: inline-block;\n padding: 0 3px;\n }\n "],"host":{"[class.ng2-tag-input-item-selected]":"selected"}}]}],"members":{"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"text":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"index":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tagRemoved":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor"}],"removeTag":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","metadata":{"Ng2TagsInputItem":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"tag-input-item","template":"{{text}}\n <span\n *ngIf=\"disabled==false\"\n class=\"ng2-tag-input-remove\"\n (click)=\"removeTag()\">&times;</span>","styles":["\n :host {\n display: inline-block;\n background: #ccc;\n padding: 7px;\n border-radius: 90px;\n margin-right: 10px;\n }\n :host.ng2-tag-input-item-selected {\n color: white;\n background: #0d8bff;\n }\n .ng2-tag-input-remove {\n cursor: pointer;\n display: inline-block;\n padding: 0 3px;\n }\n "],"host":{"[class.ng2-tag-input-item-selected]":"selected"}}]}],"members":{"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"text":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"index":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tagRemoved":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor"}],"removeTag":[{"__symbolic":"method"}]}}},"version":1}]

@@ -73,3 +73,3 @@ "use strict";

var validTags = tags.filter(function (tag) { return _this._isTagValid(tag); });
this.tagsList = this.tagsList.concat(validTags);
Array.prototype.push.apply(this.tagsList, validTags);
this._resetSelected();

@@ -108,3 +108,3 @@ this._resetInput();

/** @nocollapse */
Ng2TagsInput.ctorParameters = [];
Ng2TagsInput.ctorParameters = function () { return []; };
Ng2TagsInput.propDecorators = {

@@ -111,0 +111,0 @@ 'placeholder': [{ type: core_1.Input },],

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

{"__symbolic":"module","version":1,"metadata":{"Ng2TagsInput":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"tag-input","template":"<tag-input-item\n [text]=\"tag\"\n [index]=\"index\"\n [selected]=\"selectedTag === index\"\n [disabled]=\"disabled\"\n (tagRemoved)=\"_removeTag($event)\"\n *ngFor=\"let tag of tagsList; let index = index\">\n </tag-input-item>\n <input\n class=\"ng2-tag-input-field\"\n type=\"text\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"inputValue\"\n (paste)=\"inputPaste($event)\"\n (keydown)=\"inputChanged($event)\"\n (blur)=\"inputBlurred($event)\"\n (focus)=\"inputFocused()\"\n [disabled]=\"disabled\"\n #tagInputRef>","styles":["\n :host {\n display: block;\n box-shadow: 0 1px #ccc;\n padding: 5px 0;\n }\n :host.ng2-tag-input-focus {\n box-shadow: 0 2px #0d8bff;\n }\n .ng2-tag-input-field {\n display: inline-block;\n width: auto;\n box-shadow: none;\n border: 0;\n }\n "]}]}],"members":{"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"delimiterCode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"addOnBlur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"addOnEnter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"addOnPaste":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"allowedTagsPattern":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"isFocussed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.ng2-tag-input-focus"]}]}],"tagsChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"tagsAdded":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"tagRemoved":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"inputChanged":[{"__symbolic":"method"}],"inputBlurred":[{"__symbolic":"method"}],"inputFocused":[{"__symbolic":"method"}],"inputPaste":[{"__symbolic":"method"}],"_splitString":[{"__symbolic":"method"}],"_isTagValid":[{"__symbolic":"method"}],"_addTags":[{"__symbolic":"method"}],"_removeTag":[{"__symbolic":"method"}],"_handleBackspace":[{"__symbolic":"method"}],"_resetSelected":[{"__symbolic":"method"}],"_resetInput":[{"__symbolic":"method"}]}}}}
[{"__symbolic":"module","version":2,"metadata":{"Ng2TagsInput":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"tag-input","template":"<tag-input-item\n [text]=\"tag\"\n [index]=\"index\"\n [selected]=\"selectedTag === index\"\n [disabled]=\"disabled\"\n (tagRemoved)=\"_removeTag($event)\"\n *ngFor=\"let tag of tagsList; let index = index\">\n </tag-input-item>\n <input\n class=\"ng2-tag-input-field\"\n type=\"text\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"inputValue\"\n (paste)=\"inputPaste($event)\"\n (keydown)=\"inputChanged($event)\"\n (blur)=\"inputBlurred($event)\"\n (focus)=\"inputFocused()\"\n [disabled]=\"disabled\"\n #tagInputRef>","styles":["\n :host {\n display: block;\n box-shadow: 0 1px #ccc;\n padding: 5px 0;\n }\n :host.ng2-tag-input-focus {\n box-shadow: 0 2px #0d8bff;\n }\n .ng2-tag-input-field {\n display: inline-block;\n width: auto;\n box-shadow: none;\n border: 0;\n }\n "]}]}],"members":{"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"delimiterCode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"addOnBlur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"addOnEnter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"addOnPaste":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"allowedTagsPattern":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"isFocussed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.ng2-tag-input-focus"]}]}],"tagsChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"tagsAdded":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"tagRemoved":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"inputChanged":[{"__symbolic":"method"}],"inputBlurred":[{"__symbolic":"method"}],"inputFocused":[{"__symbolic":"method"}],"inputPaste":[{"__symbolic":"method"}],"_splitString":[{"__symbolic":"method"}],"_isTagValid":[{"__symbolic":"method"}],"_addTags":[{"__symbolic":"method"}],"_removeTag":[{"__symbolic":"method"}],"_handleBackspace":[{"__symbolic":"method"}],"_resetSelected":[{"__symbolic":"method"}],"_resetInput":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","metadata":{"Ng2TagsInput":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"tag-input","template":"<tag-input-item\n [text]=\"tag\"\n [index]=\"index\"\n [selected]=\"selectedTag === index\"\n [disabled]=\"disabled\"\n (tagRemoved)=\"_removeTag($event)\"\n *ngFor=\"let tag of tagsList; let index = index\">\n </tag-input-item>\n <input\n class=\"ng2-tag-input-field\"\n type=\"text\"\n [placeholder]=\"placeholder\"\n [(ngModel)]=\"inputValue\"\n (paste)=\"inputPaste($event)\"\n (keydown)=\"inputChanged($event)\"\n (blur)=\"inputBlurred($event)\"\n (focus)=\"inputFocused()\"\n [disabled]=\"disabled\"\n #tagInputRef>","styles":["\n :host {\n display: block;\n box-shadow: 0 1px #ccc;\n padding: 5px 0;\n }\n :host.ng2-tag-input-focus {\n box-shadow: 0 2px #0d8bff;\n }\n .ng2-tag-input-field {\n display: inline-block;\n width: auto;\n box-shadow: none;\n border: 0;\n }\n "]}]}],"members":{"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"delimiterCode":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"addOnBlur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"addOnEnter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"addOnPaste":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"allowedTagsPattern":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"isFocussed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["class.ng2-tag-input-focus"]}]}],"tagsChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"tagsAdded":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"tagRemoved":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"inputChanged":[{"__symbolic":"method"}],"inputBlurred":[{"__symbolic":"method"}],"inputFocused":[{"__symbolic":"method"}],"inputPaste":[{"__symbolic":"method"}],"_splitString":[{"__symbolic":"method"}],"_isTagValid":[{"__symbolic":"method"}],"_addTags":[{"__symbolic":"method"}],"_removeTag":[{"__symbolic":"method"}],"_handleBackspace":[{"__symbolic":"method"}],"_resetSelected":[{"__symbolic":"method"}],"_resetInput":[{"__symbolic":"method"}]}}},"version":1}]

@@ -26,5 +26,5 @@ "use strict";

/** @nocollapse */
Ng2TagsInputModule.ctorParameters = [];
Ng2TagsInputModule.ctorParameters = function () { return []; };
return Ng2TagsInputModule;
}());
exports.Ng2TagsInputModule = Ng2TagsInputModule;

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

{"__symbolic":"module","version":1,"metadata":{"Ng2TagsInputModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./lib/ng2-tagsinput-item","name":"Ng2TagsInputItem"},{"__symbolic":"reference","module":"./lib/ng2-tagsinput","name":"Ng2TagsInput"}],"exports":[{"__symbolic":"reference","module":"./lib/ng2-tagsinput-item","name":"Ng2TagsInputItem"},{"__symbolic":"reference","module":"./lib/ng2-tagsinput","name":"Ng2TagsInput"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule"},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule"}]}]}]}}}
[{"__symbolic":"module","version":2,"metadata":{"Ng2TagsInputModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./lib/ng2-tagsinput-item","name":"Ng2TagsInputItem"},{"__symbolic":"reference","module":"./lib/ng2-tagsinput","name":"Ng2TagsInput"}],"exports":[{"__symbolic":"reference","module":"./lib/ng2-tagsinput-item","name":"Ng2TagsInputItem"},{"__symbolic":"reference","module":"./lib/ng2-tagsinput","name":"Ng2TagsInput"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule"},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule"}]}]}]}}},{"__symbolic":"module","metadata":{"Ng2TagsInputModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./lib/ng2-tagsinput-item","name":"Ng2TagsInputItem"},{"__symbolic":"reference","module":"./lib/ng2-tagsinput","name":"Ng2TagsInput"}],"exports":[{"__symbolic":"reference","module":"./lib/ng2-tagsinput-item","name":"Ng2TagsInputItem"},{"__symbolic":"reference","module":"./lib/ng2-tagsinput","name":"Ng2TagsInput"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule"},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule"}]}]}]}},"version":1}]
{
"name": "ng2-tagsinput",
"version": "0.1.3",
"version": "0.1.4",
"description": "Typescript component for Tag Input",

@@ -28,16 +28,16 @@ "main": "ng2-tagsinput.js",

"dependencies": {
"@angular/core": "^2.0.1"
"@angular/core": "^2.3.0"
},
"devDependencies": {
"@angular/common": "^2.0.1",
"@angular/compiler": "^2.0.1",
"@angular/compiler-cli": "^0.6.3",
"@angular/forms": "^2.0.1",
"@angular/platform-browser": "^2.0.1",
"@angular/platform-server": "^2.0.1",
"rxjs": "^5.0.0-beta.12",
"@angular/common": "^2.3.0",
"@angular/compiler": "^2.3.0",
"@angular/compiler-cli": "^2.3.0",
"@angular/forms": "^2.3.0",
"@angular/platform-browser": "^2.3.0",
"@angular/platform-server": "^2.3.0",
"rxjs": "^5.0.0-rc.4",
"typescript": "^2.0.2",
"typings": "^1.3.3",
"zone.js": "^0.6.23"
"zone.js": "^0.7.2"
}
}
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