1 | import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
---|
2 | import * as i0 from "@angular/core";
|
---|
3 | import * as i1 from "@angular/common";
|
---|
4 | export declare const KNOB_VALUE_ACCESSOR: any;
|
---|
5 | export declare class Knob {
|
---|
6 | private cd;
|
---|
7 | private el;
|
---|
8 | styleClass: string;
|
---|
9 | style: any;
|
---|
10 | severity: string;
|
---|
11 | valueColor: string;
|
---|
12 | rangeColor: string;
|
---|
13 | textColor: string;
|
---|
14 | valueTemplate: string;
|
---|
15 | name: string;
|
---|
16 | size: number;
|
---|
17 | step: number;
|
---|
18 | min: number;
|
---|
19 | max: number;
|
---|
20 | strokeWidth: number;
|
---|
21 | disabled: boolean;
|
---|
22 | showValue: boolean;
|
---|
23 | readonly: boolean;
|
---|
24 | onChange: EventEmitter<any>;
|
---|
25 | radius: number;
|
---|
26 | midX: number;
|
---|
27 | midY: number;
|
---|
28 | minRadians: number;
|
---|
29 | maxRadians: number;
|
---|
30 | value: number;
|
---|
31 | windowMouseMoveListener: any;
|
---|
32 | windowMouseUpListener: any;
|
---|
33 | windowTouchMoveListener: any;
|
---|
34 | windowTouchEndListener: any;
|
---|
35 | onModelChange: Function;
|
---|
36 | onModelTouched: Function;
|
---|
37 | constructor(cd: ChangeDetectorRef, el: ElementRef);
|
---|
38 | mapRange(x: any, inMin: any, inMax: any, outMin: any, outMax: any): any;
|
---|
39 | onClick(event: any): void;
|
---|
40 | updateValue(offsetX: any, offsetY: any): void;
|
---|
41 | updateModel(angle: any, start: any): void;
|
---|
42 | onMouseDown(event: any): void;
|
---|
43 | onMouseUp(event: any): void;
|
---|
44 | onTouchStart(event: any): void;
|
---|
45 | onTouchEnd(event: any): void;
|
---|
46 | onMouseMove(event: any): void;
|
---|
47 | onTouchMove(event: any): void;
|
---|
48 | writeValue(value: any): void;
|
---|
49 | registerOnChange(fn: Function): void;
|
---|
50 | registerOnTouched(fn: Function): void;
|
---|
51 | setDisabledState(val: boolean): void;
|
---|
52 | containerClass(): {
|
---|
53 | 'p-knob p-component': boolean;
|
---|
54 | 'p-disabled': boolean;
|
---|
55 | };
|
---|
56 | rangePath(): string;
|
---|
57 | valuePath(): string;
|
---|
58 | zeroRadians(): any;
|
---|
59 | valueRadians(): any;
|
---|
60 | minX(): number;
|
---|
61 | minY(): number;
|
---|
62 | maxX(): number;
|
---|
63 | maxY(): number;
|
---|
64 | zeroX(): number;
|
---|
65 | zeroY(): number;
|
---|
66 | valueX(): number;
|
---|
67 | valueY(): number;
|
---|
68 | largeArc(): 1 | 0;
|
---|
69 | sweep(): 1 | 0;
|
---|
70 | valueToDisplay(): string;
|
---|
71 | get _value(): number;
|
---|
72 | static ɵfac: i0.ɵɵFactoryDeclaration<Knob, never>;
|
---|
73 | static ɵcmp: i0.ɵɵComponentDeclaration<Knob, "p-knob", never, { "styleClass": "styleClass"; "style": "style"; "severity": "severity"; "valueColor": "valueColor"; "rangeColor": "rangeColor"; "textColor": "textColor"; "valueTemplate": "valueTemplate"; "name": "name"; "size": "size"; "step": "step"; "min": "min"; "max": "max"; "strokeWidth": "strokeWidth"; "disabled": "disabled"; "showValue": "showValue"; "readonly": "readonly"; }, { "onChange": "onChange"; }, never, never>;
|
---|
74 | }
|
---|
75 | export declare class KnobModule {
|
---|
76 | static ɵfac: i0.ɵɵFactoryDeclaration<KnobModule, never>;
|
---|
77 | static ɵmod: i0.ɵɵNgModuleDeclaration<KnobModule, [typeof Knob], [typeof i1.CommonModule], [typeof Knob]>;
|
---|
78 | static ɵinj: i0.ɵɵInjectorDeclaration<KnobModule>;
|
---|
79 | }
|
---|