@forgeroute/ui 0.5.8 → 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.
- package/fesm2022/forgeroute-ui-map.mjs +7 -2
- package/fesm2022/forgeroute-ui-map.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-messaging.mjs +72 -10
- package/fesm2022/forgeroute-ui-messaging.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-pdf.mjs +2 -2
- package/fesm2022/forgeroute-ui-pdf.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-quickbooks.mjs +7 -1
- package/fesm2022/forgeroute-ui-quickbooks.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-square.mjs +7 -1
- package/fesm2022/forgeroute-ui-square.mjs.map +1 -1
- package/fesm2022/{forgeroute-ui-ui-labels.es-DtHranlg.mjs → forgeroute-ui-ui-labels.es-ClaUzHAN.mjs} +5 -1
- package/fesm2022/forgeroute-ui-ui-labels.es-ClaUzHAN.mjs.map +1 -0
- package/fesm2022/forgeroute-ui.mjs +313 -46
- package/fesm2022/forgeroute-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/forgeroute-ui-messaging.d.ts +38 -5
- package/types/forgeroute-ui-quickbooks.d.ts +2 -2
- package/types/forgeroute-ui-square.d.ts +3 -3
- package/types/forgeroute-ui-stripe.d.ts +1 -1
- package/types/forgeroute-ui.d.ts +159 -5
- package/fesm2022/forgeroute-ui-ui-labels.es-DtHranlg.mjs.map +0 -1
|
@@ -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",
|
|
@@ -3920,7 +3924,7 @@ var MoreMenuComponent = class MoreMenuComponent {
|
|
|
3920
3924
|
</div>
|
|
3921
3925
|
`,
|
|
3922
3926
|
isInline: true,
|
|
3923
|
-
styles: [":host{display:inline-block;position:relative}.mm-wrapper{position:relative}.mm-trigger{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;border:none;background:transparent;color:#64748b;cursor:pointer;transition:background .1s,color .1s}.mm-trigger:hover{background:#f1f5f9;color:#334155}.mm-trigger:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.mm-dropdown{position:absolute;right:0;top:calc(100% + 4px);z-index:200;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 16px #0000001a;min-width:160px;width:max-content;overflow-x:hidden;overflow-y:auto;padding:4px;max-width:calc(100vw - 16px);overscroll-behavior:contain;background:linear-gradient(#fff 30%,#fff0) center top / 100% 16px no-repeat local,linear-gradient(#fff0,#fff 70%) center bottom / 100% 16px no-repeat local,radial-gradient(farthest-side at 50% 0,#0f172a38,#0f172a00) center top / 100% 8px no-repeat scroll,radial-gradient(farthest-side at 50% 100%,#0f172a38,#0f172a00) center bottom / 100% 8px no-repeat scroll,#fff}.mm-dropdown.mm-up{top:auto;bottom:calc(100% + 4px)}.mm-dropdown.mm-fixed{position:fixed;left:auto}.mm-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;background:none;border:none;cursor:pointer;font-size:.875rem;color:#334155;font-family:inherit;text-align:left;border-radius:5px;transition:background .1s;min-height:40px}.mm-item:hover:not(:disabled){background:#f8fafc}.mm-item:disabled{opacity:.4;cursor:default}.mm-item.mm-danger{color:#dc2626}.mm-item.mm-danger:hover:not(:disabled){background:#fef2f2}.mm-item:focus-visible{outline:2px solid #60a5fa;outline-offset:-2px}.mm-icon{flex-shrink:0}@media(max-width:1024px){.mm-trigger{width:36px;height:36px}.mm-item{padding:11px 14px;min-height:40px}}@media(pointer:coarse){.mm-trigger{width:44px;height:44px}}@media(max-width:640px){.mm-trigger{width:44px;height:44px}.mm-item{padding:12px 14px;font-size:.9375rem;min-height:44px}.mm-dropdown{max-height:60vh;overflow-y:auto}}\n"],
|
|
3927
|
+
styles: [":host{display:inline-block;position:relative}.mm-wrapper{position:relative}.mm-trigger{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;border:none;background:transparent;color:#64748b;cursor:pointer;transition:background .1s,color .1s}.mm-trigger:hover{background:#f1f5f9;color:#334155}.mm-trigger:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.mm-dropdown{position:absolute;right:0;top:calc(100% + 4px);z-index:200;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 16px #0000001a;min-width:160px;width:max-content;box-sizing:border-box;overflow-x:hidden;overflow-y:auto;padding:4px;max-width:calc(100vw - 16px);overscroll-behavior:contain;background:linear-gradient(#fff 30%,#fff0) center top / 100% 16px no-repeat local,linear-gradient(#fff0,#fff 70%) center bottom / 100% 16px no-repeat local,radial-gradient(farthest-side at 50% 0,#0f172a38,#0f172a00) center top / 100% 8px no-repeat scroll,radial-gradient(farthest-side at 50% 100%,#0f172a38,#0f172a00) center bottom / 100% 8px no-repeat scroll,#fff}.mm-dropdown.mm-up{top:auto;bottom:calc(100% + 4px)}.mm-dropdown.mm-fixed{position:fixed;left:auto}.mm-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;background:none;border:none;cursor:pointer;font-size:.875rem;color:#334155;font-family:inherit;text-align:left;border-radius:5px;transition:background .1s;min-height:40px}.mm-item:hover:not(:disabled){background:#f8fafc}.mm-item:disabled{opacity:.4;cursor:default}.mm-item.mm-danger{color:#dc2626}.mm-item.mm-danger:hover:not(:disabled){background:#fef2f2}.mm-item:focus-visible{outline:2px solid #60a5fa;outline-offset:-2px}.mm-icon{flex-shrink:0}@media(max-width:1024px){.mm-trigger{width:36px;height:36px}.mm-item{padding:11px 14px;min-height:40px}}@media(pointer:coarse){.mm-trigger{width:44px;height:44px}}@media(max-width:640px){.mm-trigger{width:44px;height:44px}.mm-item{padding:12px 14px;font-size:.9375rem;min-height:44px}.mm-dropdown{max-height:60vh;overflow-y:auto}}\n"],
|
|
3924
3928
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
3925
3929
|
});
|
|
3926
3930
|
}
|
|
@@ -3977,7 +3981,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3977
3981
|
}
|
|
3978
3982
|
</div>
|
|
3979
3983
|
`,
|
|
3980
|
-
styles: [":host{display:inline-block;position:relative}.mm-wrapper{position:relative}.mm-trigger{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;border:none;background:transparent;color:#64748b;cursor:pointer;transition:background .1s,color .1s}.mm-trigger:hover{background:#f1f5f9;color:#334155}.mm-trigger:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.mm-dropdown{position:absolute;right:0;top:calc(100% + 4px);z-index:200;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 16px #0000001a;min-width:160px;width:max-content;overflow-x:hidden;overflow-y:auto;padding:4px;max-width:calc(100vw - 16px);overscroll-behavior:contain;background:linear-gradient(#fff 30%,#fff0) center top / 100% 16px no-repeat local,linear-gradient(#fff0,#fff 70%) center bottom / 100% 16px no-repeat local,radial-gradient(farthest-side at 50% 0,#0f172a38,#0f172a00) center top / 100% 8px no-repeat scroll,radial-gradient(farthest-side at 50% 100%,#0f172a38,#0f172a00) center bottom / 100% 8px no-repeat scroll,#fff}.mm-dropdown.mm-up{top:auto;bottom:calc(100% + 4px)}.mm-dropdown.mm-fixed{position:fixed;left:auto}.mm-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;background:none;border:none;cursor:pointer;font-size:.875rem;color:#334155;font-family:inherit;text-align:left;border-radius:5px;transition:background .1s;min-height:40px}.mm-item:hover:not(:disabled){background:#f8fafc}.mm-item:disabled{opacity:.4;cursor:default}.mm-item.mm-danger{color:#dc2626}.mm-item.mm-danger:hover:not(:disabled){background:#fef2f2}.mm-item:focus-visible{outline:2px solid #60a5fa;outline-offset:-2px}.mm-icon{flex-shrink:0}@media(max-width:1024px){.mm-trigger{width:36px;height:36px}.mm-item{padding:11px 14px;min-height:40px}}@media(pointer:coarse){.mm-trigger{width:44px;height:44px}}@media(max-width:640px){.mm-trigger{width:44px;height:44px}.mm-item{padding:12px 14px;font-size:.9375rem;min-height:44px}.mm-dropdown{max-height:60vh;overflow-y:auto}}\n"]
|
|
3984
|
+
styles: [":host{display:inline-block;position:relative}.mm-wrapper{position:relative}.mm-trigger{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;border:none;background:transparent;color:#64748b;cursor:pointer;transition:background .1s,color .1s}.mm-trigger:hover{background:#f1f5f9;color:#334155}.mm-trigger:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.mm-dropdown{position:absolute;right:0;top:calc(100% + 4px);z-index:200;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 16px #0000001a;min-width:160px;width:max-content;box-sizing:border-box;overflow-x:hidden;overflow-y:auto;padding:4px;max-width:calc(100vw - 16px);overscroll-behavior:contain;background:linear-gradient(#fff 30%,#fff0) center top / 100% 16px no-repeat local,linear-gradient(#fff0,#fff 70%) center bottom / 100% 16px no-repeat local,radial-gradient(farthest-side at 50% 0,#0f172a38,#0f172a00) center top / 100% 8px no-repeat scroll,radial-gradient(farthest-side at 50% 100%,#0f172a38,#0f172a00) center bottom / 100% 8px no-repeat scroll,#fff}.mm-dropdown.mm-up{top:auto;bottom:calc(100% + 4px)}.mm-dropdown.mm-fixed{position:fixed;left:auto}.mm-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;background:none;border:none;cursor:pointer;font-size:.875rem;color:#334155;font-family:inherit;text-align:left;border-radius:5px;transition:background .1s;min-height:40px}.mm-item:hover:not(:disabled){background:#f8fafc}.mm-item:disabled{opacity:.4;cursor:default}.mm-item.mm-danger{color:#dc2626}.mm-item.mm-danger:hover:not(:disabled){background:#fef2f2}.mm-item:focus-visible{outline:2px solid #60a5fa;outline-offset:-2px}.mm-icon{flex-shrink:0}@media(max-width:1024px){.mm-trigger{width:36px;height:36px}.mm-item{padding:11px 14px;min-height:40px}}@media(pointer:coarse){.mm-trigger{width:44px;height:44px}}@media(max-width:640px){.mm-trigger{width:44px;height:44px}.mm-item{padding:12px 14px;font-size:.9375rem;min-height:44px}.mm-dropdown{max-height:60vh;overflow-y:auto}}\n"]
|
|
3981
3985
|
}]
|
|
3982
3986
|
}],
|
|
3983
3987
|
ctorParameters: () => [],
|
|
@@ -16340,6 +16344,13 @@ var DataTableComponent = class DataTableComponent {
|
|
|
16340
16344
|
if (!this._isSortable(col) || this._sortField() === col.key) continue;
|
|
16341
16345
|
let hasValue = false;
|
|
16342
16346
|
for (const item of items) {
|
|
16347
|
+
if (col.cellType === "image") {
|
|
16348
|
+
if (this.imageUrl(col, item) !== null) {
|
|
16349
|
+
hasValue = true;
|
|
16350
|
+
break;
|
|
16351
|
+
}
|
|
16352
|
+
continue;
|
|
16353
|
+
}
|
|
16343
16354
|
let text;
|
|
16344
16355
|
try {
|
|
16345
16356
|
text = this.cardCellText(col, item);
|
|
@@ -20277,8 +20288,7 @@ var StackedBarComponent = class StackedBarComponent {
|
|
|
20277
20288
|
@for (s of rows(); track s.key) {
|
|
20278
20289
|
<li class="sb-item">
|
|
20279
20290
|
<span [class]="'sb-dot sb-' + s.variant" [style.background]="s.color || null" aria-hidden="true"></span>
|
|
20280
|
-
<span class="sb-name">{{ s.label }}</span>
|
|
20281
|
-
<span class="sb-val">{{ s.text }}</span>
|
|
20291
|
+
<span class="sb-name">{{ s.label }}</span>{{ ' ' }}<span class="sb-val">{{ s.text }}</span>
|
|
20282
20292
|
</li>
|
|
20283
20293
|
}
|
|
20284
20294
|
</ul>
|
|
@@ -20312,8 +20322,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
20312
20322
|
@for (s of rows(); track s.key) {
|
|
20313
20323
|
<li class="sb-item">
|
|
20314
20324
|
<span [class]="'sb-dot sb-' + s.variant" [style.background]="s.color || null" aria-hidden="true"></span>
|
|
20315
|
-
<span class="sb-name">{{ s.label }}</span>
|
|
20316
|
-
<span class="sb-val">{{ s.text }}</span>
|
|
20325
|
+
<span class="sb-name">{{ s.label }}</span>{{ ' ' }}<span class="sb-val">{{ s.text }}</span>
|
|
20317
20326
|
</li>
|
|
20318
20327
|
}
|
|
20319
20328
|
</ul>
|
|
@@ -23806,7 +23815,7 @@ var FileInputComponent = class FileInputComponent {
|
|
|
23806
23815
|
this._issue = computed(() => this.disabled() || !this.required() || this._files().length > 0 ? null : requiredIssue(this.label() || this.labels.t("common.file")), ...ngDevMode ? [{ debugName: "_issue" }] : /* istanbul ignore next */ []);
|
|
23807
23816
|
this.invalid = computed(() => !!this.error() || !!this._rejection() || !!this._issue(), ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
|
|
23808
23817
|
this.errorMessage = computed(() => (this.listRejections() && this._rejected().length > 0 ? this.rejectionLines().join(" ") : this._rejection()) || this._issue()?.message || "", ...ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []);
|
|
23809
|
-
this._shownError = computed(() => this._rejection() || (this._reveal.revealed() ? (this.showField() ? this.error() : "") || (this._issue()?.message ?? "") : ""), ...ngDevMode ? [{ debugName: "_shownError" }] : /* istanbul ignore next */ []);
|
|
23818
|
+
this._shownError = computed(() => (this.listRejections() && this._rejected().length > 0 && this.showField() ? this.error() : "") || this._rejection() || (this._reveal.revealed() ? (this.showField() ? this.error() : "") || (this._issue()?.message ?? "") : ""), ...ngDevMode ? [{ debugName: "_shownError" }] : /* istanbul ignore next */ []);
|
|
23810
23819
|
this.summary = computed(() => {
|
|
23811
23820
|
const f = this._files();
|
|
23812
23821
|
if (f.length === 0) return "";
|
|
@@ -25445,7 +25454,7 @@ var ToggleComponent = class ToggleComponent {
|
|
|
25445
25454
|
</div>
|
|
25446
25455
|
`,
|
|
25447
25456
|
isInline: true,
|
|
25448
|
-
styles: [":host{display:block}.tg-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0}.tg-text{display:flex;flex-direction:column;gap:2px;min-width:0}.tg-label{font-size:.875rem;font-weight:600;color:#1e293b;line-height:1.4;cursor:pointer}.tg-disabled .tg-label{cursor:not-allowed}.tg-hint{font-size:.8125rem;color:#64748b;line-height:1.4}.tg-before{display:inline-flex;align-items:center;flex-shrink:0;margin-left:auto}.tg-before:empty{display:none}.tg-before+.tg-wrap{margin-left:0}.tg-wrap{position:relative;display:inline-flex;align-items:center;flex-shrink:0;cursor:pointer;margin-left:auto}.tg-disabled .tg-wrap{cursor:not-allowed}.tg-disabled{opacity:.5}.tg-input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:inherit;z-index:1}.tg-slider{position:relative;width:44px;height:24px;border-radius:999px;background:#cbd5e1;transition:background .15s}.tg-slider:before{content:\"\";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000040;transition:transform .15s}.tg-input:checked+.tg-slider{background:#1d4ed8}.tg-input:checked+.tg-slider:before{transform:translate(20px)}.tg-input:focus-visible+.tg-slider{outline:2px solid #3b82f6;outline-offset:2px}@media(hover:hover){.tg-wrap:hover .tg-input:not(:disabled):not(:checked)+.tg-slider{background:#94a3b8}}@media(pointer:coarse),(max-width:480px){.tg-wrap:after{content:\"\";position:absolute;inset:-10px -6px}}@media(prefers-reduced-motion:reduce){.tg-slider,.tg-slider:before{transition:none}}\n"],
|
|
25457
|
+
styles: [":host{display:block}.tg-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0}.tg-text{display:flex;flex-direction:column;gap:2px;min-width:0}.tg-label{font-size:.875rem;font-weight:600;color:#1e293b;line-height:1.4;cursor:pointer}.tg-disabled .tg-label{cursor:not-allowed}.tg-hint{font-size:.8125rem;color:#64748b;line-height:1.4}.tg-before{display:inline-flex;align-items:center;flex-shrink:0;margin-left:auto}.tg-before:empty{display:none}.tg-before:not(:empty)+.tg-wrap{margin-left:0}.tg-wrap{position:relative;display:inline-flex;align-items:center;flex-shrink:0;cursor:pointer;margin-left:auto}.tg-disabled .tg-wrap{cursor:not-allowed}.tg-disabled{opacity:.5}.tg-input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:inherit;z-index:1}.tg-slider{position:relative;width:44px;height:24px;border-radius:999px;background:#cbd5e1;transition:background .15s}.tg-slider:before{content:\"\";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000040;transition:transform .15s}.tg-input:checked+.tg-slider{background:#1d4ed8}.tg-input:checked+.tg-slider:before{transform:translate(20px)}.tg-input:focus-visible+.tg-slider{outline:2px solid #3b82f6;outline-offset:2px}@media(hover:hover){.tg-wrap:hover .tg-input:not(:disabled):not(:checked)+.tg-slider{background:#94a3b8}}@media(pointer:coarse),(max-width:480px){.tg-wrap:after{content:\"\";position:absolute;inset:-10px -6px}}@media(prefers-reduced-motion:reduce){.tg-slider,.tg-slider:before{transition:none}}\n"],
|
|
25449
25458
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
25450
25459
|
});
|
|
25451
25460
|
}
|
|
@@ -25494,7 +25503,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
25494
25503
|
</label>
|
|
25495
25504
|
</div>
|
|
25496
25505
|
`,
|
|
25497
|
-
styles: [":host{display:block}.tg-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0}.tg-text{display:flex;flex-direction:column;gap:2px;min-width:0}.tg-label{font-size:.875rem;font-weight:600;color:#1e293b;line-height:1.4;cursor:pointer}.tg-disabled .tg-label{cursor:not-allowed}.tg-hint{font-size:.8125rem;color:#64748b;line-height:1.4}.tg-before{display:inline-flex;align-items:center;flex-shrink:0;margin-left:auto}.tg-before:empty{display:none}.tg-before+.tg-wrap{margin-left:0}.tg-wrap{position:relative;display:inline-flex;align-items:center;flex-shrink:0;cursor:pointer;margin-left:auto}.tg-disabled .tg-wrap{cursor:not-allowed}.tg-disabled{opacity:.5}.tg-input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:inherit;z-index:1}.tg-slider{position:relative;width:44px;height:24px;border-radius:999px;background:#cbd5e1;transition:background .15s}.tg-slider:before{content:\"\";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000040;transition:transform .15s}.tg-input:checked+.tg-slider{background:#1d4ed8}.tg-input:checked+.tg-slider:before{transform:translate(20px)}.tg-input:focus-visible+.tg-slider{outline:2px solid #3b82f6;outline-offset:2px}@media(hover:hover){.tg-wrap:hover .tg-input:not(:disabled):not(:checked)+.tg-slider{background:#94a3b8}}@media(pointer:coarse),(max-width:480px){.tg-wrap:after{content:\"\";position:absolute;inset:-10px -6px}}@media(prefers-reduced-motion:reduce){.tg-slider,.tg-slider:before{transition:none}}\n"]
|
|
25506
|
+
styles: [":host{display:block}.tg-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0}.tg-text{display:flex;flex-direction:column;gap:2px;min-width:0}.tg-label{font-size:.875rem;font-weight:600;color:#1e293b;line-height:1.4;cursor:pointer}.tg-disabled .tg-label{cursor:not-allowed}.tg-hint{font-size:.8125rem;color:#64748b;line-height:1.4}.tg-before{display:inline-flex;align-items:center;flex-shrink:0;margin-left:auto}.tg-before:empty{display:none}.tg-before:not(:empty)+.tg-wrap{margin-left:0}.tg-wrap{position:relative;display:inline-flex;align-items:center;flex-shrink:0;cursor:pointer;margin-left:auto}.tg-disabled .tg-wrap{cursor:not-allowed}.tg-disabled{opacity:.5}.tg-input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:inherit;z-index:1}.tg-slider{position:relative;width:44px;height:24px;border-radius:999px;background:#cbd5e1;transition:background .15s}.tg-slider:before{content:\"\";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #00000040;transition:transform .15s}.tg-input:checked+.tg-slider{background:#1d4ed8}.tg-input:checked+.tg-slider:before{transform:translate(20px)}.tg-input:focus-visible+.tg-slider{outline:2px solid #3b82f6;outline-offset:2px}@media(hover:hover){.tg-wrap:hover .tg-input:not(:disabled):not(:checked)+.tg-slider{background:#94a3b8}}@media(pointer:coarse),(max-width:480px){.tg-wrap:after{content:\"\";position:absolute;inset:-10px -6px}}@media(prefers-reduced-motion:reduce){.tg-slider,.tg-slider:before{transition:none}}\n"]
|
|
25498
25507
|
}]
|
|
25499
25508
|
}],
|
|
25500
25509
|
propDecorators: {
|
|
@@ -59582,6 +59591,90 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
59582
59591
|
}]
|
|
59583
59592
|
}] }
|
|
59584
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
|
+
});
|
|
59585
59678
|
function defaultTexts() {
|
|
59586
59679
|
const t = (key, params) => uiText(`setupWizard.${key}`, params);
|
|
59587
59680
|
return {
|
|
@@ -59663,11 +59756,18 @@ var SetupWizardComponent = class SetupWizardComponent {
|
|
|
59663
59756
|
this.steps = input.required(...ngDevMode ? [{ debugName: "steps" }] : /* istanbul ignore next */ []);
|
|
59664
59757
|
this.texts = input({}, ...ngDevMode ? [{ debugName: "texts" }] : /* istanbul ignore next */ []);
|
|
59665
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 */ []);
|
|
59666
59761
|
this.finished = output();
|
|
59667
59762
|
this.exited = output();
|
|
59668
59763
|
this.stepChange = output();
|
|
59764
|
+
this.stepSkipped = output();
|
|
59669
59765
|
this.stepTemplates = contentChildren(SetupWizardStepDirective, ...ngDevMode ? [{ debugName: "stepTemplates" }] : /* istanbul ignore next */ []);
|
|
59670
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
|
+
});
|
|
59671
59771
|
this.injector = inject(Injector);
|
|
59672
59772
|
this.host = inject(ElementRef);
|
|
59673
59773
|
this.stepTitle = viewChild("stepTitle", ...ngDevMode ? [{ debugName: "stepTitle" }] : /* istanbul ignore next */ []);
|
|
@@ -59691,6 +59791,12 @@ var SetupWizardComponent = class SetupWizardComponent {
|
|
|
59691
59791
|
busy: () => this.busy(),
|
|
59692
59792
|
markCompleted: (...keys) => this.markStepsCompleted(keys)
|
|
59693
59793
|
};
|
|
59794
|
+
this.doneApi = {
|
|
59795
|
+
saveAndContinue: () => Promise.resolve(),
|
|
59796
|
+
busy: () => this.busy(),
|
|
59797
|
+
markCompleted: (...keys) => this.markStepsCompleted(keys),
|
|
59798
|
+
finish: () => this.finish()
|
|
59799
|
+
};
|
|
59694
59800
|
this.error = signal("", ...ngDevMode ? [{ debugName: "error" }] : /* istanbul ignore next */ []);
|
|
59695
59801
|
this.areaCodeOpen = signal("", ...ngDevMode ? [{ debugName: "areaCodeOpen" }] : /* istanbul ignore next */ []);
|
|
59696
59802
|
this.areaCode = signal("", ...ngDevMode ? [{ debugName: "areaCode" }] : /* istanbul ignore next */ []);
|
|
@@ -59710,13 +59816,26 @@ var SetupWizardComponent = class SetupWizardComponent {
|
|
|
59710
59816
|
}, ...ngDevMode ? [{ debugName: "intro" }] : /* istanbul ignore next */ []);
|
|
59711
59817
|
this.isDone = computed(() => this.current().key === SETUP_DONE_KEY, ...ngDevMode ? [{ debugName: "isDone" }] : /* istanbul ignore next */ []);
|
|
59712
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 */ []);
|
|
59713
59823
|
this.stepperSteps = computed(() => this.allSteps().map((s, i) => ({
|
|
59714
59824
|
key: s.key,
|
|
59715
59825
|
label: s.label,
|
|
59716
59826
|
complete: this.completed().has(s.key),
|
|
59717
|
-
disabled: this.busy(),
|
|
59718
|
-
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 } : {}
|
|
59719
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 */ []);
|
|
59720
59839
|
this.summarySections = computed(() => [{ items: this.steps().map((s) => ({
|
|
59721
59840
|
label: s.label,
|
|
59722
59841
|
badge: this.completed().has(s.key) ? {
|
|
@@ -59730,6 +59849,14 @@ var SetupWizardComponent = class SetupWizardComponent {
|
|
|
59730
59849
|
variant: "slate"
|
|
59731
59850
|
}
|
|
59732
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 */ []);
|
|
59733
59860
|
if (typeof matchMedia === "function") {
|
|
59734
59861
|
const mq = matchMedia("(max-width: 768px)");
|
|
59735
59862
|
this.narrow.set(mq.matches);
|
|
@@ -59762,7 +59889,21 @@ var SetupWizardComponent = class SetupWizardComponent {
|
|
|
59762
59889
|
return this.stepTemplates().find((d) => d.key() === key)?.template ?? null;
|
|
59763
59890
|
}
|
|
59764
59891
|
goToPast(key) {
|
|
59765
|
-
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);
|
|
59766
59907
|
}
|
|
59767
59908
|
goTo(key) {
|
|
59768
59909
|
if (!this.busy() && this.allSteps().some((s) => s.key === key)) this.enter(key);
|
|
@@ -59772,6 +59913,7 @@ var SetupWizardComponent = class SetupWizardComponent {
|
|
|
59772
59913
|
this.areaCodeOpen.set("");
|
|
59773
59914
|
this.areaCode.set("");
|
|
59774
59915
|
this.splitTab.set("extra");
|
|
59916
|
+
this.pickerKey.set("");
|
|
59775
59917
|
this.currentKey.set(key);
|
|
59776
59918
|
const step = this.allSteps().find((s) => s.key === key);
|
|
59777
59919
|
if (step.kind === "integrations") this.loadStatuses(step.integrations ?? []);
|
|
@@ -59791,10 +59933,18 @@ var SetupWizardComponent = class SetupWizardComponent {
|
|
|
59791
59933
|
}
|
|
59792
59934
|
skip() {
|
|
59793
59935
|
if (this.busy()) return;
|
|
59794
|
-
const key = this.current()
|
|
59795
|
-
|
|
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
|
+
});
|
|
59796
59943
|
this.advanceFrom(key);
|
|
59797
59944
|
}
|
|
59945
|
+
finish() {
|
|
59946
|
+
this.finished.emit();
|
|
59947
|
+
}
|
|
59798
59948
|
completeSteps(...keys) {
|
|
59799
59949
|
this.markStepsCompleted(keys);
|
|
59800
59950
|
}
|
|
@@ -60076,22 +60226,46 @@ var SetupWizardComponent = class SetupWizardComponent {
|
|
|
60076
60226
|
isSignal: true,
|
|
60077
60227
|
isRequired: false,
|
|
60078
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
|
|
60079
60243
|
}
|
|
60080
60244
|
},
|
|
60081
60245
|
outputs: {
|
|
60082
60246
|
finished: "finished",
|
|
60083
60247
|
exited: "exited",
|
|
60084
|
-
stepChange: "stepChange"
|
|
60248
|
+
stepChange: "stepChange",
|
|
60249
|
+
stepSkipped: "stepSkipped"
|
|
60085
60250
|
},
|
|
60086
|
-
queries: [
|
|
60087
|
-
|
|
60088
|
-
|
|
60089
|
-
|
|
60090
|
-
|
|
60091
|
-
|
|
60092
|
-
|
|
60093
|
-
|
|
60094
|
-
|
|
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
|
+
],
|
|
60095
60269
|
viewQueries: [{
|
|
60096
60270
|
propertyName: "stepTitle",
|
|
60097
60271
|
first: true,
|
|
@@ -60115,6 +60289,13 @@ var SetupWizardComponent = class SetupWizardComponent {
|
|
|
60115
60289
|
</div>
|
|
60116
60290
|
<ui-stepper class="sw-step-nav" [ariaLabel]="t().stepperLabel" orientation="vertical" size="sm" compact="md"
|
|
60117
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
|
+
}
|
|
60118
60299
|
</div>
|
|
60119
60300
|
<div class="sw-sidebar-bottom">
|
|
60120
60301
|
<ui-progress-bar [value]="completedCount()" [max]="allSteps().length" [ariaLabel]="labels.t('setupWizard.setupProgress')" />
|
|
@@ -60131,13 +60312,19 @@ var SetupWizardComponent = class SetupWizardComponent {
|
|
|
60131
60312
|
@if (isDone()) {
|
|
60132
60313
|
<div class="sw-step-content" [attr.aria-busy]="busy()" data-testid="wizard-done" data-step="done">
|
|
60133
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> }
|
|
60134
|
-
<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 {
|
|
60135
60319
|
<ui-panel-info-list class="sw-summary" data-testid="wizard-summary" [sections]="summarySections()" />
|
|
60136
60320
|
<p class="sw-hint sw-done-hint">{{ t().doneHint }}</p>
|
|
60321
|
+
}
|
|
60137
60322
|
<div card-footer class="sw-step-actions">
|
|
60138
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> }
|
|
60139
|
-
<div class="sw-actions-right">
|
|
60324
|
+
<div class="sw-actions-right" [class.sw-actions-right--none]="doneTemplate()?.hideFinish()">
|
|
60325
|
+
@if (!doneTemplate()?.hideFinish()) {
|
|
60140
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
|
+
}
|
|
60141
60328
|
</div>
|
|
60142
60329
|
</div>
|
|
60143
60330
|
</ui-detail-card>
|
|
@@ -60150,7 +60337,7 @@ var SetupWizardComponent = class SetupWizardComponent {
|
|
|
60150
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> }
|
|
60151
60338
|
<div class="sw-actions-right">
|
|
60152
60339
|
@if (current().skippable !== false) {
|
|
60153
|
-
<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>
|
|
60154
60341
|
}
|
|
60155
60342
|
@if (current().kind === 'custom') {
|
|
60156
60343
|
@if (!current().ownActions) {
|
|
@@ -60254,7 +60441,7 @@ var SetupWizardComponent = class SetupWizardComponent {
|
|
|
60254
60441
|
</div>
|
|
60255
60442
|
`,
|
|
60256
60443
|
isInline: true,
|
|
60257
|
-
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"],
|
|
60258
60445
|
dependencies: [
|
|
60259
60446
|
{
|
|
60260
60447
|
kind: "directive",
|
|
@@ -60501,6 +60688,28 @@ var SetupWizardComponent = class SetupWizardComponent {
|
|
|
60501
60688
|
"noPaddingBottom"
|
|
60502
60689
|
]
|
|
60503
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
|
+
},
|
|
60504
60713
|
{
|
|
60505
60714
|
kind: "component",
|
|
60506
60715
|
type: StepperComponent,
|
|
@@ -60600,6 +60809,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
60600
60809
|
PanelInfoListComponent,
|
|
60601
60810
|
ProgressBarComponent,
|
|
60602
60811
|
SectionHeaderComponent,
|
|
60812
|
+
SelectComponent,
|
|
60603
60813
|
StepperComponent,
|
|
60604
60814
|
TextInputComponent
|
|
60605
60815
|
],
|
|
@@ -60613,6 +60823,13 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
60613
60823
|
</div>
|
|
60614
60824
|
<ui-stepper class="sw-step-nav" [ariaLabel]="t().stepperLabel" orientation="vertical" size="sm" compact="md"
|
|
60615
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
|
+
}
|
|
60616
60833
|
</div>
|
|
60617
60834
|
<div class="sw-sidebar-bottom">
|
|
60618
60835
|
<ui-progress-bar [value]="completedCount()" [max]="allSteps().length" [ariaLabel]="labels.t('setupWizard.setupProgress')" />
|
|
@@ -60629,13 +60846,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
60629
60846
|
@if (isDone()) {
|
|
60630
60847
|
<div class="sw-step-content" [attr.aria-busy]="busy()" data-testid="wizard-done" data-step="done">
|
|
60631
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> }
|
|
60632
|
-
<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 {
|
|
60633
60853
|
<ui-panel-info-list class="sw-summary" data-testid="wizard-summary" [sections]="summarySections()" />
|
|
60634
60854
|
<p class="sw-hint sw-done-hint">{{ t().doneHint }}</p>
|
|
60855
|
+
}
|
|
60635
60856
|
<div card-footer class="sw-step-actions">
|
|
60636
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> }
|
|
60637
|
-
<div class="sw-actions-right">
|
|
60858
|
+
<div class="sw-actions-right" [class.sw-actions-right--none]="doneTemplate()?.hideFinish()">
|
|
60859
|
+
@if (!doneTemplate()?.hideFinish()) {
|
|
60638
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
|
+
}
|
|
60639
60862
|
</div>
|
|
60640
60863
|
</div>
|
|
60641
60864
|
</ui-detail-card>
|
|
@@ -60648,7 +60871,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
60648
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> }
|
|
60649
60872
|
<div class="sw-actions-right">
|
|
60650
60873
|
@if (current().skippable !== false) {
|
|
60651
|
-
<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>
|
|
60652
60875
|
}
|
|
60653
60876
|
@if (current().kind === 'custom') {
|
|
60654
60877
|
@if (!current().ownActions) {
|
|
@@ -60751,7 +60974,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
60751
60974
|
</main>
|
|
60752
60975
|
</div>
|
|
60753
60976
|
`,
|
|
60754
|
-
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"]
|
|
60755
60978
|
}]
|
|
60756
60979
|
}],
|
|
60757
60980
|
ctorParameters: () => [],
|
|
@@ -60780,6 +61003,22 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
60780
61003
|
required: false
|
|
60781
61004
|
}]
|
|
60782
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
|
+
}],
|
|
60783
61022
|
finished: [{
|
|
60784
61023
|
type: i0.Output,
|
|
60785
61024
|
args: ["finished"]
|
|
@@ -60792,6 +61031,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
60792
61031
|
type: i0.Output,
|
|
60793
61032
|
args: ["stepChange"]
|
|
60794
61033
|
}],
|
|
61034
|
+
stepSkipped: [{
|
|
61035
|
+
type: i0.Output,
|
|
61036
|
+
args: ["stepSkipped"]
|
|
61037
|
+
}],
|
|
60795
61038
|
stepTemplates: [{
|
|
60796
61039
|
type: i0.ContentChildren,
|
|
60797
61040
|
args: [i0.forwardRef(() => SetupWizardStepDirective), { isSignal: true }]
|
|
@@ -60800,6 +61043,13 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
60800
61043
|
type: i0.ContentChildren,
|
|
60801
61044
|
args: [i0.forwardRef(() => SetupWizardStepHeaderDirective), { isSignal: true }]
|
|
60802
61045
|
}],
|
|
61046
|
+
doneTemplate: [{
|
|
61047
|
+
type: i0.ContentChild,
|
|
61048
|
+
args: [i0.forwardRef(() => SetupWizardDoneDirective), {
|
|
61049
|
+
descendants: false,
|
|
61050
|
+
isSignal: true
|
|
61051
|
+
}]
|
|
61052
|
+
}],
|
|
60803
61053
|
stepTitle: [{
|
|
60804
61054
|
type: i0.ViewChild,
|
|
60805
61055
|
args: ["stepTitle", { isSignal: true }]
|
|
@@ -64710,12 +64960,12 @@ function conversationDateLabel(iso, now = /* @__PURE__ */ new Date(), ui) {
|
|
|
64710
64960
|
function conversationInitial(name) {
|
|
64711
64961
|
return (name ?? "").trim().charAt(0).toUpperCase() || "?";
|
|
64712
64962
|
}
|
|
64713
|
-
function groupMessagesByDay(messages, now = /* @__PURE__ */ new Date()) {
|
|
64963
|
+
function groupMessagesByDay(messages, now = /* @__PURE__ */ new Date(), ui) {
|
|
64714
64964
|
return messages.map((message, i) => {
|
|
64715
|
-
const label = conversationDateLabel(message.sentAt, now);
|
|
64965
|
+
const label = conversationDateLabel(message.sentAt, now, ui);
|
|
64716
64966
|
return {
|
|
64717
64967
|
message,
|
|
64718
|
-
separator: i === 0 || conversationDateLabel(messages[i - 1].sentAt, now) !== label ? label : ""
|
|
64968
|
+
separator: i === 0 || conversationDateLabel(messages[i - 1].sentAt, now, ui) !== label ? label : ""
|
|
64719
64969
|
};
|
|
64720
64970
|
});
|
|
64721
64971
|
}
|
|
@@ -65185,7 +65435,7 @@ var ConversationsComponent = class ConversationsComponent {
|
|
|
65185
65435
|
this.lastThreadId = null;
|
|
65186
65436
|
this.filtering = computed(() => !!this.searchText().trim() || this.activeFilter() !== "", ...ngDevMode ? [{ debugName: "filtering" }] : /* istanbul ignore next */ []);
|
|
65187
65437
|
this.emptyText = computed(() => this.filtering() ? this.filteredEmptyMessage() : this.canWrite() ? this.emptyMessage() : this.emptyReadOnlyMessage(), ...ngDevMode ? [{ debugName: "emptyText" }] : /* istanbul ignore next */ []);
|
|
65188
|
-
this.messageRows = computed(() => groupMessagesByDay(this.messages(), this.clock()), ...ngDevMode ? [{ debugName: "messageRows" }] : /* istanbul ignore next */ []);
|
|
65438
|
+
this.messageRows = computed(() => groupMessagesByDay(this.messages(), this.clock(), this.labels), ...ngDevMode ? [{ debugName: "messageRows" }] : /* istanbul ignore next */ []);
|
|
65189
65439
|
this.contextVisible = computed(() => this.hasContext() && this.contextOpen() && !!this.selected(), ...ngDevMode ? [{ debugName: "contextVisible" }] : /* istanbul ignore next */ []);
|
|
65190
65440
|
this.canSend = computed(() => !this.composerDisabled() && !this.sendBlocked() && !this.sending() && (this.draft().trim().length > 0 || !!this.attachment() || !!this.link()) && this.draft().trim().length <= this.maxLength(), ...ngDevMode ? [{ debugName: "canSend" }] : /* istanbul ignore next */ []);
|
|
65191
65441
|
this.pickerOpen = signal(false, ...ngDevMode ? [{ debugName: "pickerOpen" }] : /* istanbul ignore next */ []);
|
|
@@ -66293,11 +66543,11 @@ var ConversationsComponent = class ConversationsComponent {
|
|
|
66293
66543
|
}
|
|
66294
66544
|
@if (richText()) {
|
|
66295
66545
|
<ui-rich-text-editor class="cv-compose-input cv-compose-rich" [ariaLabel]="composeLabel()" [placeholder]="composePlaceholder()" [hide]="richHide"
|
|
66296
|
-
[minHeight]="44" [maxHeight]="160" [ngModel]="editorHtml()" (ngModelChange)="onEditorChange($event)" [disabled]="composerDisabled()" [error]="composerError()"
|
|
66546
|
+
[minHeight]="44" [maxHeight]="160" [ngModel]="editorHtml()" (ngModelChange)="onEditorChange($event)" [disabled]="composerDisabled()" [error]="composerError()" [showErrors]="composerError() !== ''"
|
|
66297
66547
|
(keydown)="onComposeKeydown($event)" data-testid="compose-input" />
|
|
66298
66548
|
} @else {
|
|
66299
66549
|
<ui-textarea-input class="cv-compose-input" [ariaLabel]="composeLabel()" [placeholder]="composePlaceholder()" [rows]="1" [maxlength]="maxLength()"
|
|
66300
|
-
[ngModel]="draft()" (ngModelChange)="draft.set($event)" [disabled]="composerDisabled()" [error]="composerError()"
|
|
66550
|
+
[ngModel]="draft()" (ngModelChange)="draft.set($event)" [disabled]="composerDisabled()" [error]="composerError()" [showErrors]="composerError() !== ''"
|
|
66301
66551
|
(keydown)="onComposeKeydown($event)" data-testid="compose-input" />
|
|
66302
66552
|
}
|
|
66303
66553
|
<ui-button class="cv-send-btn" variant="primary" [ariaLabel]="sendLabel()" [disabled]="!canSend()" [loading]="sending()" (click)="sendMessage()" data-testid="send-btn">
|
|
@@ -66951,11 +67201,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
66951
67201
|
}
|
|
66952
67202
|
@if (richText()) {
|
|
66953
67203
|
<ui-rich-text-editor class="cv-compose-input cv-compose-rich" [ariaLabel]="composeLabel()" [placeholder]="composePlaceholder()" [hide]="richHide"
|
|
66954
|
-
[minHeight]="44" [maxHeight]="160" [ngModel]="editorHtml()" (ngModelChange)="onEditorChange($event)" [disabled]="composerDisabled()" [error]="composerError()"
|
|
67204
|
+
[minHeight]="44" [maxHeight]="160" [ngModel]="editorHtml()" (ngModelChange)="onEditorChange($event)" [disabled]="composerDisabled()" [error]="composerError()" [showErrors]="composerError() !== ''"
|
|
66955
67205
|
(keydown)="onComposeKeydown($event)" data-testid="compose-input" />
|
|
66956
67206
|
} @else {
|
|
66957
67207
|
<ui-textarea-input class="cv-compose-input" [ariaLabel]="composeLabel()" [placeholder]="composePlaceholder()" [rows]="1" [maxlength]="maxLength()"
|
|
66958
|
-
[ngModel]="draft()" (ngModelChange)="draft.set($event)" [disabled]="composerDisabled()" [error]="composerError()"
|
|
67208
|
+
[ngModel]="draft()" (ngModelChange)="draft.set($event)" [disabled]="composerDisabled()" [error]="composerError()" [showErrors]="composerError() !== ''"
|
|
66959
67209
|
(keydown)="onComposeKeydown($event)" data-testid="compose-input" />
|
|
66960
67210
|
}
|
|
66961
67211
|
<ui-button class="cv-send-btn" variant="primary" [ariaLabel]="sendLabel()" [disabled]="!canSend()" [loading]="sending()" (click)="sendMessage()" data-testid="send-btn">
|
|
@@ -68255,6 +68505,7 @@ var PaymentSidePanelComponent = class PaymentSidePanelComponent {
|
|
|
68255
68505
|
this.exclusive = signal(false, ...ngDevMode ? [{ debugName: "exclusive" }] : /* istanbul ignore next */ []);
|
|
68256
68506
|
this.pluginPrimary = signal(null, ...ngDevMode ? [{ debugName: "pluginPrimary" }] : /* istanbul ignore next */ []);
|
|
68257
68507
|
this.cancelHook = null;
|
|
68508
|
+
this.liveMethodValue = "";
|
|
68258
68509
|
this.completed = false;
|
|
68259
68510
|
this.verificationReported = false;
|
|
68260
68511
|
this.readers = signal([], ...ngDevMode ? [{ debugName: "readers" }] : /* istanbul ignore next */ []);
|
|
@@ -68369,6 +68620,7 @@ var PaymentSidePanelComponent = class PaymentSidePanelComponent {
|
|
|
68369
68620
|
if (this.kind() === "live") return !!this.pluginPrimary()?.disabled;
|
|
68370
68621
|
return this.submitting() || this.touched() && this.hasInvalid();
|
|
68371
68622
|
}, ...ngDevMode ? [{ debugName: "primaryDisabled" }] : /* istanbul ignore next */ []);
|
|
68623
|
+
this.destroyed = false;
|
|
68372
68624
|
effect(() => {
|
|
68373
68625
|
const isOpen = this.open();
|
|
68374
68626
|
untracked(() => isOpen ? this.init() : this.teardown());
|
|
@@ -68386,11 +68638,22 @@ var PaymentSidePanelComponent = class PaymentSidePanelComponent {
|
|
|
68386
68638
|
if (method && !list.some((o) => o.value === method)) this.onMethodChange("");
|
|
68387
68639
|
});
|
|
68388
68640
|
});
|
|
68641
|
+
effect(() => {
|
|
68642
|
+
const kind = this.kind();
|
|
68643
|
+
const method = this.method();
|
|
68644
|
+
untracked(() => {
|
|
68645
|
+
if (this.liveMethodValue && this.liveMethodValue === method && kind !== "live") this.onMethodChange("");
|
|
68646
|
+
this.liveMethodValue = kind === "live" ? method : "";
|
|
68647
|
+
});
|
|
68648
|
+
});
|
|
68389
68649
|
effect(() => {
|
|
68390
68650
|
const visible = this.kind() === "terminal";
|
|
68391
68651
|
untracked(() => visible ? this.startTerminalSession() : this.stopReaderRefresh());
|
|
68392
68652
|
});
|
|
68393
|
-
inject(DestroyRef).onDestroy(() =>
|
|
68653
|
+
inject(DestroyRef).onDestroy(() => {
|
|
68654
|
+
this.destroyed = true;
|
|
68655
|
+
this.cleanup();
|
|
68656
|
+
});
|
|
68394
68657
|
}
|
|
68395
68658
|
init() {
|
|
68396
68659
|
this.resetForm();
|
|
@@ -68689,6 +68952,7 @@ var PaymentSidePanelComponent = class PaymentSidePanelComponent {
|
|
|
68689
68952
|
this.cancelHook = fn;
|
|
68690
68953
|
},
|
|
68691
68954
|
report: (code, extra) => {
|
|
68955
|
+
if (this.destroyed) return;
|
|
68692
68956
|
this.verificationReported = code === "verification";
|
|
68693
68957
|
this.outcome.emit({
|
|
68694
68958
|
kind: "plugin",
|
|
@@ -68704,7 +68968,7 @@ var PaymentSidePanelComponent = class PaymentSidePanelComponent {
|
|
|
68704
68968
|
};
|
|
68705
68969
|
}
|
|
68706
68970
|
completeFromPlugin(method, snapshotAmount, partial) {
|
|
68707
|
-
if (this.completed) return;
|
|
68971
|
+
if (this.completed || this.destroyed) return;
|
|
68708
68972
|
this.completed = true;
|
|
68709
68973
|
this.cancelHook = null;
|
|
68710
68974
|
this.pluginBusy.set(false);
|
|
@@ -71960,7 +72224,7 @@ const BUILT_IN_ENDONYMS = {
|
|
|
71960
72224
|
ko: "한국어",
|
|
71961
72225
|
ru: "Русский"
|
|
71962
72226
|
};
|
|
71963
|
-
const BUILT_IN_LOADERS = /* @__PURE__ */ new Map([["es", () => import("./forgeroute-ui-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)]]);
|
|
71964
72228
|
const normalizeTag = (tag) => tag.trim().toLowerCase().replace(/_/g, "-");
|
|
71965
72229
|
const baseOf = (tag) => normalizeTag(tag).split("-")[0];
|
|
71966
72230
|
const builtInLoader = (lang) => BUILT_IN_LOADERS.get(normalizeTag(lang)) ?? BUILT_IN_LOADERS.get(baseOf(lang));
|
|
@@ -74539,6 +74803,7 @@ var KanbanBoardComponent = class KanbanBoardComponent {
|
|
|
74539
74803
|
this.host = inject(ElementRef);
|
|
74540
74804
|
this.doc = inject(DOCUMENT);
|
|
74541
74805
|
this.injector = inject(Injector);
|
|
74806
|
+
this.zone = inject(NgZone);
|
|
74542
74807
|
this.columns = input.required(...ngDevMode ? [{ debugName: "columns" }] : /* istanbul ignore next */ []);
|
|
74543
74808
|
this.items = input.required(...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
|
|
74544
74809
|
this.columnFn = input.required(...ngDevMode ? [{ debugName: "columnFn" }] : /* istanbul ignore next */ []);
|
|
@@ -75069,7 +75334,9 @@ var KanbanBoardComponent = class KanbanBoardComponent {
|
|
|
75069
75334
|
}
|
|
75070
75335
|
p.raf = win.requestAnimationFrame(step);
|
|
75071
75336
|
};
|
|
75072
|
-
|
|
75337
|
+
this.zone.runOutsideAngular(() => {
|
|
75338
|
+
p.raf = win.requestAnimationFrame(step);
|
|
75339
|
+
});
|
|
75073
75340
|
}
|
|
75074
75341
|
endPointer(commit, say) {
|
|
75075
75342
|
const p = this.pointer;
|
|
@@ -75737,6 +76004,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
75737
76004
|
}]
|
|
75738
76005
|
}
|
|
75739
76006
|
});
|
|
75740
|
-
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 };
|
|
75741
76008
|
|
|
75742
76009
|
//# sourceMappingURL=forgeroute-ui.mjs.map
|