@forgeroute/ui 0.4.48 → 0.4.50
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/forgeroute-ui.d.ts
CHANGED
|
@@ -1088,7 +1088,7 @@ export declare class SelectComponent implements ControlValueAccessor, Validator,
|
|
|
1088
1088
|
readonly error: import("@angular/core").InputSignal<string>;
|
|
1089
1089
|
/** Reveal the built-in error messages now (e.g. after a failed Save click), without waiting for blur. */
|
|
1090
1090
|
readonly showErrors: import("@angular/core").InputSignal<boolean>;
|
|
1091
|
-
readonly size: import("@angular/core").InputSignal<"
|
|
1091
|
+
readonly size: import("@angular/core").InputSignal<"default" | "sm">;
|
|
1092
1092
|
readonly _disabledInput: import("@angular/core").InputSignal<boolean>;
|
|
1093
1093
|
private readonly _cvaDisabled;
|
|
1094
1094
|
protected readonly disabled: import("@angular/core").Signal<boolean>;
|
|
@@ -1577,6 +1577,13 @@ export declare class DataTableComponent<T extends Record<string, any>> implement
|
|
|
1577
1577
|
*/
|
|
1578
1578
|
private _columnBadgeLabel;
|
|
1579
1579
|
protected readonly _error: import("@angular/core").WritableSignal<string | null>;
|
|
1580
|
+
private readonly _loadFailed;
|
|
1581
|
+
/**
|
|
1582
|
+
* True from a failed load (the table shows its error state) until a later load SUCCEEDS. Unlike the error state itself it stays true while
|
|
1583
|
+
* Retry / a reload is in flight, so a host can keep its own controls (a date range card, say) out of the page for the whole time the
|
|
1584
|
+
* table is not showing real data. Read it through the table reference: `tableRef()?.loadFailed()`.
|
|
1585
|
+
*/
|
|
1586
|
+
readonly loadFailed: Signal<boolean>;
|
|
1580
1587
|
protected readonly _search: import("@angular/core").WritableSignal<string>;
|
|
1581
1588
|
/** The search text as sent to the API: lower-cased, so every search is case-insensitive whatever the backend does. The input still shows what the user typed. */
|
|
1582
1589
|
protected readonly _searchParam: Signal<string>;
|
|
@@ -2226,7 +2233,7 @@ export declare class ModalComponent implements OnInit, OnDestroy {
|
|
|
2226
2233
|
readonly title: import("@angular/core").InputSignal<string>;
|
|
2227
2234
|
readonly description: import("@angular/core").InputSignal<string>;
|
|
2228
2235
|
readonly maxWidth: import("@angular/core").InputSignal<string>;
|
|
2229
|
-
readonly bodyOverflow: import("@angular/core").InputSignal<"hidden" | "
|
|
2236
|
+
readonly bodyOverflow: import("@angular/core").InputSignal<"hidden" | "auto" | "visible">;
|
|
2230
2237
|
/** `data-testid` of the dialog element itself (the host `<ui-modal>` is always in the page, the dialog only while open). None when empty. */
|
|
2231
2238
|
readonly dialogTestId: import("@angular/core").InputSignal<string>;
|
|
2232
2239
|
/** Hides the header X button (e.g. while a request is running). Escape and a backdrop click still close unless `closable` is false. */
|
|
@@ -2610,7 +2617,7 @@ export declare class AudioPlayerComponent {
|
|
|
2610
2617
|
/** Accessible name of the player. */
|
|
2611
2618
|
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
2612
2619
|
/** How much to load before play: 'metadata' (default), 'auto' or 'none'. */
|
|
2613
|
-
readonly preload: import("@angular/core").InputSignal<"none" | "
|
|
2620
|
+
readonly preload: import("@angular/core").InputSignal<"none" | "auto" | "metadata">;
|
|
2614
2621
|
/** Fires when the browser can't load or decode the source. */
|
|
2615
2622
|
readonly playbackError: import("@angular/core").OutputEmitterRef<void>;
|
|
2616
2623
|
protected readonly failed: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -2864,7 +2871,7 @@ export declare class CheckboxComponent implements ControlValueAccessor, Validato
|
|
|
2864
2871
|
* clicking it still toggles the box - e.g. a product name that is both the heading of its card and the label of its checkbox.
|
|
2865
2872
|
* Default null: plain label text, exactly as before. Single mode only.
|
|
2866
2873
|
*/
|
|
2867
|
-
readonly headingLevel: import("@angular/core").InputSignal<1 | 2 | 3 |
|
|
2874
|
+
readonly headingLevel: import("@angular/core").InputSignal<1 | 2 | 3 | 4 | 5 | 6 | null>;
|
|
2868
2875
|
readonly indeterminate: import("@angular/core").InputSignal<boolean>;
|
|
2869
2876
|
readonly checked: import("@angular/core").ModelSignal<boolean>;
|
|
2870
2877
|
/**
|
|
@@ -3889,7 +3896,7 @@ export declare class ButtonComponent {
|
|
|
3889
3896
|
* `ghost-start`: a ghost button for list / section toggles - a full-width row with its content aligned to the start, transparent
|
|
3890
3897
|
* background, hover tint and the normal focus ring. Pair it with `ariaExpanded` / `ariaPressed`; the label may contain a heading element.
|
|
3891
3898
|
*/
|
|
3892
|
-
readonly variant: import("@angular/core").InputSignal<"
|
|
3899
|
+
readonly variant: import("@angular/core").InputSignal<"primary" | "secondary" | "danger" | "warning" | "link" | "ghost" | "ghost-start" | "tab" | "icon" | "icon-danger">;
|
|
3893
3900
|
/** Renders an anchor to this route instead of a button (use with `variant="link"` for an inline text link). `['/settings']` or `'/settings'`. While `disabled` or `loading` it renders a non-clickable `<span role="link" aria-disabled>` with no href (like `href`). */
|
|
3894
3901
|
readonly routerLink: import("@angular/core").InputSignal<string | readonly unknown[] | null>;
|
|
3895
3902
|
/** Query params of the `routerLink` (e.g. `{ section: 'deal-defaults' }`). */
|
|
@@ -3934,7 +3941,7 @@ export declare class ButtonComponent {
|
|
|
3934
3941
|
private readonly _narrow;
|
|
3935
3942
|
readonly color: import("@angular/core").InputSignal<string | undefined>;
|
|
3936
3943
|
readonly active: import("@angular/core").InputSignal<boolean>;
|
|
3937
|
-
readonly size: import("@angular/core").InputSignal<"sm" | "md" | "
|
|
3944
|
+
readonly size: import("@angular/core").InputSignal<"sm" | "md" | "lg" | "xs">;
|
|
3938
3945
|
readonly type: import("@angular/core").InputSignal<"reset" | "submit" | "button">;
|
|
3939
3946
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
3940
3947
|
readonly loading: import("@angular/core").InputSignal<boolean>;
|
|
@@ -4751,7 +4758,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
|
|
|
4751
4758
|
* `search`, `text`, `none`). Empty (default) = the browser's default for the field, except `type="tel"`, which keeps `tel`.
|
|
4752
4759
|
* It only picks the keyboard; it does not restrict what can be typed or pasted.
|
|
4753
4760
|
*/
|
|
4754
|
-
readonly inputmode: import("@angular/core").InputSignal<"" | "
|
|
4761
|
+
readonly inputmode: import("@angular/core").InputSignal<"" | "none" | "text" | "search" | "email" | "tel" | "url" | "decimal" | "numeric">;
|
|
4755
4762
|
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
4756
4763
|
readonly hint: import("@angular/core").InputSignal<string>;
|
|
4757
4764
|
readonly error: import("@angular/core").InputSignal<string>;
|
|
@@ -5680,7 +5687,8 @@ export declare class TimeInputComponent implements ControlValueAccessor, Validat
|
|
|
5680
5687
|
readonly error: import("@angular/core").InputSignal<string>;
|
|
5681
5688
|
/** Reveal the built-in error messages now (e.g. after a failed Save click), without waiting for blur. */
|
|
5682
5689
|
readonly showErrors: import("@angular/core").InputSignal<boolean>;
|
|
5683
|
-
|
|
5690
|
+
/** Public (like the other inputs) so `[disabled]` can be bound in a host template. */
|
|
5691
|
+
readonly _disabledInput: import("@angular/core").InputSignal<boolean>;
|
|
5684
5692
|
private readonly _cvaDisabled;
|
|
5685
5693
|
protected readonly disabled: import("@angular/core").Signal<boolean>;
|
|
5686
5694
|
protected readonly _value: import("@angular/core").WritableSignal<string>;
|
|
@@ -6399,7 +6407,7 @@ export declare class FormRowComponent {
|
|
|
6399
6407
|
* child simply takes the full width. Keep a numeric span within the row's `cols` (use `all` for the whole row).
|
|
6400
6408
|
*/
|
|
6401
6409
|
export declare class FormColSpanDirective {
|
|
6402
|
-
readonly uiColSpan: import("@angular/core").InputSignal<"" | 2 | 3 |
|
|
6410
|
+
readonly uiColSpan: import("@angular/core").InputSignal<"" | "2" | "3" | 2 | 3 | "all">;
|
|
6403
6411
|
protected readonly _class: import("@angular/core").Signal<string>;
|
|
6404
6412
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormColSpanDirective, never>;
|
|
6405
6413
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FormColSpanDirective, "[uiColSpan]", never, {
|
|
@@ -7426,7 +7434,7 @@ export declare class ChipGroupComponent {
|
|
|
7426
7434
|
readonly spaceAbove: import("@angular/core").InputSignal<"none" | "sm" | "md">;
|
|
7427
7435
|
/** Space below the chip group. */
|
|
7428
7436
|
readonly spaceBelow: import("@angular/core").InputSignal<"none" | "sm" | "md">;
|
|
7429
|
-
protected readonly _gap: import("@angular/core").Signal<"
|
|
7437
|
+
protected readonly _gap: import("@angular/core").Signal<"6px" | "12px" | "8px">;
|
|
7430
7438
|
protected readonly _spaceAbove: import("@angular/core").Signal<"0" | "6px" | "12px">;
|
|
7431
7439
|
protected readonly _spaceBelow: import("@angular/core").Signal<"0" | "6px" | "12px">;
|
|
7432
7440
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipGroupComponent, never>;
|
|
@@ -8517,7 +8525,7 @@ export interface DateRange {
|
|
|
8517
8525
|
* Date range picker: preset pills (Today … Year to Date, optional All Time, Custom Range) plus
|
|
8518
8526
|
* From / To date inputs with an Apply button for the custom range. With the presets shown, the custom range opens in a
|
|
8519
8527
|
* popover card under the pills (right-aligned, closes on Apply / Escape / outside click; picking Custom Range again
|
|
8520
|
-
* reopens it); with `showPresets` false the From / To row is rendered inline. Emits `rangeChange` with the
|
|
8528
|
+
* reopens it; a picker CREATED on `activePreset="custom"` starts with the popover closed and the Custom Range tab highlighted); with `showPresets` false the From / To row is rendered inline. Emits `rangeChange` with the
|
|
8521
8529
|
* resolved ISO dates whenever a preset is picked or a custom range is applied.
|
|
8522
8530
|
*
|
|
8523
8531
|
* <ui-date-range-picker [activePreset]="preset()" [includeAllTime]="true" (rangeChange)="onRange($event)" />
|
|
@@ -8531,9 +8539,16 @@ export declare class DateRangePickerComponent {
|
|
|
8531
8539
|
/** Accessible name of the preset tab list (screen readers announce it when the tabs get focus). */
|
|
8532
8540
|
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
8533
8541
|
readonly rangeChange: import("@angular/core").OutputEmitterRef<DateRange>;
|
|
8534
|
-
/**
|
|
8542
|
+
/**
|
|
8543
|
+
* Follows `activePreset` from the host, and the user's own picks in between. A pick of Custom Range that is closed without Apply
|
|
8544
|
+
* (Escape / outside click) is discarded: the selection goes back to `activePreset`, the range the host actually applied.
|
|
8545
|
+
*/
|
|
8535
8546
|
protected readonly selectedPreset: import("@angular/core").WritableSignal<DatePreset>;
|
|
8536
|
-
/**
|
|
8547
|
+
/**
|
|
8548
|
+
* The popover was closed (Apply / Escape / outside click); any preset change reopens it. It starts CLOSED: a picker created with
|
|
8549
|
+
* `activePreset="custom"` (a host that re-creates it while a custom range is applied: a tab switched back to, a retry after an error)
|
|
8550
|
+
* shows that applied range as the highlighted tab, it does not open an empty From / To card. Clicking the tab reopens it.
|
|
8551
|
+
*/
|
|
8537
8552
|
private readonly popoverDismissed;
|
|
8538
8553
|
protected readonly popoverVisible: import("@angular/core").Signal<boolean>;
|
|
8539
8554
|
protected readonly popTop: import("@angular/core").WritableSignal<number>;
|
|
@@ -8546,6 +8561,13 @@ export declare class DateRangePickerComponent {
|
|
|
8546
8561
|
private place;
|
|
8547
8562
|
protected onDocumentClick(e: Event): void;
|
|
8548
8563
|
protected onEscape(e: Event): void;
|
|
8564
|
+
/** Closes the custom popover without applying: nothing was applied, so the highlighted preset returns to the host's applied one. */
|
|
8565
|
+
private dismissWithoutApply;
|
|
8566
|
+
/**
|
|
8567
|
+
* The tab list only reports a CHANGE of tab, so a click on the Custom Range tab that is already selected (an applied custom range whose
|
|
8568
|
+
* popover was closed) reopens the popover here.
|
|
8569
|
+
*/
|
|
8570
|
+
protected onPillsClick(e: Event): void;
|
|
8549
8571
|
selectPreset(key: DatePreset): void;
|
|
8550
8572
|
applyCustom(): void;
|
|
8551
8573
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerComponent, never>;
|
|
@@ -9340,7 +9362,7 @@ export declare class DetailCardComponent {
|
|
|
9340
9362
|
/** true (default) = the title is displayed in capitals (CSS only); false = shown as written. The text, aria-label and heading name are never changed. */
|
|
9341
9363
|
readonly uppercaseTitle: import("@angular/core").InputSignal<boolean>;
|
|
9342
9364
|
/** 1-6 makes the title a real heading for screen readers (role=heading, aria-level); null keeps it plain text. */
|
|
9343
|
-
readonly headingLevel: import("@angular/core").InputSignal<1 | 2 | 3 |
|
|
9365
|
+
readonly headingLevel: import("@angular/core").InputSignal<1 | 2 | 3 | 4 | 5 | 6 | null>;
|
|
9344
9366
|
/** Optional id for the title text; the card is then labelled by it. Without it the title is the card's aria-label. */
|
|
9345
9367
|
readonly titleId: import("@angular/core").InputSignal<string>;
|
|
9346
9368
|
/** Accessible name of the card when the header gives none (no header, or no title). A visible title wins; blank = no name. */
|
|
@@ -10944,6 +10966,12 @@ export declare class CalendarComponent {
|
|
|
10944
10966
|
}[]>;
|
|
10945
10967
|
/** The month-grid day holding the tab stop: the last focused one if it is on screen, else today, else the 1st of the anchor month. */
|
|
10946
10968
|
protected readonly focusDate: import("@angular/core").Signal<string>;
|
|
10969
|
+
/**
|
|
10970
|
+
* PageUp / PageDown target day waiting for the host's load: hosts show `loading` (the grid is replaced by the skeleton, which drops
|
|
10971
|
+
* focus), so the day is focused again once that loading cycle ends. Cleared by any other key or a pointer press.
|
|
10972
|
+
*/
|
|
10973
|
+
private pendingFocus;
|
|
10974
|
+
private pendingSawLoading;
|
|
10947
10975
|
constructor();
|
|
10948
10976
|
protected isFilterActive(value: string): boolean;
|
|
10949
10977
|
protected toggleFilter(value: string): void;
|