matcha-components 20.32.0 → 20.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts
CHANGED
|
@@ -1488,8 +1488,9 @@ interface SliderOptions {
|
|
|
1488
1488
|
customPositionToValue?: (percent: number, minVal: number, maxVal: number) => number;
|
|
1489
1489
|
translate?: (value: number, sliderId: string, label: string) => string;
|
|
1490
1490
|
}
|
|
1491
|
-
declare class MatchaSliderComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
1491
|
+
declare class MatchaSliderComponent implements ControlValueAccessor, OnInit, OnDestroy, AfterViewInit {
|
|
1492
1492
|
private cdr;
|
|
1493
|
+
private elementRef;
|
|
1493
1494
|
value: number;
|
|
1494
1495
|
highValue: number;
|
|
1495
1496
|
options: SliderOptions;
|
|
@@ -1510,7 +1511,7 @@ declare class MatchaSliderComponent implements ControlValueAccessor, OnInit, OnD
|
|
|
1510
1511
|
private onTouched;
|
|
1511
1512
|
private boundOnMouseMove;
|
|
1512
1513
|
private boundOnMouseUp;
|
|
1513
|
-
constructor(cdr: ChangeDetectorRef);
|
|
1514
|
+
constructor(cdr: ChangeDetectorRef, elementRef: ElementRef);
|
|
1514
1515
|
get mergedOptions(): SliderOptions;
|
|
1515
1516
|
get isRange(): boolean;
|
|
1516
1517
|
get percentage(): number;
|
|
@@ -1519,6 +1520,7 @@ declare class MatchaSliderComponent implements ControlValueAccessor, OnInit, OnD
|
|
|
1519
1520
|
get isAtMaxValue(): boolean;
|
|
1520
1521
|
get isDisabled(): boolean;
|
|
1521
1522
|
ngOnInit(): void;
|
|
1523
|
+
ngAfterViewInit(): void;
|
|
1522
1524
|
ngOnDestroy(): void;
|
|
1523
1525
|
private initializeValues;
|
|
1524
1526
|
private valueToPercentage;
|