Comparing version 0.8.6 to 0.8.7
@@ -1,20 +0,27 @@ | ||
import { AfterViewChecked, ElementRef, EventEmitter, Renderer2 } from '@angular/core'; | ||
import { NgxDrawerPlacement } from './typings'; | ||
import { AfterViewChecked, ElementRef, EventEmitter, Renderer2, TemplateRef, Type } from '@angular/core'; | ||
import { DrawerPlacement } from './typings'; | ||
import { Drawer } from './drawer.service'; | ||
import * as i0 from "@angular/core"; | ||
export declare class DrawerComponent implements AfterViewChecked { | ||
private renderer; | ||
ngxBackdrop: boolean; | ||
ngxBackdropClosable: boolean; | ||
ngxPlacement: NgxDrawerPlacement; | ||
private drawer; | ||
backdrop: boolean; | ||
backdropClosable: boolean; | ||
placement: DrawerPlacement; | ||
closeMobile: boolean; | ||
closeDesktop: boolean; | ||
templateContent: TemplateRef<any> | null; | ||
componentContent: Type<any> | null; | ||
visibleChange: EventEmitter<boolean>; | ||
onOpen: EventEmitter<void>; | ||
onClose: EventEmitter<void>; | ||
internalVisible: boolean; | ||
get ngxVisible(): boolean; | ||
set ngxVisible(val: boolean); | ||
ngxVisibleChange: EventEmitter<boolean>; | ||
get visible(): boolean; | ||
set visible(val: boolean); | ||
backdropRef: ElementRef; | ||
drawerRef: ElementRef; | ||
onChange: any; | ||
onTouched: any; | ||
constructor(renderer: Renderer2); | ||
constructor(renderer: Renderer2, drawer: Drawer); | ||
ngAfterViewChecked(): void; | ||
setBgBackdrop(): void; | ||
closingByTouch(touch: string): void; | ||
updateBackdropStyle(): void; | ||
openDrawer(): void; | ||
@@ -24,5 +31,7 @@ closeDrawer(event: Event): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<DrawerComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<DrawerComponent, "ngx-drawer", never, { "ngxBackdrop": { "alias": "ngxBackdrop"; "required": false; }; "ngxBackdropClosable": { "alias": "ngxBackdropClosable"; "required": false; }; "ngxPlacement": { "alias": "ngxPlacement"; "required": false; }; "ngxVisible": { "alias": "ngxVisible"; "required": false; }; }, { "ngxVisibleChange": "ngxVisibleChange"; }, never, ["*"], true, never>; | ||
static ngAcceptInputType_ngxBackdrop: unknown; | ||
static ngAcceptInputType_ngxBackdropClosable: unknown; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<DrawerComponent, "ngx-drawer", never, { "backdrop": { "alias": "backdrop"; "required": false; }; "backdropClosable": { "alias": "backdropClosable"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "closeMobile": { "alias": "closeMobile"; "required": false; }; "closeDesktop": { "alias": "closeDesktop"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, { "visibleChange": "visibleChange"; "onOpen": "onOpen"; "onClose": "onClose"; }, never, ["*"], true, never>; | ||
static ngAcceptInputType_backdrop: unknown; | ||
static ngAcceptInputType_backdropClosable: unknown; | ||
static ngAcceptInputType_closeMobile: unknown; | ||
static ngAcceptInputType_closeDesktop: unknown; | ||
} |
@@ -1,3 +0,4 @@ | ||
export * from './drawer.module'; | ||
export * from './drawer.component'; | ||
export { DrawerModule } from './drawer.module'; | ||
export { DrawerComponent } from './drawer.component'; | ||
export { Drawer } from './drawer.service'; | ||
export * from './typings'; |
declare const DrawerPlacement: readonly ["top", "right", "bottom", "left"]; | ||
export type NgxDrawerPlacement = (typeof DrawerPlacement)[number]; | ||
export type DrawerPlacement = (typeof DrawerPlacement)[number]; | ||
export interface DrawerConfig { | ||
backdrop?: boolean; | ||
backdropClosable?: boolean; | ||
placement?: DrawerPlacement; | ||
closeMobile?: boolean; | ||
closeDesktop?: boolean; | ||
onOpen: () => void | undefined; | ||
onClose: () => void | undefined; | ||
} | ||
export {}; |
@@ -8,3 +8,2 @@ import { AfterContentInit, AfterViewInit, ChangeDetectorRef, OnChanges, OnDestroy, QueryList } from '@angular/core'; | ||
multi: boolean; | ||
ngxColor: string; | ||
ngxExpandIconPosition: NgxExpandIconPosition; | ||
@@ -22,4 +21,4 @@ ngxType: NgxType; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "ngx-accordion", never, { "multi": { "alias": "multi"; "required": false; }; "ngxColor": { "alias": "ngxColor"; "required": false; }; "ngxExpandIconPosition": { "alias": "ngxExpandIconPosition"; "required": false; }; "ngxType": { "alias": "ngxType"; "required": false; }; }, {}, ["expansionPanels"], ["*"], true, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "ngx-accordion", never, { "multi": { "alias": "multi"; "required": false; }; "ngxExpandIconPosition": { "alias": "ngxExpandIconPosition"; "required": false; }; "ngxType": { "alias": "ngxType"; "required": false; }; }, {}, ["expansionPanels"], ["*"], true, never>; | ||
static ngAcceptInputType_multi: unknown; | ||
} |
@@ -13,3 +13,2 @@ import { ElementRef, EventEmitter, TemplateRef } from '@angular/core'; | ||
ngxLabel: any | TemplateRef<void>; | ||
ngxColor: string; | ||
ngxType: NgxType; | ||
@@ -16,0 +15,0 @@ ngxExpandIconPosition: NgxExpandIconPosition; |
114
package.json
{ | ||
"name": "ngx-eagle", | ||
"version": "0.8.6", | ||
"version": "0.8.7", | ||
"license": "MIT", | ||
@@ -76,2 +76,14 @@ "description": "UI component infrastructure and Design components for mobile and desktop Angular web applications.", | ||
}, | ||
"./badge": { | ||
"types": "./badge/index.d.ts", | ||
"esm2022": "./esm2022/badge/ngx-eagle-badge.mjs", | ||
"esm": "./esm2022/badge/ngx-eagle-badge.mjs", | ||
"default": "./fesm2022/ngx-eagle-badge.mjs" | ||
}, | ||
"./card": { | ||
"types": "./card/index.d.ts", | ||
"esm2022": "./esm2022/card/ngx-eagle-card.mjs", | ||
"esm": "./esm2022/card/ngx-eagle-card.mjs", | ||
"default": "./fesm2022/ngx-eagle-card.mjs" | ||
}, | ||
"./button": { | ||
@@ -83,7 +95,7 @@ "types": "./button/index.d.ts", | ||
}, | ||
"./badge": { | ||
"types": "./badge/index.d.ts", | ||
"esm2022": "./esm2022/badge/ngx-eagle-badge.mjs", | ||
"esm": "./esm2022/badge/ngx-eagle-badge.mjs", | ||
"default": "./fesm2022/ngx-eagle-badge.mjs" | ||
"./carousel": { | ||
"types": "./carousel/index.d.ts", | ||
"esm2022": "./esm2022/carousel/ngx-eagle-carousel.mjs", | ||
"esm": "./esm2022/carousel/ngx-eagle-carousel.mjs", | ||
"default": "./fesm2022/ngx-eagle-carousel.mjs" | ||
}, | ||
@@ -96,8 +108,2 @@ "./checkbox": { | ||
}, | ||
"./card": { | ||
"types": "./card/index.d.ts", | ||
"esm2022": "./esm2022/card/ngx-eagle-card.mjs", | ||
"esm": "./esm2022/card/ngx-eagle-card.mjs", | ||
"default": "./fesm2022/ngx-eagle-card.mjs" | ||
}, | ||
"./datepicker": { | ||
@@ -121,8 +127,14 @@ "types": "./datepicker/index.d.ts", | ||
}, | ||
"./carousel": { | ||
"types": "./carousel/index.d.ts", | ||
"esm2022": "./esm2022/carousel/ngx-eagle-carousel.mjs", | ||
"esm": "./esm2022/carousel/ngx-eagle-carousel.mjs", | ||
"default": "./fesm2022/ngx-eagle-carousel.mjs" | ||
"./expansion-panel": { | ||
"types": "./expansion-panel/index.d.ts", | ||
"esm2022": "./esm2022/expansion-panel/ngx-eagle-expansion-panel.mjs", | ||
"esm": "./esm2022/expansion-panel/ngx-eagle-expansion-panel.mjs", | ||
"default": "./fesm2022/ngx-eagle-expansion-panel.mjs" | ||
}, | ||
"./dropdown": { | ||
"types": "./dropdown/index.d.ts", | ||
"esm2022": "./esm2022/dropdown/ngx-eagle-dropdown.mjs", | ||
"esm": "./esm2022/dropdown/ngx-eagle-dropdown.mjs", | ||
"default": "./fesm2022/ngx-eagle-dropdown.mjs" | ||
}, | ||
"./drawer": { | ||
@@ -134,14 +146,8 @@ "types": "./drawer/index.d.ts", | ||
}, | ||
"./dropdown": { | ||
"types": "./dropdown/index.d.ts", | ||
"esm2022": "./esm2022/dropdown/ngx-eagle-dropdown.mjs", | ||
"esm": "./esm2022/dropdown/ngx-eagle-dropdown.mjs", | ||
"default": "./fesm2022/ngx-eagle-dropdown.mjs" | ||
"./grid": { | ||
"types": "./grid/index.d.ts", | ||
"esm2022": "./esm2022/grid/ngx-eagle-grid.mjs", | ||
"esm": "./esm2022/grid/ngx-eagle-grid.mjs", | ||
"default": "./fesm2022/ngx-eagle-grid.mjs" | ||
}, | ||
"./expansion-panel": { | ||
"types": "./expansion-panel/index.d.ts", | ||
"esm2022": "./esm2022/expansion-panel/ngx-eagle-expansion-panel.mjs", | ||
"esm": "./esm2022/expansion-panel/ngx-eagle-expansion-panel.mjs", | ||
"default": "./fesm2022/ngx-eagle-expansion-panel.mjs" | ||
}, | ||
"./form-field": { | ||
@@ -153,8 +159,2 @@ "types": "./form-field/index.d.ts", | ||
}, | ||
"./grid": { | ||
"types": "./grid/index.d.ts", | ||
"esm2022": "./esm2022/grid/ngx-eagle-grid.mjs", | ||
"esm": "./esm2022/grid/ngx-eagle-grid.mjs", | ||
"default": "./fesm2022/ngx-eagle-grid.mjs" | ||
}, | ||
"./image-cropper": { | ||
@@ -178,2 +178,8 @@ "types": "./image-cropper/index.d.ts", | ||
}, | ||
"./paginator": { | ||
"types": "./paginator/index.d.ts", | ||
"esm2022": "./esm2022/paginator/ngx-eagle-paginator.mjs", | ||
"esm": "./esm2022/paginator/ngx-eagle-paginator.mjs", | ||
"default": "./fesm2022/ngx-eagle-paginator.mjs" | ||
}, | ||
"./progress": { | ||
@@ -185,8 +191,2 @@ "types": "./progress/index.d.ts", | ||
}, | ||
"./paginator": { | ||
"types": "./paginator/index.d.ts", | ||
"esm2022": "./esm2022/paginator/ngx-eagle-paginator.mjs", | ||
"esm": "./esm2022/paginator/ngx-eagle-paginator.mjs", | ||
"default": "./fesm2022/ngx-eagle-paginator.mjs" | ||
}, | ||
"./radio-button": { | ||
@@ -216,2 +216,8 @@ "types": "./radio-button/index.d.ts", | ||
}, | ||
"./skeleton": { | ||
"types": "./skeleton/index.d.ts", | ||
"esm2022": "./esm2022/skeleton/ngx-eagle-skeleton.mjs", | ||
"esm": "./esm2022/skeleton/ngx-eagle-skeleton.mjs", | ||
"default": "./fesm2022/ngx-eagle-skeleton.mjs" | ||
}, | ||
"./signature": { | ||
@@ -229,2 +235,8 @@ "types": "./signature/index.d.ts", | ||
}, | ||
"./tab": { | ||
"types": "./tab/index.d.ts", | ||
"esm2022": "./esm2022/tab/ngx-eagle-tab.mjs", | ||
"esm": "./esm2022/tab/ngx-eagle-tab.mjs", | ||
"default": "./fesm2022/ngx-eagle-tab.mjs" | ||
}, | ||
"./table": { | ||
@@ -236,7 +248,7 @@ "types": "./table/index.d.ts", | ||
}, | ||
"./tab": { | ||
"types": "./tab/index.d.ts", | ||
"esm2022": "./esm2022/tab/ngx-eagle-tab.mjs", | ||
"esm": "./esm2022/tab/ngx-eagle-tab.mjs", | ||
"default": "./fesm2022/ngx-eagle-tab.mjs" | ||
"./tag": { | ||
"types": "./tag/index.d.ts", | ||
"esm2022": "./esm2022/tag/ngx-eagle-tag.mjs", | ||
"esm": "./esm2022/tag/ngx-eagle-tag.mjs", | ||
"default": "./fesm2022/ngx-eagle-tag.mjs" | ||
}, | ||
@@ -249,8 +261,2 @@ "./timeline": { | ||
}, | ||
"./tag": { | ||
"types": "./tag/index.d.ts", | ||
"esm2022": "./esm2022/tag/ngx-eagle-tag.mjs", | ||
"esm": "./esm2022/tag/ngx-eagle-tag.mjs", | ||
"default": "./fesm2022/ngx-eagle-tag.mjs" | ||
}, | ||
"./tooltip": { | ||
@@ -262,2 +268,8 @@ "types": "./tooltip/index.d.ts", | ||
}, | ||
"./touch": { | ||
"types": "./touch/index.d.ts", | ||
"esm2022": "./esm2022/touch/ngx-eagle-touch.mjs", | ||
"esm": "./esm2022/touch/ngx-eagle-touch.mjs", | ||
"default": "./fesm2022/ngx-eagle-touch.mjs" | ||
}, | ||
"./core/services": { | ||
@@ -264,0 +276,0 @@ "types": "./core/services/index.d.ts", |
@@ -5,4 +5,2 @@ import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; | ||
canvas: ElementRef<HTMLCanvasElement>; | ||
width: number; | ||
height: number; | ||
pointerColors: string[]; | ||
@@ -16,50 +14,16 @@ pointerColor: string; | ||
private subscriptions; | ||
/** | ||
* Lifecycle hook that is called after a component's view has been fully initialized. | ||
* Initializes the canvas and sets up event capturing. | ||
*/ | ||
ngAfterViewInit(): void; | ||
/** | ||
* Changes the pointer color for drawing on the canvas. | ||
* @param color The new color to set. | ||
*/ | ||
changeColor(color: string): void; | ||
/** | ||
* Lifecycle hook that is called when any data-bound property of a directive changes. | ||
* @param changes The changed properties. | ||
*/ | ||
ngOnChanges(changes: SimpleChanges): void; | ||
/** | ||
* Lifecycle hook that is called when a directive, pipe, or service is destroyed. | ||
* Unsubscribes from all subscriptions to prevent memory leaks. | ||
*/ | ||
ngOnDestroy(): void; | ||
/** | ||
* Initializes the canvas element and its context. | ||
*/ | ||
private initCanvas; | ||
/** | ||
* Captures mouse events on the canvas and sets up drawing logic. | ||
* @param canvasEl The canvas element to capture events from. | ||
*/ | ||
private captureEvents; | ||
/** | ||
* Draws a line on the canvas from the previous position to the current position. | ||
* @param prevPos The previous position. | ||
* @param currentPos The current position. | ||
*/ | ||
private drawOnCanvas; | ||
/** | ||
* Clears the canvas. | ||
*/ | ||
clean(): void; | ||
/** | ||
* Returns the current image data URL of the canvas. | ||
* @returns The image data URL. | ||
*/ | ||
changeColor(color: string): void; | ||
getImage(): string; | ||
private adjustCanvasToContainer; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<SignatureComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<SignatureComponent, "ngx-signature", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "pointerColors": { "alias": "pointerColors"; "required": false; }; "pointerColor": { "alias": "pointerColor"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "showPointerColors": { "alias": "showPointerColors"; "required": false; }; }, { "signatureComplete": "signatureComplete"; }, never, never, true, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<SignatureComponent, "ngx-signature", never, { "pointerColors": { "alias": "pointerColors"; "required": false; }; "pointerColor": { "alias": "pointerColor"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "showPointerColors": { "alias": "showPointerColors"; "required": false; }; }, { "signatureComplete": "signatureComplete"; }, never, never, true, never>; | ||
static ngAcceptInputType_showClearButton: unknown; | ||
static ngAcceptInputType_showPointerColors: unknown; | ||
} |
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
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
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
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
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
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
2441303
543
19179
72