@forgeroute/ui 0.5.9 → 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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- import { ApplicationRef, ChangeDetectionStrategy, ChangeDetectorRef, Component, DestroyRef, Directive, ElementRef, EnvironmentInjector, HostBinding, HostListener, Injectable, InjectionToken, Injector, Input, NgZone, PLATFORM_ID, Renderer2, TemplateRef, ViewEncapsulation, afterEveryRender, afterNextRender, computed, contentChild, contentChildren, createComponent, effect, forwardRef, inject, input, isDevMode, linkedSignal, makeEnvironmentProviders, model, numberAttribute, output, provideAppInitializer, provideEnvironmentInitializer, signal, untracked, viewChild, viewChildren } from "@angular/core";
2
+ import { ApplicationRef, ChangeDetectionStrategy, ChangeDetectorRef, Component, DestroyRef, Directive, ElementRef, EnvironmentInjector, HostBinding, HostListener, Injectable, InjectionToken, Injector, Input, NgZone, PLATFORM_ID, Renderer2, TemplateRef, ViewEncapsulation, afterEveryRender, afterNextRender, booleanAttribute, computed, contentChild, contentChildren, createComponent, effect, forwardRef, inject, input, isDevMode, linkedSignal, makeEnvironmentProviders, model, numberAttribute, output, provideAppInitializer, provideEnvironmentInitializer, signal, untracked, viewChild, viewChildren } from "@angular/core";
3
3
  import { DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE, DOCUMENT, Location, NgTemplateOutlet, formatDate, isPlatformBrowser } from "@angular/common";
4
4
  import { HttpClient, HttpErrorResponse, HttpParams } from "@angular/common/http";
5
5
  import { takeUntilDestroyed, toObservable } from "@angular/core/rxjs-interop";
@@ -567,6 +567,7 @@ const UI_DEFAULT_LABELS = {
567
567
  "notes.loadingNotes": "Loading notes...",
568
568
  "notes.noNotesYet": "No notes yet",
569
569
  "notes.notes": "Notes",
570
+ "optionCard.selected": "Selected",
570
571
  "panelInfoList.noInformationAvailable": "No information available.",
571
572
  "paymentSidePanel.addAsSplitPayment": "Add as split payment",
572
573
  "paymentSidePanel.applyPaymentTo": "Apply payment to",
@@ -1183,6 +1184,10 @@ const UI_DEFAULT_LABELS = {
1183
1184
  "setupWizard.saveAndContinue": "Save & Continue",
1184
1185
  "setupWizard.saveFailed": "Failed to save. Please try again.",
1185
1186
  "setupWizard.skip": "Skip for now",
1187
+ "setupWizard.stepPicker": "Go to step",
1188
+ "setupWizard.stepPickerGo": "Go",
1189
+ "setupWizard.stepPickerHint": "Choose a step in the list first.",
1190
+ "setupWizard.stepPickerPlaceholder": "Choose a step",
1186
1191
  "setupWizard.steps": "Setup steps",
1187
1192
  "setupWizard.summaryPending": "Pending",
1188
1193
  "setupWizard.summarySkipped": "Skipped",
@@ -4194,9 +4199,17 @@ const EXTRA_ICONS = {
4194
4199
  "award": "M12 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14z M8.21 13.89L7 23l5-3 5 3-1.21-9.12",
4195
4200
  "calendar-check": "M19 4H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z M16 2v4 M8 2v4 M3 10h18 M9 16l2 2 4-4"
4196
4201
  };
4202
+ const MORE_ICONS = {
4203
+ "dashboard": "M3 3h7v9H3z M14 3h7v5h-7z M14 12h7v9h-7z M3 16h7v5H3z",
4204
+ "users": "M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2 M9 3a4 4 0 1 0 0 8 4 4 0 0 0 0-8z M23 21v-2a4 4 0 0 0-3-3.87 M16 3.13a4 4 0 0 1 0 7.75",
4205
+ "settings": "M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z",
4206
+ "user-plus": "M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2 M8.5 3a4 4 0 1 0 0 8 4 4 0 0 0 0-8z M20 8v6 M23 11h-6"
4207
+ };
4208
+ const MORE_ICON_NAMES = Object.freeze(Object.keys(MORE_ICONS));
4197
4209
  const ICON_NAMES = Object.freeze(Object.keys(EXTRA_ICONS));
4198
4210
  function iconPath(name) {
4199
- return Object.prototype.hasOwnProperty.call(EXTRA_ICONS, name) ? EXTRA_ICONS[name] : builtInActionIcon(name);
4211
+ if (Object.prototype.hasOwnProperty.call(EXTRA_ICONS, name)) return EXTRA_ICONS[name];
4212
+ return builtInActionIcon(name) ?? (Object.prototype.hasOwnProperty.call(MORE_ICONS, name) ? MORE_ICONS[name] : void 0);
4200
4213
  }
4201
4214
  var IconComponent = class IconComponent {
4202
4215
  constructor() {
@@ -12515,7 +12528,10 @@ var OptionCardComponent = class OptionCardComponent {
12515
12528
  this.actionTestId = input("", ...ngDevMode ? [{ debugName: "actionTestId" }] : /* istanbul ignore next */ []);
12516
12529
  this.actionLoading = input(false, ...ngDevMode ? [{ debugName: "actionLoading" }] : /* istanbul ignore next */ []);
12517
12530
  this.disabled = input(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
12531
+ this.selected = input(false, ...ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []);
12518
12532
  this.action = output();
12533
+ this.labels = inject(UiLabelsService);
12534
+ this.checkD = iconPath("check");
12519
12535
  }
12520
12536
  iconD() {
12521
12537
  return this.icon() ? iconPath(this.icon()) ?? null : null;
@@ -12614,20 +12630,35 @@ var OptionCardComponent = class OptionCardComponent {
12614
12630
  isSignal: true,
12615
12631
  isRequired: false,
12616
12632
  transformFunction: null
12633
+ },
12634
+ selected: {
12635
+ classPropertyName: "selected",
12636
+ publicName: "selected",
12637
+ isSignal: true,
12638
+ isRequired: false,
12639
+ transformFunction: null
12617
12640
  }
12618
12641
  },
12619
12642
  outputs: { action: "action" },
12643
+ host: { properties: { "attr.data-selected": "selected() ? \"true\" : null" } },
12620
12644
  ngImport: i0,
12621
12645
  template: `
12622
- <ui-detail-card class="oc" [showHeader]="false" [ariaLabel]="title()">
12646
+ <ui-detail-card class="oc" [class.oc--selected]="selected()" [showHeader]="false" [ariaLabel]="title()">
12623
12647
  <div class="oc-row">
12624
12648
  <span class="oc-tile" [style.background]="color()" aria-hidden="true">
12625
12649
  @if (letter()) { {{ letter() }} } @else if (iconD(); as d) { <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" focusable="false"><path [attr.d]="d" /></svg> }
12650
+ <ng-content select="[option-card-logo]" />
12626
12651
  </span>
12627
12652
  <span class="oc-text">
12628
12653
  <span class="oc-title">{{ title() }}</span>
12629
12654
  @if (description()) { <span class="oc-desc">{{ description() }}</span> }
12630
12655
  </span>
12656
+ @if (selected()) {
12657
+ <span class="oc-selected" data-testid="option-card-selected">
12658
+ <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="checkD" /></svg>
12659
+ <span class="oc-sr">{{ labels.t('optionCard.selected') }}</span>
12660
+ </span>
12661
+ }
12631
12662
  @if (actionLabel()) {
12632
12663
  <ui-button size="xs" [variant]="actionVariant()" [disabled]="disabled()" [loading]="actionLoading()" [attr.data-testid]="actionTestId() || null"
12633
12664
  [ariaLabel]="actionAriaLabel() || (actionLabel() + ' ' + title())" (click)="action.emit()">{{ actionLabel() }}</ui-button>
@@ -12637,7 +12668,7 @@ var OptionCardComponent = class OptionCardComponent {
12637
12668
  </ui-detail-card>
12638
12669
  `,
12639
12670
  isInline: true,
12640
- styles: ["ui-option-card{display:block}ui-option-card .oc{margin-bottom:0}.oc-row{display:flex;align-items:center;gap:12px}.oc-tile{width:36px;height:36px;border-radius:8px;color:#fff;font-size:1rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}.oc-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.oc-title{font-size:.8125rem;font-weight:600;color:#1e293b;line-height:1.2}.oc-desc{font-size:.75rem;color:#64748b;overflow-wrap:anywhere}\n"],
12671
+ styles: ["ui-option-card{display:block}ui-option-card .oc{margin-bottom:0}.oc-row{display:flex;align-items:center;gap:12px}.oc-tile{width:36px;height:36px;border-radius:8px;color:#fff;font-size:1rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}.oc-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.oc-title{font-size:.8125rem;font-weight:600;color:#1e293b;line-height:1.2}.oc-desc{font-size:.75rem;color:#64748b;overflow-wrap:anywhere}.oc-tile [option-card-logo]{display:block;max-width:100%;max-height:100%;object-fit:contain}ui-option-card .oc--selected .dc{border-color:#2563eb;box-shadow:0 0 0 1px #2563eb}.oc-selected{display:inline-flex;flex-shrink:0;color:#2563eb}.oc-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}\n"],
12641
12672
  dependencies: [{
12642
12673
  kind: "component",
12643
12674
  type: ButtonComponent,
@@ -12723,16 +12754,24 @@ i0.ɵɵngDeclareClassMetadata({
12723
12754
  changeDetection: ChangeDetectionStrategy.OnPush,
12724
12755
  encapsulation: ViewEncapsulation.None,
12725
12756
  imports: [ButtonComponent, DetailCardComponent],
12757
+ host: { "[attr.data-selected]": "selected() ? \"true\" : null" },
12726
12758
  template: `
12727
- <ui-detail-card class="oc" [showHeader]="false" [ariaLabel]="title()">
12759
+ <ui-detail-card class="oc" [class.oc--selected]="selected()" [showHeader]="false" [ariaLabel]="title()">
12728
12760
  <div class="oc-row">
12729
12761
  <span class="oc-tile" [style.background]="color()" aria-hidden="true">
12730
12762
  @if (letter()) { {{ letter() }} } @else if (iconD(); as d) { <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" focusable="false"><path [attr.d]="d" /></svg> }
12763
+ <ng-content select="[option-card-logo]" />
12731
12764
  </span>
12732
12765
  <span class="oc-text">
12733
12766
  <span class="oc-title">{{ title() }}</span>
12734
12767
  @if (description()) { <span class="oc-desc">{{ description() }}</span> }
12735
12768
  </span>
12769
+ @if (selected()) {
12770
+ <span class="oc-selected" data-testid="option-card-selected">
12771
+ <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="checkD" /></svg>
12772
+ <span class="oc-sr">{{ labels.t('optionCard.selected') }}</span>
12773
+ </span>
12774
+ }
12736
12775
  @if (actionLabel()) {
12737
12776
  <ui-button size="xs" [variant]="actionVariant()" [disabled]="disabled()" [loading]="actionLoading()" [attr.data-testid]="actionTestId() || null"
12738
12777
  [ariaLabel]="actionAriaLabel() || (actionLabel() + ' ' + title())" (click)="action.emit()">{{ actionLabel() }}</ui-button>
@@ -12741,7 +12780,7 @@ i0.ɵɵngDeclareClassMetadata({
12741
12780
  <ng-content />
12742
12781
  </ui-detail-card>
12743
12782
  `,
12744
- styles: ["ui-option-card{display:block}ui-option-card .oc{margin-bottom:0}.oc-row{display:flex;align-items:center;gap:12px}.oc-tile{width:36px;height:36px;border-radius:8px;color:#fff;font-size:1rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}.oc-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.oc-title{font-size:.8125rem;font-weight:600;color:#1e293b;line-height:1.2}.oc-desc{font-size:.75rem;color:#64748b;overflow-wrap:anywhere}\n"]
12783
+ styles: ["ui-option-card{display:block}ui-option-card .oc{margin-bottom:0}.oc-row{display:flex;align-items:center;gap:12px}.oc-tile{width:36px;height:36px;border-radius:8px;color:#fff;font-size:1rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}.oc-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.oc-title{font-size:.8125rem;font-weight:600;color:#1e293b;line-height:1.2}.oc-desc{font-size:.75rem;color:#64748b;overflow-wrap:anywhere}.oc-tile [option-card-logo]{display:block;max-width:100%;max-height:100%;object-fit:contain}ui-option-card .oc--selected .dc{border-color:#2563eb;box-shadow:0 0 0 1px #2563eb}.oc-selected{display:inline-flex;flex-shrink:0;color:#2563eb}.oc-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}\n"]
12745
12784
  }]
12746
12785
  }],
12747
12786
  propDecorators: {
@@ -12833,6 +12872,14 @@ i0.ɵɵngDeclareClassMetadata({
12833
12872
  required: false
12834
12873
  }]
12835
12874
  }],
12875
+ selected: [{
12876
+ type: i0.Input,
12877
+ args: [{
12878
+ isSignal: true,
12879
+ alias: "selected",
12880
+ required: false
12881
+ }]
12882
+ }],
12836
12883
  action: [{
12837
12884
  type: i0.Output,
12838
12885
  args: ["action"]
@@ -12959,7 +13006,8 @@ var ImportSourceGridComponent = class ImportSourceGridComponent {
12959
13006
  "actionAriaLabel",
12960
13007
  "actionTestId",
12961
13008
  "actionLoading",
12962
- "disabled"
13009
+ "disabled",
13010
+ "selected"
12963
13011
  ],
12964
13012
  outputs: ["action"]
12965
13013
  }],
@@ -25588,6 +25636,7 @@ var StepperComponent = class StepperComponent {
25588
25636
  this.minStepWidth = input("", ...ngDevMode ? [{ debugName: "minStepWidth" }] : /* istanbul ignore next */ []);
25589
25637
  this.scrollable = input(false, ...ngDevMode ? [{ debugName: "scrollable" }] : /* istanbul ignore next */ []);
25590
25638
  this.leadingWidth = input("", ...ngDevMode ? [{ debugName: "leadingWidth" }] : /* istanbul ignore next */ []);
25639
+ this.counterText = input(null, ...ngDevMode ? [{ debugName: "counterText" }] : /* istanbul ignore next */ []);
25591
25640
  this.compact = input(null, ...ngDevMode ? [{ debugName: "compact" }] : /* istanbul ignore next */ []);
25592
25641
  this.stepClick = output();
25593
25642
  this._win = inject(DOCUMENT).defaultView;
@@ -25605,13 +25654,16 @@ var StepperComponent = class StepperComponent {
25605
25654
  const i = steps.findIndex((s) => s.key === this.current());
25606
25655
  const n = i + 1;
25607
25656
  const label = i >= 0 ? steps[i].label : "";
25657
+ const m = steps.length;
25658
+ const custom = this.counterTextFn(n, m);
25608
25659
  return {
25609
25660
  n,
25610
- m: steps.length,
25661
+ m,
25611
25662
  label,
25612
- aria: this.labels.t("stepper.stepOf", {
25663
+ count: custom ?? `${n} / ${m}`,
25664
+ aria: custom ? label ? `${custom}: ${label}` : custom : this.labels.t("stepper.stepOf", {
25613
25665
  n,
25614
- total: steps.length,
25666
+ total: m,
25615
25667
  label
25616
25668
  })
25617
25669
  };
@@ -25666,6 +25718,15 @@ var StepperComponent = class StepperComponent {
25666
25718
  onCleanup(() => mq.removeEventListener("change", on));
25667
25719
  });
25668
25720
  }
25721
+ counterTextFn(n, total) {
25722
+ const fn = this.counterText();
25723
+ if (!fn) return null;
25724
+ try {
25725
+ return fn(n, total);
25726
+ } catch {
25727
+ return null;
25728
+ }
25729
+ }
25669
25730
  activate(r) {
25670
25731
  if (!r.selectable || r.state === "current") return;
25671
25732
  this.current.set(r.step.key);
@@ -25801,6 +25862,13 @@ var StepperComponent = class StepperComponent {
25801
25862
  isRequired: false,
25802
25863
  transformFunction: null
25803
25864
  },
25865
+ counterText: {
25866
+ classPropertyName: "counterText",
25867
+ publicName: "counterText",
25868
+ isSignal: true,
25869
+ isRequired: false,
25870
+ transformFunction: null
25871
+ },
25804
25872
  compact: {
25805
25873
  classPropertyName: "compact",
25806
25874
  publicName: "compact",
@@ -25863,7 +25931,7 @@ var StepperComponent = class StepperComponent {
25863
25931
  <div class="st-compact" data-testid="stepper-compact">
25864
25932
  <div class="st-compact-row">
25865
25933
  <span class="st-compact-label" data-testid="stepper-compact-label">{{ summary().label }}</span>
25866
- <span class="st-compact-count" data-testid="stepper-compact-count">{{ summary().n }} / {{ summary().m }}</span>
25934
+ <span class="st-compact-count" data-testid="stepper-compact-count">{{ summary().count }}</span>
25867
25935
  </div>
25868
25936
  <ui-progress-bar data-testid="stepper-compact-progress" [value]="summary().n" [max]="summary().m" [color]="accentColor()" [ariaLabel]="summary().aria" />
25869
25937
  </div>
@@ -25974,7 +26042,7 @@ i0.ɵɵngDeclareClassMetadata({
25974
26042
  <div class="st-compact" data-testid="stepper-compact">
25975
26043
  <div class="st-compact-row">
25976
26044
  <span class="st-compact-label" data-testid="stepper-compact-label">{{ summary().label }}</span>
25977
- <span class="st-compact-count" data-testid="stepper-compact-count">{{ summary().n }} / {{ summary().m }}</span>
26045
+ <span class="st-compact-count" data-testid="stepper-compact-count">{{ summary().count }}</span>
25978
26046
  </div>
25979
26047
  <ui-progress-bar data-testid="stepper-compact-progress" [value]="summary().n" [max]="summary().m" [color]="accentColor()" [ariaLabel]="summary().aria" />
25980
26048
  </div>
@@ -26129,6 +26197,14 @@ i0.ɵɵngDeclareClassMetadata({
26129
26197
  required: false
26130
26198
  }]
26131
26199
  }],
26200
+ counterText: [{
26201
+ type: i0.Input,
26202
+ args: [{
26203
+ isSignal: true,
26204
+ alias: "counterText",
26205
+ required: false
26206
+ }]
26207
+ }],
26132
26208
  compact: [{
26133
26209
  type: i0.Input,
26134
26210
  args: [{
@@ -40365,6 +40441,12 @@ var PanelInfoListComponent = class PanelInfoListComponent {
40365
40441
  valueOf(item) {
40366
40442
  return item.value?.trim() ? item.value : "—";
40367
40443
  }
40444
+ statusStyle(variant) {
40445
+ return BADGE_VARIANT_STYLES[variant] ?? BADGE_VARIANT_STYLES["gray"];
40446
+ }
40447
+ statusPath(icon) {
40448
+ return iconPath(icon);
40449
+ }
40368
40450
  runHeaderAction(ha) {
40369
40451
  if (!ha.disabled) ha.action();
40370
40452
  }
@@ -40423,8 +40505,13 @@ var PanelInfoListComponent = class PanelInfoListComponent {
40423
40505
  template: `
40424
40506
  @for (section of displaySections(); track $index) {
40425
40507
  <div class="pil-section">
40426
- @if (section.title || section.headerAction || section.headerLink) {
40508
+ @if (section.title || section.headerAction || section.headerLink || section.status) {
40427
40509
  <div class="pil-section-label">
40510
+ @if (section.status; as st) {
40511
+ <span class="pil-status" role="img" [attr.aria-label]="st.label" [attr.title]="st.label" [attr.data-status]="st.icon" [style.background]="statusStyle(st.variant).bg" [style.color]="statusStyle(st.variant).color">
40512
+ <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="statusPath(st.icon)" /></svg>
40513
+ </span>
40514
+ }
40428
40515
  <span>{{ section.title }}</span>
40429
40516
  @if (section.headerLink) {
40430
40517
  <a class="pil-header-link" [routerLink]="section.headerLink.url">{{ section.headerLink.label }}</a>
@@ -40492,7 +40579,7 @@ var PanelInfoListComponent = class PanelInfoListComponent {
40492
40579
  </ng-template>
40493
40580
  `,
40494
40581
  isInline: true,
40495
- styles: [":host{display:flex;flex-direction:column;gap:12px}:host(.pil-fill){flex:1;min-height:0}:host(.pil-fill) .pil-section{flex:1}.pil-section{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.pil-section-label{display:flex;justify-content:space-between;align-items:center;font-size:.6875rem;font-weight:700;letter-spacing:.07em;color:#64748b;text-transform:uppercase;padding:8px 14px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.pil-header-action{text-transform:none;letter-spacing:0;margin:-4px 0;flex-shrink:0}.pil-header-action-icon{margin-right:6px;vertical-align:-2px;flex-shrink:0}.pil-header-link{font-size:.75rem;font-weight:500;color:#2563eb;text-decoration:none;text-transform:none;letter-spacing:0}.pil-header-link:hover{text-decoration:underline}.pil-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 14px;border-bottom:1px solid #f1f5f9}.pil-row:last-child{border-bottom:none}.pil-row--inline{justify-content:flex-start}.pil-row--inline .pil-value{text-align:left;justify-content:flex-start;flex-wrap:wrap;min-width:0;overflow-wrap:anywhere;word-break:break-word}.pil-label{font-size:.8125rem;color:#64748b;flex-shrink:0}.pil-value{font-size:.875rem;font-weight:500;color:#1e293b;text-align:right;display:flex;align-items:center;justify-content:flex-end;min-width:0;overflow-wrap:anywhere;word-break:break-word}.pil-multiline{white-space:pre-line;overflow-wrap:anywhere;word-break:break-word}.pil-strong .pil-label,.pil-strong .pil-value,.pil-strong .pil-muted{font-weight:700;color:#0f172a}.pil-badges{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}.pil-edit-btn{margin-left:4px;flex-shrink:0}ui-empty-state{padding:12px 0}.pil-muted{color:#1e293b;font-weight:400}.pil-danger{color:#dc2626;font-weight:600}.pil-link{font-size:.875rem;font-weight:500;color:#2563eb;text-decoration:none}.pil-link:hover{text-decoration:underline}.pil-link,.pil-link-icon,.pil-header-link{position:relative}@media(pointer:coarse),(max-width:480px){.pil-link:after,.pil-link-icon:after,.pil-header-link:after{content:\"\";position:absolute;inset:-14px -4px}}.pil-link--href{overflow-wrap:anywhere;word-break:break-word}.pil-link:focus-visible,.pil-link-icon:focus-visible,.pil-header-link:focus-visible{outline:2px solid #3b82f6;outline-offset:2px;border-radius:2px}.pil-link-icon{display:inline-flex;align-items:center;gap:5px;font-size:.875rem;font-weight:500;color:#1e293b;text-decoration:none}.pil-link-icon svg{color:#94a3b8;flex-shrink:0}.pil-grid-2{display:grid;grid-template-columns:1fr 1fr}.pil-grid-cell{display:flex;flex-direction:column;gap:3px;padding:10px 14px;min-width:0;border-right:1px solid #f1f5f9}.pil-grid-cell:last-child{border-right:none}.pil-grid-cell:nth-child(2n){border-right:none}@media(max-width:480px){.pil-grid-2{grid-template-columns:1fr}.pil-grid-cell{border-right:none;border-bottom:1px solid #f1f5f9}.pil-grid-cell:last-child{border-bottom:none}}.pil-value--block{text-align:left;justify-content:flex-start}\n"],
40582
+ styles: [":host{display:flex;flex-direction:column;gap:12px}:host(.pil-fill){flex:1;min-height:0}:host(.pil-fill) .pil-section{flex:1}.pil-section{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.pil-section-label{display:flex;justify-content:space-between;align-items:center;font-size:.6875rem;font-weight:700;letter-spacing:.07em;color:#64748b;text-transform:uppercase;padding:8px 14px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.pil-header-action{text-transform:none;letter-spacing:0;margin:-4px 0;flex-shrink:0}.pil-header-action-icon{margin-right:6px;vertical-align:-2px;flex-shrink:0}.pil-status{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:20px;height:20px;margin:-2px 8px -2px 0;border-radius:50%}.pil-status+span{margin-right:auto}.pil-header-link{font-size:.75rem;font-weight:500;color:#2563eb;text-decoration:none;text-transform:none;letter-spacing:0}.pil-header-link:hover{text-decoration:underline}.pil-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 14px;border-bottom:1px solid #f1f5f9}.pil-row:last-child{border-bottom:none}.pil-row--inline{justify-content:flex-start}.pil-row--inline .pil-value{text-align:left;justify-content:flex-start;flex-wrap:wrap;min-width:0;overflow-wrap:anywhere;word-break:break-word}.pil-label{font-size:.8125rem;color:#64748b;flex-shrink:0}.pil-value{font-size:.875rem;font-weight:500;color:#1e293b;text-align:right;display:flex;align-items:center;justify-content:flex-end;min-width:0;overflow-wrap:anywhere;word-break:break-word}.pil-multiline{white-space:pre-line;overflow-wrap:anywhere;word-break:break-word}.pil-strong .pil-label,.pil-strong .pil-value,.pil-strong .pil-muted{font-weight:700;color:#0f172a}.pil-badges{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}.pil-edit-btn{margin-left:4px;flex-shrink:0}ui-empty-state{padding:12px 0}.pil-muted{color:#1e293b;font-weight:400}.pil-danger{color:#dc2626;font-weight:600}.pil-link{font-size:.875rem;font-weight:500;color:#2563eb;text-decoration:none}.pil-link:hover{text-decoration:underline}.pil-link,.pil-link-icon,.pil-header-link{position:relative}@media(pointer:coarse),(max-width:480px){.pil-link:after,.pil-link-icon:after,.pil-header-link:after{content:\"\";position:absolute;inset:-14px -4px}}.pil-link--href{overflow-wrap:anywhere;word-break:break-word}.pil-link:focus-visible,.pil-link-icon:focus-visible,.pil-header-link:focus-visible{outline:2px solid #3b82f6;outline-offset:2px;border-radius:2px}.pil-link-icon{display:inline-flex;align-items:center;gap:5px;font-size:.875rem;font-weight:500;color:#1e293b;text-decoration:none}.pil-link-icon svg{color:#94a3b8;flex-shrink:0}.pil-grid-2{display:grid;grid-template-columns:1fr 1fr}.pil-grid-cell{display:flex;flex-direction:column;gap:3px;padding:10px 14px;min-width:0;border-right:1px solid #f1f5f9}.pil-grid-cell:last-child{border-right:none}.pil-grid-cell:nth-child(2n){border-right:none}@media(max-width:480px){.pil-grid-2{grid-template-columns:1fr}.pil-grid-cell{border-right:none;border-bottom:1px solid #f1f5f9}.pil-grid-cell:last-child{border-bottom:none}}.pil-value--block{text-align:left;justify-content:flex-start}\n"],
40496
40583
  dependencies: [
40497
40584
  {
40498
40585
  kind: "directive",
@@ -40617,8 +40704,13 @@ i0.ɵɵngDeclareClassMetadata({
40617
40704
  template: `
40618
40705
  @for (section of displaySections(); track $index) {
40619
40706
  <div class="pil-section">
40620
- @if (section.title || section.headerAction || section.headerLink) {
40707
+ @if (section.title || section.headerAction || section.headerLink || section.status) {
40621
40708
  <div class="pil-section-label">
40709
+ @if (section.status; as st) {
40710
+ <span class="pil-status" role="img" [attr.aria-label]="st.label" [attr.title]="st.label" [attr.data-status]="st.icon" [style.background]="statusStyle(st.variant).bg" [style.color]="statusStyle(st.variant).color">
40711
+ <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="statusPath(st.icon)" /></svg>
40712
+ </span>
40713
+ }
40622
40714
  <span>{{ section.title }}</span>
40623
40715
  @if (section.headerLink) {
40624
40716
  <a class="pil-header-link" [routerLink]="section.headerLink.url">{{ section.headerLink.label }}</a>
@@ -40685,7 +40777,7 @@ i0.ɵɵngDeclareClassMetadata({
40685
40777
  }
40686
40778
  </ng-template>
40687
40779
  `,
40688
- styles: [":host{display:flex;flex-direction:column;gap:12px}:host(.pil-fill){flex:1;min-height:0}:host(.pil-fill) .pil-section{flex:1}.pil-section{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.pil-section-label{display:flex;justify-content:space-between;align-items:center;font-size:.6875rem;font-weight:700;letter-spacing:.07em;color:#64748b;text-transform:uppercase;padding:8px 14px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.pil-header-action{text-transform:none;letter-spacing:0;margin:-4px 0;flex-shrink:0}.pil-header-action-icon{margin-right:6px;vertical-align:-2px;flex-shrink:0}.pil-header-link{font-size:.75rem;font-weight:500;color:#2563eb;text-decoration:none;text-transform:none;letter-spacing:0}.pil-header-link:hover{text-decoration:underline}.pil-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 14px;border-bottom:1px solid #f1f5f9}.pil-row:last-child{border-bottom:none}.pil-row--inline{justify-content:flex-start}.pil-row--inline .pil-value{text-align:left;justify-content:flex-start;flex-wrap:wrap;min-width:0;overflow-wrap:anywhere;word-break:break-word}.pil-label{font-size:.8125rem;color:#64748b;flex-shrink:0}.pil-value{font-size:.875rem;font-weight:500;color:#1e293b;text-align:right;display:flex;align-items:center;justify-content:flex-end;min-width:0;overflow-wrap:anywhere;word-break:break-word}.pil-multiline{white-space:pre-line;overflow-wrap:anywhere;word-break:break-word}.pil-strong .pil-label,.pil-strong .pil-value,.pil-strong .pil-muted{font-weight:700;color:#0f172a}.pil-badges{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}.pil-edit-btn{margin-left:4px;flex-shrink:0}ui-empty-state{padding:12px 0}.pil-muted{color:#1e293b;font-weight:400}.pil-danger{color:#dc2626;font-weight:600}.pil-link{font-size:.875rem;font-weight:500;color:#2563eb;text-decoration:none}.pil-link:hover{text-decoration:underline}.pil-link,.pil-link-icon,.pil-header-link{position:relative}@media(pointer:coarse),(max-width:480px){.pil-link:after,.pil-link-icon:after,.pil-header-link:after{content:\"\";position:absolute;inset:-14px -4px}}.pil-link--href{overflow-wrap:anywhere;word-break:break-word}.pil-link:focus-visible,.pil-link-icon:focus-visible,.pil-header-link:focus-visible{outline:2px solid #3b82f6;outline-offset:2px;border-radius:2px}.pil-link-icon{display:inline-flex;align-items:center;gap:5px;font-size:.875rem;font-weight:500;color:#1e293b;text-decoration:none}.pil-link-icon svg{color:#94a3b8;flex-shrink:0}.pil-grid-2{display:grid;grid-template-columns:1fr 1fr}.pil-grid-cell{display:flex;flex-direction:column;gap:3px;padding:10px 14px;min-width:0;border-right:1px solid #f1f5f9}.pil-grid-cell:last-child{border-right:none}.pil-grid-cell:nth-child(2n){border-right:none}@media(max-width:480px){.pil-grid-2{grid-template-columns:1fr}.pil-grid-cell{border-right:none;border-bottom:1px solid #f1f5f9}.pil-grid-cell:last-child{border-bottom:none}}.pil-value--block{text-align:left;justify-content:flex-start}\n"]
40780
+ styles: [":host{display:flex;flex-direction:column;gap:12px}:host(.pil-fill){flex:1;min-height:0}:host(.pil-fill) .pil-section{flex:1}.pil-section{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.pil-section-label{display:flex;justify-content:space-between;align-items:center;font-size:.6875rem;font-weight:700;letter-spacing:.07em;color:#64748b;text-transform:uppercase;padding:8px 14px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.pil-header-action{text-transform:none;letter-spacing:0;margin:-4px 0;flex-shrink:0}.pil-header-action-icon{margin-right:6px;vertical-align:-2px;flex-shrink:0}.pil-status{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:20px;height:20px;margin:-2px 8px -2px 0;border-radius:50%}.pil-status+span{margin-right:auto}.pil-header-link{font-size:.75rem;font-weight:500;color:#2563eb;text-decoration:none;text-transform:none;letter-spacing:0}.pil-header-link:hover{text-decoration:underline}.pil-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 14px;border-bottom:1px solid #f1f5f9}.pil-row:last-child{border-bottom:none}.pil-row--inline{justify-content:flex-start}.pil-row--inline .pil-value{text-align:left;justify-content:flex-start;flex-wrap:wrap;min-width:0;overflow-wrap:anywhere;word-break:break-word}.pil-label{font-size:.8125rem;color:#64748b;flex-shrink:0}.pil-value{font-size:.875rem;font-weight:500;color:#1e293b;text-align:right;display:flex;align-items:center;justify-content:flex-end;min-width:0;overflow-wrap:anywhere;word-break:break-word}.pil-multiline{white-space:pre-line;overflow-wrap:anywhere;word-break:break-word}.pil-strong .pil-label,.pil-strong .pil-value,.pil-strong .pil-muted{font-weight:700;color:#0f172a}.pil-badges{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}.pil-edit-btn{margin-left:4px;flex-shrink:0}ui-empty-state{padding:12px 0}.pil-muted{color:#1e293b;font-weight:400}.pil-danger{color:#dc2626;font-weight:600}.pil-link{font-size:.875rem;font-weight:500;color:#2563eb;text-decoration:none}.pil-link:hover{text-decoration:underline}.pil-link,.pil-link-icon,.pil-header-link{position:relative}@media(pointer:coarse),(max-width:480px){.pil-link:after,.pil-link-icon:after,.pil-header-link:after{content:\"\";position:absolute;inset:-14px -4px}}.pil-link--href{overflow-wrap:anywhere;word-break:break-word}.pil-link:focus-visible,.pil-link-icon:focus-visible,.pil-header-link:focus-visible{outline:2px solid #3b82f6;outline-offset:2px;border-radius:2px}.pil-link-icon{display:inline-flex;align-items:center;gap:5px;font-size:.875rem;font-weight:500;color:#1e293b;text-decoration:none}.pil-link-icon svg{color:#94a3b8;flex-shrink:0}.pil-grid-2{display:grid;grid-template-columns:1fr 1fr}.pil-grid-cell{display:flex;flex-direction:column;gap:3px;padding:10px 14px;min-width:0;border-right:1px solid #f1f5f9}.pil-grid-cell:last-child{border-right:none}.pil-grid-cell:nth-child(2n){border-right:none}@media(max-width:480px){.pil-grid-2{grid-template-columns:1fr}.pil-grid-cell{border-right:none;border-bottom:1px solid #f1f5f9}.pil-grid-cell:last-child{border-bottom:none}}.pil-value--block{text-align:left;justify-content:flex-start}\n"]
40689
40781
  }]
40690
40782
  }],
40691
40783
  propDecorators: {
@@ -59587,6 +59679,110 @@ i0.ɵɵngDeclareClassMetadata({
59587
59679
  }]
59588
59680
  }] }
59589
59681
  });
59682
+ var SetupWizardDoneDirective = class SetupWizardDoneDirective {
59683
+ constructor() {
59684
+ this.hideFinish = input(false, {
59685
+ ...ngDevMode ? { debugName: "hideFinish" } : /* istanbul ignore next */ {},
59686
+ alias: "uiSetupDoneHideFinish",
59687
+ transform: booleanAttribute
59688
+ });
59689
+ this.hideBack = input(false, {
59690
+ ...ngDevMode ? { debugName: "hideBack" } : /* istanbul ignore next */ {},
59691
+ alias: "uiSetupDoneHideBack",
59692
+ transform: booleanAttribute
59693
+ });
59694
+ this.reachable = input(void 0, {
59695
+ ...ngDevMode ? { debugName: "reachable" } : /* istanbul ignore next */ {},
59696
+ alias: "uiSetupDoneReachable"
59697
+ });
59698
+ this.template = inject(TemplateRef);
59699
+ }
59700
+ static ngTemplateContextGuard(_dir, _ctx) {
59701
+ return true;
59702
+ }
59703
+ static {
59704
+ this.ɵfac = i0.ɵɵngDeclareFactory({
59705
+ minVersion: "12.0.0",
59706
+ version: "22.2.2",
59707
+ ngImport: i0,
59708
+ type: SetupWizardDoneDirective,
59709
+ deps: [],
59710
+ target: i0.ɵɵFactoryTarget.Directive
59711
+ });
59712
+ }
59713
+ static {
59714
+ this.ɵdir = i0.ɵɵngDeclareDirective({
59715
+ minVersion: "17.1.0",
59716
+ version: "22.2.2",
59717
+ type: SetupWizardDoneDirective,
59718
+ isStandalone: true,
59719
+ selector: "ng-template[uiSetupDone]",
59720
+ inputs: {
59721
+ hideFinish: {
59722
+ classPropertyName: "hideFinish",
59723
+ publicName: "uiSetupDoneHideFinish",
59724
+ isSignal: true,
59725
+ isRequired: false,
59726
+ transformFunction: null
59727
+ },
59728
+ hideBack: {
59729
+ classPropertyName: "hideBack",
59730
+ publicName: "uiSetupDoneHideBack",
59731
+ isSignal: true,
59732
+ isRequired: false,
59733
+ transformFunction: null
59734
+ },
59735
+ reachable: {
59736
+ classPropertyName: "reachable",
59737
+ publicName: "uiSetupDoneReachable",
59738
+ isSignal: true,
59739
+ isRequired: false,
59740
+ transformFunction: null
59741
+ }
59742
+ },
59743
+ ngImport: i0
59744
+ });
59745
+ }
59746
+ };
59747
+ i0.ɵɵngDeclareClassMetadata({
59748
+ minVersion: "12.0.0",
59749
+ version: "22.2.2",
59750
+ ngImport: i0,
59751
+ type: SetupWizardDoneDirective,
59752
+ decorators: [{
59753
+ type: Directive,
59754
+ args: [{
59755
+ selector: "ng-template[uiSetupDone]",
59756
+ standalone: true
59757
+ }]
59758
+ }],
59759
+ propDecorators: {
59760
+ hideFinish: [{
59761
+ type: i0.Input,
59762
+ args: [{
59763
+ isSignal: true,
59764
+ alias: "uiSetupDoneHideFinish",
59765
+ required: false
59766
+ }]
59767
+ }],
59768
+ hideBack: [{
59769
+ type: i0.Input,
59770
+ args: [{
59771
+ isSignal: true,
59772
+ alias: "uiSetupDoneHideBack",
59773
+ required: false
59774
+ }]
59775
+ }],
59776
+ reachable: [{
59777
+ type: i0.Input,
59778
+ args: [{
59779
+ isSignal: true,
59780
+ alias: "uiSetupDoneReachable",
59781
+ required: false
59782
+ }]
59783
+ }]
59784
+ }
59785
+ });
59590
59786
  function defaultTexts() {
59591
59787
  const t = (key, params) => uiText(`setupWizard.${key}`, params);
59592
59788
  return {
@@ -59668,13 +59864,22 @@ var SetupWizardComponent = class SetupWizardComponent {
59668
59864
  this.steps = input.required(...ngDevMode ? [{ debugName: "steps" }] : /* istanbul ignore next */ []);
59669
59865
  this.texts = input({}, ...ngDevMode ? [{ debugName: "texts" }] : /* istanbul ignore next */ []);
59670
59866
  this.initialStep = input("", ...ngDevMode ? [{ debugName: "initialStep" }] : /* istanbul ignore next */ []);
59867
+ this.stepPicker = input(false, ...ngDevMode ? [{ debugName: "stepPicker" }] : /* istanbul ignore next */ []);
59868
+ this.dimUnreachable = input(false, ...ngDevMode ? [{ debugName: "dimUnreachable" }] : /* istanbul ignore next */ []);
59869
+ this.submitOnEnter = input(false, ...ngDevMode ? [{ debugName: "submitOnEnter" }] : /* istanbul ignore next */ []);
59671
59870
  this.finished = output();
59672
59871
  this.exited = output();
59673
59872
  this.stepChange = output();
59873
+ this.stepSkipped = output();
59674
59874
  this.stepTemplates = contentChildren(SetupWizardStepDirective, ...ngDevMode ? [{ debugName: "stepTemplates" }] : /* istanbul ignore next */ []);
59675
59875
  this.headerTemplates = contentChildren(SetupWizardStepHeaderDirective, ...ngDevMode ? [{ debugName: "headerTemplates" }] : /* istanbul ignore next */ []);
59876
+ this.doneTemplate = contentChild(SetupWizardDoneDirective, {
59877
+ ...ngDevMode ? { debugName: "doneTemplate" } : /* istanbul ignore next */ {},
59878
+ descendants: false
59879
+ });
59676
59880
  this.injector = inject(Injector);
59677
59881
  this.host = inject(ElementRef);
59882
+ this.renderer = inject(Renderer2);
59678
59883
  this.stepTitle = viewChild("stepTitle", ...ngDevMode ? [{ debugName: "stepTitle" }] : /* istanbul ignore next */ []);
59679
59884
  this.importers = viewChildren("importer", ...ngDevMode ? [{ debugName: "importers" }] : /* istanbul ignore next */ []);
59680
59885
  this.t = computed(() => ({
@@ -59691,11 +59896,17 @@ var SetupWizardComponent = class SetupWizardComponent {
59691
59896
  this.connecting = signal("", ...ngDevMode ? [{ debugName: "connecting" }] : /* istanbul ignore next */ []);
59692
59897
  this.pendingTab = null;
59693
59898
  this.connectTabOpened = false;
59694
- this.api = {
59899
+ this.api = this.withNavigation({
59695
59900
  saveAndContinue: () => this.saveAndContinue(),
59696
59901
  busy: () => this.busy(),
59697
59902
  markCompleted: (...keys) => this.markStepsCompleted(keys)
59698
- };
59903
+ });
59904
+ this.doneApi = this.withNavigation({
59905
+ saveAndContinue: () => Promise.resolve(),
59906
+ busy: () => this.busy(),
59907
+ markCompleted: (...keys) => this.markStepsCompleted(keys),
59908
+ finish: () => this.finish()
59909
+ });
59699
59910
  this.error = signal("", ...ngDevMode ? [{ debugName: "error" }] : /* istanbul ignore next */ []);
59700
59911
  this.areaCodeOpen = signal("", ...ngDevMode ? [{ debugName: "areaCodeOpen" }] : /* istanbul ignore next */ []);
59701
59912
  this.areaCode = signal("", ...ngDevMode ? [{ debugName: "areaCode" }] : /* istanbul ignore next */ []);
@@ -59715,13 +59926,26 @@ var SetupWizardComponent = class SetupWizardComponent {
59715
59926
  }, ...ngDevMode ? [{ debugName: "intro" }] : /* istanbul ignore next */ []);
59716
59927
  this.isDone = computed(() => this.current().key === SETUP_DONE_KEY, ...ngDevMode ? [{ debugName: "isDone" }] : /* istanbul ignore next */ []);
59717
59928
  this.completedCount = computed(() => this.allSteps().filter((s) => this.completed().has(s.key) || this.skipped().has(s.key)).length, ...ngDevMode ? [{ debugName: "completedCount" }] : /* istanbul ignore next */ []);
59929
+ this.aheadKeys = computed(() => {
59930
+ const index = this.index();
59931
+ return new Set(this.allSteps().filter((s, i) => i > index && this.declaredReachable(s)).map((s) => s.key));
59932
+ }, ...ngDevMode ? [{ debugName: "aheadKeys" }] : /* istanbul ignore next */ []);
59718
59933
  this.stepperSteps = computed(() => this.allSteps().map((s, i) => ({
59719
59934
  key: s.key,
59720
59935
  label: s.label,
59721
59936
  complete: this.completed().has(s.key),
59722
- disabled: this.busy(),
59723
- selectable: i < this.index()
59937
+ disabled: this.busy() || this.dimmed(s.key, i),
59938
+ selectable: i < this.index() || this.aheadKeys().has(s.key),
59939
+ ...s.optional && !this.completed().has(s.key) ? { optional: true } : {}
59724
59940
  })), ...ngDevMode ? [{ debugName: "stepperSteps" }] : /* istanbul ignore next */ []);
59941
+ this.pickerOptions = computed(() => this.stepperSteps().map((s, i) => ({
59942
+ value: s.key,
59943
+ label: `${i + 1}. ${s.label}${s.optional ? " " + this.labels.t("stepper.optional") : ""}`,
59944
+ disabled: !s.selectable
59945
+ })), ...ngDevMode ? [{ debugName: "pickerOptions" }] : /* istanbul ignore next */ []);
59946
+ this.pickerShown = computed(() => this.stepPicker() && this.stepperSteps().some((s) => s.selectable), ...ngDevMode ? [{ debugName: "pickerShown" }] : /* istanbul ignore next */ []);
59947
+ this.pickerKey = signal("", ...ngDevMode ? [{ debugName: "pickerKey" }] : /* istanbul ignore next */ []);
59948
+ this.pickerValue = computed(() => this.pickerOptions().some((o) => o.value === this.pickerKey() && !o.disabled) ? this.pickerKey() : "", ...ngDevMode ? [{ debugName: "pickerValue" }] : /* istanbul ignore next */ []);
59725
59949
  this.summarySections = computed(() => [{ items: this.steps().map((s) => ({
59726
59950
  label: s.label,
59727
59951
  badge: this.completed().has(s.key) ? {
@@ -59735,6 +59959,20 @@ var SetupWizardComponent = class SetupWizardComponent {
59735
59959
  variant: "slate"
59736
59960
  }
59737
59961
  })) }], ...ngDevMode ? [{ debugName: "summarySections" }] : /* istanbul ignore next */ []);
59962
+ this.doneContext = computed(() => ({
59963
+ $implicit: this.doneApi,
59964
+ summary: this.steps().map((s) => ({
59965
+ key: s.key,
59966
+ label: s.label,
59967
+ state: this.completed().has(s.key) ? "done" : this.skipped().has(s.key) ? "skipped" : "pending"
59968
+ }))
59969
+ }), ...ngDevMode ? [{ debugName: "doneContext" }] : /* istanbul ignore next */ []);
59970
+ this.validSeen = null;
59971
+ this.enterEnabled = computed(() => {
59972
+ if (this.isDone()) return false;
59973
+ const step = this.current();
59974
+ return !!(step.submitOnEnter ?? this.submitOnEnter()) && this.hasOwnSaveButton(step);
59975
+ }, ...ngDevMode ? [{ debugName: "enterEnabled" }] : /* istanbul ignore next */ []);
59738
59976
  if (typeof matchMedia === "function") {
59739
59977
  const mq = matchMedia("(max-width: 768px)");
59740
59978
  this.narrow.set(mq.matches);
@@ -59759,6 +59997,22 @@ var SetupWizardComponent = class SetupWizardComponent {
59759
59997
  this.enter(wanted && steps.some((s) => s.key === wanted) ? wanted : steps[0].key);
59760
59998
  });
59761
59999
  });
60000
+ effect((onCleanup) => {
60001
+ if (!this.enterEnabled()) return;
60002
+ onCleanup(this.renderer.listen(this.host.nativeElement, "keydown", (event) => this.onStepKeydown(event)));
60003
+ });
60004
+ effect(() => {
60005
+ const step = this.current();
60006
+ const valid = !!step.clearErrorWhenValid && !!step.canContinue?.();
60007
+ untracked(() => {
60008
+ const was = this.validSeen?.key === step.key ? this.validSeen.valid : valid;
60009
+ this.validSeen = {
60010
+ key: step.key,
60011
+ valid
60012
+ };
60013
+ if (valid && !was) this.error.set("");
60014
+ });
60015
+ });
59762
60016
  }
59763
60017
  headerTemplateFor(key) {
59764
60018
  return this.headerTemplates().find((d) => d.key() === key)?.template ?? null;
@@ -59767,16 +60021,67 @@ var SetupWizardComponent = class SetupWizardComponent {
59767
60021
  return this.stepTemplates().find((d) => d.key() === key)?.template ?? null;
59768
60022
  }
59769
60023
  goToPast(key) {
59770
- if (this.allSteps().findIndex((s) => s.key === key) < this.index()) this.goTo(key);
60024
+ if (this.allSteps().findIndex((s) => s.key === key) < this.index() || this.aheadKeys().has(key)) this.goTo(key);
60025
+ }
60026
+ declaredReachable(step) {
60027
+ try {
60028
+ return !!(step.reachable ?? (step.key === "done" ? this.doneTemplate()?.reachable() : void 0))?.();
60029
+ } catch {
60030
+ return false;
60031
+ }
60032
+ }
60033
+ dimmed(key, i) {
60034
+ return this.dimUnreachable() && i > this.index() && !this.aheadKeys().has(key);
60035
+ }
60036
+ openPicked() {
60037
+ const key = this.pickerValue();
60038
+ if (key) this.goToPast(key);
59771
60039
  }
59772
60040
  goTo(key) {
59773
60041
  if (!this.busy() && this.allSteps().some((s) => s.key === key)) this.enter(key);
59774
60042
  }
60043
+ clearError() {
60044
+ this.error.set("");
60045
+ }
60046
+ withNavigation(api) {
60047
+ return Object.defineProperties(api, {
60048
+ goTo: {
60049
+ value: (key) => this.goTo(key),
60050
+ writable: true,
60051
+ configurable: true
60052
+ },
60053
+ clearError: {
60054
+ value: () => this.clearError(),
60055
+ writable: true,
60056
+ configurable: true
60057
+ }
60058
+ });
60059
+ }
60060
+ hasOwnSaveButton(step) {
60061
+ return step.kind === "custom" && !step.ownActions || step.kind === "integrations";
60062
+ }
60063
+ static {
60064
+ this.ENTER_OWN = "textarea, select, button, a[href], summary, [contenteditable]:not([contenteditable=\"false\"]), [role=\"button\"], [role=\"link\"], [role=\"menuitem\"], [role=\"option\"], [role=\"tab\"], [aria-expanded=\"true\"], input[type=\"button\"], input[type=\"submit\"], input[type=\"reset\"], input[type=\"image\"], input[type=\"file\"]";
60065
+ }
60066
+ static {
60067
+ this.ENTER_WITHIN = ".sw-area-code, [role=\"dialog\"], [aria-modal=\"true\"], dialog";
60068
+ }
60069
+ onStepKeydown(event) {
60070
+ if (event.key !== "Enter" || event.defaultPrevented || event.isComposing || event.keyCode === 229 || event.repeat || event.altKey || event.ctrlKey || event.metaKey || event.shiftKey) return;
60071
+ const target = event.target;
60072
+ if (!this.enterEnabled() || this.busy() || !target.closest(".sw-step-content")) return;
60073
+ if (target.matches(SetupWizardComponent.ENTER_OWN) || target.closest(SetupWizardComponent.ENTER_WITHIN)) return;
60074
+ const step = this.current();
60075
+ if (step.canContinue && !step.canContinue() || this.connectBlocked()) return;
60076
+ event.preventDefault();
60077
+ this.saveAndContinue();
60078
+ }
59775
60079
  enter(key) {
59776
60080
  this.error.set("");
59777
60081
  this.areaCodeOpen.set("");
59778
60082
  this.areaCode.set("");
59779
60083
  this.splitTab.set("extra");
60084
+ this.pickerKey.set("");
59780
60085
  this.currentKey.set(key);
59781
60086
  const step = this.allSteps().find((s) => s.key === key);
59782
60087
  if (step.kind === "integrations") this.loadStatuses(step.integrations ?? []);
@@ -59796,10 +60101,18 @@ var SetupWizardComponent = class SetupWizardComponent {
59796
60101
  }
59797
60102
  skip() {
59798
60103
  if (this.busy()) return;
59799
- const key = this.current().key;
59800
- this.skipped.update((s) => new Set(s).add(key));
60104
+ const { key, skipCompletes } = this.current();
60105
+ if (skipCompletes) this.markCompleted(key);
60106
+ else this.skipped.update((s) => new Set(s).add(key));
60107
+ this.stepSkipped.emit({
60108
+ key,
60109
+ completed: !!skipCompletes
60110
+ });
59801
60111
  this.advanceFrom(key);
59802
60112
  }
60113
+ finish() {
60114
+ this.finished.emit();
60115
+ }
59803
60116
  completeSteps(...keys) {
59804
60117
  this.markStepsCompleted(keys);
59805
60118
  }
@@ -60081,22 +60394,53 @@ var SetupWizardComponent = class SetupWizardComponent {
60081
60394
  isSignal: true,
60082
60395
  isRequired: false,
60083
60396
  transformFunction: null
60397
+ },
60398
+ stepPicker: {
60399
+ classPropertyName: "stepPicker",
60400
+ publicName: "stepPicker",
60401
+ isSignal: true,
60402
+ isRequired: false,
60403
+ transformFunction: null
60404
+ },
60405
+ dimUnreachable: {
60406
+ classPropertyName: "dimUnreachable",
60407
+ publicName: "dimUnreachable",
60408
+ isSignal: true,
60409
+ isRequired: false,
60410
+ transformFunction: null
60411
+ },
60412
+ submitOnEnter: {
60413
+ classPropertyName: "submitOnEnter",
60414
+ publicName: "submitOnEnter",
60415
+ isSignal: true,
60416
+ isRequired: false,
60417
+ transformFunction: null
60084
60418
  }
60085
60419
  },
60086
60420
  outputs: {
60087
60421
  finished: "finished",
60088
60422
  exited: "exited",
60089
- stepChange: "stepChange"
60423
+ stepChange: "stepChange",
60424
+ stepSkipped: "stepSkipped"
60090
60425
  },
60091
- queries: [{
60092
- propertyName: "stepTemplates",
60093
- predicate: SetupWizardStepDirective,
60094
- isSignal: true
60095
- }, {
60096
- propertyName: "headerTemplates",
60097
- predicate: SetupWizardStepHeaderDirective,
60098
- isSignal: true
60099
- }],
60426
+ queries: [
60427
+ {
60428
+ propertyName: "stepTemplates",
60429
+ predicate: SetupWizardStepDirective,
60430
+ isSignal: true
60431
+ },
60432
+ {
60433
+ propertyName: "headerTemplates",
60434
+ predicate: SetupWizardStepHeaderDirective,
60435
+ isSignal: true
60436
+ },
60437
+ {
60438
+ propertyName: "doneTemplate",
60439
+ first: true,
60440
+ predicate: SetupWizardDoneDirective,
60441
+ isSignal: true
60442
+ }
60443
+ ],
60100
60444
  viewQueries: [{
60101
60445
  propertyName: "stepTitle",
60102
60446
  first: true,
@@ -60118,8 +60462,15 @@ var SetupWizardComponent = class SetupWizardComponent {
60118
60462
  <ng-content select="[setup-wizard-logo]" />
60119
60463
  <span class="sw-brand-text" data-testid="setup-wizard-brand">{{ t().brand }}</span>
60120
60464
  </div>
60121
- <ui-stepper class="sw-step-nav" [ariaLabel]="t().stepperLabel" orientation="vertical" size="sm" compact="md"
60465
+ <ui-stepper class="sw-step-nav" [ariaLabel]="t().stepperLabel" orientation="vertical" size="sm" compact="md" [counterText]="t().stepCounter ?? null"
60122
60466
  [steps]="stepperSteps()" [current]="currentKey()" [clickable]="true" [linear]="false" (stepClick)="goToPast($event)" />
60467
+ @if (pickerShown()) {
60468
+ <div class="sw-step-picker" data-testid="wizard-step-picker">
60469
+ <ui-select class="sw-step-picker-select" size="sm" [label]="labels.t('setupWizard.stepPicker')" [placeholder]="labels.t('setupWizard.stepPickerPlaceholder')" [options]="pickerOptions()" [disabled]="busy()" [ngModel]="pickerValue()" (ngModelChange)="pickerKey.set($event)" />
60470
+ <ui-button variant="secondary" size="sm" data-testid="wizard-step-picker-go" [disabled]="busy() || !pickerValue()" [ariaDescribedBy]="pickerValue() ? '' : 'sw-step-picker-hint'" (click)="openPicked()">{{ labels.t('setupWizard.stepPickerGo') }}</ui-button>
60471
+ <span class="sw-sr" id="sw-step-picker-hint" data-testid="wizard-step-picker-hint">{{ labels.t('setupWizard.stepPickerHint') }}</span>
60472
+ </div>
60473
+ }
60123
60474
  </div>
60124
60475
  <div class="sw-sidebar-bottom">
60125
60476
  <ui-progress-bar [value]="completedCount()" [max]="allSteps().length" [ariaLabel]="labels.t('setupWizard.setupProgress')" />
@@ -60136,13 +60487,19 @@ var SetupWizardComponent = class SetupWizardComponent {
60136
60487
  @if (isDone()) {
60137
60488
  <div class="sw-step-content" [attr.aria-busy]="busy()" data-testid="wizard-done" data-step="done">
60138
60489
  @if (intro(); as i) { <ui-section-header class="sw-intro" data-testid="wizard-step-intro" size="lg" background="#eaf3ff" [title]="i.title" [description]="i.text"><span section-header-icon class="sw-step-number" data-testid="wizard-step-number">{{ index() + 1 }}</span></ui-section-header> }
60139
- <ui-detail-card class="sw-card" [title]="t().summaryTitle" [headingLevel]="3" [collapsible]="false" [ariaLabel]="t().summaryTitle" headerBackground="rgb(248, 250, 252)" footerBackground="rgb(248, 250, 252)" data-testid="wizard-step-card">
60490
+ <ui-detail-card class="sw-card" [class.sw-card--no-footer]="(index() === 0 || doneTemplate()?.hideBack()) && doneTemplate()?.hideFinish()" [title]="t().summaryTitle" [headingLevel]="3" [collapsible]="false" [ariaLabel]="t().summaryTitle" headerBackground="rgb(248, 250, 252)" footerBackground="rgb(248, 250, 252)" data-testid="wizard-step-card">
60491
+ @if (doneTemplate(); as done) {
60492
+ <ng-container [ngTemplateOutlet]="done.template" [ngTemplateOutletContext]="doneContext()" />
60493
+ } @else {
60140
60494
  <ui-panel-info-list class="sw-summary" data-testid="wizard-summary" [sections]="summarySections()" />
60141
60495
  <p class="sw-hint sw-done-hint">{{ t().doneHint }}</p>
60496
+ }
60142
60497
  <div card-footer class="sw-step-actions">
60143
- @if (index() > 0) { <ui-button variant="secondary" size="sm" [fullWidth]="narrow()" data-testid="wizard-back" [disabled]="busy()" (click)="back()"><svg class="sw-ico" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="iconD('arrow-left')" /></svg> {{ t().back }}</ui-button> }
60144
- <div class="sw-actions-right">
60498
+ @if (index() > 0 && !doneTemplate()?.hideBack()) { <ui-button variant="secondary" size="sm" [fullWidth]="narrow()" data-testid="wizard-back" [disabled]="busy()" (click)="back()"><svg class="sw-ico" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="iconD('arrow-left')" /></svg> {{ t().back }}</ui-button> }
60499
+ <div class="sw-actions-right" [class.sw-actions-right--none]="doneTemplate()?.hideFinish()">
60500
+ @if (!doneTemplate()?.hideFinish()) {
60145
60501
  <ui-button variant="primary" size="sm" [fullWidth]="narrow()" data-testid="wizard-finish" (click)="finished.emit()"><svg class="sw-ico" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="iconD('check')" /></svg> {{ t().finish }}</ui-button>
60502
+ }
60146
60503
  </div>
60147
60504
  </div>
60148
60505
  </ui-detail-card>
@@ -60155,7 +60512,7 @@ var SetupWizardComponent = class SetupWizardComponent {
60155
60512
  @if (index() > 0) { <ui-button variant="secondary" size="sm" [fullWidth]="narrow()" data-testid="wizard-back" [disabled]="busy()" (click)="back()"><svg class="sw-ico" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="iconD('arrow-left')" /></svg> {{ t().back }}</ui-button> } @else { <span></span> }
60156
60513
  <div class="sw-actions-right">
60157
60514
  @if (current().skippable !== false) {
60158
- <ui-button variant="secondary" size="sm" [fullWidth]="narrow()" data-testid="wizard-skip" [disabled]="busy()" (click)="skip()">{{ t().skip }} <svg class="sw-ico" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="iconD('chevron-right')" /></svg></ui-button>
60515
+ <ui-button variant="secondary" size="sm" [fullWidth]="narrow()" data-testid="wizard-skip" [disabled]="busy()" (click)="skip()">{{ current().skipLabel || t().skip }} <svg class="sw-ico" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="iconD('chevron-right')" /></svg></ui-button>
60159
60516
  }
60160
60517
  @if (current().kind === 'custom') {
60161
60518
  @if (!current().ownActions) {
@@ -60259,7 +60616,7 @@ var SetupWizardComponent = class SetupWizardComponent {
60259
60616
  </div>
60260
60617
  `,
60261
60618
  isInline: true,
60262
- styles: [".sw-page{display:flex;min-height:100vh;min-height:100dvh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.sw-sidebar{width:260px;min-width:260px;background:#faf9f7;border-right:1px solid #e5e2dc;display:flex;flex-direction:column;justify-content:space-between;padding:28px 20px;padding-left:max(20px,env(safe-area-inset-left))}.sw-brand{display:flex;align-items:center;gap:10px;margin-bottom:28px}.sw-brand-text{font-size:1.125rem;font-weight:700;color:#1e293b}.sw-step-nav{display:block}.sw-sidebar-bottom{margin-top:24px}.sw-progress-text{display:block;margin-top:8px;font-size:.75rem;color:#64748b}.sw-content{flex:1;min-width:0;background:#fff;display:flex;flex-direction:column;overflow-y:auto}.sw-content-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 32px;padding-left:max(32px,env(safe-area-inset-left));padding-right:max(32px,env(safe-area-inset-right));border-bottom:1px solid #f1f5f9}.sw-step-title{font-size:1.25rem;font-weight:700;color:#111827;margin:0}.sw-step-content{max-width:780px;padding:16px 48px 60px;padding-right:max(48px,env(safe-area-inset-right))}.sw-intro{margin-bottom:24px}.sw-step-number{font-size:1.25rem;font-weight:800;line-height:1}.sw-split-tabs{display:block;margin-bottom:16px}.sw-hint.sw-continue-hint{margin:14px 0 0}.sw-extra-status{font-size:.8125rem;color:#64748b;margin:12px 0 0}.sw-extra-status:empty{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.sw-hint{font-size:.8125rem;line-height:1.5;color:#64748b;margin:0 0 16px}.sw-import-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:28px}.sw-tag{font-size:.6875rem;font-weight:700;letter-spacing:1px;color:#6b7280}.sw-provider-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:8px}.sw-provider-grid--single{grid-template-columns:1fr}@media(max-width:768px){.sw-provider-grid{grid-template-columns:1fr}}.sw-provider-grid .sw-integration{margin-bottom:0}.sw-area-code{display:flex;align-items:flex-end;gap:12px;margin-top:12px;max-width:320px}.sw-area-code ui-text-input{flex:1}.sw-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.sw-content ui-alert{display:block;margin-bottom:16px}.sw-card{display:block}.sw-header-action{margin-left:auto;min-width:0;max-width:100%}.sw-step-actions{display:flex;justify-content:space-between;align-items:center}.sw-ico{flex-shrink:0;vertical-align:-2px}.sw-actions-right{display:flex;align-items:center;gap:16px;margin-left:auto}.sw-summary{display:block}.sw-done-hint{margin:16px 0 0}@media(max-width:768px){.sw-step-actions{flex-direction:column-reverse;align-items:stretch;gap:10px}.sw-actions-right{flex-direction:column-reverse;align-items:stretch;gap:10px;margin-left:0}.sw-page{flex-direction:column}.sw-sidebar{width:100%;min-width:unset;padding:16px;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.sw-brand{margin-bottom:12px}.sw-sidebar-bottom{display:none}.sw-step-content{padding:12px 20px 40px;padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}}\n"],
60619
+ styles: [".sw-page{display:flex;min-height:100vh;min-height:100dvh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.sw-sidebar{width:260px;min-width:260px;background:#faf9f7;border-right:1px solid #e5e2dc;display:flex;flex-direction:column;justify-content:space-between;padding:28px 20px;padding-left:max(20px,env(safe-area-inset-left))}.sw-brand{display:flex;align-items:center;gap:10px;margin-bottom:28px}.sw-brand-text{font-size:1.125rem;font-weight:700;color:#1e293b}.sw-step-nav{display:block}.sw-sidebar-bottom{margin-top:24px}.sw-progress-text{display:block;margin-top:8px;font-size:.75rem;color:#64748b}.sw-content{flex:1;min-width:0;background:#fff;display:flex;flex-direction:column;overflow-y:auto}.sw-content-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 32px;padding-left:max(32px,env(safe-area-inset-left));padding-right:max(32px,env(safe-area-inset-right));border-bottom:1px solid #f1f5f9}.sw-step-title{font-size:1.25rem;font-weight:700;color:#111827;margin:0}.sw-step-content{max-width:780px;padding:16px 48px 60px;padding-right:max(48px,env(safe-area-inset-right))}.sw-intro{margin-bottom:24px}.sw-step-number{font-size:1.25rem;font-weight:800;line-height:1}.sw-split-tabs{display:block;margin-bottom:16px}.sw-hint.sw-continue-hint{margin:14px 0 0}.sw-extra-status{font-size:.8125rem;color:#64748b;margin:12px 0 0}.sw-extra-status:empty{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.sw-hint{font-size:.8125rem;line-height:1.5;color:#64748b;margin:0 0 16px}.sw-import-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:28px}.sw-tag{font-size:.6875rem;font-weight:700;letter-spacing:1px;color:#6b7280}.sw-provider-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:8px}.sw-provider-grid--single{grid-template-columns:1fr}@media(max-width:768px){.sw-provider-grid{grid-template-columns:1fr}}.sw-provider-grid .sw-integration{margin-bottom:0}.sw-area-code{display:flex;align-items:flex-end;gap:12px;margin-top:12px;max-width:320px}.sw-area-code ui-text-input{flex:1}.sw-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.sw-content ui-alert{display:block;margin-bottom:16px}.sw-card{display:block}.sw-header-action{margin-left:auto;min-width:0;max-width:100%}.sw-step-actions{display:flex;justify-content:space-between;align-items:center}.sw-ico{flex-shrink:0;vertical-align:-2px}.sw-actions-right{display:flex;align-items:center;gap:16px;margin-left:auto}.sw-summary{display:block}.sw-done-hint{margin:16px 0 0}.sw-actions-right--none,.sw-card--no-footer>.dc>.dc-footer{display:none}.sw-step-picker{display:none}@media(max-width:767.98px){.sw-step-picker{display:flex;align-items:flex-end;gap:8px;margin-top:12px}.sw-step-picker-select{flex:1;min-width:0}}@media(max-width:768px){.sw-step-actions{flex-direction:column-reverse;align-items:stretch;gap:10px}.sw-actions-right{flex-direction:column-reverse;align-items:stretch;gap:10px;margin-left:0}.sw-page{flex-direction:column}.sw-sidebar{width:100%;min-width:unset;padding:16px;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.sw-brand{margin-bottom:12px}.sw-sidebar-bottom{display:none}.sw-step-content{padding:12px 20px 40px;padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}}\n"],
60263
60620
  dependencies: [
60264
60621
  {
60265
60622
  kind: "directive",
@@ -60438,7 +60795,8 @@ var SetupWizardComponent = class SetupWizardComponent {
60438
60795
  "actionAriaLabel",
60439
60796
  "actionTestId",
60440
60797
  "actionLoading",
60441
- "disabled"
60798
+ "disabled",
60799
+ "selected"
60442
60800
  ],
60443
60801
  outputs: ["action"]
60444
60802
  },
@@ -60506,6 +60864,28 @@ var SetupWizardComponent = class SetupWizardComponent {
60506
60864
  "noPaddingBottom"
60507
60865
  ]
60508
60866
  },
60867
+ {
60868
+ kind: "component",
60869
+ type: SelectComponent,
60870
+ selector: "ui-select",
60871
+ inputs: [
60872
+ "label",
60873
+ "ariaLabel",
60874
+ "labelHidden",
60875
+ "inputName",
60876
+ "placeholder",
60877
+ "options",
60878
+ "valueType",
60879
+ "required",
60880
+ "hint",
60881
+ "ariaDescribedBy",
60882
+ "error",
60883
+ "showErrors",
60884
+ "size",
60885
+ "disabled"
60886
+ ],
60887
+ outputs: ["invalidChange", "valueChange"]
60888
+ },
60509
60889
  {
60510
60890
  kind: "component",
60511
60891
  type: StepperComponent,
@@ -60527,6 +60907,7 @@ var SetupWizardComponent = class SetupWizardComponent {
60527
60907
  "minStepWidth",
60528
60908
  "scrollable",
60529
60909
  "leadingWidth",
60910
+ "counterText",
60530
60911
  "compact"
60531
60912
  ],
60532
60913
  outputs: ["currentChange", "stepClick"]
@@ -60605,6 +60986,7 @@ i0.ɵɵngDeclareClassMetadata({
60605
60986
  PanelInfoListComponent,
60606
60987
  ProgressBarComponent,
60607
60988
  SectionHeaderComponent,
60989
+ SelectComponent,
60608
60990
  StepperComponent,
60609
60991
  TextInputComponent
60610
60992
  ],
@@ -60616,8 +60998,15 @@ i0.ɵɵngDeclareClassMetadata({
60616
60998
  <ng-content select="[setup-wizard-logo]" />
60617
60999
  <span class="sw-brand-text" data-testid="setup-wizard-brand">{{ t().brand }}</span>
60618
61000
  </div>
60619
- <ui-stepper class="sw-step-nav" [ariaLabel]="t().stepperLabel" orientation="vertical" size="sm" compact="md"
61001
+ <ui-stepper class="sw-step-nav" [ariaLabel]="t().stepperLabel" orientation="vertical" size="sm" compact="md" [counterText]="t().stepCounter ?? null"
60620
61002
  [steps]="stepperSteps()" [current]="currentKey()" [clickable]="true" [linear]="false" (stepClick)="goToPast($event)" />
61003
+ @if (pickerShown()) {
61004
+ <div class="sw-step-picker" data-testid="wizard-step-picker">
61005
+ <ui-select class="sw-step-picker-select" size="sm" [label]="labels.t('setupWizard.stepPicker')" [placeholder]="labels.t('setupWizard.stepPickerPlaceholder')" [options]="pickerOptions()" [disabled]="busy()" [ngModel]="pickerValue()" (ngModelChange)="pickerKey.set($event)" />
61006
+ <ui-button variant="secondary" size="sm" data-testid="wizard-step-picker-go" [disabled]="busy() || !pickerValue()" [ariaDescribedBy]="pickerValue() ? '' : 'sw-step-picker-hint'" (click)="openPicked()">{{ labels.t('setupWizard.stepPickerGo') }}</ui-button>
61007
+ <span class="sw-sr" id="sw-step-picker-hint" data-testid="wizard-step-picker-hint">{{ labels.t('setupWizard.stepPickerHint') }}</span>
61008
+ </div>
61009
+ }
60621
61010
  </div>
60622
61011
  <div class="sw-sidebar-bottom">
60623
61012
  <ui-progress-bar [value]="completedCount()" [max]="allSteps().length" [ariaLabel]="labels.t('setupWizard.setupProgress')" />
@@ -60634,13 +61023,19 @@ i0.ɵɵngDeclareClassMetadata({
60634
61023
  @if (isDone()) {
60635
61024
  <div class="sw-step-content" [attr.aria-busy]="busy()" data-testid="wizard-done" data-step="done">
60636
61025
  @if (intro(); as i) { <ui-section-header class="sw-intro" data-testid="wizard-step-intro" size="lg" background="#eaf3ff" [title]="i.title" [description]="i.text"><span section-header-icon class="sw-step-number" data-testid="wizard-step-number">{{ index() + 1 }}</span></ui-section-header> }
60637
- <ui-detail-card class="sw-card" [title]="t().summaryTitle" [headingLevel]="3" [collapsible]="false" [ariaLabel]="t().summaryTitle" headerBackground="rgb(248, 250, 252)" footerBackground="rgb(248, 250, 252)" data-testid="wizard-step-card">
61026
+ <ui-detail-card class="sw-card" [class.sw-card--no-footer]="(index() === 0 || doneTemplate()?.hideBack()) && doneTemplate()?.hideFinish()" [title]="t().summaryTitle" [headingLevel]="3" [collapsible]="false" [ariaLabel]="t().summaryTitle" headerBackground="rgb(248, 250, 252)" footerBackground="rgb(248, 250, 252)" data-testid="wizard-step-card">
61027
+ @if (doneTemplate(); as done) {
61028
+ <ng-container [ngTemplateOutlet]="done.template" [ngTemplateOutletContext]="doneContext()" />
61029
+ } @else {
60638
61030
  <ui-panel-info-list class="sw-summary" data-testid="wizard-summary" [sections]="summarySections()" />
60639
61031
  <p class="sw-hint sw-done-hint">{{ t().doneHint }}</p>
61032
+ }
60640
61033
  <div card-footer class="sw-step-actions">
60641
- @if (index() > 0) { <ui-button variant="secondary" size="sm" [fullWidth]="narrow()" data-testid="wizard-back" [disabled]="busy()" (click)="back()"><svg class="sw-ico" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="iconD('arrow-left')" /></svg> {{ t().back }}</ui-button> }
60642
- <div class="sw-actions-right">
61034
+ @if (index() > 0 && !doneTemplate()?.hideBack()) { <ui-button variant="secondary" size="sm" [fullWidth]="narrow()" data-testid="wizard-back" [disabled]="busy()" (click)="back()"><svg class="sw-ico" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="iconD('arrow-left')" /></svg> {{ t().back }}</ui-button> }
61035
+ <div class="sw-actions-right" [class.sw-actions-right--none]="doneTemplate()?.hideFinish()">
61036
+ @if (!doneTemplate()?.hideFinish()) {
60643
61037
  <ui-button variant="primary" size="sm" [fullWidth]="narrow()" data-testid="wizard-finish" (click)="finished.emit()"><svg class="sw-ico" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="iconD('check')" /></svg> {{ t().finish }}</ui-button>
61038
+ }
60644
61039
  </div>
60645
61040
  </div>
60646
61041
  </ui-detail-card>
@@ -60653,7 +61048,7 @@ i0.ɵɵngDeclareClassMetadata({
60653
61048
  @if (index() > 0) { <ui-button variant="secondary" size="sm" [fullWidth]="narrow()" data-testid="wizard-back" [disabled]="busy()" (click)="back()"><svg class="sw-ico" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="iconD('arrow-left')" /></svg> {{ t().back }}</ui-button> } @else { <span></span> }
60654
61049
  <div class="sw-actions-right">
60655
61050
  @if (current().skippable !== false) {
60656
- <ui-button variant="secondary" size="sm" [fullWidth]="narrow()" data-testid="wizard-skip" [disabled]="busy()" (click)="skip()">{{ t().skip }} <svg class="sw-ico" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="iconD('chevron-right')" /></svg></ui-button>
61051
+ <ui-button variant="secondary" size="sm" [fullWidth]="narrow()" data-testid="wizard-skip" [disabled]="busy()" (click)="skip()">{{ current().skipLabel || t().skip }} <svg class="sw-ico" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="iconD('chevron-right')" /></svg></ui-button>
60657
61052
  }
60658
61053
  @if (current().kind === 'custom') {
60659
61054
  @if (!current().ownActions) {
@@ -60756,7 +61151,7 @@ i0.ɵɵngDeclareClassMetadata({
60756
61151
  </main>
60757
61152
  </div>
60758
61153
  `,
60759
- styles: [".sw-page{display:flex;min-height:100vh;min-height:100dvh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.sw-sidebar{width:260px;min-width:260px;background:#faf9f7;border-right:1px solid #e5e2dc;display:flex;flex-direction:column;justify-content:space-between;padding:28px 20px;padding-left:max(20px,env(safe-area-inset-left))}.sw-brand{display:flex;align-items:center;gap:10px;margin-bottom:28px}.sw-brand-text{font-size:1.125rem;font-weight:700;color:#1e293b}.sw-step-nav{display:block}.sw-sidebar-bottom{margin-top:24px}.sw-progress-text{display:block;margin-top:8px;font-size:.75rem;color:#64748b}.sw-content{flex:1;min-width:0;background:#fff;display:flex;flex-direction:column;overflow-y:auto}.sw-content-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 32px;padding-left:max(32px,env(safe-area-inset-left));padding-right:max(32px,env(safe-area-inset-right));border-bottom:1px solid #f1f5f9}.sw-step-title{font-size:1.25rem;font-weight:700;color:#111827;margin:0}.sw-step-content{max-width:780px;padding:16px 48px 60px;padding-right:max(48px,env(safe-area-inset-right))}.sw-intro{margin-bottom:24px}.sw-step-number{font-size:1.25rem;font-weight:800;line-height:1}.sw-split-tabs{display:block;margin-bottom:16px}.sw-hint.sw-continue-hint{margin:14px 0 0}.sw-extra-status{font-size:.8125rem;color:#64748b;margin:12px 0 0}.sw-extra-status:empty{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.sw-hint{font-size:.8125rem;line-height:1.5;color:#64748b;margin:0 0 16px}.sw-import-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:28px}.sw-tag{font-size:.6875rem;font-weight:700;letter-spacing:1px;color:#6b7280}.sw-provider-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:8px}.sw-provider-grid--single{grid-template-columns:1fr}@media(max-width:768px){.sw-provider-grid{grid-template-columns:1fr}}.sw-provider-grid .sw-integration{margin-bottom:0}.sw-area-code{display:flex;align-items:flex-end;gap:12px;margin-top:12px;max-width:320px}.sw-area-code ui-text-input{flex:1}.sw-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.sw-content ui-alert{display:block;margin-bottom:16px}.sw-card{display:block}.sw-header-action{margin-left:auto;min-width:0;max-width:100%}.sw-step-actions{display:flex;justify-content:space-between;align-items:center}.sw-ico{flex-shrink:0;vertical-align:-2px}.sw-actions-right{display:flex;align-items:center;gap:16px;margin-left:auto}.sw-summary{display:block}.sw-done-hint{margin:16px 0 0}@media(max-width:768px){.sw-step-actions{flex-direction:column-reverse;align-items:stretch;gap:10px}.sw-actions-right{flex-direction:column-reverse;align-items:stretch;gap:10px;margin-left:0}.sw-page{flex-direction:column}.sw-sidebar{width:100%;min-width:unset;padding:16px;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.sw-brand{margin-bottom:12px}.sw-sidebar-bottom{display:none}.sw-step-content{padding:12px 20px 40px;padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}}\n"]
61154
+ styles: [".sw-page{display:flex;min-height:100vh;min-height:100dvh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.sw-sidebar{width:260px;min-width:260px;background:#faf9f7;border-right:1px solid #e5e2dc;display:flex;flex-direction:column;justify-content:space-between;padding:28px 20px;padding-left:max(20px,env(safe-area-inset-left))}.sw-brand{display:flex;align-items:center;gap:10px;margin-bottom:28px}.sw-brand-text{font-size:1.125rem;font-weight:700;color:#1e293b}.sw-step-nav{display:block}.sw-sidebar-bottom{margin-top:24px}.sw-progress-text{display:block;margin-top:8px;font-size:.75rem;color:#64748b}.sw-content{flex:1;min-width:0;background:#fff;display:flex;flex-direction:column;overflow-y:auto}.sw-content-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 32px;padding-left:max(32px,env(safe-area-inset-left));padding-right:max(32px,env(safe-area-inset-right));border-bottom:1px solid #f1f5f9}.sw-step-title{font-size:1.25rem;font-weight:700;color:#111827;margin:0}.sw-step-content{max-width:780px;padding:16px 48px 60px;padding-right:max(48px,env(safe-area-inset-right))}.sw-intro{margin-bottom:24px}.sw-step-number{font-size:1.25rem;font-weight:800;line-height:1}.sw-split-tabs{display:block;margin-bottom:16px}.sw-hint.sw-continue-hint{margin:14px 0 0}.sw-extra-status{font-size:.8125rem;color:#64748b;margin:12px 0 0}.sw-extra-status:empty{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.sw-hint{font-size:.8125rem;line-height:1.5;color:#64748b;margin:0 0 16px}.sw-import-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:28px}.sw-tag{font-size:.6875rem;font-weight:700;letter-spacing:1px;color:#6b7280}.sw-provider-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:8px}.sw-provider-grid--single{grid-template-columns:1fr}@media(max-width:768px){.sw-provider-grid{grid-template-columns:1fr}}.sw-provider-grid .sw-integration{margin-bottom:0}.sw-area-code{display:flex;align-items:flex-end;gap:12px;margin-top:12px;max-width:320px}.sw-area-code ui-text-input{flex:1}.sw-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.sw-content ui-alert{display:block;margin-bottom:16px}.sw-card{display:block}.sw-header-action{margin-left:auto;min-width:0;max-width:100%}.sw-step-actions{display:flex;justify-content:space-between;align-items:center}.sw-ico{flex-shrink:0;vertical-align:-2px}.sw-actions-right{display:flex;align-items:center;gap:16px;margin-left:auto}.sw-summary{display:block}.sw-done-hint{margin:16px 0 0}.sw-actions-right--none,.sw-card--no-footer>.dc>.dc-footer{display:none}.sw-step-picker{display:none}@media(max-width:767.98px){.sw-step-picker{display:flex;align-items:flex-end;gap:8px;margin-top:12px}.sw-step-picker-select{flex:1;min-width:0}}@media(max-width:768px){.sw-step-actions{flex-direction:column-reverse;align-items:stretch;gap:10px}.sw-actions-right{flex-direction:column-reverse;align-items:stretch;gap:10px;margin-left:0}.sw-page{flex-direction:column}.sw-sidebar{width:100%;min-width:unset;padding:16px;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.sw-brand{margin-bottom:12px}.sw-sidebar-bottom{display:none}.sw-step-content{padding:12px 20px 40px;padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}}\n"]
60760
61155
  }]
60761
61156
  }],
60762
61157
  ctorParameters: () => [],
@@ -60785,6 +61180,30 @@ i0.ɵɵngDeclareClassMetadata({
60785
61180
  required: false
60786
61181
  }]
60787
61182
  }],
61183
+ stepPicker: [{
61184
+ type: i0.Input,
61185
+ args: [{
61186
+ isSignal: true,
61187
+ alias: "stepPicker",
61188
+ required: false
61189
+ }]
61190
+ }],
61191
+ dimUnreachable: [{
61192
+ type: i0.Input,
61193
+ args: [{
61194
+ isSignal: true,
61195
+ alias: "dimUnreachable",
61196
+ required: false
61197
+ }]
61198
+ }],
61199
+ submitOnEnter: [{
61200
+ type: i0.Input,
61201
+ args: [{
61202
+ isSignal: true,
61203
+ alias: "submitOnEnter",
61204
+ required: false
61205
+ }]
61206
+ }],
60788
61207
  finished: [{
60789
61208
  type: i0.Output,
60790
61209
  args: ["finished"]
@@ -60797,6 +61216,10 @@ i0.ɵɵngDeclareClassMetadata({
60797
61216
  type: i0.Output,
60798
61217
  args: ["stepChange"]
60799
61218
  }],
61219
+ stepSkipped: [{
61220
+ type: i0.Output,
61221
+ args: ["stepSkipped"]
61222
+ }],
60800
61223
  stepTemplates: [{
60801
61224
  type: i0.ContentChildren,
60802
61225
  args: [i0.forwardRef(() => SetupWizardStepDirective), { isSignal: true }]
@@ -60805,6 +61228,13 @@ i0.ɵɵngDeclareClassMetadata({
60805
61228
  type: i0.ContentChildren,
60806
61229
  args: [i0.forwardRef(() => SetupWizardStepHeaderDirective), { isSignal: true }]
60807
61230
  }],
61231
+ doneTemplate: [{
61232
+ type: i0.ContentChild,
61233
+ args: [i0.forwardRef(() => SetupWizardDoneDirective), {
61234
+ descendants: false,
61235
+ isSignal: true
61236
+ }]
61237
+ }],
60808
61238
  stepTitle: [{
60809
61239
  type: i0.ViewChild,
60810
61240
  args: ["stepTitle", { isSignal: true }]
@@ -71979,7 +72409,7 @@ const BUILT_IN_ENDONYMS = {
71979
72409
  ko: "한국어",
71980
72410
  ru: "Русский"
71981
72411
  };
71982
- const BUILT_IN_LOADERS = /* @__PURE__ */ new Map([["es", () => import("./forgeroute-ui-ui-labels.es-DtHranlg.mjs").then((m) => m.UI_LABELS_ES)]]);
72412
+ const BUILT_IN_LOADERS = /* @__PURE__ */ new Map([["es", () => import("./forgeroute-ui-ui-labels.es-D52WPAMv.mjs").then((m) => m.UI_LABELS_ES)]]);
71983
72413
  const normalizeTag = (tag) => tag.trim().toLowerCase().replace(/_/g, "-");
71984
72414
  const baseOf = (tag) => normalizeTag(tag).split("-")[0];
71985
72415
  const builtInLoader = (lang) => BUILT_IN_LOADERS.get(normalizeTag(lang)) ?? BUILT_IN_LOADERS.get(baseOf(lang));
@@ -75759,6 +76189,6 @@ i0.ɵɵngDeclareClassMetadata({
75759
76189
  }]
75760
76190
  }
75761
76191
  });
75762
- export { ALLOCATION_CUSTOM, ASCII_SPECIAL_PASSWORD_RULES, ActionBarComponent, AddressInputComponent, AlertComponent, AppShellComponent, AudioPlayerComponent, AvatarComponent, BADGE_VARIANT_STYLES, BadgeComponent, BankAccountFormComponent, BarRowComponent, BoardCardDirective, BoardComponent, BulkMessagePanelComponent, BusinessHoursComponent, ButtonComponent, CENTERED_FOCAL_POINT, COMMON_DETAIL_GROUP_STYLES, CalendarComponent, CardListItemComponent, ChargeFormComponent, CheckboxComponent, CheckboxTrailingDirective, ChipComponent, ChipGroupComponent, ColorInputComponent, ColumnFilterComponent, ColumnsComponent, ComboboxComponent, ConfirmAfterCheckService, ConfirmOutletComponent, ConfirmService, ContactPickerComponent, ConversationRichBodyComponent, ConversationsComponent, CopyFieldComponent, DEFAULT_ALLOCATION_MODES, DEFAULT_BANK_ACCOUNT_TYPE_OPTIONS, DEFAULT_BANK_HOLDER_TYPE_OPTIONS, DEFAULT_BANK_MANDATE_TEXT, DEFAULT_EMAIL_TEMPLATE_BLOCK_GROUPS, DEFAULT_EMAIL_TEMPLATE_VARIABLE_GROUPS, DEFAULT_PASSWORD_RULES, DEFAULT_PAYMENT_METHODS, DEFAULT_REFUND_REASONS, DETAIL_CARD_HEADER_BG, DETAIL_GROUP_HEADER_BG, DROPDOWN_GROUP, DataTableComponent, DateInputComponent, DateRangePickerComponent, DatetimeInputComponent, DetailCardComponent, DiscountSelectorComponent, DividerComponent, DropdownComponent, EMAIL_BLOCK_DRAG_TYPE, EMAIL_TEMPLATE_MAX_BODY, EMAIL_TEMPLATE_MAX_TEXT, EMAIL_TEMPLATE_START_TEXT, EMBEDDING_PARENT, EmailTemplateEditorComponent, EmptyStateComponent, ErrorComponent, ErrorStateComponent, FORGEROUTE_CONFIG, FadeComponent, FileInputComponent, FillViewportDirective, FixedFooterComponent, FormColSpanDirective, FormComponent, FormRowComponent, FormSectionComponent, HintComponent, ICON_NAMES, IDX_BEHAVIOR_SIGNALS, IDX_BEHAVIOR_SIGNALS_ES, IMAGE_FIELD_ACCEPT, IMAGE_FIELD_MAX_BYTES, INTEGRATION_CATALOG, INTEGRATION_FIELD_DEFS, INTEGRATION_FIELD_TEXTS_ES, INTEGRATION_GROUP_LABELS_ES, INTEGRATION_GROUP_ORDER, INTEGRATION_OPTION_DEFS, INTEGRATION_OPTION_TEXTS_ES, INTEGRATION_TEXTS_ES, IconComponent, IconPickerComponent, ImageComponent, ImageFieldComponent, ImageGalleryComponent, ImageGalleryDialogComponent, ImagePreviewComponent, ImageRepositionComponent, ImportExportComponent, ImportSourceGridComponent, InspectionTemplatePrintService, KanbanBoardComponent, KanbanCardDirective, KeypadComponent, KpiCardComponent, LAYOUT_GAP_PX, LISTED_SPECIAL_PASSWORD_RULES, ListComponent, ListItemComponent, LiveRegionComponent, MAX_EMAIL_ADDRESS_LENGTH, MAX_PAYMENT_AMOUNT, MIN_PAYMENT_AMOUNT, ModalComponent, ModuleLabelsRegistry, MoreMenuComponent, MultiSelectComponent, NOTES_MAX_LENGTH, NotesComponent, NotificationBellComponent, OfflineBannerComponent, OptionCardComponent, PASSWORD_MAX_BYTES, PASSWORD_MAX_LENGTH, PAYMENT_ATTEMPT_MARKER_TTL_MS, PAYMENT_ATTEMPT_PAID_RECORD_TTL_MS, PAYMENT_ATTEMPT_STORAGE, PAYMENT_ATTEMPT_STORAGE_PREFIX, PAYMENT_ATTEMPT_TOMBSTONE_TTL_MS, PAYMENT_ATTEMPT_VERIFICATION_TTL_MS, PAYMENT_AUTH_TIMEOUT_MS, PAYMENT_FAILURE_CODES, PAYMENT_HOST_SILENCE_MS, PAYMENT_METHOD, PAYMENT_METHOD_PLUGIN, PAYMENT_NO_CHARGE_CODES, PAYMENT_READINESS_EVERY_MS, PAYMENT_READINESS_REASONS, PAYMENT_READINESS_SLOW_RTT_MS, PAYMENT_READINESS_TIMEOUT_MS, PAYMENT_REQUEST_TIMEOUT_MS, PAYMENT_STATUS_CHECK_TIMEOUT_MS, PAYMENT_STATUS_FAIL_GRACE_MS, PAYMENT_STATUS_HARD_MAX_MS, PAYMENT_STATUS_POLL_MAX_MS, PAYMENT_STATUS_POLL_MS, PHONE_NUMBER_AREA_CODE_LENGTH, PHONE_NUMBER_ZIP_LENGTH, PageComponent, PaginationComponent, PanelInfoListComponent, PasswordRequirementsComponent, PaymentAttempt, PaymentAttemptStatusComponent, PaymentCustomMethodComponent, PaymentMethodPlugin, PaymentReadiness, PaymentSidePanelComponent, PdfHotspotComponent, PhoneNumberPickerComponent, PillTabPanelDirective, PillTabsComponent, PrintService, ProgressBarComponent, ProgressRingComponent, QrCodeComponent, QuickFilterTabsComponent, RICH_TEXT_OPTIONS, RadioComponent, RadioGroupComponent, RadioMatrixComponent, RadioOptionContentDirective, ReadonlyFieldsetComponent, RefundPanelComponent, ReminderAlertsComponent, RichTextEditorComponent, SEMANTIC_BADGE_MAP, SEMANTIC_BADGE_MAP_ES, SETUP_DONE_KEY, SETUP_INTEGRATIONS, SearchInputComponent, SectionHeaderComponent, SelectComponent, SetupWizardComponent, SetupWizardStepDirective, SetupWizardStepHeaderDirective, ShareMenuComponent, ShowComponent, SidePanelComponent, SidebarLayoutComponent, SignaturePadComponent, SkeletonComponent, SkipLinkComponent, SnackbarComponent, SnackbarService, StackComponent, StackedBarComponent, StackingPlanComponent, StarComponent, StarRatingComponent, StepperComponent, SwatchPickerComponent, TableToolbarComponent, TextComponent, TextInputComponent, TextTemplatePickerComponent, TextareaInputComponent, TimeInputComponent, TimelineComponent, ToastComponent, ToastService, ToggleBadgeComponent, ToggleComponent, TooltipDirective, TourComponent, UI_DEFAULT_LABELS, UI_FIELD_REVEAL_HOST, UI_LANGUAGE_AUTO, UI_LANGUAGE_CONFIG, UI_NOTES_QUEUE, UI_READ_ONLY_MODE, US_LOCATIONS, US_STATES, US_STATE_OPTIONS, US_ZIP_PATTERN, UiFieldValidity, UiLabelsService, UiLanguageService, UiLanguageSwitcherComponent, acceptLabel, appShellGroupsStorageKey, assertModuleLabelParity, attemptLabelKey, autoVariant, blockHasContent, buildDefaultSchedule, buildInspectionTemplateHtml, buildMapsEmbedUrl, buildMapsUrl, buildPreviewDocument, buildVideoBlockHtml, builtInActionIcon, builtInReadinessReasons, businessTimeOptions, callHost, clampFocalPoint, classifyHostError, conversationDateLabel, conversationHtmlToText, conversationInitial, conversationMessageStatusLabel, conversationMessageStatusMark, createFieldReveal, createModuleLabels, createPasswordPolicyValidator, createPaymentProtection, csvCell, csvSafeText, decodeFilterValues, defaultChargeAmount, defaultLabel, digitsOnly, downloadBlob, downloadCsv, emailShareUrl, emptyAddress, encodeFilterValue, encodeFilterValues, errorContextInterceptor, escapeHtml, facebookShareUrl, fileMatchesAccept, fileNameFromContentDisposition, formatAddress, formatAddressValue, formatAddressValueOneLine, formatAttachmentSize, formatCategoryLabel, formatConversationPhone, formatConversationTime, formatCurrency, formatDuration, formatEnum, formatFileSize, formatIsoDate, formatIsoDateTime, formatMessageTime, formatPhone, formatPhoneDisplay, formatShortDate, formatTime, formatTimeAgo, formatVideoDuration, frameAspectRatio, frameWidth, getEligibleIds, getEligibleOptions, getErrorMessage, getInitials, gmailShareUrl, groupMessagesByDay, hostErrorMessage, humanReadableMessage, iconPath, imageObjectPosition, injectModuleLabels, injectReadOnlyMode, insideEditorBlock, inspectionTemplateStatusLabel, integrationGroupLabel, integrationPlainText, integrationsForApp, integrationsOnlyFor, isAttemptFailedReplay, isAwaitingVerificationError, isBlockDrag, isDarkPage, isEmptyAddress, isFinalPaymentRefusal, isValidAmount, isValidEmailAddress, isValidZip, isWebUrl, isoKey, issueToErrors, last4Error, linkedInShareUrl, loadUiLabels, localizeIntegration, localizeIntegrationFields, localizeIntegrationOptions, localizedAllocationModes, localizedDetailGroupStyle, localizedEmailBlockGroups, localizedEmailVariableGroups, localizedIdxBehaviorSignals, localizedIntegrationDescription, localizedIntegrationTitle, localizedPaymentMethods, maxLengthIssue, mergeDescribedBy, moduleLabelsTesting, normalizeAddress, normalizeHexColor, orderBulkOptions, outlookShareUrl, parseAddressOneLine, parseAddressValue, parseBizHours, parseIso, parseTime, passwordByteLength, passwordMeetsRules, passwordTooLongMessage, passwordWithinLimits, paymentErrorLabelKey, periodGroup, pillTabDescriptionId, pillTabId, pillTabPanelId, pillTabTitleId, pluralize, provideForgerouteToast, provideModuleLabelOverrides, provideReadOnlyMode, provideUiLanguage, refusalLabelKey, reorderItems, requiredIssue, resolveLayoutGap, resolvePreset, safeLocale, semanticBadgeVariant, serializeBizHours, serializedTextLength, setupIntegrations, splitIntro, terminalTimeoutText, terminalVerdict, timelineItemsFromEvents, toCsv, todayInTimezone, truncateConversationText, uiCurrencyFormatter, uiFormatClock, uiFormatCurrency, uiFormatDate, uiFormatHour, uiFormatNumber, uiLocale, uiMonthName, uiText, uiWeekdayName, usStateName, usStateSelectOptions, usdCurrencyDisplay, warnQueuedPayment, wasQueuedOffline, xShareUrl };
76192
+ export { ALLOCATION_CUSTOM, ASCII_SPECIAL_PASSWORD_RULES, ActionBarComponent, AddressInputComponent, AlertComponent, AppShellComponent, AudioPlayerComponent, AvatarComponent, BADGE_VARIANT_STYLES, BadgeComponent, BankAccountFormComponent, BarRowComponent, BoardCardDirective, BoardComponent, BulkMessagePanelComponent, BusinessHoursComponent, ButtonComponent, CENTERED_FOCAL_POINT, COMMON_DETAIL_GROUP_STYLES, CalendarComponent, CardListItemComponent, ChargeFormComponent, CheckboxComponent, CheckboxTrailingDirective, ChipComponent, ChipGroupComponent, ColorInputComponent, ColumnFilterComponent, ColumnsComponent, ComboboxComponent, ConfirmAfterCheckService, ConfirmOutletComponent, ConfirmService, ContactPickerComponent, ConversationRichBodyComponent, ConversationsComponent, CopyFieldComponent, DEFAULT_ALLOCATION_MODES, DEFAULT_BANK_ACCOUNT_TYPE_OPTIONS, DEFAULT_BANK_HOLDER_TYPE_OPTIONS, DEFAULT_BANK_MANDATE_TEXT, DEFAULT_EMAIL_TEMPLATE_BLOCK_GROUPS, DEFAULT_EMAIL_TEMPLATE_VARIABLE_GROUPS, DEFAULT_PASSWORD_RULES, DEFAULT_PAYMENT_METHODS, DEFAULT_REFUND_REASONS, DETAIL_CARD_HEADER_BG, DETAIL_GROUP_HEADER_BG, DROPDOWN_GROUP, DataTableComponent, DateInputComponent, DateRangePickerComponent, DatetimeInputComponent, DetailCardComponent, DiscountSelectorComponent, DividerComponent, DropdownComponent, EMAIL_BLOCK_DRAG_TYPE, EMAIL_TEMPLATE_MAX_BODY, EMAIL_TEMPLATE_MAX_TEXT, EMAIL_TEMPLATE_START_TEXT, EMBEDDING_PARENT, EmailTemplateEditorComponent, EmptyStateComponent, ErrorComponent, ErrorStateComponent, FORGEROUTE_CONFIG, FadeComponent, FileInputComponent, FillViewportDirective, FixedFooterComponent, FormColSpanDirective, FormComponent, FormRowComponent, FormSectionComponent, HintComponent, ICON_NAMES, IDX_BEHAVIOR_SIGNALS, IDX_BEHAVIOR_SIGNALS_ES, IMAGE_FIELD_ACCEPT, IMAGE_FIELD_MAX_BYTES, INTEGRATION_CATALOG, INTEGRATION_FIELD_DEFS, INTEGRATION_FIELD_TEXTS_ES, INTEGRATION_GROUP_LABELS_ES, INTEGRATION_GROUP_ORDER, INTEGRATION_OPTION_DEFS, INTEGRATION_OPTION_TEXTS_ES, INTEGRATION_TEXTS_ES, IconComponent, IconPickerComponent, ImageComponent, ImageFieldComponent, ImageGalleryComponent, ImageGalleryDialogComponent, ImagePreviewComponent, ImageRepositionComponent, ImportExportComponent, ImportSourceGridComponent, InspectionTemplatePrintService, KanbanBoardComponent, KanbanCardDirective, KeypadComponent, KpiCardComponent, LAYOUT_GAP_PX, LISTED_SPECIAL_PASSWORD_RULES, ListComponent, ListItemComponent, LiveRegionComponent, MAX_EMAIL_ADDRESS_LENGTH, MAX_PAYMENT_AMOUNT, MIN_PAYMENT_AMOUNT, MORE_ICON_NAMES, ModalComponent, ModuleLabelsRegistry, MoreMenuComponent, MultiSelectComponent, NOTES_MAX_LENGTH, NotesComponent, NotificationBellComponent, OfflineBannerComponent, OptionCardComponent, PASSWORD_MAX_BYTES, PASSWORD_MAX_LENGTH, PAYMENT_ATTEMPT_MARKER_TTL_MS, PAYMENT_ATTEMPT_PAID_RECORD_TTL_MS, PAYMENT_ATTEMPT_STORAGE, PAYMENT_ATTEMPT_STORAGE_PREFIX, PAYMENT_ATTEMPT_TOMBSTONE_TTL_MS, PAYMENT_ATTEMPT_VERIFICATION_TTL_MS, PAYMENT_AUTH_TIMEOUT_MS, PAYMENT_FAILURE_CODES, PAYMENT_HOST_SILENCE_MS, PAYMENT_METHOD, PAYMENT_METHOD_PLUGIN, PAYMENT_NO_CHARGE_CODES, PAYMENT_READINESS_EVERY_MS, PAYMENT_READINESS_REASONS, PAYMENT_READINESS_SLOW_RTT_MS, PAYMENT_READINESS_TIMEOUT_MS, PAYMENT_REQUEST_TIMEOUT_MS, PAYMENT_STATUS_CHECK_TIMEOUT_MS, PAYMENT_STATUS_FAIL_GRACE_MS, PAYMENT_STATUS_HARD_MAX_MS, PAYMENT_STATUS_POLL_MAX_MS, PAYMENT_STATUS_POLL_MS, PHONE_NUMBER_AREA_CODE_LENGTH, PHONE_NUMBER_ZIP_LENGTH, PageComponent, PaginationComponent, PanelInfoListComponent, PasswordRequirementsComponent, PaymentAttempt, PaymentAttemptStatusComponent, PaymentCustomMethodComponent, PaymentMethodPlugin, PaymentReadiness, PaymentSidePanelComponent, PdfHotspotComponent, PhoneNumberPickerComponent, PillTabPanelDirective, PillTabsComponent, PrintService, ProgressBarComponent, ProgressRingComponent, QrCodeComponent, QuickFilterTabsComponent, RICH_TEXT_OPTIONS, RadioComponent, RadioGroupComponent, RadioMatrixComponent, RadioOptionContentDirective, ReadonlyFieldsetComponent, RefundPanelComponent, ReminderAlertsComponent, RichTextEditorComponent, SEMANTIC_BADGE_MAP, SEMANTIC_BADGE_MAP_ES, SETUP_DONE_KEY, SETUP_INTEGRATIONS, SearchInputComponent, SectionHeaderComponent, SelectComponent, SetupWizardComponent, SetupWizardDoneDirective, SetupWizardStepDirective, SetupWizardStepHeaderDirective, ShareMenuComponent, ShowComponent, SidePanelComponent, SidebarLayoutComponent, SignaturePadComponent, SkeletonComponent, SkipLinkComponent, SnackbarComponent, SnackbarService, StackComponent, StackedBarComponent, StackingPlanComponent, StarComponent, StarRatingComponent, StepperComponent, SwatchPickerComponent, TableToolbarComponent, TextComponent, TextInputComponent, TextTemplatePickerComponent, TextareaInputComponent, TimeInputComponent, TimelineComponent, ToastComponent, ToastService, ToggleBadgeComponent, ToggleComponent, TooltipDirective, TourComponent, UI_DEFAULT_LABELS, UI_FIELD_REVEAL_HOST, UI_LANGUAGE_AUTO, UI_LANGUAGE_CONFIG, UI_NOTES_QUEUE, UI_READ_ONLY_MODE, US_LOCATIONS, US_STATES, US_STATE_OPTIONS, US_ZIP_PATTERN, UiFieldValidity, UiLabelsService, UiLanguageService, UiLanguageSwitcherComponent, acceptLabel, appShellGroupsStorageKey, assertModuleLabelParity, attemptLabelKey, autoVariant, blockHasContent, buildDefaultSchedule, buildInspectionTemplateHtml, buildMapsEmbedUrl, buildMapsUrl, buildPreviewDocument, buildVideoBlockHtml, builtInActionIcon, builtInReadinessReasons, businessTimeOptions, callHost, clampFocalPoint, classifyHostError, conversationDateLabel, conversationHtmlToText, conversationInitial, conversationMessageStatusLabel, conversationMessageStatusMark, createFieldReveal, createModuleLabels, createPasswordPolicyValidator, createPaymentProtection, csvCell, csvSafeText, decodeFilterValues, defaultChargeAmount, defaultLabel, digitsOnly, downloadBlob, downloadCsv, emailShareUrl, emptyAddress, encodeFilterValue, encodeFilterValues, errorContextInterceptor, escapeHtml, facebookShareUrl, fileMatchesAccept, fileNameFromContentDisposition, formatAddress, formatAddressValue, formatAddressValueOneLine, formatAttachmentSize, formatCategoryLabel, formatConversationPhone, formatConversationTime, formatCurrency, formatDuration, formatEnum, formatFileSize, formatIsoDate, formatIsoDateTime, formatMessageTime, formatPhone, formatPhoneDisplay, formatShortDate, formatTime, formatTimeAgo, formatVideoDuration, frameAspectRatio, frameWidth, getEligibleIds, getEligibleOptions, getErrorMessage, getInitials, gmailShareUrl, groupMessagesByDay, hostErrorMessage, humanReadableMessage, iconPath, imageObjectPosition, injectModuleLabels, injectReadOnlyMode, insideEditorBlock, inspectionTemplateStatusLabel, integrationGroupLabel, integrationPlainText, integrationsForApp, integrationsOnlyFor, isAttemptFailedReplay, isAwaitingVerificationError, isBlockDrag, isDarkPage, isEmptyAddress, isFinalPaymentRefusal, isValidAmount, isValidEmailAddress, isValidZip, isWebUrl, isoKey, issueToErrors, last4Error, linkedInShareUrl, loadUiLabels, localizeIntegration, localizeIntegrationFields, localizeIntegrationOptions, localizedAllocationModes, localizedDetailGroupStyle, localizedEmailBlockGroups, localizedEmailVariableGroups, localizedIdxBehaviorSignals, localizedIntegrationDescription, localizedIntegrationTitle, localizedPaymentMethods, maxLengthIssue, mergeDescribedBy, moduleLabelsTesting, normalizeAddress, normalizeHexColor, orderBulkOptions, outlookShareUrl, parseAddressOneLine, parseAddressValue, parseBizHours, parseIso, parseTime, passwordByteLength, passwordMeetsRules, passwordTooLongMessage, passwordWithinLimits, paymentErrorLabelKey, periodGroup, pillTabDescriptionId, pillTabId, pillTabPanelId, pillTabTitleId, pluralize, provideForgerouteToast, provideModuleLabelOverrides, provideReadOnlyMode, provideUiLanguage, refusalLabelKey, reorderItems, requiredIssue, resolveLayoutGap, resolvePreset, safeLocale, semanticBadgeVariant, serializeBizHours, serializedTextLength, setupIntegrations, splitIntro, terminalTimeoutText, terminalVerdict, timelineItemsFromEvents, toCsv, todayInTimezone, truncateConversationText, uiCurrencyFormatter, uiFormatClock, uiFormatCurrency, uiFormatDate, uiFormatHour, uiFormatNumber, uiLocale, uiMonthName, uiText, uiWeekdayName, usStateName, usStateSelectOptions, usdCurrencyDisplay, warnQueuedPayment, wasQueuedOffline, xShareUrl };
75763
76193
 
75764
76194
  //# sourceMappingURL=forgeroute-ui.mjs.map