@m1z23r/ngx-ui 1.1.60 → 1.1.61
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/package.json
CHANGED
package/types/m1z23r-ngx-ui.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { Signal, InjectionToken, Type, TemplateRef, Injector, OnInit, PipeTransform, ElementRef, AfterContentInit, OnDestroy, Renderer2, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { Signal, InjectionToken, Type, TemplateRef, Injector, OnInit, PipeTransform, ElementRef, AfterContentInit, OnDestroy, Renderer2, WritableSignal, AfterViewInit } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Validation error returned by validators
|
|
@@ -1539,31 +1539,43 @@ declare class RangeSliderComponent {
|
|
|
1539
1539
|
readonly format: _angular_core.InputSignal<string | null>;
|
|
1540
1540
|
readonly value: _angular_core.ModelSignal<DateRangeValue | null>;
|
|
1541
1541
|
readonly valueCommit: _angular_core.OutputEmitterRef<DateRangeValue>;
|
|
1542
|
-
protected readonly trackEl:
|
|
1543
|
-
protected readonly
|
|
1544
|
-
protected readonly
|
|
1545
|
-
protected readonly
|
|
1546
|
-
protected readonly
|
|
1547
|
-
protected readonly
|
|
1542
|
+
protected readonly trackEl: Signal<ElementRef<HTMLElement> | undefined>;
|
|
1543
|
+
protected readonly startBubbleEl: Signal<ElementRef<HTMLElement> | undefined>;
|
|
1544
|
+
protected readonly endBubbleEl: Signal<ElementRef<HTMLElement> | undefined>;
|
|
1545
|
+
protected readonly startMs: WritableSignal<number>;
|
|
1546
|
+
protected readonly endMs: WritableSignal<number>;
|
|
1547
|
+
protected readonly dragging: WritableSignal<ThumbId$1 | null>;
|
|
1548
|
+
protected readonly focusedThumb: WritableSignal<ThumbId$1 | null>;
|
|
1549
|
+
protected readonly hoveredThumb: WritableSignal<ThumbId$1 | null>;
|
|
1550
|
+
private readonly trackWidth;
|
|
1551
|
+
private readonly startBubbleWidth;
|
|
1552
|
+
private readonly endBubbleWidth;
|
|
1553
|
+
private readonly platformId;
|
|
1548
1554
|
private lastEmitted;
|
|
1549
|
-
protected readonly minMs:
|
|
1550
|
-
protected readonly maxMs:
|
|
1551
|
-
protected readonly range:
|
|
1552
|
-
protected readonly effectiveStep:
|
|
1553
|
-
protected readonly startPercent:
|
|
1554
|
-
protected readonly endPercent:
|
|
1555
|
-
protected readonly fillStyle:
|
|
1555
|
+
protected readonly minMs: Signal<number>;
|
|
1556
|
+
protected readonly maxMs: Signal<number>;
|
|
1557
|
+
protected readonly range: Signal<number>;
|
|
1558
|
+
protected readonly effectiveStep: Signal<number>;
|
|
1559
|
+
protected readonly startPercent: Signal<number>;
|
|
1560
|
+
protected readonly endPercent: Signal<number>;
|
|
1561
|
+
protected readonly fillStyle: Signal<{
|
|
1556
1562
|
left: string;
|
|
1557
1563
|
width: string;
|
|
1558
1564
|
}>;
|
|
1559
|
-
protected readonly startLabel:
|
|
1560
|
-
protected readonly endLabel:
|
|
1561
|
-
protected readonly
|
|
1565
|
+
protected readonly startLabel: Signal<string>;
|
|
1566
|
+
protected readonly endLabel: Signal<string>;
|
|
1567
|
+
protected readonly startShift: Signal<number>;
|
|
1568
|
+
protected readonly endShift: Signal<number>;
|
|
1569
|
+
protected readonly bubbleVisible: Signal<{
|
|
1562
1570
|
start: boolean;
|
|
1563
1571
|
end: boolean;
|
|
1564
1572
|
}>;
|
|
1565
|
-
protected readonly rootClasses:
|
|
1573
|
+
protected readonly rootClasses: Signal<string>;
|
|
1566
1574
|
constructor();
|
|
1575
|
+
/** Track an element's border-box width in a signal via ResizeObserver. */
|
|
1576
|
+
private observeWidth;
|
|
1577
|
+
/** Offset (px) to shift a bubble so it stays within the track bounds. */
|
|
1578
|
+
private bubbleShift;
|
|
1567
1579
|
/** Push current thumb state into the value model (live, during interaction). */
|
|
1568
1580
|
private writeValue;
|
|
1569
1581
|
protected onThumbPointerDown(event: PointerEvent, thumb: ThumbId$1): void;
|
|
@@ -1616,28 +1628,40 @@ declare class NumberRangeSliderComponent {
|
|
|
1616
1628
|
readonly formatValue: _angular_core.InputSignal<((n: number) => string) | null>;
|
|
1617
1629
|
readonly value: _angular_core.ModelSignal<NumberRangeValue | null>;
|
|
1618
1630
|
readonly valueCommit: _angular_core.OutputEmitterRef<NumberRangeValue>;
|
|
1619
|
-
protected readonly trackEl:
|
|
1620
|
-
protected readonly
|
|
1621
|
-
protected readonly
|
|
1622
|
-
protected readonly
|
|
1623
|
-
protected readonly
|
|
1624
|
-
protected readonly
|
|
1631
|
+
protected readonly trackEl: Signal<ElementRef<HTMLElement> | undefined>;
|
|
1632
|
+
protected readonly startBubbleEl: Signal<ElementRef<HTMLElement> | undefined>;
|
|
1633
|
+
protected readonly endBubbleEl: Signal<ElementRef<HTMLElement> | undefined>;
|
|
1634
|
+
protected readonly startVal: WritableSignal<number>;
|
|
1635
|
+
protected readonly endVal: WritableSignal<number>;
|
|
1636
|
+
protected readonly dragging: WritableSignal<ThumbId | null>;
|
|
1637
|
+
protected readonly focusedThumb: WritableSignal<ThumbId | null>;
|
|
1638
|
+
protected readonly hoveredThumb: WritableSignal<ThumbId | null>;
|
|
1639
|
+
private readonly trackWidth;
|
|
1640
|
+
private readonly startBubbleWidth;
|
|
1641
|
+
private readonly endBubbleWidth;
|
|
1642
|
+
private readonly platformId;
|
|
1625
1643
|
private lastEmitted;
|
|
1626
|
-
protected readonly range:
|
|
1627
|
-
protected readonly startPercent:
|
|
1628
|
-
protected readonly endPercent:
|
|
1629
|
-
protected readonly fillStyle:
|
|
1644
|
+
protected readonly range: Signal<number>;
|
|
1645
|
+
protected readonly startPercent: Signal<number>;
|
|
1646
|
+
protected readonly endPercent: Signal<number>;
|
|
1647
|
+
protected readonly fillStyle: Signal<{
|
|
1630
1648
|
left: string;
|
|
1631
1649
|
width: string;
|
|
1632
1650
|
}>;
|
|
1633
|
-
protected readonly startLabel:
|
|
1634
|
-
protected readonly endLabel:
|
|
1635
|
-
protected readonly
|
|
1651
|
+
protected readonly startLabel: Signal<string>;
|
|
1652
|
+
protected readonly endLabel: Signal<string>;
|
|
1653
|
+
protected readonly startShift: Signal<number>;
|
|
1654
|
+
protected readonly endShift: Signal<number>;
|
|
1655
|
+
protected readonly bubbleVisible: Signal<{
|
|
1636
1656
|
start: boolean;
|
|
1637
1657
|
end: boolean;
|
|
1638
1658
|
}>;
|
|
1639
|
-
protected readonly rootClasses:
|
|
1659
|
+
protected readonly rootClasses: Signal<string>;
|
|
1640
1660
|
constructor();
|
|
1661
|
+
/** Track an element's border-box width in a signal via ResizeObserver. */
|
|
1662
|
+
private observeWidth;
|
|
1663
|
+
/** Offset (px) to shift a bubble so it stays within the track bounds. */
|
|
1664
|
+
private bubbleShift;
|
|
1641
1665
|
/** Push current thumb state into the value model (live, during interaction). */
|
|
1642
1666
|
private writeValue;
|
|
1643
1667
|
protected onThumbPointerDown(event: PointerEvent, thumb: ThumbId): void;
|