@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
52 lines (51 loc) • 2.45 kB
TypeScript
import { Injector } from '@angular/core';
import { FormControl } from '@angular/forms';
import { SimplePropertySchemaFieldLoaderComponent } from '../../../schema/schema-field-host.component';
import { SmeInternalFormFieldComponent } from '../form-field.component';
import * as i0 from "@angular/core";
export declare class CheckboxFormFieldLoaderComponent extends SimplePropertySchemaFieldLoaderComponent {
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxFormFieldLoaderComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxFormFieldLoaderComponent, "ng-component", never, {}, {}, never, never, false, never>;
}
/**
* Accessible Implementation of a form field for .sme-checkbox
*/
export declare class CheckboxFormFieldComponent extends SmeInternalFormFieldComponent<boolean> {
/**
* The source name to use for logging
*/
protected get logSourceName(): string;
/**
* Indicates that this checkbox should operate in indeterminate mode. That is, it should report value as null, true, or false.
*/
indeterminate: boolean;
/**
* Text to be rendered as markdown in the checkbox component. This will become the label text of the checkbox.
*/
markdownText: string;
/**
* If provided, gives an explanation for the indeterminate checkbox state.
*/
indeterminateTooltip: string;
get noSubTemplate(): boolean;
/**
* Initializes a new instance of the TagsInputComponent
*/
constructor(injector: Injector);
/**
* Handler for clicking on the checkbox
*/
onCheckboxClicked(): void;
/**
* Creates the idBag used by this component to store unique element ids.
* id values will be assigned be the @see BaseComponent super class.
*/
protected createIdBag(): MsftSme.StringMap<string>;
/**
* Performs validation that is internal to this control
* @param c The form control attached to this instance
*/
protected validate(c: FormControl): import("@angular/forms").ValidationErrors;
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxFormFieldComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxFormFieldComponent, "sme-form-field[type=\"checkbox\"]", never, { "indeterminate": "indeterminate"; "markdownText": "markdownText"; "indeterminateTooltip": "indeterminateTooltip"; }, {}, never, never, false, never>;
}