@forgeroute/ui 0.5.10 → 0.5.11

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgeroute/ui",
3
- "version": "0.5.10",
3
+ "version": "0.5.11",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=22.0.0",
6
6
  "@angular/core": ">=22.0.0",
@@ -908,6 +908,7 @@ export declare const UI_DEFAULT_LABELS: {
908
908
  readonly 'notes.loadingNotes': "Loading notes...";
909
909
  readonly 'notes.noNotesYet': "No notes yet";
910
910
  readonly 'notes.notes': "Notes";
911
+ readonly 'optionCard.selected': "Selected";
911
912
  readonly 'panelInfoList.noInformationAvailable': "No information available.";
912
913
  readonly 'paymentSidePanel.addAsSplitPayment': "Add as split payment";
913
914
  readonly 'paymentSidePanel.applyPaymentTo': "Apply payment to";
@@ -7406,6 +7407,7 @@ export type StepperCompactBreakpoint = 'sm' | 'md' | 'lg' | number;
7406
7407
  * the list is hidden (`display: none`, so it leaves the accessibility tree) and a summary is shown instead: the current step's label
7407
7408
  * (semibold, large, in `accentColor` when set) with "n / m" at the right, and a `ui-progress-bar` (`aria-label` "Step n of m: <label>").
7408
7409
  * At / above the breakpoint the summary is hidden. Without a current step the summary reads "0 / m".
7410
+ * `counterText` `(n, total) => string` words the "n / m" counter ("Step 2 of 5"); the same text names the progress bar ("Step 2 of 5: <label>").
7409
7411
  *
7410
7412
  * <ui-stepper [steps]="steps" [current]="key" [scrollable]="true" minStepWidth="10.5rem" leadingWidth="7.5rem" compact="md" accentColor="#f97316">
7411
7413
  * <img stepper-leading src="logo.svg" alt="Acme" />
@@ -7448,6 +7450,11 @@ export declare class StepperComponent {
7448
7450
  readonly scrollable: import("@angular/core").InputSignal<boolean>;
7449
7451
  /** CSS length: width reserved for the `[stepper-leading]` element (a logo); the steps start at this width + 1rem. Empty = no leading area. */
7450
7452
  readonly leadingWidth: import("@angular/core").InputSignal<string>;
7453
+ /**
7454
+ * Words the "n / m" counter of the compact summary: `(n, total) => 'Step 2 of 5'`. The text is also what the summary's progress bar is named with
7455
+ * ("Step 2 of 5: <label>"), so what is seen and announced agree; an empty text leaves the counter empty and the bar's default name. Default null = "n / m".
7456
+ */
7457
+ readonly counterText: import("@angular/core").InputSignal<((n: number, total: number) => string) | null>;
7451
7458
  /** Below this viewport width ('sm' 480 | 'md' 768 | 'lg' 1024 | pixels) the list is replaced by a summary (label, "n / m", progress bar). null (default) = never. */
7452
7459
  readonly compact: import("@angular/core").InputSignal<StepperCompactBreakpoint | null>;
7453
7460
  /** Emits the key of an activated selectable step that was not already current (after `current` was updated). */
@@ -7462,10 +7469,13 @@ export declare class StepperComponent {
7462
7469
  private readonly _id;
7463
7470
  constructor();
7464
7471
  protected readonly olMinWidth: import("@angular/core").Signal<string | null>;
7472
+ /** The host's counter text, or null (none given, or it threw): the default "n / m" and its announcement apply. An empty text is kept (an empty counter). */
7473
+ private counterTextFn;
7465
7474
  protected readonly summary: import("@angular/core").Signal<{
7466
7475
  n: number;
7467
7476
  m: number;
7468
7477
  label: string;
7478
+ count: string;
7469
7479
  aria: string;
7470
7480
  }>;
7471
7481
  protected readonly rows: import("@angular/core").Signal<{
@@ -7566,6 +7576,11 @@ export declare class StepperComponent {
7566
7576
  "required": false;
7567
7577
  "isSignal": true;
7568
7578
  };
7579
+ "counterText": {
7580
+ "alias": "counterText";
7581
+ "required": false;
7582
+ "isSignal": true;
7583
+ };
7569
7584
  "compact": {
7570
7585
  "alias": "compact";
7571
7586
  "required": false;
@@ -8848,7 +8863,14 @@ export declare class ImportSourceGridComponent {
8848
8863
  *
8849
8864
  * Inputs: `title` (required), `description`, `letter` (one character in the tile) or `icon` (a library icon name, used when there is no letter),
8850
8865
  * `color` (tile background, default slate), `actionLabel` (no label = no button), `actionVariant` (default secondary), `actionAriaLabel`,
8851
- * `actionTestId`, `actionLoading`, `disabled`. Output: `action`.
8866
+ * `actionTestId`, `actionLoading`, `disabled`, `selected`. Output: `action`.
8867
+ *
8868
+ * `selected` (default false = the card as before) marks the card as the chosen one: a blue 2px border, a check mark at the end of the row and the text
8869
+ * "Selected" for screen readers (`data-selected="true"` on the host). The state is shown by the border AND the check, so colour is never the only signal. The
8870
+ * card does not toggle by itself: the app owns the state.
8871
+ *
8872
+ * A brand logo goes in the tile: `<img option-card-logo src="stripe.svg" alt="" />` (decorative, the title names the card; leave out `letter` and `icon`, set
8873
+ * `color` to the logo's background, e.g. `#fff`). The element is limited to the tile (36 x 36 px). Without it nothing changes.
8852
8874
  */
8853
8875
  export declare class OptionCardComponent {
8854
8876
  readonly title: import("@angular/core").InputSignal<string>;
@@ -8862,8 +8884,12 @@ export declare class OptionCardComponent {
8862
8884
  readonly actionTestId: import("@angular/core").InputSignal<string>;
8863
8885
  readonly actionLoading: import("@angular/core").InputSignal<boolean>;
8864
8886
  readonly disabled: import("@angular/core").InputSignal<boolean>;
8887
+ /** `true`: the card is the chosen one (blue border, a check mark, "Selected" for screen readers). Default false: the card as before. */
8888
+ readonly selected: import("@angular/core").InputSignal<boolean>;
8865
8889
  /** The action button was pressed. */
8866
8890
  readonly action: import("@angular/core").OutputEmitterRef<void>;
8891
+ protected readonly labels: UiLabelsService;
8892
+ protected readonly checkD: string;
8867
8893
  protected iconD(): string | null;
8868
8894
  static ɵfac: i0.ɵɵFactoryDeclaration<OptionCardComponent, never>;
8869
8895
  static ɵcmp: i0.ɵɵComponentDeclaration<OptionCardComponent, "ui-option-card", never, {
@@ -8922,9 +8948,14 @@ export declare class OptionCardComponent {
8922
8948
  "required": false;
8923
8949
  "isSignal": true;
8924
8950
  };
8951
+ "selected": {
8952
+ "alias": "selected";
8953
+ "required": false;
8954
+ "isSignal": true;
8955
+ };
8925
8956
  }, {
8926
8957
  "action": "action";
8927
- }, never, ["*"], true, never>;
8958
+ }, never, ["[option-card-logo]", "*"], true, never>;
8928
8959
  }
8929
8960
  /** Default ACH debit authorization text (same wording the contractor bank-account kiosk used). */
8930
8961
  export declare const DEFAULT_BANK_MANDATE_TEXT: string;
@@ -12278,6 +12309,17 @@ export interface PanelInfoSection {
12278
12309
  };
12279
12310
  items: PanelInfoItem[];
12280
12311
  columns?: 2;
12312
+ /**
12313
+ * A state mark drawn before the section's title in the header bar: a round tile in the colours of the badge `variant` holding a check (`icon: 'check'`)
12314
+ * or a cross (`icon: 'close'`). `label` ("Done", "Not done") is the mark's accessible name (the tile has no visible text; the shape tells check from cross,
12315
+ * so the colour is never the only signal) and its hover tooltip. The header bar is shown for a section with a `status` even without a `title`.
12316
+ * Absent: the header bar is as before.
12317
+ */
12318
+ status?: {
12319
+ icon: 'check' | 'close';
12320
+ label: string;
12321
+ variant: BadgeVariant;
12322
+ };
12281
12323
  }
12282
12324
  /**
12283
12325
  * Read-only label/value list for side panels and detail views, grouped into bordered
@@ -12316,6 +12358,13 @@ export declare class PanelInfoListComponent {
12316
12358
  textOf(item: PanelInfoItem): string;
12317
12359
  /** Plain value, or the dash for an empty / blank one. */
12318
12360
  valueOf(item: PanelInfoItem): string;
12361
+ /** Colours of a section's `status` mark: the badge colours of its variant (an unknown variant falls back to gray, like the badge). */
12362
+ statusStyle(variant: BadgeVariant): {
12363
+ bg: string;
12364
+ color: string;
12365
+ };
12366
+ /** SVG path of a section's `status` icon (the library's own check and close icons). */
12367
+ statusPath(icon: 'check' | 'close'): string;
12319
12368
  /** A disabled header action never runs, even when the click reaches the host element. */
12320
12369
  runHeaderAction(ha: NonNullable<PanelInfoSection['headerAction']>): void;
12321
12370
  visibleItems(section: PanelInfoSection): PanelInfoItem[];
@@ -12870,6 +12919,8 @@ export declare class AlertComponent {
12870
12919
  "dismissed": "dismissed";
12871
12920
  }, never, ["*"], true, never>;
12872
12921
  }
12922
+ /** The keys added in 0.5.11 (see `MORE_ICONS`): each resolves with `iconPath(key)`. */
12923
+ export declare const MORE_ICON_NAMES: readonly string[];
12873
12924
  /**
12874
12925
  * Every key `<ui-icon>` draws by itself (the data-table action keys such as `view` / `edit` / `call` are accepted too, see `builtInActionIcon`).
12875
12926
  * Each resolves with `iconPath(key)`. Includes `search`, `cup` (food / drink) and `wrench` (rental / tools), library source 2026-11-04, and `cash` (banknote) and `dollar` (payment methods / amounts), library source 2026-11-05, not yet published. Also `star`, `gift`, `award` and `calendar-check` (library source 2026-11-05, not yet published).
@@ -17992,6 +18043,12 @@ export interface SetupWizardTexts {
17992
18043
  /** Helper text under the area-code field; also what a disabled Connect button there is described by. */
17993
18044
  areaCodeHint: string;
17994
18045
  connectIntegrationFailed: (title: string) => string;
18046
+ /**
18047
+ * The step counter of the phone header ("2 / 5" by default), built from the 1-based number of the step on screen and the total
18048
+ * (the app's steps plus the closing page). The same text names the phone progress bar for screen readers ("<counter>: <step label>").
18049
+ * Absent: "n / total" and "Step n of total: <label>" as before. An empty result shows an empty counter and keeps the default progress-bar name.
18050
+ */
18051
+ stepCounter?: (n: number, total: number) => string;
17995
18052
  }
17996
18053
  /** An import step: the library import window (CSV / pasted data / competitor sources) with the step's own words around it. */
17997
18054
  export interface SetupImportStep {
@@ -18090,8 +18147,19 @@ export interface SetupStep {
18090
18147
  onContinue?: () => Observable<unknown> | Promise<unknown> | void;
18091
18148
  /** Called when the step is shown (load data for a custom step). */
18092
18149
  onEnter?: () => void;
18150
+ /**
18151
+ * `custom` and `integrations`: `true` clears the step's save error (the alert `wizard-save-error`) as soon as `canContinue()` turns from false to true,
18152
+ * so the message does not outlive the problem the user just fixed. Needs `canContinue`. Absent / false: the error stays until the next press of Save &
18153
+ * Continue or a step change, as before. A save that fails while `canContinue()` stays true keeps its error.
18154
+ */
18155
+ clearErrorWhenValid?: boolean;
18156
+ /**
18157
+ * `custom` and `integrations` steps whose Save & Continue is the wizard's own button: `true` / `false` decides whether Enter in the step's form presses
18158
+ * it, for this step, over the wizard's `[submitOnEnter]`. Absent: the wizard's `[submitOnEnter]` (default off).
18159
+ */
18160
+ submitOnEnter?: boolean;
18093
18161
  }
18094
- /** What a custom step's template gets as `let-wizard` when the step draws its own continue button (`ownActions`). */
18162
+ /** What a custom step's template gets as `let-wizard` when the step draws its own continue button (`ownActions`); the members of `SetupWizardNavApi` are there too. */
18095
18163
  export interface SetupWizardApi {
18096
18164
  /** Runs the step's `save` hook (and shows its error), then moves to the next step. */
18097
18165
  saveAndContinue(): Promise<void>;
@@ -18100,6 +18168,21 @@ export interface SetupWizardApi {
18100
18168
  /** Marks steps as done (check mark, counted in the progress) without the user visiting them; unknown keys are ignored. For example a live sync that already brought in the data of later steps. */
18101
18169
  markCompleted(...keys: string[]): void;
18102
18170
  }
18171
+ /**
18172
+ * What every step template and the closing page get as `let-wizard`: the step API plus navigation. `goTo` and `clearError` are separate from
18173
+ * `SetupWizardApi` so an app that builds its own `SetupWizardApi` object (a test double) keeps compiling. They are not enumerable properties of the object the wizard
18174
+ * hands out, so its own keys (`Object.keys`) are the same as before.
18175
+ */
18176
+ export interface SetupWizardNavApi extends SetupWizardApi {
18177
+ /**
18178
+ * Opens the step with this key, like `SetupWizardComponent.goTo`: emits `stepChange` (and runs the step's `onEnter`) and nothing else (no save
18179
+ * hook, no `stepSkipped`, the steps in between are not marked). Does nothing, and emits nothing, for a key that is not a step of this wizard, and
18180
+ * while a save is running. The key of the step on screen opens it again. It does not ask whether the side nav may open the step: the app decides.
18181
+ */
18182
+ goTo(key: string): void;
18183
+ /** Clears the save error alert. Does nothing when there is none. */
18184
+ clearError(): void;
18185
+ }
18103
18186
  /** What the wizard's `stepSkipped` output emits when the user leaves a step with its Skip button. */
18104
18187
  export interface SetupStepSkip {
18105
18188
  /** The step that was skipped. */
@@ -18108,7 +18191,7 @@ export interface SetupStepSkip {
18108
18191
  completed: boolean;
18109
18192
  }
18110
18193
  /**
18111
- * What the closing page's own content (`<ng-template uiSetupDone let-wizard>`) gets as `let-wizard`: the step API plus `finish()`. The object is
18194
+ * What the closing page's own content (`<ng-template uiSetupDone let-wizard>`) gets as `let-wizard`: the step API plus `finish()` (and, typed as `SetupWizardDoneNavApi`, `goTo` / `clearError`). The object is
18112
18195
  * the same for the life of the wizard. The closing page has nothing to save and is never a completed step, so its `saveAndContinue()` resolves
18113
18196
  * without doing anything.
18114
18197
  */
@@ -18116,6 +18199,8 @@ export interface SetupWizardDoneApi extends SetupWizardApi {
18116
18199
  /** Emits the wizard's `finished` output, like the built-in Finish button. */
18117
18200
  finish(): void;
18118
18201
  }
18202
+ /** What the closing page's own content gets as `let-wizard` since 0.5.11: `SetupWizardDoneApi` plus `goTo` / `clearError` (kept apart from `SetupWizardDoneApi` so an app's own object of that type keeps compiling). */
18203
+ export interface SetupWizardDoneNavApi extends SetupWizardDoneApi, SetupWizardNavApi {}
18119
18204
  /** How one of the app's steps ended: saved / imported (`done`), left with Skip (`skipped`) or neither (`pending`). */
18120
18205
  export type SetupSummaryState = 'done' | 'skipped' | 'pending';
18121
18206
  /** One of the app's steps as the closing page's summary lists it. */
@@ -18130,6 +18215,10 @@ export interface SetupDoneContext {
18130
18215
  /** The app's steps in walking order (the closing page itself is not in it), each with how it ended. */
18131
18216
  summary: SetupSummaryItem[];
18132
18217
  }
18218
+ /** The context `<ng-template uiSetupDone let-wizard>` is typed with since 0.5.11: `SetupDoneContext` whose `let-wizard` also has `goTo` / `clearError`. */
18219
+ export interface SetupDoneNavContext extends SetupDoneContext {
18220
+ $implicit: SetupWizardDoneNavApi;
18221
+ }
18133
18222
  /**
18134
18223
  * The integrations every app can offer in a setup step. Payment processing (`stripe`, `square`) belongs in almost every app's wizard:
18135
18224
  * `setupIntegrations('stripe', 'square')` is the ready-made "connect payments" step (an app that has one processor passes just that one; the
@@ -18162,11 +18251,11 @@ export declare class SetupWizardStepDirective {
18162
18251
  /** The `key` of the step this template belongs to. */
18163
18252
  readonly key: import("@angular/core").InputSignal<string>;
18164
18253
  readonly template: TemplateRef<{
18165
- $implicit: SetupWizardApi;
18254
+ $implicit: SetupWizardNavApi;
18166
18255
  }>;
18167
- /** Types `let-wizard` in the step's template as `SetupWizardApi`. */
18256
+ /** Types `let-wizard` in the step's template as `SetupWizardNavApi` (a `SetupWizardApi` plus `goTo` / `clearError`). */
18168
18257
  static ngTemplateContextGuard(_dir: SetupWizardStepDirective, _ctx: unknown): _ctx is {
18169
- $implicit: SetupWizardApi;
18258
+ $implicit: SetupWizardNavApi;
18170
18259
  };
18171
18260
  static ɵfac: i0.ɵɵFactoryDeclaration<SetupWizardStepDirective, never>;
18172
18261
  static ɵdir: i0.ɵɵDirectiveDeclaration<SetupWizardStepDirective, "ng-template[uiSetupStep]", never, {
@@ -18185,10 +18274,10 @@ export declare class SetupWizardStepHeaderDirective {
18185
18274
  /** The `key` of the step this header content belongs to. */
18186
18275
  readonly key: import("@angular/core").InputSignal<string>;
18187
18276
  readonly template: TemplateRef<{
18188
- $implicit: SetupWizardApi;
18277
+ $implicit: SetupWizardNavApi;
18189
18278
  }>;
18190
18279
  static ngTemplateContextGuard(_dir: SetupWizardStepHeaderDirective, _ctx: unknown): _ctx is {
18191
- $implicit: SetupWizardApi;
18280
+ $implicit: SetupWizardNavApi;
18192
18281
  };
18193
18282
  static ɵfac: i0.ɵɵFactoryDeclaration<SetupWizardStepHeaderDirective, never>;
18194
18283
  static ɵdir: i0.ɵɵDirectiveDeclaration<SetupWizardStepHeaderDirective, "ng-template[uiSetupStepHeader]", never, {
@@ -18206,18 +18295,20 @@ export declare class SetupWizardStepHeaderDirective {
18206
18295
  *
18207
18296
  * The page stays the wizard's: its side-nav entry, heading, card, Back and Finish, and the `finished` output. `let-wizard` is the step API plus
18208
18297
  * `finish()`; `summary` lists the app's steps with `state` 'done' | 'skipped' | 'pending'. When the content carries its own finishing action,
18209
- * `[uiSetupDoneHideFinish]="true"` removes the built-in Finish button. `[uiSetupDoneReachable]="fn"` lets the side nav open the closing page
18298
+ * `[uiSetupDoneHideFinish]="true"` removes the built-in Finish button and `[uiSetupDoneHideBack]="true"` the built-in Back button. `[uiSetupDoneReachable]="fn"` lets the side nav open the closing page
18210
18299
  * while it is still ahead (the same rule as `SetupStep.reachable`). Without this template the closing page is the built-in summary. One per
18211
18300
  * wizard: the first is used, and only a template that belongs to this wizard's own content (not to a wizard nested in a step).
18212
18301
  */
18213
18302
  export declare class SetupWizardDoneDirective {
18214
18303
  /** `true`: the built-in Finish button is not shown (the content calls `wizard.finish()` itself). */
18215
18304
  readonly hideFinish: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
18305
+ /** `true`: the built-in Back button of the closing page is not shown (for content that has its own way back). Default `false`: Back as before. */
18306
+ readonly hideBack: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
18216
18307
  /** Return true while the side nav may open the closing page from an earlier step (signal based, like `SetupStep.reachable`). Absent: Continue / Skip only. */
18217
18308
  readonly reachable: import("@angular/core").InputSignal<(() => boolean) | undefined>;
18218
- readonly template: TemplateRef<SetupDoneContext>;
18309
+ readonly template: TemplateRef<SetupDoneNavContext>;
18219
18310
  /** Types `let-wizard` and `let-summary="summary"` in the template. */
18220
- static ngTemplateContextGuard(_dir: SetupWizardDoneDirective, _ctx: unknown): _ctx is SetupDoneContext;
18311
+ static ngTemplateContextGuard(_dir: SetupWizardDoneDirective, _ctx: unknown): _ctx is SetupDoneNavContext;
18221
18312
  static ɵfac: i0.ɵɵFactoryDeclaration<SetupWizardDoneDirective, never>;
18222
18313
  static ɵdir: i0.ɵɵDirectiveDeclaration<SetupWizardDoneDirective, "ng-template[uiSetupDone]", never, {
18223
18314
  "hideFinish": {
@@ -18225,6 +18316,11 @@ export declare class SetupWizardDoneDirective {
18225
18316
  "required": false;
18226
18317
  "isSignal": true;
18227
18318
  };
18319
+ "hideBack": {
18320
+ "alias": "uiSetupDoneHideBack";
18321
+ "required": false;
18322
+ "isSignal": true;
18323
+ };
18228
18324
  "reachable": {
18229
18325
  "alias": "uiSetupDoneReachable";
18230
18326
  "required": false;
@@ -18268,6 +18364,10 @@ export declare const SETUP_DONE_KEY = "done";
18268
18364
  * Per step, all optional: `optional` (side-nav "(optional)" marker), `skipLabel` (text of Skip), `skipCompletes` (Skip marks the step complete),
18269
18365
  * `reachable` (the side nav may open the step while it is ahead). `stepSkipped` tells the app which step was left with Skip. Opt-in inputs:
18270
18366
  * `stepPicker` (a "Go to step" select on phones, where the step list is hidden) and `dimUnreachable` (later steps that cannot be opened yet are dimmed).
18367
+ *
18368
+ * 0.5.11, all opt-in (docs/setup-wizard-0-5-11.md): `goTo(key)` / `wizard.goTo(key)` opens a step from the app's own code; `clearError()` and
18369
+ * `SetupStep.clearErrorWhenValid` take the save error away; `[uiSetupDoneHideBack]` removes Back on the closing page; `texts.stepCounter` words the phone
18370
+ * counter; `[submitOnEnter]` / `SetupStep.submitOnEnter` let Enter in a step's form press Save & Continue.
18271
18371
  */
18272
18372
  export declare class SetupWizardComponent {
18273
18373
  protected readonly labels: UiLabelsService;
@@ -18304,6 +18404,12 @@ export declare class SetupWizardComponent {
18304
18404
  readonly stepPicker: import("@angular/core").InputSignal<boolean>;
18305
18405
  /** `true`: a later step that cannot be opened yet (not `reachable`) is dimmed in the side nav and announced ", disabled". Default false: plain text as before. */
18306
18406
  readonly dimUnreachable: import("@angular/core").InputSignal<boolean>;
18407
+ /**
18408
+ * `true`: Enter in a step's form presses the step's own Save & Continue (custom and integrations steps with the wizard's own button; `SetupStep.submitOnEnter`
18409
+ * overrides it per step). It does nothing when that button is disabled or a save is running, and when the key is pressed in a multi-line field, a button,
18410
+ * a link, a select (its list may be open), an open combobox, an open dialog or the area-code box. Default false: Enter does what the browser always did.
18411
+ */
18412
+ readonly submitOnEnter: import("@angular/core").InputSignal<boolean>;
18307
18413
  /** The last step's button ("Go to Dashboard"). */
18308
18414
  readonly finished: import("@angular/core").OutputEmitterRef<void>;
18309
18415
  /** "Exit Setup". */
@@ -18321,6 +18427,7 @@ export declare class SetupWizardComponent {
18321
18427
  protected readonly doneTemplate: import("@angular/core").Signal<SetupWizardDoneDirective | undefined>;
18322
18428
  private readonly injector;
18323
18429
  private readonly host;
18430
+ private readonly renderer;
18324
18431
  private readonly stepTitle;
18325
18432
  protected readonly importers: import("@angular/core").Signal<readonly ImportExportComponent[]>;
18326
18433
  protected readonly t: import("@angular/core").Signal<SetupWizardTexts>;
@@ -18338,7 +18445,7 @@ export declare class SetupWizardComponent {
18338
18445
  /** A provider's page was opened in another tab: when this tab becomes visible again the step's statuses are read again. */
18339
18446
  private connectTabOpened;
18340
18447
  /** What a custom step's template receives (`let-wizard`). */
18341
- protected readonly api: SetupWizardApi;
18448
+ protected readonly api: SetupWizardNavApi;
18342
18449
  /** What the closing page's own content receives (`let-wizard`): one object for the life of the wizard. There is nothing to save there, and the closing page is never a completed step. */
18343
18450
  private readonly doneApi;
18344
18451
  protected readonly error: import("@angular/core").WritableSignal<string>;
@@ -18368,13 +18475,15 @@ export declare class SetupWizardComponent {
18368
18475
  protected readonly pickerValue: import("@angular/core").Signal<string>;
18369
18476
  protected readonly summarySections: import("@angular/core").Signal<PanelInfoSection[]>;
18370
18477
  /** What the app's closing-page content receives: the wizard (`let-wizard`, with `finish()`) and how each of the app's steps ended (`summary`). */
18371
- protected readonly doneContext: import("@angular/core").Signal<SetupDoneContext>;
18478
+ protected readonly doneContext: import("@angular/core").Signal<SetupDoneNavContext>;
18372
18479
  constructor();
18480
+ /** The step on screen with `clearErrorWhenValid` and whether its `canContinue()` was true when last looked at. */
18481
+ private validSeen;
18373
18482
  protected headerTemplateFor(key: string): import("@angular/core").TemplateRef<{
18374
- $implicit: SetupWizardApi;
18483
+ $implicit: SetupWizardNavApi;
18375
18484
  }> | null;
18376
18485
  protected templateFor(key: string): import("@angular/core").TemplateRef<{
18377
- $implicit: SetupWizardApi;
18486
+ $implicit: SetupWizardNavApi;
18378
18487
  }> | null;
18379
18488
  /** The sidebar only reopens a step BEFORE the current one (to look at it again); a later step is reached with Continue or Skip, unless the app declares it `reachable`. */
18380
18489
  protected goToPast(key: string): void;
@@ -18384,7 +18493,28 @@ export declare class SetupWizardComponent {
18384
18493
  private dimmed;
18385
18494
  /** `stepPicker`: the Go button opens the chosen step, by the same rule as a press in the side nav. */
18386
18495
  protected openPicked(): void;
18387
- protected goTo(key: string): void;
18496
+ /**
18497
+ * Opens the step with this key from the app's own code (an "Edit" link on the summary, the move after a live connection): emits `stepChange` and runs
18498
+ * the step's `onEnter`, nothing else (no save hook, no `stepSkipped`, the steps in between are not marked). Also on `let-wizard` of every step template and of
18499
+ * the closing page. A key that is not a step of this wizard, and any call while a save is running, does nothing and emits nothing. The key of the step on
18500
+ * screen opens it again (its error is cleared and `onEnter` / `stepChange` run again). Unlike a press in the side nav it does not ask `reachable`: it is the app's
18501
+ * decision, so a later step opens too.
18502
+ */
18503
+ goTo(key: string): void;
18504
+ /** Clears the save error alert of the step on screen (no-op when there is none). */
18505
+ clearError(): void;
18506
+ /** Adds `goTo` and `clearError` to an API object as non-enumerable members: the object's own keys (`Object.keys`) stay what they were before 0.5.11. */
18507
+ private withNavigation;
18508
+ /** The step is one whose Save & Continue is the wizard's own button (the one `submitOnEnter` presses). */
18509
+ private hasOwnSaveButton;
18510
+ /** The focused element itself is one where Enter belongs to the control, never to the wizard (a multi-line field, a button, a link, a select, an open combobox, an editable region ...). */
18511
+ private static readonly ENTER_OWN;
18512
+ /** Or it sits inside a box whose own Enter rule applies: the area-code box of an integration, an open dialog. */
18513
+ private static readonly ENTER_WITHIN;
18514
+ /** True while Enter may press Save & Continue: not on the closing page, the step's own `submitOnEnter` (else the input) is on, and the step has the wizard's own Save & Continue button. */
18515
+ private readonly enterEnabled;
18516
+ /** `submitOnEnter`: Enter in the step's form presses Save & Continue, by the same rule as the button (nothing happens while it is disabled or busy). Listens only while `enterEnabled()`. */
18517
+ private onStepKeydown;
18388
18518
  private enter;
18389
18519
  private advanceFrom;
18390
18520
  protected back(): void;
@@ -18464,6 +18594,11 @@ export declare class SetupWizardComponent {
18464
18594
  "required": false;
18465
18595
  "isSignal": true;
18466
18596
  };
18597
+ "submitOnEnter": {
18598
+ "alias": "submitOnEnter";
18599
+ "required": false;
18600
+ "isSignal": true;
18601
+ };
18467
18602
  }, {
18468
18603
  "finished": "finished";
18469
18604
  "exited": "exited";