@area8975/ui 0.1.1-dev.5 → 0.1.1-dev.7
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/fesm2022/area8975-ui.mjs +264 -51
- package/fesm2022/area8975-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/area8975-ui.d.ts +31 -18
package/package.json
CHANGED
package/types/area8975-ui.d.ts
CHANGED
|
@@ -953,6 +953,10 @@ export interface UiOverlayOptions {
|
|
|
953
953
|
offset: number;
|
|
954
954
|
viewportPadding: number;
|
|
955
955
|
}
|
|
956
|
+
export interface UiOverlayStackEntry {
|
|
957
|
+
onDocumentClick: (event: MouseEvent) => void;
|
|
958
|
+
onKeyDown: (event: KeyboardEvent) => void;
|
|
959
|
+
}
|
|
956
960
|
export interface SelectDataSourceParameters {
|
|
957
961
|
query: string;
|
|
958
962
|
page: number;
|
|
@@ -1762,23 +1766,21 @@ export declare class UiLoadingComponent {
|
|
|
1762
1766
|
export declare const UI_LOADING_TYPES: ["spinner", "throbber", "pulse-ring", "pulse-dot", "wave", "equaliser", "terminal", "blinking-caret", "shimmer-text", "loading-dots", "bouncing-dots", "fading-dots"];
|
|
1763
1767
|
export type UiLoadingType = typeof UI_LOADING_TYPES[number];
|
|
1764
1768
|
type ModalSize = 'sm' | 'md' | 'lg';
|
|
1765
|
-
/**
|
|
1766
|
-
* Centered dialog with a backdrop. Uses ui-overlay for dismissal/focus,
|
|
1767
|
-
* no ui-floating since there's nothing to position against.
|
|
1768
|
-
*/
|
|
1769
1769
|
export declare class UiModalComponent {
|
|
1770
|
-
readonly
|
|
1771
|
-
readonly open: import("@angular/core").ModelSignal<boolean>;
|
|
1770
|
+
readonly isOpen: import("@angular/core").ModelSignal<boolean>;
|
|
1772
1771
|
readonly closeBehaviour: import("@angular/core").InputSignal<UiOverlayCloseBehaviour>;
|
|
1773
|
-
readonly
|
|
1774
|
-
readonly close: () => void;
|
|
1772
|
+
readonly title: import("@angular/core").InputSignal<string>;
|
|
1775
1773
|
readonly size: import("@angular/core").InputSignal<ModalSize>;
|
|
1776
|
-
readonly
|
|
1774
|
+
readonly classes: import("@angular/core").InputSignal<string>;
|
|
1775
|
+
readonly headerElement: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
1776
|
+
readonly footerElement: import("@angular/core").Signal<TemplateRef<unknown> | undefined>;
|
|
1777
|
+
readonly panelElement: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
1778
|
+
readonly generatedClasses: import("@angular/core").Signal<string>;
|
|
1777
1779
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiModalComponent, never>;
|
|
1778
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UiModalComponent, "ui-modal",
|
|
1779
|
-
"
|
|
1780
|
-
"alias": "
|
|
1781
|
-
"required":
|
|
1780
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiModalComponent, "ui-modal", never, {
|
|
1781
|
+
"isOpen": {
|
|
1782
|
+
"alias": "isOpen";
|
|
1783
|
+
"required": true;
|
|
1782
1784
|
"isSignal": true;
|
|
1783
1785
|
};
|
|
1784
1786
|
"closeBehaviour": {
|
|
@@ -1786,14 +1788,24 @@ export declare class UiModalComponent {
|
|
|
1786
1788
|
"required": false;
|
|
1787
1789
|
"isSignal": true;
|
|
1788
1790
|
};
|
|
1791
|
+
"title": {
|
|
1792
|
+
"alias": "title";
|
|
1793
|
+
"required": false;
|
|
1794
|
+
"isSignal": true;
|
|
1795
|
+
};
|
|
1789
1796
|
"size": {
|
|
1790
1797
|
"alias": "size";
|
|
1791
1798
|
"required": false;
|
|
1792
1799
|
"isSignal": true;
|
|
1793
1800
|
};
|
|
1801
|
+
"classes": {
|
|
1802
|
+
"alias": "classes";
|
|
1803
|
+
"required": false;
|
|
1804
|
+
"isSignal": true;
|
|
1805
|
+
};
|
|
1794
1806
|
}, {
|
|
1795
|
-
"
|
|
1796
|
-
},
|
|
1807
|
+
"isOpen": "isOpenChange";
|
|
1808
|
+
}, ["headerElement", "footerElement"], ["*"], true, never>;
|
|
1797
1809
|
}
|
|
1798
1810
|
/**
|
|
1799
1811
|
* Formats a money value, e.g. -42.1 as "-£42.10".
|
|
@@ -2530,8 +2542,9 @@ export declare class UiLayoutComponent {
|
|
|
2530
2542
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiLayoutComponent, never>;
|
|
2531
2543
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiLayoutComponent, "ui-layout", never, {}, {}, ["sidebar"], ["*"], true, never>;
|
|
2532
2544
|
}
|
|
2533
|
-
export declare class UiOverlayComponent {
|
|
2545
|
+
export declare class UiOverlayComponent implements UiOverlayStackEntry {
|
|
2534
2546
|
private readonly positioner;
|
|
2547
|
+
private readonly stack;
|
|
2535
2548
|
readonly content: import("@angular/core").InputSignal<ElementRef<HTMLInputElement> | undefined>;
|
|
2536
2549
|
readonly anchor: import("@angular/core").InputSignal<ElementRef<HTMLElement> | undefined>;
|
|
2537
2550
|
readonly closeBehaviour: import("@angular/core").InputSignal<UiOverlayCloseBehaviour>;
|
|
@@ -2543,8 +2556,8 @@ export declare class UiOverlayComponent {
|
|
|
2543
2556
|
readonly matchWidth: import("@angular/core").InputSignal<DropdownMatchWidth | null>;
|
|
2544
2557
|
constructor();
|
|
2545
2558
|
private readonly close;
|
|
2546
|
-
|
|
2547
|
-
|
|
2559
|
+
readonly onDocumentClick: (event: MouseEvent) => void;
|
|
2560
|
+
readonly onKeyDown: (event: KeyboardEvent) => void;
|
|
2548
2561
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiOverlayComponent, never>;
|
|
2549
2562
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiOverlayComponent, "ui-overlay", ["uiOverlay"], {
|
|
2550
2563
|
"content": {
|