Back to home page

EIC code displayed by LXR

 
 

    


Warning, /firebird/firebird-ng/src/app/services/painter-config.interface.ts is written in an unsupported language. File is not indexed.

0001 // Base configuration interface
0002 export interface PainterConfig {
0003   // Common properties for all painters
0004   visible: boolean;
0005   // Method to identify config type
0006   getConfigType(): string;
0007 }
0008 
0009 // Base options for property decorators
0010 export interface PropertyOptions {
0011   label?: string;
0012   type?: string;
0013   showWhen?: (config: any) => boolean;
0014   options?: Array<{value: any, label: string}>;
0015 }
0016 
0017 export interface SelectOptions extends PropertyOptions {
0018   options: Array<{value: any, label: string}>;
0019 }
0020 
0021 export interface NumberOptions extends PropertyOptions {
0022   min?: number;
0023   max?: number;
0024   step?: number;
0025 }
0026 
0027 export interface ColorOptions extends PropertyOptions {}
0028 
0029 export interface BooleanOptions extends PropertyOptions {}