@forgeroute/ui 0.4.86 → 0.4.88
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-offline.mjs +99 -18
- package/fesm2022/forgeroute-ui-offline.mjs.map +1 -1
- package/fesm2022/{forgeroute-ui-ui-labels.es-CioAOUhm.mjs → forgeroute-ui-ui-labels.es-Hp0NTuG7.mjs} +6 -1
- package/fesm2022/forgeroute-ui-ui-labels.es-Hp0NTuG7.mjs.map +1 -0
- package/fesm2022/forgeroute-ui.mjs +153 -12
- package/fesm2022/forgeroute-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/forgeroute-ui-offline.d.ts +33 -2
- package/types/forgeroute-ui.d.ts +77 -20
- package/fesm2022/forgeroute-ui-ui-labels.es-CioAOUhm.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -825,6 +825,11 @@ interface BannerView {
|
|
|
825
825
|
* changes, so screen readers announce every change; the visible bar is ordinary content that mirrors the same words. The bar is
|
|
826
826
|
* `position: sticky; top: 0` inside the page flow, so it never covers content, and sits below modals / side panels.
|
|
827
827
|
*
|
|
828
|
+
* A page that REFUSES writes while offline (a public shop: payment needs a connection and nothing is saved on the device) sets `[queues]="false"`
|
|
829
|
+
* (library source 2026-11-10, NOT yet published): the texts then never mention saving on the device or sending later, "View changes" / "Sync now" /
|
|
830
|
+
* the waiting count and the sync states are not shown, "What can I do?" appears only when the app passed `infoOffline` / `infoNeedsConnection`
|
|
831
|
+
* (only the lists the app passed), and coming back online flashes the neutral "You're back online" (3 s). It needs no signed-in user.
|
|
832
|
+
*
|
|
828
833
|
* Test ids: connection-banner, connection-banner-live, connection-banner-live-alert, connection-banner-title, connection-banner-message,
|
|
829
834
|
* connection-banner-detail, connection-banner-sync-now, connection-banner-view, connection-banner-info-toggle, connection-banner-info-panel,
|
|
830
835
|
* connection-banner-info-hide.
|
|
@@ -838,6 +843,11 @@ export declare class ConnectionBannerComponent {
|
|
|
838
843
|
readonly infoOffline: import("@angular/core").InputSignal<readonly string[] | null>;
|
|
839
844
|
/** What needs a connection (app specific, should match what the app really blocks). Default: a generic list. */
|
|
840
845
|
readonly infoNeedsConnection: import("@angular/core").InputSignal<readonly string[] | null>;
|
|
846
|
+
/**
|
|
847
|
+
* True (default): the page saves writes on the device while offline and sends them later (today's behaviour, unchanged). False: the page
|
|
848
|
+
* refuses writes while offline and saves nothing - honest texts, no queue controls (see the class comment). Library source 2026-11-10, NOT yet published.
|
|
849
|
+
*/
|
|
850
|
+
readonly queues: import("@angular/core").InputSignal<boolean>;
|
|
841
851
|
/** The user pressed "View changes" - the app opens `<ui-pending-changes-drawer>`. */
|
|
842
852
|
readonly viewChanges: import("@angular/core").OutputEmitterRef<void>;
|
|
843
853
|
protected readonly panelId: string;
|
|
@@ -850,8 +860,12 @@ export declare class ConnectionBannerComponent {
|
|
|
850
860
|
private seenTick;
|
|
851
861
|
private flashPending;
|
|
852
862
|
private wasSyncing;
|
|
863
|
+
private prevState;
|
|
853
864
|
protected readonly canDoItems: import("@angular/core").Signal<readonly string[]>;
|
|
854
865
|
protected readonly needsItems: import("@angular/core").Signal<readonly string[]>;
|
|
866
|
+
/** With `queues` the two default lists always show; without it only the lists the app passed (the generic defaults talk about saved changes). */
|
|
867
|
+
protected readonly showCanDo: import("@angular/core").Signal<boolean>;
|
|
868
|
+
protected readonly showNeeds: import("@angular/core").Signal<boolean>;
|
|
855
869
|
private count;
|
|
856
870
|
protected readonly view: import("@angular/core").Signal<BannerView | null>;
|
|
857
871
|
/** Set when a "Sync now" call was rejected: said politely in the status region (nothing is lost, the changes stay saved). */
|
|
@@ -880,6 +894,11 @@ export declare class ConnectionBannerComponent {
|
|
|
880
894
|
"required": false;
|
|
881
895
|
"isSignal": true;
|
|
882
896
|
};
|
|
897
|
+
"queues": {
|
|
898
|
+
"alias": "queues";
|
|
899
|
+
"required": false;
|
|
900
|
+
"isSignal": true;
|
|
901
|
+
};
|
|
883
902
|
}, {
|
|
884
903
|
"viewChanges": "viewChanges";
|
|
885
904
|
}, never, never, true, never>;
|
|
@@ -981,7 +1000,9 @@ export declare class StaleDataChipComponent {
|
|
|
981
1000
|
*
|
|
982
1001
|
* The host keeps its own button disabled while `active`. The text appears only after `delayMs` (default 4 s) of continuous
|
|
983
1002
|
* `active`, disappears at once when `active` turns false, and sits in a polite live region that exists from the first render
|
|
984
|
-
* (so screen readers announce the text when it appears).
|
|
1003
|
+
* (so screen readers announce the text when it appears). `text` (optional, library source 2026-11-10, NOT yet published) replaces the label:
|
|
1004
|
+
* `<ui-still-working [active]="paying()" [delayMs]="4000" text="Please do not close or refresh this page, we are finishing your payment." />`.
|
|
1005
|
+
* Test id: still-working.
|
|
985
1006
|
*/
|
|
986
1007
|
export declare class StillWorkingComponent {
|
|
987
1008
|
private readonly labels;
|
|
@@ -989,8 +1010,13 @@ export declare class StillWorkingComponent {
|
|
|
989
1010
|
readonly active: import("@angular/core").InputSignal<boolean>;
|
|
990
1011
|
/** Milliseconds of continuous `active` before the text appears. */
|
|
991
1012
|
readonly delayMs: import("@angular/core").InputSignal<number>;
|
|
1013
|
+
/**
|
|
1014
|
+
* Optional text shown instead of the library label (already translated by the app), e.g. the pay step: "Please do not close or refresh this
|
|
1015
|
+
* page, we are finishing your payment." Empty or whitespace only = the library label, as before. Library source 2026-11-10, NOT yet published.
|
|
1016
|
+
*/
|
|
1017
|
+
readonly text: import("@angular/core").InputSignal<string>;
|
|
992
1018
|
private readonly elapsed;
|
|
993
|
-
protected readonly
|
|
1019
|
+
protected readonly shown: import("@angular/core").Signal<string>;
|
|
994
1020
|
constructor();
|
|
995
1021
|
static ɵfac: i0.ɵɵFactoryDeclaration<StillWorkingComponent, never>;
|
|
996
1022
|
static ɵcmp: i0.ɵɵComponentDeclaration<StillWorkingComponent, "ui-still-working", never, {
|
|
@@ -1004,5 +1030,10 @@ export declare class StillWorkingComponent {
|
|
|
1004
1030
|
"required": false;
|
|
1005
1031
|
"isSignal": true;
|
|
1006
1032
|
};
|
|
1033
|
+
"text": {
|
|
1034
|
+
"alias": "text";
|
|
1035
|
+
"required": false;
|
|
1036
|
+
"isSignal": true;
|
|
1037
|
+
};
|
|
1007
1038
|
}, {}, never, never, true, never>;
|
|
1008
1039
|
}
|
package/types/forgeroute-ui.d.ts
CHANGED
|
@@ -1047,6 +1047,7 @@ export declare const UI_DEFAULT_LABELS: {
|
|
|
1047
1047
|
readonly 'fileInput.placeholder': "No file chosen";
|
|
1048
1048
|
readonly 'fileInput.removeLabel': "Remove";
|
|
1049
1049
|
readonly 'fixedFooter.ariaLabel': "Page actions";
|
|
1050
|
+
readonly 'skipLink.ariaLabel': "Skip links";
|
|
1050
1051
|
readonly 'imageGallery.ariaLabel': "Image gallery";
|
|
1051
1052
|
readonly 'imageGalleryDialog.closeLabel': "Close";
|
|
1052
1053
|
readonly 'imageGalleryDialog.galleryLabel': "Image gallery";
|
|
@@ -2138,6 +2139,10 @@ export declare const UI_DEFAULT_LABELS: {
|
|
|
2138
2139
|
readonly 'connection.whatCanIDo': "What can I do?";
|
|
2139
2140
|
readonly 'connection.hide': "Hide";
|
|
2140
2141
|
readonly 'connection.savedOnDevice': "Saved on this device — will send when you're back online.";
|
|
2142
|
+
readonly 'connection.offline.noQueue.message': "This page needs a connection to continue. What you have entered stays on this page.";
|
|
2143
|
+
readonly 'connection.unreachable.noQueue.message': "We'll keep trying. What you have entered stays on this page.";
|
|
2144
|
+
readonly 'connection.slow.noQueue.message': "Things may take longer. Please wait and don't tap twice.";
|
|
2145
|
+
readonly 'connection.backOnline': "You're back online";
|
|
2141
2146
|
readonly 'connection.stillWorking': "Still working… please don't tap again.";
|
|
2142
2147
|
readonly 'connection.timeout.read': "This is taking too long. Check your connection and try again.";
|
|
2143
2148
|
readonly 'connection.thisAction': "This action";
|
|
@@ -4220,7 +4225,7 @@ export declare class SidePanelComponent implements OnDestroy {
|
|
|
4220
4225
|
readonly cancelLabel: import("@angular/core").Signal<string>;
|
|
4221
4226
|
/** Right-aligned primary action button label. Empty string = hidden. */
|
|
4222
4227
|
readonly primaryLabel: import("@angular/core").InputSignal<string>;
|
|
4223
|
-
readonly primaryVariant: import("@angular/core").InputSignal<"
|
|
4228
|
+
readonly primaryVariant: import("@angular/core").InputSignal<"warning" | "primary" | "danger">;
|
|
4224
4229
|
readonly primaryLoading: import("@angular/core").InputSignal<boolean>;
|
|
4225
4230
|
readonly primaryDisabled: import("@angular/core").InputSignal<boolean>;
|
|
4226
4231
|
/** `data-testid` of the Cancel button; none when empty (default). */
|
|
@@ -5105,7 +5110,7 @@ export declare class TooltipDirective {
|
|
|
5105
5110
|
/** Tooltip text; empty or null disables the tooltip. */
|
|
5106
5111
|
readonly uiTooltip: import("@angular/core").InputSignal<string | null | undefined>;
|
|
5107
5112
|
/** Preferred side; flips to the other side when there is no room. */
|
|
5108
|
-
readonly tooltipPosition: import("@angular/core").InputSignal<"
|
|
5113
|
+
readonly tooltipPosition: import("@angular/core").InputSignal<"top" | "bottom">;
|
|
5109
5114
|
private readonly host;
|
|
5110
5115
|
private readonly doc;
|
|
5111
5116
|
private bubble;
|
|
@@ -5873,7 +5878,7 @@ export declare class StepperComponent {
|
|
|
5873
5878
|
* its circle, one continuous line behind the circles that fills as steps complete; a complete step shows a check, the current step an
|
|
5874
5879
|
* accent ring with a dot, an upcoming step an empty circle (no numbers). Circles are 40px (32px with `size="sm"`).
|
|
5875
5880
|
*/
|
|
5876
|
-
readonly labelPosition: import("@angular/core").InputSignal<"
|
|
5881
|
+
readonly labelPosition: import("@angular/core").InputSignal<"below" | "beside">;
|
|
5877
5882
|
/** Viewport width in px below which a horizontal stepper is drawn vertical (labels beside the circles), e.g. `640`. null (default) = never. */
|
|
5878
5883
|
readonly stackBelow: import("@angular/core").InputSignal<number | null>;
|
|
5879
5884
|
/** CSS length (e.g. `10.5rem`): horizontal only - the list gets `min-width: calc(<step count> * <value>)`. Empty (default) = no minimum. */
|
|
@@ -5905,7 +5910,7 @@ export declare class StepperComponent {
|
|
|
5905
5910
|
protected readonly rows: import("@angular/core").Signal<{
|
|
5906
5911
|
step: StepperStep;
|
|
5907
5912
|
index: number;
|
|
5908
|
-
state: "
|
|
5913
|
+
state: "current" | "complete" | "upcoming";
|
|
5909
5914
|
error: boolean;
|
|
5910
5915
|
errorMessage: string;
|
|
5911
5916
|
selectable: boolean;
|
|
@@ -6535,7 +6540,7 @@ export declare class ButtonComponent {
|
|
|
6535
6540
|
* `ghost-start`: a ghost button for list / section toggles - a full-width row with its content aligned to the start, transparent
|
|
6536
6541
|
* background, hover tint and the normal focus ring. Pair it with `ariaExpanded` / `ariaPressed`; the label may contain a heading element.
|
|
6537
6542
|
*/
|
|
6538
|
-
readonly variant: import("@angular/core").InputSignal<"
|
|
6543
|
+
readonly variant: import("@angular/core").InputSignal<"warning" | "link" | "primary" | "danger" | "secondary" | "ghost" | "ghost-start" | "tab" | "icon" | "icon-danger">;
|
|
6539
6544
|
/** 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`). */
|
|
6540
6545
|
readonly routerLink: import("@angular/core").InputSignal<string | readonly unknown[] | null>;
|
|
6541
6546
|
/** Query params of the `routerLink` (e.g. `{ section: 'deal-defaults' }`). */
|
|
@@ -6556,7 +6561,7 @@ export declare class ButtonComponent {
|
|
|
6556
6561
|
*/
|
|
6557
6562
|
readonly href: import("@angular/core").InputSignal<string | null>;
|
|
6558
6563
|
/** Where to open the `href` (`_blank` = a new tab). */
|
|
6559
|
-
readonly target: import("@angular/core").InputSignal<"
|
|
6564
|
+
readonly target: import("@angular/core").InputSignal<"_blank" | "_self" | "_parent" | "_top" | null>;
|
|
6560
6565
|
/** `rel` of the `href` link. A `_blank` target always gets `noopener noreferrer` added. */
|
|
6561
6566
|
readonly rel: import("@angular/core").InputSignal<string | null>;
|
|
6562
6567
|
/** The href when it is allowed (http, https, mailto, tel, sms or a relative URL), else null. */
|
|
@@ -6580,8 +6585,8 @@ export declare class ButtonComponent {
|
|
|
6580
6585
|
private readonly _narrow;
|
|
6581
6586
|
readonly color: import("@angular/core").InputSignal<string | undefined>;
|
|
6582
6587
|
readonly active: import("@angular/core").InputSignal<boolean>;
|
|
6583
|
-
readonly size: import("@angular/core").InputSignal<"
|
|
6584
|
-
readonly type: import("@angular/core").InputSignal<"
|
|
6588
|
+
readonly size: import("@angular/core").InputSignal<"xs" | "sm" | "md" | "lg">;
|
|
6589
|
+
readonly type: import("@angular/core").InputSignal<"button" | "reset" | "submit">;
|
|
6585
6590
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
6586
6591
|
readonly loading: import("@angular/core").InputSignal<boolean>;
|
|
6587
6592
|
readonly fullWidth: import("@angular/core").InputSignal<boolean>;
|
|
@@ -7224,7 +7229,7 @@ export declare class ImportSourceGridComponent {
|
|
|
7224
7229
|
/** The `value` of the picked source (highlighted). `tile` only: the `card` appearance does not keep a selection. */
|
|
7225
7230
|
readonly selected: import("@angular/core").InputSignal<string>;
|
|
7226
7231
|
/** `tile`: the compact buttons of the import window. `card`: one `ui-detail-card` per source with its own select button (used on a page). */
|
|
7227
|
-
readonly appearance: import("@angular/core").InputSignal<"
|
|
7232
|
+
readonly appearance: import("@angular/core").InputSignal<"tile" | "card">;
|
|
7228
7233
|
/** `card`: disables every card's button (for example while the page is saving). */
|
|
7229
7234
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
7230
7235
|
/** `card`: the text of each card's button. */
|
|
@@ -7712,7 +7717,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
|
|
|
7712
7717
|
readonly passwordRequirements: import("@angular/core").InputSignal<boolean>;
|
|
7713
7718
|
/** Rules for `passwordRequirements`; default = the library's five rules (8+ characters, upper, lower, digit, special). */
|
|
7714
7719
|
readonly passwordRules: import("@angular/core").InputSignal<readonly PasswordRule[] | undefined>;
|
|
7715
|
-
readonly type: import("@angular/core").InputSignal<"number" | "email" | "text" | "
|
|
7720
|
+
readonly type: import("@angular/core").InputSignal<"number" | "email" | "text" | "password" | "tel" | "url">;
|
|
7716
7721
|
readonly maxlength: import("@angular/core").InputSignal<number | undefined>;
|
|
7717
7722
|
readonly required: import("@angular/core").InputSignal<boolean>;
|
|
7718
7723
|
readonly autocomplete: import("@angular/core").InputSignal<string>;
|
|
@@ -7721,7 +7726,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
|
|
|
7721
7726
|
* `search`, `text`, `none`). Empty (default) = the browser's default for the field, except `type="tel"`, which keeps `tel`.
|
|
7722
7727
|
* It only picks the keyboard; it does not restrict what can be typed or pasted.
|
|
7723
7728
|
*/
|
|
7724
|
-
readonly inputmode: import("@angular/core").InputSignal<"" | "
|
|
7729
|
+
readonly inputmode: import("@angular/core").InputSignal<"" | "email" | "text" | "decimal" | "none" | "search" | "tel" | "url" | "numeric">;
|
|
7725
7730
|
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
7726
7731
|
readonly hint: import("@angular/core").InputSignal<string>;
|
|
7727
7732
|
/** 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. */
|
|
@@ -7793,7 +7798,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
|
|
|
7793
7798
|
protected readonly _stepAttr: import("@angular/core").Signal<string | null>;
|
|
7794
7799
|
protected readonly _revealable: import("@angular/core").Signal<boolean>;
|
|
7795
7800
|
protected readonly _shown: import("@angular/core").WritableSignal<boolean>;
|
|
7796
|
-
protected readonly _inputType: import("@angular/core").Signal<"number" | "email" | "text" | "
|
|
7801
|
+
protected readonly _inputType: import("@angular/core").Signal<"number" | "email" | "text" | "password" | "tel" | "url">;
|
|
7797
7802
|
protected readonly _eyePath: string;
|
|
7798
7803
|
protected readonly _eyeOffPath: string;
|
|
7799
7804
|
protected readonly _showRequirements: import("@angular/core").Signal<boolean>;
|
|
@@ -9530,6 +9535,8 @@ export interface DropdownItem {
|
|
|
9530
9535
|
disabled?: boolean;
|
|
9531
9536
|
/** Optional 14px icon before the label: an SVG path (the `d` value, like a toolbar action's `icon`). Decorative (hidden from assistive tech). */
|
|
9532
9537
|
icon?: string;
|
|
9538
|
+
/** Optional smaller, muted second line under the label (e.g. what the choice does). Read by assistive technology as the item's description, not as part of its name. Plain text. */
|
|
9539
|
+
description?: string;
|
|
9533
9540
|
}
|
|
9534
9541
|
/** Which edge of the trigger the menu lines up with: `auto` (default) opens from the trigger's left edge and switches to its right edge when the menu would run off the right of the screen. */
|
|
9535
9542
|
export type DropdownAlign = 'auto' | 'start' | 'end';
|
|
@@ -9541,7 +9548,7 @@ export declare class DropdownComponent {
|
|
|
9541
9548
|
readonly loader: import("@angular/core").InputSignal<(() => Promise<DropdownItem[]>) | null>;
|
|
9542
9549
|
readonly active: import("@angular/core").InputSignal<boolean>;
|
|
9543
9550
|
readonly activeValue: import("@angular/core").InputSignal<string>;
|
|
9544
|
-
readonly variant: import("@angular/core").InputSignal<"
|
|
9551
|
+
readonly variant: import("@angular/core").InputSignal<"button" | "badge">;
|
|
9545
9552
|
/** Trigger size for `variant="button"`: `sm` (default, the compact toolbar look) or `md` (same padding and type as a medium `ui-button`). */
|
|
9546
9553
|
readonly size: import("@angular/core").InputSignal<"sm" | "md">;
|
|
9547
9554
|
readonly menuWidth: import("@angular/core").InputSignal<string>;
|
|
@@ -11190,9 +11197,9 @@ export declare class ChipGroupComponent {
|
|
|
11190
11197
|
readonly spaceAbove: import("@angular/core").InputSignal<"none" | "sm" | "md">;
|
|
11191
11198
|
/** Space below the chip group. */
|
|
11192
11199
|
readonly spaceBelow: import("@angular/core").InputSignal<"none" | "sm" | "md">;
|
|
11193
|
-
protected readonly _gap: import("@angular/core").Signal<"
|
|
11194
|
-
protected readonly _spaceAbove: import("@angular/core").Signal<"0" | "
|
|
11195
|
-
protected readonly _spaceBelow: import("@angular/core").Signal<"0" | "
|
|
11200
|
+
protected readonly _gap: import("@angular/core").Signal<"8px" | "12px" | "6px">;
|
|
11201
|
+
protected readonly _spaceAbove: import("@angular/core").Signal<"0" | "12px" | "6px">;
|
|
11202
|
+
protected readonly _spaceBelow: import("@angular/core").Signal<"0" | "12px" | "6px">;
|
|
11196
11203
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipGroupComponent, never>;
|
|
11197
11204
|
static ɵcmp: i0.ɵɵComponentDeclaration<ChipGroupComponent, "ui-chip-group", never, {
|
|
11198
11205
|
"gap": {
|
|
@@ -12115,7 +12122,7 @@ export declare class AddressInputComponent implements ControlValueAccessor, Vali
|
|
|
12115
12122
|
* the object. `valueChange` always emits the object. A written string is read with `parseAddressValue` for display only: the control keeps
|
|
12116
12123
|
* the original text until the user edits a field (so a text the parser cannot split is not rewritten on load).
|
|
12117
12124
|
*/
|
|
12118
|
-
readonly valueFormat: import("@angular/core").InputSignal<"object" | "
|
|
12125
|
+
readonly valueFormat: import("@angular/core").InputSignal<"object" | "text" | "auto">;
|
|
12119
12126
|
/** ZIP rule; the default is the US 5 digits / 5+4 rule. `null` accepts any non-empty ZIP. The ZIP is validated and stored trimmed. */
|
|
12120
12127
|
readonly zipPattern: import("@angular/core").InputSignal<RegExp | null>;
|
|
12121
12128
|
/** Message shown when the ZIP breaks `zipPattern`. */
|
|
@@ -13964,7 +13971,7 @@ export declare class PdfHotspotComponent {
|
|
|
13964
13971
|
/** `ready`: clickable; `blocked`: disabled (a prerequisite is missing); `signed`: shows `image`. */
|
|
13965
13972
|
readonly state: import("@angular/core").InputSignal<"ready" | "blocked" | "signed">;
|
|
13966
13973
|
/** `warning` gives the ready state an amber look (e.g. for initials), default is blue. */
|
|
13967
|
-
readonly tone: import("@angular/core").InputSignal<"
|
|
13974
|
+
readonly tone: import("@angular/core").InputSignal<"warning" | "primary">;
|
|
13968
13975
|
/** Text of the ready button (e.g. "Sign Here"). */
|
|
13969
13976
|
readonly labelInput: import("@angular/core").InputSignal<string | null>;
|
|
13970
13977
|
readonly label: import("@angular/core").Signal<string>;
|
|
@@ -14389,6 +14396,56 @@ export declare class FixedFooterComponent {
|
|
|
14389
14396
|
};
|
|
14390
14397
|
}, {}, never, ["*"], true, never>;
|
|
14391
14398
|
}
|
|
14399
|
+
/**
|
|
14400
|
+
* "Skip to main content" link for a page that is NOT inside `ui-app-shell` (a public page, a standalone flow). Put it as the FIRST element of the page:
|
|
14401
|
+
*
|
|
14402
|
+
* <ui-skip-link target="shop-main" />
|
|
14403
|
+
* ...
|
|
14404
|
+
* <main id="shop-main"> ... </main>
|
|
14405
|
+
*
|
|
14406
|
+
* It is a real link (`<a href="#target">`, so it works as a link for assistive technology and with a middle-click) and sits inside its own named
|
|
14407
|
+
* `navigation` landmark ("Skip links"), so no content is outside a landmark. It is off screen until it receives keyboard focus. Activating it does not
|
|
14408
|
+
* change the URL (the app uses the router): it moves focus to the element with the target id (giving it `tabindex="-1"` when it has none) and scrolls it
|
|
14409
|
+
* into view. An unknown target does nothing. `ui-app-shell` keeps its own skip link.
|
|
14410
|
+
*
|
|
14411
|
+
* Inputs: `target` (element id, default `main-content`), `label` (default: the translated "Skip to main content"), `ariaLabel` (the landmark's name, default "Skip links").
|
|
14412
|
+
* Output: `activated` (the target id, when focus was moved).
|
|
14413
|
+
*/
|
|
14414
|
+
export declare class SkipLinkComponent {
|
|
14415
|
+
private readonly doc;
|
|
14416
|
+
private readonly labels;
|
|
14417
|
+
/** Id of the element that receives focus. */
|
|
14418
|
+
readonly target: import("@angular/core").InputSignal<string>;
|
|
14419
|
+
/** The link text (default: translated "Skip to main content"). */
|
|
14420
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
14421
|
+
/** The accessible name of the landmark (default: translated "Skip links"). */
|
|
14422
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
14423
|
+
/** Fires with the target id when focus was moved. */
|
|
14424
|
+
readonly activated: import("@angular/core").OutputEmitterRef<string>;
|
|
14425
|
+
protected readonly text: import("@angular/core").Signal<string>;
|
|
14426
|
+
protected readonly landmarkLabel: import("@angular/core").Signal<string>;
|
|
14427
|
+
protected skip(event: Event): void;
|
|
14428
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkipLinkComponent, never>;
|
|
14429
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkipLinkComponent, "ui-skip-link", never, {
|
|
14430
|
+
"target": {
|
|
14431
|
+
"alias": "target";
|
|
14432
|
+
"required": false;
|
|
14433
|
+
"isSignal": true;
|
|
14434
|
+
};
|
|
14435
|
+
"label": {
|
|
14436
|
+
"alias": "label";
|
|
14437
|
+
"required": false;
|
|
14438
|
+
"isSignal": true;
|
|
14439
|
+
};
|
|
14440
|
+
"ariaLabel": {
|
|
14441
|
+
"alias": "ariaLabel";
|
|
14442
|
+
"required": false;
|
|
14443
|
+
"isSignal": true;
|
|
14444
|
+
};
|
|
14445
|
+
}, {
|
|
14446
|
+
"activated": "activated";
|
|
14447
|
+
}, never, never, true, never>;
|
|
14448
|
+
}
|
|
14392
14449
|
/** One column (stage) of a [ui-board]. `items` are the host's own records; the board never reads their fields. */
|
|
14393
14450
|
export interface BoardColumn<T = unknown> {
|
|
14394
14451
|
/** Unique id of the column (the stage key); reported in `from` / `to` of a move. */
|
|
@@ -16857,7 +16914,7 @@ export declare class SetupWizardComponent {
|
|
|
16857
16914
|
protected customHintId(): string;
|
|
16858
16915
|
protected readonly importBlocked: import("@angular/core").Signal<boolean>;
|
|
16859
16916
|
/** 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). */
|
|
16860
|
-
protected readonly splitTab: import("@angular/core").WritableSignal<"
|
|
16917
|
+
protected readonly splitTab: import("@angular/core").WritableSignal<"extra" | "main">;
|
|
16861
16918
|
protected readonly splitTabs: import("@angular/core").Signal<{
|
|
16862
16919
|
key: string;
|
|
16863
16920
|
label: string;
|
|
@@ -19120,7 +19177,7 @@ export declare class PaymentSidePanelComponent {
|
|
|
19120
19177
|
private readonly terminalAvailable;
|
|
19121
19178
|
/** value -> label of every live method the rendered plugins contribute (the first plugin wins a duplicate value). */
|
|
19122
19179
|
private readonly liveMethods;
|
|
19123
|
-
protected readonly kind: import("@angular/core").Signal<"none" | "
|
|
19180
|
+
protected readonly kind: import("@angular/core").Signal<"none" | "manual" | "live" | "terminal">;
|
|
19124
19181
|
private kindOf;
|
|
19125
19182
|
/** The method list as shown: record-only built-ins (a plugin takes over its own values), plugin extras, and only manual ones while a split is being built. */
|
|
19126
19183
|
readonly methodList: import("@angular/core").Signal<PaymentMethodOption[]>;
|