UNPKG

@microsoft/windows-admin-center-sdk

Version:

Microsoft - Windows Admin Center Shell

56 lines (55 loc) 2.36 kB
import { Injector, OnInit } 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 SliderFormFieldLoaderComponent extends SimplePropertySchemaFieldLoaderComponent { static ɵfac: i0.ɵɵFactoryDeclaration<SliderFormFieldLoaderComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SliderFormFieldLoaderComponent, "ng-component", never, {}, {}, never, never, false, never>; } /** * Accessible range field implementation as a slider */ export declare class SliderFormFieldComponent extends SmeInternalFormFieldComponent<number> implements OnInit { /** * The source name to use for logging */ protected get logSourceName(): string; /** * Indicates the default value for immediateValidation. * This is meant to be overridden by derived classes */ protected get defaultImmediateValidation(): boolean; /** * The size of each movement of the slider. */ step: number; /** * The minimum value of the slider */ min: number; /** * The maximum value of the slider */ max: number; /** * Initializes a new instance of the SliderFormFieldComponent */ constructor(injector: Injector); /** * 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>; /** * Determines the value to use when clearing the field based on the initial value type */ protected getClearValue(): number; /** * 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<SliderFormFieldComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SliderFormFieldComponent, "sme-form-field[type=\"slider\"]", never, { "step": "step"; "min": "min"; "max": "max"; }, {}, never, never, false, never>; }