New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular2-mentions

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-mentions - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

2

mention/mention-list.component.js

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

styles: ["\n .scrollable-menu {\n display: block;\n height: auto;\n max-height: 300px;\n overflow: auto;\n }\n ", "\n [hidden] {\n display: none;\n }\n ", "\n li.active {\n background-color: #f7f7f9;\n }\n "],
template: "\n <ng-template #defaultItemTemplate let-item=\"item\">\n {{item[labelKey]}}\n </ng-template>\n <ul #list [hidden]=\"hidden\" class=\"dropdown-menu scrollable-menu\">\n <li *ngFor=\"let item of items; let i = index\" [class.active]=\"activeIndex==i\">\n <a class=\"dropdown-item\" (mousedown)=\"activeIndex=i;itemClick.emit();$event.preventDefault()\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngOutletContext]=\"{'item':item}\"></ng-template>\n </a>\n </li>\n </ul>\n "
template: "\n <ng-template #defaultItemTemplate let-item=\"item\">\n {{item[labelKey]}}\n </ng-template>\n <ul #list [hidden]=\"hidden\" class=\"dropdown-menu scrollable-menu\">\n <li *ngFor=\"let item of items; let i = index\" [class.active]=\"activeIndex==i\">\n <a class=\"dropdown-item\" (mousedown)=\"activeIndex=i;itemClick.emit();$event.preventDefault()\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{'item':item}\"></ng-template>\n </a>\n </li>\n </ul>\n "
},] },

@@ -105,0 +105,0 @@ ];

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

[{"__symbolic":"module","version":3,"metadata":{"MentionListComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mention-list","styles":["\n .scrollable-menu {\n display: block;\n height: auto;\n max-height: 300px;\n overflow: auto;\n }\n ","\n [hidden] {\n display: none;\n }\n ","\n li.active {\n background-color: #f7f7f9;\n }\n "],"template":"\n <ng-template #defaultItemTemplate let-item=\"item\">\n {{item[labelKey]}}\n </ng-template>\n <ul #list [hidden]=\"hidden\" class=\"dropdown-menu scrollable-menu\">\n <li *ngFor=\"let item of items; let i = index\" [class.active]=\"activeIndex==i\">\n <a class=\"dropdown-item\" (mousedown)=\"activeIndex=i;itemClick.emit();$event.preventDefault()\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngOutletContext]=\"{'item':item}\"></ng-template>\n </a>\n </li>\n </ul>\n "}]}],"members":{"labelKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"list":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["list"]}]}],"defaultItemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["defaultItemTemplate"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"ngOnInit":[{"__symbolic":"method"}],"position":[{"__symbolic":"method"}],"activateNextItem":[{"__symbolic":"method"}],"activatePreviousItem":[{"__symbolic":"method"}],"resetScroll":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"MentionListComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mention-list","styles":["\n .scrollable-menu {\n display: block;\n height: auto;\n max-height: 300px;\n overflow: auto;\n }\n ","\n [hidden] {\n display: none;\n }\n ","\n li.active {\n background-color: #f7f7f9;\n }\n "],"template":"\n <ng-template #defaultItemTemplate let-item=\"item\">\n {{item[labelKey]}}\n </ng-template>\n <ul #list [hidden]=\"hidden\" class=\"dropdown-menu scrollable-menu\">\n <li *ngFor=\"let item of items; let i = index\" [class.active]=\"activeIndex==i\">\n <a class=\"dropdown-item\" (mousedown)=\"activeIndex=i;itemClick.emit();$event.preventDefault()\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngOutletContext]=\"{'item':item}\"></ng-template>\n </a>\n </li>\n </ul>\n "}]}],"members":{"labelKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"list":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["list"]}]}],"defaultItemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["defaultItemTemplate"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"ngOnInit":[{"__symbolic":"method"}],"position":[{"__symbolic":"method"}],"activateNextItem":[{"__symbolic":"method"}],"activatePreviousItem":[{"__symbolic":"method"}],"resetScroll":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"MentionListComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mention-list","styles":["\n .scrollable-menu {\n display: block;\n height: auto;\n max-height: 300px;\n overflow: auto;\n }\n ","\n [hidden] {\n display: none;\n }\n ","\n li.active {\n background-color: #f7f7f9;\n }\n "],"template":"\n <ng-template #defaultItemTemplate let-item=\"item\">\n {{item[labelKey]}}\n </ng-template>\n <ul #list [hidden]=\"hidden\" class=\"dropdown-menu scrollable-menu\">\n <li *ngFor=\"let item of items; let i = index\" [class.active]=\"activeIndex==i\">\n <a class=\"dropdown-item\" (mousedown)=\"activeIndex=i;itemClick.emit();$event.preventDefault()\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{'item':item}\"></ng-template>\n </a>\n </li>\n </ul>\n "}]}],"members":{"labelKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"list":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["list"]}]}],"defaultItemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["defaultItemTemplate"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"ngOnInit":[{"__symbolic":"method"}],"position":[{"__symbolic":"method"}],"activateNextItem":[{"__symbolic":"method"}],"activatePreviousItem":[{"__symbolic":"method"}],"resetScroll":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"MentionListComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mention-list","styles":["\n .scrollable-menu {\n display: block;\n height: auto;\n max-height: 300px;\n overflow: auto;\n }\n ","\n [hidden] {\n display: none;\n }\n ","\n li.active {\n background-color: #f7f7f9;\n }\n "],"template":"\n <ng-template #defaultItemTemplate let-item=\"item\">\n {{item[labelKey]}}\n </ng-template>\n <ul #list [hidden]=\"hidden\" class=\"dropdown-menu scrollable-menu\">\n <li *ngFor=\"let item of items; let i = index\" [class.active]=\"activeIndex==i\">\n <a class=\"dropdown-item\" (mousedown)=\"activeIndex=i;itemClick.emit();$event.preventDefault()\">\n <ng-template [ngTemplateOutlet]=\"itemTemplate\" [ngTemplateOutletContext]=\"{'item':item}\"></ng-template>\n </a>\n </li>\n </ul>\n "}]}],"members":{"labelKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"itemClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"list":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["list"]}]}],"defaultItemTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild"},"arguments":["defaultItemTemplate"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"ngOnInit":[{"__symbolic":"method"}],"position":[{"__symbolic":"method"}],"activateNextItem":[{"__symbolic":"method"}],"activatePreviousItem":[{"__symbolic":"method"}],"resetScroll":[{"__symbolic":"method"}]}}}}]
{
"name": "angular2-mentions",
"version": "0.7.1",
"version": "0.7.2",
"description": "Angular 2 mentions for text fields.",

@@ -5,0 +5,0 @@ "keywords": [

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