@forgeroute/ui 0.4.59 → 0.4.60
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/forgeroute-ui.mjs +56 -11
- package/fesm2022/forgeroute-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/forgeroute-ui.d.ts +31 -15
package/package.json
CHANGED
package/types/forgeroute-ui.d.ts
CHANGED
|
@@ -2260,7 +2260,7 @@ export declare class ModalComponent implements OnInit, OnDestroy {
|
|
|
2260
2260
|
readonly title: import("@angular/core").InputSignal<string>;
|
|
2261
2261
|
readonly description: import("@angular/core").InputSignal<string>;
|
|
2262
2262
|
readonly maxWidth: import("@angular/core").InputSignal<string>;
|
|
2263
|
-
readonly bodyOverflow: import("@angular/core").InputSignal<"hidden" | "
|
|
2263
|
+
readonly bodyOverflow: import("@angular/core").InputSignal<"hidden" | "visible" | "auto">;
|
|
2264
2264
|
/** `data-testid` of the dialog element itself (the host `<ui-modal>` is always in the page, the dialog only while open). None when empty. */
|
|
2265
2265
|
readonly dialogTestId: import("@angular/core").InputSignal<string>;
|
|
2266
2266
|
/** Hides the header X button (e.g. while a request is running). Escape and a backdrop click still close unless `closable` is false. */
|
|
@@ -2936,7 +2936,7 @@ export declare class CheckboxComponent implements ControlValueAccessor, Validato
|
|
|
2936
2936
|
* 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.
|
|
2937
2937
|
* Default null: plain label text, exactly as before. Single mode only.
|
|
2938
2938
|
*/
|
|
2939
|
-
readonly headingLevel: import("@angular/core").InputSignal<1 |
|
|
2939
|
+
readonly headingLevel: import("@angular/core").InputSignal<2 | 1 | 6 | 3 | 4 | 5 | null>;
|
|
2940
2940
|
readonly indeterminate: import("@angular/core").InputSignal<boolean>;
|
|
2941
2941
|
readonly checked: import("@angular/core").ModelSignal<boolean>;
|
|
2942
2942
|
/**
|
|
@@ -3847,7 +3847,7 @@ export declare class PhoneNumberPickerComponent {
|
|
|
3847
3847
|
protected readonly modeCtl: FormControl<string>;
|
|
3848
3848
|
protected readonly zipCtl: FormControl<string>;
|
|
3849
3849
|
protected readonly areaCtl: FormControl<string>;
|
|
3850
|
-
protected readonly step: import("@angular/core").WritableSignal<
|
|
3850
|
+
protected readonly step: import("@angular/core").WritableSignal<2 | 1 | 3>;
|
|
3851
3851
|
protected readonly mode: import("@angular/core").WritableSignal<PhoneNumberSearchMode>;
|
|
3852
3852
|
private readonly _zip;
|
|
3853
3853
|
private readonly _area;
|
|
@@ -3984,7 +3984,7 @@ export declare class ButtonComponent {
|
|
|
3984
3984
|
*/
|
|
3985
3985
|
readonly href: import("@angular/core").InputSignal<string | null>;
|
|
3986
3986
|
/** Where to open the `href` (`_blank` = a new tab). */
|
|
3987
|
-
readonly target: import("@angular/core").InputSignal<"
|
|
3987
|
+
readonly target: import("@angular/core").InputSignal<"_blank" | "_self" | "_parent" | "_top" | null>;
|
|
3988
3988
|
/** `rel` of the `href` link. A `_blank` target always gets `noopener noreferrer` added. */
|
|
3989
3989
|
readonly rel: import("@angular/core").InputSignal<string | null>;
|
|
3990
3990
|
/** The href when it is allowed (http, https, mailto, tel, sms or a relative URL), else null. */
|
|
@@ -4009,7 +4009,7 @@ export declare class ButtonComponent {
|
|
|
4009
4009
|
readonly color: import("@angular/core").InputSignal<string | undefined>;
|
|
4010
4010
|
readonly active: import("@angular/core").InputSignal<boolean>;
|
|
4011
4011
|
readonly size: import("@angular/core").InputSignal<"sm" | "md" | "lg" | "xs">;
|
|
4012
|
-
readonly type: import("@angular/core").InputSignal<"
|
|
4012
|
+
readonly type: import("@angular/core").InputSignal<"reset" | "submit" | "button">;
|
|
4013
4013
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
4014
4014
|
readonly loading: import("@angular/core").InputSignal<boolean>;
|
|
4015
4015
|
readonly fullWidth: import("@angular/core").InputSignal<boolean>;
|
|
@@ -4948,7 +4948,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
|
|
|
4948
4948
|
readonly passwordRequirements: import("@angular/core").InputSignal<boolean>;
|
|
4949
4949
|
/** Rules for `passwordRequirements`; default = the library's five rules (8+ characters, upper, lower, digit, special). */
|
|
4950
4950
|
readonly passwordRules: import("@angular/core").InputSignal<readonly PasswordRule[] | undefined>;
|
|
4951
|
-
readonly type: import("@angular/core").InputSignal<"number" | "
|
|
4951
|
+
readonly type: import("@angular/core").InputSignal<"number" | "tel" | "text" | "email" | "password" | "url">;
|
|
4952
4952
|
readonly maxlength: import("@angular/core").InputSignal<number | undefined>;
|
|
4953
4953
|
readonly required: import("@angular/core").InputSignal<boolean>;
|
|
4954
4954
|
readonly autocomplete: import("@angular/core").InputSignal<string>;
|
|
@@ -4957,7 +4957,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
|
|
|
4957
4957
|
* `search`, `text`, `none`). Empty (default) = the browser's default for the field, except `type="tel"`, which keeps `tel`.
|
|
4958
4958
|
* It only picks the keyboard; it does not restrict what can be typed or pasted.
|
|
4959
4959
|
*/
|
|
4960
|
-
readonly inputmode: import("@angular/core").InputSignal<"" | "
|
|
4960
|
+
readonly inputmode: import("@angular/core").InputSignal<"" | "tel" | "search" | "text" | "none" | "email" | "url" | "decimal" | "numeric">;
|
|
4961
4961
|
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
4962
4962
|
readonly hint: import("@angular/core").InputSignal<string>;
|
|
4963
4963
|
/** Id(s) of an external element that also describes this control (e.g. one shared error text for a group of fields). Space separated; MERGED after the control's own hint / error id in `aria-describedby`, never replacing it. Empty = unchanged. */
|
|
@@ -5023,7 +5023,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
|
|
|
5023
5023
|
protected readonly _stepAttr: import("@angular/core").Signal<string | null>;
|
|
5024
5024
|
protected readonly _revealable: import("@angular/core").Signal<boolean>;
|
|
5025
5025
|
protected readonly _shown: import("@angular/core").WritableSignal<boolean>;
|
|
5026
|
-
protected readonly _inputType: import("@angular/core").Signal<"number" | "
|
|
5026
|
+
protected readonly _inputType: import("@angular/core").Signal<"number" | "tel" | "text" | "email" | "password" | "url">;
|
|
5027
5027
|
protected readonly _eyePath: string;
|
|
5028
5028
|
protected readonly _eyeOffPath: string;
|
|
5029
5029
|
protected readonly _showRequirements: import("@angular/core").Signal<boolean>;
|
|
@@ -6728,7 +6728,7 @@ export declare class FormSectionComponent {
|
|
|
6728
6728
|
}, {}, never, ["*"], true, never>;
|
|
6729
6729
|
}
|
|
6730
6730
|
export declare class FormRowComponent {
|
|
6731
|
-
readonly cols: import("@angular/core").InputSignal<
|
|
6731
|
+
readonly cols: import("@angular/core").InputSignal<2 | 1 | 3 | 4>;
|
|
6732
6732
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormRowComponent, never>;
|
|
6733
6733
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormRowComponent, "ui-form-row", never, {
|
|
6734
6734
|
"cols": {
|
|
@@ -6745,7 +6745,7 @@ export declare class FormRowComponent {
|
|
|
6745
6745
|
* child simply takes the full width. Keep a numeric span within the row's `cols` (use `all` for the whole row).
|
|
6746
6746
|
*/
|
|
6747
6747
|
export declare class FormColSpanDirective {
|
|
6748
|
-
readonly uiColSpan: import("@angular/core").InputSignal<"" | 2 |
|
|
6748
|
+
readonly uiColSpan: import("@angular/core").InputSignal<"" | 2 | "2" | "3" | 3 | "all">;
|
|
6749
6749
|
protected readonly _class: import("@angular/core").Signal<string>;
|
|
6750
6750
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormColSpanDirective, never>;
|
|
6751
6751
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FormColSpanDirective, "[uiColSpan]", never, {
|
|
@@ -7364,8 +7364,10 @@ export declare class ListComponent<T = unknown> {
|
|
|
7364
7364
|
/** Announcement after a move; receives the row label, the new position (1-based) and the list size. */
|
|
7365
7365
|
readonly moveAnnouncement: import("@angular/core").InputSignal<(label: string, position: number, total: number) => string>;
|
|
7366
7366
|
/** Fires with the new array when the user moves a row (`[(items)]`). The list does not change `items` itself. */
|
|
7367
|
-
/**
|
|
7367
|
+
/** Makes the row open something: a click or Enter on the row (not on a button or link inside it) emits `itemClick`; the arrow only shows with `[arrow]="true"`. Default false: rows are not clickable. */
|
|
7368
7368
|
readonly navigable: import("@angular/core").InputSignal<boolean>;
|
|
7369
|
+
/** The arrow at the end of each row, drawn only with `[navigable]`. Default false (hidden): not every clickable list wants one. `[navigable]` alone keeps the click / Enter / focus behaviour; add `[arrow]="true"` to show it. */
|
|
7370
|
+
readonly arrow: import("@angular/core").InputSignal<boolean>;
|
|
7369
7371
|
/** The row of `[navigable]` that was clicked (or Enter was pressed on). */
|
|
7370
7372
|
readonly itemClick: import("@angular/core").OutputEmitterRef<T>;
|
|
7371
7373
|
readonly itemsChange: import("@angular/core").OutputEmitterRef<T[]>;
|
|
@@ -7502,6 +7504,11 @@ export declare class ListComponent<T = unknown> {
|
|
|
7502
7504
|
"required": false;
|
|
7503
7505
|
"isSignal": true;
|
|
7504
7506
|
};
|
|
7507
|
+
"arrow": {
|
|
7508
|
+
"alias": "arrow";
|
|
7509
|
+
"required": false;
|
|
7510
|
+
"isSignal": true;
|
|
7511
|
+
};
|
|
7505
7512
|
}, {
|
|
7506
7513
|
"itemClick": "itemClick";
|
|
7507
7514
|
"itemsChange": "itemsChange";
|
|
@@ -7693,13 +7700,15 @@ export interface PanelInfoSection {
|
|
|
7693
7700
|
* A small secondary button at the end of the section's header bar (e.g. "Add item" for a list of line items). `action` runs on
|
|
7694
7701
|
* click; `ariaLabel` is the accessible name when the visible label is not enough (default: the label). The header bar is shown
|
|
7695
7702
|
* for a section with a `headerAction` even when it has no `title`. Not rendered for a section with no visible items unless
|
|
7696
|
-
* `showEmptyState` keeps the section.
|
|
7703
|
+
* `showEmptyState` keeps the section. `icon` is an optional SVG path (the `d` value, 24x24 grid, same convention as a toolbar action's
|
|
7704
|
+
* `icon`) drawn before the label; it is decorative, so the accessible name stays the label / `ariaLabel`.
|
|
7697
7705
|
*/
|
|
7698
7706
|
headerAction?: {
|
|
7699
7707
|
label: string;
|
|
7700
7708
|
action: () => void;
|
|
7701
7709
|
ariaLabel?: string;
|
|
7702
7710
|
disabled?: boolean;
|
|
7711
|
+
icon?: string;
|
|
7703
7712
|
};
|
|
7704
7713
|
items: PanelInfoItem[];
|
|
7705
7714
|
columns?: 2;
|
|
@@ -9791,7 +9800,7 @@ export declare class DetailCardComponent {
|
|
|
9791
9800
|
/** true (default) = the title is displayed in capitals (CSS only); false = shown as written. The text, aria-label and heading name are never changed. */
|
|
9792
9801
|
readonly uppercaseTitle: import("@angular/core").InputSignal<boolean>;
|
|
9793
9802
|
/** 1-6 makes the title a real heading for screen readers (role=heading, aria-level); null keeps it plain text. */
|
|
9794
|
-
readonly headingLevel: import("@angular/core").InputSignal<1 |
|
|
9803
|
+
readonly headingLevel: import("@angular/core").InputSignal<2 | 1 | 6 | 3 | 4 | 5 | null>;
|
|
9795
9804
|
/** Optional id for the title text; the card is then labelled by it. Without it the title is the card's aria-label. */
|
|
9796
9805
|
readonly titleId: import("@angular/core").InputSignal<string>;
|
|
9797
9806
|
/** Accessible name of the card when the header gives none (no header, or no title). A visible title wins; blank = no name. */
|
|
@@ -12234,7 +12243,7 @@ export declare class SetupWizardComponent {
|
|
|
12234
12243
|
protected customHintId(): string;
|
|
12235
12244
|
protected readonly importBlocked: import("@angular/core").Signal<boolean>;
|
|
12236
12245
|
/** The step's own two parts (`splitLayout`) show as two tabs, one card at a time; this is the open one (it starts on the app's part on every visit). */
|
|
12237
|
-
protected readonly splitTab: import("@angular/core").WritableSignal<"
|
|
12246
|
+
protected readonly splitTab: import("@angular/core").WritableSignal<"extra" | "main">;
|
|
12238
12247
|
protected readonly splitTabs: import("@angular/core").Signal<{
|
|
12239
12248
|
key: string;
|
|
12240
12249
|
label: string;
|
|
@@ -13270,7 +13279,7 @@ export declare function conversationMessageStatusMark(status: string | null | un
|
|
|
13270
13279
|
* shows "Load earlier messages" while `[hasEarlier]` (`(loadEarlier)`); a failed thread load shows `[messagesError]` with Retry (`(messagesRetry)`).
|
|
13271
13280
|
*
|
|
13272
13281
|
* Test ids: conversations, conv-search, conv-filters, new-message-btn, conv-loading, conv-error, conv-retry, conv-empty, conv-item, conv-unread,
|
|
13273
|
-
* conv-delete-btn, thread-empty, thread-error, thread-retry, load-earlier, msg-sender, msg-action, back-to-list, thread-name, thread-phone, use-template-btn, context-toggle, status-btn, thread-delete-btn,
|
|
13282
|
+
* conv-arrow, conv-delete-btn, thread-empty, thread-error, thread-retry, load-earlier, msg-sender, msg-action, back-to-list, thread-name, thread-phone, use-template-btn, context-toggle, status-btn, thread-delete-btn,
|
|
13274
13283
|
* messages, messages-loading, messages-empty, message, msg-status, attach-btn, attach-input, attachment-preview, attachment-remove,
|
|
13275
13284
|
* compose-input, send-btn, compose-opted-out, compose-loading-contact, context-panel, context-close.
|
|
13276
13285
|
*/
|
|
@@ -13311,6 +13320,8 @@ export declare class ConversationsComponent {
|
|
|
13311
13320
|
readonly allowNew: import("@angular/core").InputSignal<boolean>;
|
|
13312
13321
|
/** Shows the bins (row and thread header) for a writer. `false` for a host that cannot delete conversations. */
|
|
13313
13322
|
readonly allowDelete: import("@angular/core").InputSignal<boolean>;
|
|
13323
|
+
/** The arrow at the end of each conversation row, drawn inside the row so its highlight covers it. Default false (hidden); `true` where the arrow helps (rows that open a thread on a phone). */
|
|
13324
|
+
readonly showRowArrow: import("@angular/core").InputSignal<boolean>;
|
|
13314
13325
|
readonly newLabel: import("@angular/core").InputSignal<string>;
|
|
13315
13326
|
readonly newTooltip: import("@angular/core").InputSignal<string>;
|
|
13316
13327
|
readonly deleteRowLabel: import("@angular/core").InputSignal<string>;
|
|
@@ -13584,6 +13595,11 @@ export declare class ConversationsComponent {
|
|
|
13584
13595
|
"required": false;
|
|
13585
13596
|
"isSignal": true;
|
|
13586
13597
|
};
|
|
13598
|
+
"showRowArrow": {
|
|
13599
|
+
"alias": "showRowArrow";
|
|
13600
|
+
"required": false;
|
|
13601
|
+
"isSignal": true;
|
|
13602
|
+
};
|
|
13587
13603
|
"newLabel": {
|
|
13588
13604
|
"alias": "newLabel";
|
|
13589
13605
|
"required": false;
|