ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
22 lines (21 loc) • 660 B
TypeScript
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
import { Color } from './src/interfaces/color';
export type NzColorPickerFormatType = 'rgb' | 'hex' | 'hsb';
export type NzColorPickerTriggerType = 'click' | 'hover';
export interface ValidForm {
isFormat: NzColorPickerFormatType | null;
hex: string | null;
hsbH: number;
hsbS: number;
hsbB: number;
rgbR: number;
rgbG: number;
rgbB: number;
roundA: number;
}
export type ValidFormKey = keyof ValidForm;
export interface NzColor extends Color {
}