Socket
Socket
Sign inDemoInstall

@iplab/ngx-color-picker

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iplab/ngx-color-picker - npm Package Compare versions

Comparing version 3.0.1 to 13.0.0

7

lib/components/github-picker/github-picker.component.d.ts

@@ -7,5 +7,10 @@ import { OnInit, EventEmitter, OnChanges, SimpleChanges, OnDestroy, ChangeDetectorRef } from '@angular/core';

private readonly cdr;
private columnsValue;
color: string;
control: ColorPickerControl;
get columns(): string | number | null | undefined;
set columns(value: string | number | null | undefined);
colorChange: EventEmitter<ColorString>;
get width(): string;
get columnsCount(): number;
private subscriptions;

@@ -17,3 +22,3 @@ constructor(cdr: ChangeDetectorRef);

static ɵfac: i0.ɵɵFactoryDeclaration<GithubPickerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<GithubPickerComponent, "github-picker", never, { "color": "color"; "control": "control"; }, { "colorChange": "colorChange"; }, never, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<GithubPickerComponent, "github-picker", never, { "color": "color"; "control": "control"; "columns": "columns"; }, { "colorChange": "colorChange"; }, never, never>;
}

2

lib/components/parts/alpha/alpha.component.d.ts

@@ -6,2 +6,3 @@ import { EventEmitter, OnChanges, ElementRef, Renderer2, SimpleChanges } from '@angular/core';

export declare class AlphaComponent extends BaseComponent implements OnChanges {
private readonly renderer;
color: Color;

@@ -12,3 +13,2 @@ colorChange: EventEmitter<Color>;

constructor(renderer: Renderer2, document: any, elementRef: ElementRef);
onClick(event: any): void;
set vertical(value: string);

@@ -15,0 +15,0 @@ /**

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

import { ElementRef, Renderer2, OnDestroy } from '@angular/core';
import { ElementRef, OnDestroy } from '@angular/core';
import * as i0 from "@angular/core";

@@ -12,7 +12,7 @@ /**

protected readonly elementRef: ElementRef;
protected readonly renderer: Renderer2;
private eventHooks;
private readonly subscriptions;
private window;
private readonly requestAnimationFrame;
constructor(document: any, elementRef: ElementRef, renderer: Renderer2);
private mouseup;
constructor(document: any, elementRef: ElementRef);
abstract movePointer(coordinates: {

@@ -24,7 +24,7 @@ x: number;

}): void;
protected onEventChange(event: MouseEvent | TouchEvent): void;
private addEventListeners;
private onEventChange;
private calculateCoordinates;
private calculate;
private getRequestAnimationFrame;
private removeListeners;
ngOnDestroy(): void;

@@ -31,0 +31,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;

@@ -1,6 +0,5 @@

import { Renderer2, OnDestroy, ChangeDetectorRef, EventEmitter } from '@angular/core';
import { OnDestroy, ChangeDetectorRef, EventEmitter } from '@angular/core';
import { Color } from './../../../helpers/color.class';
import * as i0 from "@angular/core";
export declare class ColorPresetSublist implements OnDestroy {
private readonly renderer;
private readonly document;

@@ -13,4 +12,4 @@ private readonly cdr;

showChildren: boolean;
private hooks;
constructor(renderer: Renderer2, document: any, cdr: ChangeDetectorRef);
private subscriptions;
constructor(document: any, cdr: ChangeDetectorRef);
ngOnDestroy(): void;

@@ -23,3 +22,3 @@ private removeListeners;

onLongPress(): void;
private listenDocumentClick;
private listenDocumentEvents;
private closeList;

@@ -26,0 +25,0 @@ get className(): string;

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

import { EventEmitter, OnDestroy } from '@angular/core';
import { EventEmitter, OnDestroy, ElementRef } from '@angular/core';
import { Color, ColorString } from './../../../helpers/color.class';

@@ -7,2 +7,3 @@ import { ColorPickerConfig } from './../../../services/color-picker.service';

private readonly pickerConfig;
private readonly elementRef;
activeColor: Color;

@@ -15,3 +16,4 @@ color: Color;

private showDepthText;
constructor(pickerConfig: ColorPickerConfig);
private subscriptions;
constructor(pickerConfig: ColorPickerConfig, elementRef: ElementRef);
ngOnDestroy(): void;

@@ -21,6 +23,8 @@ get bgColor(): ColorString;

get className(): boolean;
onTouch(event: MouseEvent | TouchEvent): void;
onTouchEnd(event: MouseEvent | TouchEvent): void;
private addEventListeners;
private removeEventListeners;
private onTouch;
private onTouchEnd;
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPresetComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ColorPresetComponent, "color-preset", never, { "activeColor": "activeColor"; "color": "color"; "depth": "show-depth-title"; }, { "selectionChange": "selectionChange"; "longPress": "longPress"; }, never, never>;
}

@@ -6,2 +6,3 @@ import { Renderer2, ElementRef, EventEmitter, SimpleChanges, OnChanges } from '@angular/core';

export declare class HueComponent extends BaseComponent implements OnChanges {
private readonly renderer;
hue: Color;

@@ -14,3 +15,2 @@ hueChange: EventEmitter<Color>;

constructor(renderer: Renderer2, document: any, elementRef: ElementRef);
onClick(event: any): void;
set vertical(value: string);

@@ -17,0 +17,0 @@ /**

@@ -13,7 +13,8 @@ import { Renderer2, ElementRef } from '@angular/core';

get title(): string;
private subscriptions;
constructor(pickerConfig: ColorPickerConfig, renderer: Renderer2, elementRef: ElementRef, document: any);
get backgroundColor(): string;
onClick(event: MouseEvent | TouchEvent): void;
private onClick;
static ɵfac: i0.ɵɵFactoryDeclaration<IndicatorComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<IndicatorComponent, "indicator-component", never, { "color": "color"; "colorType": "colorType"; }, {}, never, never>;
}

@@ -6,2 +6,3 @@ import { EventEmitter, Renderer2, ElementRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';

export declare class SaturationComponent extends BaseComponent implements OnInit, OnChanges {
private readonly renderer;
hue: Color;

@@ -13,3 +14,2 @@ color: Color;

get backgroundColor(): string;
onClick(event: any): void;
ngOnInit(): void;

@@ -16,0 +16,0 @@ /**

@@ -6,3 +6,3 @@ {

"bugs": "https://github.com/pIvan/ngx-color-picker/issues",
"version": "3.0.1",
"version": "13.0.0",
"author": "Ivan Pintar",

@@ -9,0 +9,0 @@ "license": "MIT",

@@ -0,0 +0,0 @@ # ngx-color-picker

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

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