guachos-image-picker
Advanced tools
Comparing version 1.0.25 to 1.0.26
@@ -6,2 +6,1 @@ /** | ||
export * from './public-api'; | ||
//# sourceMappingURL=guachos-image-picker.d.ts.map |
@@ -1,2 +0,3 @@ | ||
import { EventEmitter, ElementRef, ChangeDetectorRef } from '@angular/core'; | ||
import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core'; | ||
import { MatFormFieldAppearance } from '@angular/material/form-field'; | ||
import * as i0 from "@angular/core"; | ||
@@ -7,3 +8,2 @@ export interface ImagePickerConf { | ||
borderRadius?: string; | ||
domain?: string; | ||
compressInitial?: boolean; | ||
@@ -25,12 +25,20 @@ language?: string; | ||
} | ||
export declare type ImageAllowedTypes = 'image/*' | '.webp' | '.png' | '.webp, .jpg, .jpeg' | '.webp, .png' | '.jpg, .jpeg' | '.png, .jpg, .jpeg' | '.webp, .png, .jpg, .jpeg'; | ||
export declare class GuachosImagePickerComponent { | ||
private chRef; | ||
private _cdRef; | ||
constructor(_cdRef: ChangeDetectorRef); | ||
private unsubscribeAll$; | ||
private observer; | ||
private originImageSrc; | ||
private fileType; | ||
private urlImage; | ||
private lastOriginSrc; | ||
private labelEn; | ||
private labelEs; | ||
private arrayCopiedImages; | ||
config: ImagePickerConf; | ||
private observer; | ||
showCrop: boolean; | ||
imageSrc: any; | ||
private originImageSrc; | ||
loadImage: boolean; | ||
private fileType; | ||
private urlImage; | ||
noEdit: boolean; | ||
uuidFilePicker: string; | ||
@@ -47,23 +55,20 @@ showEditPanel: boolean; | ||
imageName: string; | ||
private lastOriginSrc; | ||
private labelEn; | ||
private labelEs; | ||
private labelFr; | ||
labels: any; | ||
private arrayCopiedImages; | ||
appearance: MatFormFieldAppearance; | ||
color: 'primary' | 'warn' | 'accent'; | ||
set _imageSrc(value: any); | ||
set _config(value: ImagePickerConf); | ||
imagePicker: ElementRef; | ||
imagesAllowed: ImageAllowedTypes; | ||
imagePicker: ElementRef | undefined; | ||
$imageChanged: EventEmitter<any>; | ||
$sizeImageChanged: EventEmitter<any>; | ||
$imageOriginal: EventEmitter<any>; | ||
constructor(chRef: ChangeDetectorRef); | ||
onUpload(event: any): void; | ||
set _imageSrc(image: string); | ||
set _config(value: ImagePickerConf); | ||
private handleReaderLoaded; | ||
private resizeDataURL; | ||
private wait; | ||
private dragElement; | ||
onUpload(event: { | ||
preventDefault: () => void; | ||
}): void; | ||
handleFileSelect(evt: any): void; | ||
private handleReaderLoaded; | ||
onCloseEditPanel(): void; | ||
private parseToBase64; | ||
private resizeDataURL; | ||
calculateSize(): number; | ||
onChangeQuality(): Promise<void>; | ||
@@ -73,4 +78,2 @@ onChangeFormat(): Promise<void>; | ||
onChangeCrop(): void; | ||
private wait; | ||
private dragElement; | ||
onCropStateChange(): void; | ||
@@ -80,5 +83,5 @@ onCrop(type?: any): void; | ||
onRemove(): void; | ||
ngOnDestroy(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<GuachosImagePickerComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<GuachosImagePickerComponent, "guachos-image-picker", never, { "color": "color"; "_imageSrc": "_imageSrc"; "_config": "_config"; }, { "$imageChanged": "$imageChanged"; "$sizeImageChanged": "$sizeImageChanged"; "$imageOriginal": "$imageOriginal"; }, never, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<GuachosImagePickerComponent, "guachos-image-picker", never, { "appearance": "appearance"; "color": "color"; "imagesAllowed": "imagesAllowed"; "_imageSrc": "_imageSrc"; "_config": "_config"; }, { "$imageChanged": "$imageChanged"; "$imageOriginal": "$imageOriginal"; }, never, never>; | ||
} | ||
//# sourceMappingURL=guachos-image-picker.component.d.ts.map |
import * as i0 from "@angular/core"; | ||
import * as i1 from "./guachos-image-picker.component"; | ||
import * as i2 from "@angular/common"; | ||
import * as i3 from "@angular/material/icon"; | ||
import * as i4 from "@angular/material/button"; | ||
import * as i5 from "@angular/material/tooltip"; | ||
import * as i6 from "@angular/material/slider"; | ||
import * as i7 from "@angular/forms"; | ||
import * as i8 from "@angular/material/form-field"; | ||
import * as i9 from "@angular/material/select"; | ||
import * as i10 from "@angular/material/input"; | ||
import * as i11 from "@angular/material/checkbox"; | ||
import * as i3 from "@angular/platform-browser/animations"; | ||
import * as i4 from "@angular/material/tooltip"; | ||
import * as i5 from "@angular/material/icon"; | ||
import * as i6 from "../utils/calculate-size.module"; | ||
import * as i7 from "@angular/material/button"; | ||
import * as i8 from "@angular/material/checkbox"; | ||
import * as i9 from "@angular/material/slider"; | ||
import * as i10 from "@angular/material/form-field"; | ||
import * as i11 from "@angular/material/input"; | ||
import * as i12 from "@angular/forms"; | ||
import * as i13 from "@angular/material/select"; | ||
export declare class GuachosImagePickerModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<GuachosImagePickerModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<GuachosImagePickerModule, [typeof i1.GuachosImagePickerComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.MatButtonModule, typeof i5.MatTooltipModule, typeof i6.MatSliderModule, typeof i7.FormsModule, typeof i7.ReactiveFormsModule, typeof i8.MatFormFieldModule, typeof i9.MatSelectModule, typeof i10.MatInputModule, typeof i11.MatCheckboxModule], [typeof i1.GuachosImagePickerComponent]>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<GuachosImagePickerModule, [typeof i1.GuachosImagePickerComponent], [typeof i2.CommonModule, typeof i3.BrowserAnimationsModule, typeof i4.MatTooltipModule, typeof i5.MatIconModule, typeof i6.CalculateSizeModule, typeof i7.MatButtonModule, typeof i8.MatCheckboxModule, typeof i9.MatSliderModule, typeof i10.MatFormFieldModule, typeof i11.MatInputModule, typeof i12.FormsModule, typeof i13.MatSelectModule], [typeof i1.GuachosImagePickerComponent]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<GuachosImagePickerModule>; | ||
} | ||
//# sourceMappingURL=guachos-image-picker.module.d.ts.map |
{ | ||
"name": "guachos-image-picker", | ||
"version": "1.0.25", | ||
"version": "1.0.26", | ||
"author": { | ||
@@ -9,3 +9,3 @@ "name": "Guajiritos SRL", | ||
}, | ||
"description": "Angular library based on angular material components for the selection, edition and compression of images in png, jpeg, webp formats", | ||
"description": "Biblioteca angular basada en componentes de material angular para la selección, edición y compresión de imágenes en formatos png, jpeg, webp", | ||
"repository": { | ||
@@ -58,2 +58,2 @@ "type": "git", | ||
"sideEffects": false | ||
} | ||
} |
export * from './lib/guachos-image-picker.component'; | ||
export * from './lib/guachos-image-picker.module'; | ||
//# sourceMappingURL=public-api.d.ts.map |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
365612
2353
1