@m1z23r/ngx-ui 1.1.36 → 1.1.38
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/README.md +74 -27
- package/fesm2022/m1z23r-ngx-ui.mjs +61 -33
- package/fesm2022/m1z23r-ngx-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/m1z23r-ngx-ui.d.ts +16 -0
package/package.json
CHANGED
package/types/m1z23r-ngx-ui.d.ts
CHANGED
|
@@ -244,6 +244,8 @@ interface DialogConfig<TData = unknown> {
|
|
|
244
244
|
declare class DialogService {
|
|
245
245
|
private readonly appRef;
|
|
246
246
|
private readonly injector;
|
|
247
|
+
private readonly document;
|
|
248
|
+
private readonly platformId;
|
|
247
249
|
/**
|
|
248
250
|
* Opens a dialog with the specified component.
|
|
249
251
|
*
|
|
@@ -330,6 +332,8 @@ interface ToastConfig {
|
|
|
330
332
|
declare class ToastService {
|
|
331
333
|
private readonly appRef;
|
|
332
334
|
private readonly injector;
|
|
335
|
+
private readonly document;
|
|
336
|
+
private readonly platformId;
|
|
333
337
|
private containerRef;
|
|
334
338
|
private readonly toasts;
|
|
335
339
|
private readonly toastRefs;
|
|
@@ -559,6 +563,8 @@ declare class TabsService {
|
|
|
559
563
|
declare class ModalComponent implements OnInit {
|
|
560
564
|
private readonly dialogRef;
|
|
561
565
|
private readonly elementRef;
|
|
566
|
+
/** Tracks if mousedown started on the backdrop (to prevent close on drag-out) */
|
|
567
|
+
private readonly mouseDownOnBackdrop;
|
|
562
568
|
/** Title displayed in the modal header */
|
|
563
569
|
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
564
570
|
/** Modal size preset */
|
|
@@ -577,6 +583,7 @@ declare class ModalComponent implements OnInit {
|
|
|
577
583
|
readonly panelClass: _angular_core.InputSignal<string | undefined>;
|
|
578
584
|
ngOnInit(): void;
|
|
579
585
|
onEscapePress(): void;
|
|
586
|
+
onBackdropMouseDown(event: MouseEvent): void;
|
|
580
587
|
onBackdropClick(event: MouseEvent): void;
|
|
581
588
|
close(): void;
|
|
582
589
|
protected containerClasses(): string;
|
|
@@ -867,6 +874,7 @@ declare class SelectComponent<T = unknown> implements AfterContentInit, OnDestro
|
|
|
867
874
|
private asyncSearchAbortController;
|
|
868
875
|
private debounceTimer;
|
|
869
876
|
private readonly elementRef;
|
|
877
|
+
private readonly document;
|
|
870
878
|
private positionCleanup;
|
|
871
879
|
private readonly initializedOptions;
|
|
872
880
|
constructor();
|
|
@@ -944,6 +952,7 @@ declare class DropdownComponent implements OnDestroy {
|
|
|
944
952
|
triggerRef: ElementRef<HTMLElement>;
|
|
945
953
|
menuRef: ElementRef<HTMLElement>;
|
|
946
954
|
private readonly elementRef;
|
|
955
|
+
private readonly document;
|
|
947
956
|
private positionCleanup;
|
|
948
957
|
private contextMenuPosition;
|
|
949
958
|
readonly trigger: _angular_core.Signal<DropdownTriggerDirective | undefined>;
|
|
@@ -1127,6 +1136,8 @@ declare class TooltipDirective implements OnDestroy {
|
|
|
1127
1136
|
readonly tooltipPosition: _angular_core.InputSignal<TooltipPosition>;
|
|
1128
1137
|
readonly tooltipDelay: _angular_core.InputSignal<number>;
|
|
1129
1138
|
readonly tooltipDisabled: _angular_core.InputSignal<boolean>;
|
|
1139
|
+
private readonly document;
|
|
1140
|
+
private readonly platformId;
|
|
1130
1141
|
private tooltipElement;
|
|
1131
1142
|
private showTimeout;
|
|
1132
1143
|
private readonly isVisible;
|
|
@@ -1528,6 +1539,7 @@ declare class DatepickerComponent implements OnDestroy {
|
|
|
1528
1539
|
readonly focusedDate: _angular_core.WritableSignal<Date | null>;
|
|
1529
1540
|
readonly hoveredDate: _angular_core.WritableSignal<Date | null>;
|
|
1530
1541
|
private readonly elementRef;
|
|
1542
|
+
private readonly document;
|
|
1531
1543
|
private positionCleanup;
|
|
1532
1544
|
private static nextId;
|
|
1533
1545
|
private readonly generatedId;
|
|
@@ -1613,6 +1625,7 @@ declare class TimepickerComponent implements OnDestroy {
|
|
|
1613
1625
|
readonly selectedSecond: _angular_core.WritableSignal<number>;
|
|
1614
1626
|
readonly selectedPeriod: _angular_core.WritableSignal<"AM" | "PM">;
|
|
1615
1627
|
private readonly elementRef;
|
|
1628
|
+
private readonly document;
|
|
1616
1629
|
private positionCleanup;
|
|
1617
1630
|
private static nextId;
|
|
1618
1631
|
private readonly generatedId;
|
|
@@ -1710,6 +1723,7 @@ declare class DatetimepickerComponent implements OnDestroy {
|
|
|
1710
1723
|
readonly selectedSecond: _angular_core.WritableSignal<number>;
|
|
1711
1724
|
readonly selectedPeriod: _angular_core.WritableSignal<"AM" | "PM">;
|
|
1712
1725
|
private readonly elementRef;
|
|
1726
|
+
private readonly document;
|
|
1713
1727
|
private positionCleanup;
|
|
1714
1728
|
private static nextId;
|
|
1715
1729
|
private readonly generatedId;
|
|
@@ -2009,6 +2023,8 @@ declare class TemplateInputComponent implements OnDestroy, AfterViewInit {
|
|
|
2009
2023
|
protected readonly inputRef: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
2010
2024
|
popoverRef: ElementRef<HTMLElement>;
|
|
2011
2025
|
private readonly hostRef;
|
|
2026
|
+
private readonly document;
|
|
2027
|
+
private readonly platformId;
|
|
2012
2028
|
private positionCleanup;
|
|
2013
2029
|
private currentSpanRect;
|
|
2014
2030
|
private isPortaled;
|