import { OnInit } from '@angular/core'; import { JhiModuleConfig } from '../config'; import { JhiConfigService } from '../config.service'; /** * This component can be used to display a boolean value by defining the @Input attributes * If an attribute is not provided, default values will be applied (see JhiModuleConfig class) * Have a look at the following examples * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - Display a green check when inputBooleanVariable is true * - Display a red cross when inputBooleanVariable is false * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * classTrue="fa fa-lg fa-check text-primary" * classFalse="fa fa-lg fa-times text-warning" * * * - Display a blue check when inputBooleanVariable is true * - Display an orange cross when inputBooleanVariable is false * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * classTrue="fa fa-lg fa-check" * classFalse="" * * * - Display a black check when inputBooleanVariable is true * - Do not display anything when inputBooleanVariable is false * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - Display a green badge when inputBooleanVariable is true * - Display a red badge when inputBooleanVariable is false * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - Display an orange badge and write 'activated' when inputBooleanVariable is true * - Display a blue badge and write 'deactivated' when inputBooleanVariable is false */ export declare class JhiBooleanComponent implements OnInit { /** * the boolean input value */ value: boolean; /** * the class(es) (space separated) that will be applied if value is true */ classTrue: string; /** * the class(es) (space separated) that will be applied if the input value is false */ classFalse: string; /** * the text that will be displayed if the input value is true */ textTrue: string; /** * the text that will be displayed if the input value is false */ textFalse: string; config: JhiModuleConfig; constructor(configService: JhiConfigService); ngOnInit(): void; }