@forgeroute/ui 0.5.9 → 0.5.10

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";
@@ -1183,6 +1183,10 @@ const UI_DEFAULT_LABELS = {
1183
1183
  "setupWizard.saveAndContinue": "Save & Continue",
1184
1184
  "setupWizard.saveFailed": "Failed to save. Please try again.",
1185
1185
  "setupWizard.skip": "Skip for now",
1186
+ "setupWizard.stepPicker": "Go to step",
1187
+ "setupWizard.stepPickerGo": "Go",
1188
+ "setupWizard.stepPickerHint": "Choose a step in the list first.",
1189
+ "setupWizard.stepPickerPlaceholder": "Choose a step",
1186
1190
  "setupWizard.steps": "Setup steps",
1187
1191
  "setupWizard.summaryPending": "Pending",
1188
1192
  "setupWizard.summarySkipped": "Skipped",
@@ -59587,6 +59591,90 @@ i0.ɵɵngDeclareClassMetadata({
59587
59591
  }]
59588
59592
  }] }
59589
59593
  });
59594
+ var SetupWizardDoneDirective = class SetupWizardDoneDirective {
59595
+ constructor() {
59596
+ this.hideFinish = input(false, {
59597
+ ...ngDevMode ? { debugName: "hideFinish" } : /* istanbul ignore next */ {},
59598
+ alias: "uiSetupDoneHideFinish",
59599
+ transform: booleanAttribute
59600
+ });
59601
+ this.reachable = input(void 0, {
59602
+ ...ngDevMode ? { debugName: "reachable" } : /* istanbul ignore next */ {},
59603
+ alias: "uiSetupDoneReachable"
59604
+ });
59605
+ this.template = inject(TemplateRef);
59606
+ }
59607
+ static ngTemplateContextGuard(_dir, _ctx) {
59608
+ return true;
59609
+ }
59610
+ static {
59611
+ this.ɵfac = i0.ɵɵngDeclareFactory({
59612
+ minVersion: "12.0.0",
59613
+ version: "22.2.2",
59614
+ ngImport: i0,
59615
+ type: SetupWizardDoneDirective,
59616
+ deps: [],
59617
+ target: i0.ɵɵFactoryTarget.Directive
59618
+ });
59619
+ }
59620
+ static {
59621
+ this.ɵdir = i0.ɵɵngDeclareDirective({
59622
+ minVersion: "17.1.0",
59623
+ version: "22.2.2",
59624
+ type: SetupWizardDoneDirective,
59625
+ isStandalone: true,
59626
+ selector: "ng-template[uiSetupDone]",
59627
+ inputs: {
59628
+ hideFinish: {
59629
+ classPropertyName: "hideFinish",
59630
+ publicName: "uiSetupDoneHideFinish",
59631
+ isSignal: true,
59632
+ isRequired: false,
59633
+ transformFunction: null
59634
+ },
59635
+ reachable: {
59636
+ classPropertyName: "reachable",
59637
+ publicName: "uiSetupDoneReachable",
59638
+ isSignal: true,
59639
+ isRequired: false,
59640
+ transformFunction: null
59641
+ }
59642
+ },
59643
+ ngImport: i0
59644
+ });
59645
+ }
59646
+ };
59647
+ i0.ɵɵngDeclareClassMetadata({
59648
+ minVersion: "12.0.0",
59649
+ version: "22.2.2",
59650
+ ngImport: i0,
59651
+ type: SetupWizardDoneDirective,
59652
+ decorators: [{
59653
+ type: Directive,
59654
+ args: [{
59655
+ selector: "ng-template[uiSetupDone]",
59656
+ standalone: true
59657
+ }]
59658
+ }],
59659
+ propDecorators: {
59660
+ hideFinish: [{
59661
+ type: i0.Input,
59662
+ args: [{
59663
+ isSignal: true,
59664
+ alias: "uiSetupDoneHideFinish",
59665
+ required: false
59666
+ }]
59667
+ }],
59668
+ reachable: [{
59669
+ type: i0.Input,
59670
+ args: [{
59671
+ isSignal: true,
59672
+ alias: "uiSetupDoneReachable",
59673
+ required: false
59674
+ }]
59675
+ }]
59676
+ }
59677
+ });
59590
59678
  function defaultTexts() {
59591
59679
  const t = (key, params) => uiText(`setupWizard.${key}`, params);
59592
59680
  return {
@@ -59668,11 +59756,18 @@ var SetupWizardComponent = class SetupWizardComponent {
59668
59756
  this.steps = input.required(...ngDevMode ? [{ debugName: "steps" }] : /* istanbul ignore next */ []);
59669
59757
  this.texts = input({}, ...ngDevMode ? [{ debugName: "texts" }] : /* istanbul ignore next */ []);
59670
59758
  this.initialStep = input("", ...ngDevMode ? [{ debugName: "initialStep" }] : /* istanbul ignore next */ []);
59759
+ this.stepPicker = input(false, ...ngDevMode ? [{ debugName: "stepPicker" }] : /* istanbul ignore next */ []);
59760
+ this.dimUnreachable = input(false, ...ngDevMode ? [{ debugName: "dimUnreachable" }] : /* istanbul ignore next */ []);
59671
59761
  this.finished = output();
59672
59762
  this.exited = output();
59673
59763
  this.stepChange = output();
59764
+ this.stepSkipped = output();
59674
59765
  this.stepTemplates = contentChildren(SetupWizardStepDirective, ...ngDevMode ? [{ debugName: "stepTemplates" }] : /* istanbul ignore next */ []);
59675
59766
  this.headerTemplates = contentChildren(SetupWizardStepHeaderDirective, ...ngDevMode ? [{ debugName: "headerTemplates" }] : /* istanbul ignore next */ []);
59767
+ this.doneTemplate = contentChild(SetupWizardDoneDirective, {
59768
+ ...ngDevMode ? { debugName: "doneTemplate" } : /* istanbul ignore next */ {},
59769
+ descendants: false
59770
+ });
59676
59771
  this.injector = inject(Injector);
59677
59772
  this.host = inject(ElementRef);
59678
59773
  this.stepTitle = viewChild("stepTitle", ...ngDevMode ? [{ debugName: "stepTitle" }] : /* istanbul ignore next */ []);
@@ -59696,6 +59791,12 @@ var SetupWizardComponent = class SetupWizardComponent {
59696
59791
  busy: () => this.busy(),
59697
59792
  markCompleted: (...keys) => this.markStepsCompleted(keys)
59698
59793
  };
59794
+ this.doneApi = {
59795
+ saveAndContinue: () => Promise.resolve(),
59796
+ busy: () => this.busy(),
59797
+ markCompleted: (...keys) => this.markStepsCompleted(keys),
59798
+ finish: () => this.finish()
59799
+ };
59699
59800
  this.error = signal("", ...ngDevMode ? [{ debugName: "error" }] : /* istanbul ignore next */ []);
59700
59801
  this.areaCodeOpen = signal("", ...ngDevMode ? [{ debugName: "areaCodeOpen" }] : /* istanbul ignore next */ []);
59701
59802
  this.areaCode = signal("", ...ngDevMode ? [{ debugName: "areaCode" }] : /* istanbul ignore next */ []);
@@ -59715,13 +59816,26 @@ var SetupWizardComponent = class SetupWizardComponent {
59715
59816
  }, ...ngDevMode ? [{ debugName: "intro" }] : /* istanbul ignore next */ []);
59716
59817
  this.isDone = computed(() => this.current().key === SETUP_DONE_KEY, ...ngDevMode ? [{ debugName: "isDone" }] : /* istanbul ignore next */ []);
59717
59818
  this.completedCount = computed(() => this.allSteps().filter((s) => this.completed().has(s.key) || this.skipped().has(s.key)).length, ...ngDevMode ? [{ debugName: "completedCount" }] : /* istanbul ignore next */ []);
59819
+ this.aheadKeys = computed(() => {
59820
+ const index = this.index();
59821
+ return new Set(this.allSteps().filter((s, i) => i > index && this.declaredReachable(s)).map((s) => s.key));
59822
+ }, ...ngDevMode ? [{ debugName: "aheadKeys" }] : /* istanbul ignore next */ []);
59718
59823
  this.stepperSteps = computed(() => this.allSteps().map((s, i) => ({
59719
59824
  key: s.key,
59720
59825
  label: s.label,
59721
59826
  complete: this.completed().has(s.key),
59722
- disabled: this.busy(),
59723
- selectable: i < this.index()
59827
+ disabled: this.busy() || this.dimmed(s.key, i),
59828
+ selectable: i < this.index() || this.aheadKeys().has(s.key),
59829
+ ...s.optional && !this.completed().has(s.key) ? { optional: true } : {}
59724
59830
  })), ...ngDevMode ? [{ debugName: "stepperSteps" }] : /* istanbul ignore next */ []);
59831
+ this.pickerOptions = computed(() => this.stepperSteps().map((s, i) => ({
59832
+ value: s.key,
59833
+ label: `${i + 1}. ${s.label}${s.optional ? " " + this.labels.t("stepper.optional") : ""}`,
59834
+ disabled: !s.selectable
59835
+ })), ...ngDevMode ? [{ debugName: "pickerOptions" }] : /* istanbul ignore next */ []);
59836
+ this.pickerShown = computed(() => this.stepPicker() && this.stepperSteps().some((s) => s.selectable), ...ngDevMode ? [{ debugName: "pickerShown" }] : /* istanbul ignore next */ []);
59837
+ this.pickerKey = signal("", ...ngDevMode ? [{ debugName: "pickerKey" }] : /* istanbul ignore next */ []);
59838
+ this.pickerValue = computed(() => this.pickerOptions().some((o) => o.value === this.pickerKey() && !o.disabled) ? this.pickerKey() : "", ...ngDevMode ? [{ debugName: "pickerValue" }] : /* istanbul ignore next */ []);
59725
59839
  this.summarySections = computed(() => [{ items: this.steps().map((s) => ({
59726
59840
  label: s.label,
59727
59841
  badge: this.completed().has(s.key) ? {
@@ -59735,6 +59849,14 @@ var SetupWizardComponent = class SetupWizardComponent {
59735
59849
  variant: "slate"
59736
59850
  }
59737
59851
  })) }], ...ngDevMode ? [{ debugName: "summarySections" }] : /* istanbul ignore next */ []);
59852
+ this.doneContext = computed(() => ({
59853
+ $implicit: this.doneApi,
59854
+ summary: this.steps().map((s) => ({
59855
+ key: s.key,
59856
+ label: s.label,
59857
+ state: this.completed().has(s.key) ? "done" : this.skipped().has(s.key) ? "skipped" : "pending"
59858
+ }))
59859
+ }), ...ngDevMode ? [{ debugName: "doneContext" }] : /* istanbul ignore next */ []);
59738
59860
  if (typeof matchMedia === "function") {
59739
59861
  const mq = matchMedia("(max-width: 768px)");
59740
59862
  this.narrow.set(mq.matches);
@@ -59767,7 +59889,21 @@ var SetupWizardComponent = class SetupWizardComponent {
59767
59889
  return this.stepTemplates().find((d) => d.key() === key)?.template ?? null;
59768
59890
  }
59769
59891
  goToPast(key) {
59770
- if (this.allSteps().findIndex((s) => s.key === key) < this.index()) this.goTo(key);
59892
+ if (this.allSteps().findIndex((s) => s.key === key) < this.index() || this.aheadKeys().has(key)) this.goTo(key);
59893
+ }
59894
+ declaredReachable(step) {
59895
+ try {
59896
+ return !!(step.reachable ?? (step.key === "done" ? this.doneTemplate()?.reachable() : void 0))?.();
59897
+ } catch {
59898
+ return false;
59899
+ }
59900
+ }
59901
+ dimmed(key, i) {
59902
+ return this.dimUnreachable() && i > this.index() && !this.aheadKeys().has(key);
59903
+ }
59904
+ openPicked() {
59905
+ const key = this.pickerValue();
59906
+ if (key) this.goToPast(key);
59771
59907
  }
59772
59908
  goTo(key) {
59773
59909
  if (!this.busy() && this.allSteps().some((s) => s.key === key)) this.enter(key);
@@ -59777,6 +59913,7 @@ var SetupWizardComponent = class SetupWizardComponent {
59777
59913
  this.areaCodeOpen.set("");
59778
59914
  this.areaCode.set("");
59779
59915
  this.splitTab.set("extra");
59916
+ this.pickerKey.set("");
59780
59917
  this.currentKey.set(key);
59781
59918
  const step = this.allSteps().find((s) => s.key === key);
59782
59919
  if (step.kind === "integrations") this.loadStatuses(step.integrations ?? []);
@@ -59796,10 +59933,18 @@ var SetupWizardComponent = class SetupWizardComponent {
59796
59933
  }
59797
59934
  skip() {
59798
59935
  if (this.busy()) return;
59799
- const key = this.current().key;
59800
- this.skipped.update((s) => new Set(s).add(key));
59936
+ const { key, skipCompletes } = this.current();
59937
+ if (skipCompletes) this.markCompleted(key);
59938
+ else this.skipped.update((s) => new Set(s).add(key));
59939
+ this.stepSkipped.emit({
59940
+ key,
59941
+ completed: !!skipCompletes
59942
+ });
59801
59943
  this.advanceFrom(key);
59802
59944
  }
59945
+ finish() {
59946
+ this.finished.emit();
59947
+ }
59803
59948
  completeSteps(...keys) {
59804
59949
  this.markStepsCompleted(keys);
59805
59950
  }
@@ -60081,22 +60226,46 @@ var SetupWizardComponent = class SetupWizardComponent {
60081
60226
  isSignal: true,
60082
60227
  isRequired: false,
60083
60228
  transformFunction: null
60229
+ },
60230
+ stepPicker: {
60231
+ classPropertyName: "stepPicker",
60232
+ publicName: "stepPicker",
60233
+ isSignal: true,
60234
+ isRequired: false,
60235
+ transformFunction: null
60236
+ },
60237
+ dimUnreachable: {
60238
+ classPropertyName: "dimUnreachable",
60239
+ publicName: "dimUnreachable",
60240
+ isSignal: true,
60241
+ isRequired: false,
60242
+ transformFunction: null
60084
60243
  }
60085
60244
  },
60086
60245
  outputs: {
60087
60246
  finished: "finished",
60088
60247
  exited: "exited",
60089
- stepChange: "stepChange"
60248
+ stepChange: "stepChange",
60249
+ stepSkipped: "stepSkipped"
60090
60250
  },
60091
- queries: [{
60092
- propertyName: "stepTemplates",
60093
- predicate: SetupWizardStepDirective,
60094
- isSignal: true
60095
- }, {
60096
- propertyName: "headerTemplates",
60097
- predicate: SetupWizardStepHeaderDirective,
60098
- isSignal: true
60099
- }],
60251
+ queries: [
60252
+ {
60253
+ propertyName: "stepTemplates",
60254
+ predicate: SetupWizardStepDirective,
60255
+ isSignal: true
60256
+ },
60257
+ {
60258
+ propertyName: "headerTemplates",
60259
+ predicate: SetupWizardStepHeaderDirective,
60260
+ isSignal: true
60261
+ },
60262
+ {
60263
+ propertyName: "doneTemplate",
60264
+ first: true,
60265
+ predicate: SetupWizardDoneDirective,
60266
+ isSignal: true
60267
+ }
60268
+ ],
60100
60269
  viewQueries: [{
60101
60270
  propertyName: "stepTitle",
60102
60271
  first: true,
@@ -60120,6 +60289,13 @@ var SetupWizardComponent = class SetupWizardComponent {
60120
60289
  </div>
60121
60290
  <ui-stepper class="sw-step-nav" [ariaLabel]="t().stepperLabel" orientation="vertical" size="sm" compact="md"
60122
60291
  [steps]="stepperSteps()" [current]="currentKey()" [clickable]="true" [linear]="false" (stepClick)="goToPast($event)" />
60292
+ @if (pickerShown()) {
60293
+ <div class="sw-step-picker" data-testid="wizard-step-picker">
60294
+ <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)" />
60295
+ <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>
60296
+ <span class="sw-sr" id="sw-step-picker-hint" data-testid="wizard-step-picker-hint">{{ labels.t('setupWizard.stepPickerHint') }}</span>
60297
+ </div>
60298
+ }
60123
60299
  </div>
60124
60300
  <div class="sw-sidebar-bottom">
60125
60301
  <ui-progress-bar [value]="completedCount()" [max]="allSteps().length" [ariaLabel]="labels.t('setupWizard.setupProgress')" />
@@ -60136,13 +60312,19 @@ var SetupWizardComponent = class SetupWizardComponent {
60136
60312
  @if (isDone()) {
60137
60313
  <div class="sw-step-content" [attr.aria-busy]="busy()" data-testid="wizard-done" data-step="done">
60138
60314
  @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">
60315
+ <ui-detail-card class="sw-card" [class.sw-card--no-footer]="index() === 0 && 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">
60316
+ @if (doneTemplate(); as done) {
60317
+ <ng-container [ngTemplateOutlet]="done.template" [ngTemplateOutletContext]="doneContext()" />
60318
+ } @else {
60140
60319
  <ui-panel-info-list class="sw-summary" data-testid="wizard-summary" [sections]="summarySections()" />
60141
60320
  <p class="sw-hint sw-done-hint">{{ t().doneHint }}</p>
60321
+ }
60142
60322
  <div card-footer class="sw-step-actions">
60143
60323
  @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">
60324
+ <div class="sw-actions-right" [class.sw-actions-right--none]="doneTemplate()?.hideFinish()">
60325
+ @if (!doneTemplate()?.hideFinish()) {
60145
60326
  <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>
60327
+ }
60146
60328
  </div>
60147
60329
  </div>
60148
60330
  </ui-detail-card>
@@ -60155,7 +60337,7 @@ var SetupWizardComponent = class SetupWizardComponent {
60155
60337
  @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
60338
  <div class="sw-actions-right">
60157
60339
  @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>
60340
+ <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
60341
  }
60160
60342
  @if (current().kind === 'custom') {
60161
60343
  @if (!current().ownActions) {
@@ -60259,7 +60441,7 @@ var SetupWizardComponent = class SetupWizardComponent {
60259
60441
  </div>
60260
60442
  `,
60261
60443
  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"],
60444
+ 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
60445
  dependencies: [
60264
60446
  {
60265
60447
  kind: "directive",
@@ -60506,6 +60688,28 @@ var SetupWizardComponent = class SetupWizardComponent {
60506
60688
  "noPaddingBottom"
60507
60689
  ]
60508
60690
  },
60691
+ {
60692
+ kind: "component",
60693
+ type: SelectComponent,
60694
+ selector: "ui-select",
60695
+ inputs: [
60696
+ "label",
60697
+ "ariaLabel",
60698
+ "labelHidden",
60699
+ "inputName",
60700
+ "placeholder",
60701
+ "options",
60702
+ "valueType",
60703
+ "required",
60704
+ "hint",
60705
+ "ariaDescribedBy",
60706
+ "error",
60707
+ "showErrors",
60708
+ "size",
60709
+ "disabled"
60710
+ ],
60711
+ outputs: ["invalidChange", "valueChange"]
60712
+ },
60509
60713
  {
60510
60714
  kind: "component",
60511
60715
  type: StepperComponent,
@@ -60605,6 +60809,7 @@ i0.ɵɵngDeclareClassMetadata({
60605
60809
  PanelInfoListComponent,
60606
60810
  ProgressBarComponent,
60607
60811
  SectionHeaderComponent,
60812
+ SelectComponent,
60608
60813
  StepperComponent,
60609
60814
  TextInputComponent
60610
60815
  ],
@@ -60618,6 +60823,13 @@ i0.ɵɵngDeclareClassMetadata({
60618
60823
  </div>
60619
60824
  <ui-stepper class="sw-step-nav" [ariaLabel]="t().stepperLabel" orientation="vertical" size="sm" compact="md"
60620
60825
  [steps]="stepperSteps()" [current]="currentKey()" [clickable]="true" [linear]="false" (stepClick)="goToPast($event)" />
60826
+ @if (pickerShown()) {
60827
+ <div class="sw-step-picker" data-testid="wizard-step-picker">
60828
+ <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)" />
60829
+ <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>
60830
+ <span class="sw-sr" id="sw-step-picker-hint" data-testid="wizard-step-picker-hint">{{ labels.t('setupWizard.stepPickerHint') }}</span>
60831
+ </div>
60832
+ }
60621
60833
  </div>
60622
60834
  <div class="sw-sidebar-bottom">
60623
60835
  <ui-progress-bar [value]="completedCount()" [max]="allSteps().length" [ariaLabel]="labels.t('setupWizard.setupProgress')" />
@@ -60634,13 +60846,19 @@ i0.ɵɵngDeclareClassMetadata({
60634
60846
  @if (isDone()) {
60635
60847
  <div class="sw-step-content" [attr.aria-busy]="busy()" data-testid="wizard-done" data-step="done">
60636
60848
  @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">
60849
+ <ui-detail-card class="sw-card" [class.sw-card--no-footer]="index() === 0 && 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">
60850
+ @if (doneTemplate(); as done) {
60851
+ <ng-container [ngTemplateOutlet]="done.template" [ngTemplateOutletContext]="doneContext()" />
60852
+ } @else {
60638
60853
  <ui-panel-info-list class="sw-summary" data-testid="wizard-summary" [sections]="summarySections()" />
60639
60854
  <p class="sw-hint sw-done-hint">{{ t().doneHint }}</p>
60855
+ }
60640
60856
  <div card-footer class="sw-step-actions">
60641
60857
  @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">
60858
+ <div class="sw-actions-right" [class.sw-actions-right--none]="doneTemplate()?.hideFinish()">
60859
+ @if (!doneTemplate()?.hideFinish()) {
60643
60860
  <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>
60861
+ }
60644
60862
  </div>
60645
60863
  </div>
60646
60864
  </ui-detail-card>
@@ -60653,7 +60871,7 @@ i0.ɵɵngDeclareClassMetadata({
60653
60871
  @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
60872
  <div class="sw-actions-right">
60655
60873
  @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>
60874
+ <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
60875
  }
60658
60876
  @if (current().kind === 'custom') {
60659
60877
  @if (!current().ownActions) {
@@ -60756,7 +60974,7 @@ i0.ɵɵngDeclareClassMetadata({
60756
60974
  </main>
60757
60975
  </div>
60758
60976
  `,
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"]
60977
+ 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
60978
  }]
60761
60979
  }],
60762
60980
  ctorParameters: () => [],
@@ -60785,6 +61003,22 @@ i0.ɵɵngDeclareClassMetadata({
60785
61003
  required: false
60786
61004
  }]
60787
61005
  }],
61006
+ stepPicker: [{
61007
+ type: i0.Input,
61008
+ args: [{
61009
+ isSignal: true,
61010
+ alias: "stepPicker",
61011
+ required: false
61012
+ }]
61013
+ }],
61014
+ dimUnreachable: [{
61015
+ type: i0.Input,
61016
+ args: [{
61017
+ isSignal: true,
61018
+ alias: "dimUnreachable",
61019
+ required: false
61020
+ }]
61021
+ }],
60788
61022
  finished: [{
60789
61023
  type: i0.Output,
60790
61024
  args: ["finished"]
@@ -60797,6 +61031,10 @@ i0.ɵɵngDeclareClassMetadata({
60797
61031
  type: i0.Output,
60798
61032
  args: ["stepChange"]
60799
61033
  }],
61034
+ stepSkipped: [{
61035
+ type: i0.Output,
61036
+ args: ["stepSkipped"]
61037
+ }],
60800
61038
  stepTemplates: [{
60801
61039
  type: i0.ContentChildren,
60802
61040
  args: [i0.forwardRef(() => SetupWizardStepDirective), { isSignal: true }]
@@ -60805,6 +61043,13 @@ i0.ɵɵngDeclareClassMetadata({
60805
61043
  type: i0.ContentChildren,
60806
61044
  args: [i0.forwardRef(() => SetupWizardStepHeaderDirective), { isSignal: true }]
60807
61045
  }],
61046
+ doneTemplate: [{
61047
+ type: i0.ContentChild,
61048
+ args: [i0.forwardRef(() => SetupWizardDoneDirective), {
61049
+ descendants: false,
61050
+ isSignal: true
61051
+ }]
61052
+ }],
60808
61053
  stepTitle: [{
60809
61054
  type: i0.ViewChild,
60810
61055
  args: ["stepTitle", { isSignal: true }]
@@ -71979,7 +72224,7 @@ const BUILT_IN_ENDONYMS = {
71979
72224
  ko: "한국어",
71980
72225
  ru: "Русский"
71981
72226
  };
71982
- const BUILT_IN_LOADERS = /* @__PURE__ */ new Map([["es", () => import("./forgeroute-ui-ui-labels.es-DtHranlg.mjs").then((m) => m.UI_LABELS_ES)]]);
72227
+ const BUILT_IN_LOADERS = /* @__PURE__ */ new Map([["es", () => import("./forgeroute-ui-ui-labels.es-ClaUzHAN.mjs").then((m) => m.UI_LABELS_ES)]]);
71983
72228
  const normalizeTag = (tag) => tag.trim().toLowerCase().replace(/_/g, "-");
71984
72229
  const baseOf = (tag) => normalizeTag(tag).split("-")[0];
71985
72230
  const builtInLoader = (lang) => BUILT_IN_LOADERS.get(normalizeTag(lang)) ?? BUILT_IN_LOADERS.get(baseOf(lang));
@@ -75759,6 +76004,6 @@ i0.ɵɵngDeclareClassMetadata({
75759
76004
  }]
75760
76005
  }
75761
76006
  });
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 };
76007
+ 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, 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
76008
 
75764
76009
  //# sourceMappingURL=forgeroute-ui.mjs.map