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

@anglify/components

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anglify/components - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

anglify-components-0.6.2.tgz

22

esm2015/modules/tooltip/tooltip.directive.js

@@ -54,16 +54,17 @@ import { ContentChild, Directive, HostListener, Input, } from '@angular/core';

if (this.position === 'TOP') {
top = hostPos.top - tooltipPos.height - 10;
left = hostPos.left + (hostPos.width - tooltipPos.width) / 2;
top = hostPos.top - tooltipPos.height - TooltipDirective.DEFAULT_OFFSET;
left = Math.max(hostPos.left + (hostPos.width - tooltipPos.width) / 2, TooltipDirective.DEFAULT_OFFSET);
}
else if (this.position === 'RIGHT') {
top = hostPos.top + (hostPos.height - tooltipPos.height) / 2;
left = hostPos.right + 10;
}
else if (this.position === 'BOTTOM') {
top = hostPos.bottom + 10;
left = hostPos.left + (hostPos.width - tooltipPos.width) / 2;
top = hostPos.bottom + TooltipDirective.DEFAULT_OFFSET;
left = Math.max(hostPos.left + (hostPos.width - tooltipPos.width) / 2, TooltipDirective.DEFAULT_OFFSET);
}
else {
top = hostPos.top + (hostPos.height - tooltipPos.height) / 2;
left = hostPos.left - tooltipPos.width - 10;
if (this.position === 'LEFT') {
left = Math.max(hostPos.left - tooltipPos.width - TooltipDirective.DEFAULT_OFFSET, TooltipDirective.DEFAULT_OFFSET);
}
else {
left = Math.min(hostPos.right + TooltipDirective.DEFAULT_OFFSET, window.innerWidth - tooltipPos.width - TooltipDirective.DEFAULT_OFFSET);
}
}

@@ -77,2 +78,3 @@ this.renderer.setStyle(this.tooltip, 'top', `${top + scrollPos}px`);

}
TooltipDirective.DEFAULT_OFFSET = 10;
TooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.5", ngImport: i0, type: TooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });

@@ -103,2 +105,2 @@ TooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.1.5", type: TooltipDirective, selector: "[anglifyTooltip]", inputs: { text: ["anglifyTooltip", "text"], position: "position", contentClass: ["content-class", "contentClass"] }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()" } }, queries: [{ propertyName: "template", first: true, predicate: ["tooltipContent"], descendants: true }], ngImport: i0 });

}] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbHRpcC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmdsaWZ5L3NyYy9tb2R1bGVzL3Rvb2x0aXAvdG9vbHRpcC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFlBQVksRUFDWixTQUFTLEVBRVQsWUFBWSxFQUNaLEtBQUssR0FLTixNQUFNLGVBQWUsQ0FBQzs7QUFPdkIsTUFBTSxPQUFPLGdCQUFnQjtJQVUzQixZQUNtQixVQUFzQixFQUN0QixRQUFtQixFQUNuQixnQkFBa0M7UUFGbEMsZUFBVSxHQUFWLFVBQVUsQ0FBWTtRQUN0QixhQUFRLEdBQVIsUUFBUSxDQUFXO1FBQ25CLHFCQUFnQixHQUFoQixnQkFBZ0IsQ0FBa0I7UUFUckMsYUFBUSxHQUFhLFFBQVEsQ0FBQztRQUl0QyxZQUFPLEdBQXVCLElBQUksQ0FBQztRQU96QyxJQUFJLENBQUMsYUFBYSxHQUFHLElBQUksQ0FBQyxVQUFVLENBQUMsYUFBYSxDQUFDO0lBQ3JELENBQUM7SUFHTyxZQUFZO1FBQ2xCLElBQUksQ0FBQyxJQUFJLEVBQUU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mhlaWdodCkgLyAyO1xuICAgICAgaWYgKHRoaXMucG9zaXRpb24gPT09ICdMRUZUJykge1xuICAgICAgICBsZWZ0ID0gTWF0aC5tYXgoaG9zdFBvcy5sZWZ0IC0gdG9vbHRpcFBvcy53aWR0aCAtIFRvb2x0aXBEaXJlY3RpdmUuREVGQVVMVF9PRkZTRVQsIFRvb2x0aXBEaXJlY3RpdmUuREVGQVVMVF9PRkZTRVQpO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgbGVmdCA9IE1hdGgubWluKFxuICAgICAgICAgIGhvc3RQb3MucmlnaHQgKyBUb29sdGlwRGlyZWN0aXZlLkRFRkFVTFRfT0ZGU0VULFxuICAgICAgICAgIHdpbmRvdy5pbm5lcldpZHRoIC0gdG9vbHRpcFBvcy53aWR0aCAtIFRvb2x0aXBEaXJlY3RpdmUuREVGQVVMVF9PRkZTRVRcbiAgICAgICAgKTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICB0aGlzLnJlbmRlcmVyLnNldFN0eWxlKHRoaXMudG9vbHRpcCwgJ3RvcCcsIGAke3RvcCArIHNjcm9sbFBvc31weGApO1xuICAgIHRoaXMucmVuZGVyZXIuc2V0U3R5bGUodGhpcy50b29sdGlwLCAnbGVmdCcsIGAke2xlZnR9cHhgKTtcbiAgfVxuXG4gIHB1YmxpYyBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICB0aGlzLmhpZGUoKTtcbiAgfVxufVxuIl19

@@ -12,2 +12,3 @@ import { ElementRef, OnDestroy, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core';

contentClass?: string;
private static readonly DEFAULT_OFFSET;
private readonly nativeElement;

@@ -14,0 +15,0 @@ private tooltip;

{
"name": "@anglify/components",
"version": "0.6.1",
"version": "0.6.2",
"peerDependencies": {

@@ -5,0 +5,0 @@ "@angular/common": "^12.1.0",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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