Comparing version 0.5.1 to 0.5.2
@@ -1,16 +0,27 @@ | ||
import { ElementRef, OnChanges, OnInit, Renderer2, SimpleChanges } from '@angular/core'; | ||
import { AfterViewInit, ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core'; | ||
import { ColorContrast } from 'ngx-eagle/core/types'; | ||
import { NgxPosition, NgxSize } from './typings'; | ||
import { ColorConverter } from 'ngx-eagle/core/services'; | ||
import * as i0 from "@angular/core"; | ||
export declare class BadgeDirective implements OnInit, OnChanges { | ||
export declare class BadgeDirective implements AfterViewInit, OnChanges { | ||
elementRef: ElementRef; | ||
private renderer2; | ||
ngxBadge: any; | ||
ngxBadgePosition: 'before' | 'after'; | ||
ngxBadgeSize: 'small' | 'medium' | 'large'; | ||
private colorConverter; | ||
ngxBadge: number; | ||
ngxOverflowCount: number; | ||
ngxBadgePosition: NgxPosition; | ||
ngxBadgeSize: NgxSize; | ||
ngxBadgeHidden: boolean; | ||
ngxBadgeColor: ColorContrast | string; | ||
newSpan: HTMLSpanElement; | ||
constructor(elementRef: ElementRef, renderer2: Renderer2); | ||
constructor(elementRef: ElementRef, renderer2: Renderer2, colorConverter: ColorConverter); | ||
ngOnChanges(changes: SimpleChanges): void; | ||
ngOnInit(): void; | ||
ngAfterViewInit(): void; | ||
setColor(color: ColorContrast | string): void; | ||
setTextContent(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeDirective, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<BadgeDirective, "[ngxBadge]", never, { "ngxBadge": { "alias": "ngxBadge"; "required": false; }; "ngxBadgePosition": { "alias": "ngxBadgePosition"; "required": false; }; "ngxBadgeSize": { "alias": "ngxBadgeSize"; "required": false; }; "ngxBadgeHidden": { "alias": "ngxBadgeHidden"; "required": false; }; }, {}, never, never, true, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<BadgeDirective, "[ngxBadge]", never, { "ngxBadge": { "alias": "ngxBadge"; "required": false; }; "ngxOverflowCount": { "alias": "ngxOverflowCount"; "required": false; }; "ngxBadgePosition": { "alias": "ngxBadgePosition"; "required": false; }; "ngxBadgeSize": { "alias": "ngxBadgeSize"; "required": false; }; "ngxBadgeHidden": { "alias": "ngxBadgeHidden"; "required": false; }; "ngxBadgeColor": { "alias": "ngxBadgeColor"; "required": false; }; }, {}, never, never, true, never>; | ||
static ngAcceptInputType_ngxBadge: unknown; | ||
static ngAcceptInputType_ngxOverflowCount: unknown; | ||
static ngAcceptInputType_ngxBadgeHidden: unknown; | ||
} |
export * from './badge.module'; | ||
export * from './badge.directive'; | ||
export * from './typings'; |
{ | ||
"name": "ngx-eagle", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"license": "MIT", | ||
@@ -69,2 +69,8 @@ "description": "UI component infrastructure and Design components for mobile and desktop Angular web applications.", | ||
}, | ||
"./button": { | ||
"types": "./button/index.d.ts", | ||
"esm2022": "./esm2022/button/ngx-eagle-button.mjs", | ||
"esm": "./esm2022/button/ngx-eagle-button.mjs", | ||
"default": "./fesm2022/ngx-eagle-button.mjs" | ||
}, | ||
"./badge": { | ||
@@ -82,14 +88,2 @@ "types": "./badge/index.d.ts", | ||
}, | ||
"./button": { | ||
"types": "./button/index.d.ts", | ||
"esm2022": "./esm2022/button/ngx-eagle-button.mjs", | ||
"esm": "./esm2022/button/ngx-eagle-button.mjs", | ||
"default": "./fesm2022/ngx-eagle-button.mjs" | ||
}, | ||
"./checkbox": { | ||
"types": "./checkbox/index.d.ts", | ||
"esm2022": "./esm2022/checkbox/ngx-eagle-checkbox.mjs", | ||
"esm": "./esm2022/checkbox/ngx-eagle-checkbox.mjs", | ||
"default": "./fesm2022/ngx-eagle-checkbox.mjs" | ||
}, | ||
"./carousel": { | ||
@@ -113,2 +107,8 @@ "types": "./carousel/index.d.ts", | ||
}, | ||
"./checkbox": { | ||
"types": "./checkbox/index.d.ts", | ||
"esm2022": "./esm2022/checkbox/ngx-eagle-checkbox.mjs", | ||
"esm": "./esm2022/checkbox/ngx-eagle-checkbox.mjs", | ||
"default": "./fesm2022/ngx-eagle-checkbox.mjs" | ||
}, | ||
"./drawer": { | ||
@@ -168,2 +168,8 @@ "types": "./drawer/index.d.ts", | ||
}, | ||
"./select": { | ||
"types": "./select/index.d.ts", | ||
"esm2022": "./esm2022/select/ngx-eagle-select.mjs", | ||
"esm": "./esm2022/select/ngx-eagle-select.mjs", | ||
"default": "./fesm2022/ngx-eagle-select.mjs" | ||
}, | ||
"./switch": { | ||
@@ -175,8 +181,2 @@ "types": "./switch/index.d.ts", | ||
}, | ||
"./select": { | ||
"types": "./select/index.d.ts", | ||
"esm2022": "./esm2022/select/ngx-eagle-select.mjs", | ||
"esm": "./esm2022/select/ngx-eagle-select.mjs", | ||
"default": "./fesm2022/ngx-eagle-select.mjs" | ||
}, | ||
"./tab": { | ||
@@ -183,0 +183,0 @@ "types": "./tab/index.d.ts", |
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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1130441
394
10133