@forgeroute/ui 0.5.5 → 0.5.7
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 +11 -3
- package/fesm2022/forgeroute-ui-quickbooks.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-square.mjs +11 -3
- package/fesm2022/forgeroute-ui-square.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-stripe.mjs +124 -20
- package/fesm2022/forgeroute-ui-stripe.mjs.map +1 -1
- package/fesm2022/{forgeroute-ui-ui-labels.es-CJy5qCse.mjs → forgeroute-ui-ui-labels.es-DtHranlg.mjs} +24 -1
- package/fesm2022/{forgeroute-ui-ui-labels.es-CJy5qCse.mjs.map → forgeroute-ui-ui-labels.es-DtHranlg.mjs.map} +1 -1
- package/fesm2022/forgeroute-ui.mjs +224 -71
- package/fesm2022/forgeroute-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/forgeroute-ui-messaging.d.ts +33 -0
- package/types/forgeroute-ui-stripe.d.ts +50 -4
- package/types/forgeroute-ui.d.ts +84 -22
|
@@ -2410,6 +2410,29 @@ const UI_DEFAULT_LABELS = {
|
|
|
2410
2410
|
"paymentReadiness.generic": "Payments are not available right now. Please try again shortly.",
|
|
2411
2411
|
"paymentReadiness.retryLoad": "Retry loading the payment form",
|
|
2412
2412
|
"paymentReadiness.storageWarning": "Your browser limits storage, so a page reload or a second tab during a payment cannot be recovered automatically. Please do not reload or open this page twice while paying.",
|
|
2413
|
+
"paymentSetup.checking": "Checking that your payment method was saved...",
|
|
2414
|
+
"paymentSetup.checkingHelp": "Please wait and do not save it again. We are making sure your payment method was saved.",
|
|
2415
|
+
"paymentSetup.stillUnknown": "We could not confirm yet that your payment method was saved. Please check again in a moment and do not save it again.",
|
|
2416
|
+
"paymentSetup.waiting": "Waiting for your payment method to be confirmed...",
|
|
2417
|
+
"paymentSetup.paid": "A payment method was just saved for this. If you need to save another one, please wait a moment or contact support.",
|
|
2418
|
+
"paymentSetup.queuedOffline": "You appear to be offline. Your payment method was not saved. Please check your connection and try again.",
|
|
2419
|
+
"paymentSetup.offline": "You are offline. Reconnect to the internet to save your payment method: nothing was sent.",
|
|
2420
|
+
"paymentSetup.awaitingVerification": "Bank verification required: your bank account has NOT been saved yet. Until you verify the small deposits (or descriptor code) from your bank, it cannot be used and nothing will be charged.",
|
|
2421
|
+
"paymentSetup.slowConnection": "Your connection is too slow to save your payment method safely. Please try again on a better connection.",
|
|
2422
|
+
"paymentSetup.serviceUnavailable": "Saving payment methods is temporarily unavailable. Please try again in a few minutes.",
|
|
2423
|
+
"paymentSetup.outcomeUnknown": "We are still confirming the result of an earlier attempt to save a payment method. Please wait and do not save it again.",
|
|
2424
|
+
"paymentSetup.inFlight": "A payment method for this is already being saved. Please wait and check again shortly.",
|
|
2425
|
+
"paymentSetup.readinessChecking": "Checking that saving a payment method is available...",
|
|
2426
|
+
"paymentSetup.readinessGeneric": "Saving a payment method is not available right now. Please try again shortly.",
|
|
2427
|
+
"paymentSetup.alreadySaved": "A payment method has already been saved for this.",
|
|
2428
|
+
"paymentSetup.storageWarning": "Your browser limits storage, so a page reload or a second tab while your payment method is being saved cannot be recovered automatically. Please do not reload or open this page twice while saving.",
|
|
2429
|
+
"paymentSetup.unsupportedBrowser": "This browser cannot save payment methods safely. Please use a current version of Chrome, Edge, Firefox or Safari over a secure (https) connection.",
|
|
2430
|
+
"paymentSetup.merchantNotReady": "This business cannot save this kind of payment method right now. Please contact the business.",
|
|
2431
|
+
"paymentSetup.eventsBacklog": "Saving payment methods is paused for a moment while we catch up. Please try again shortly.",
|
|
2432
|
+
"paymentSetup.payableChanged": "The details on this page changed after it loaded. Reload the page to see the current details before you save a payment method.",
|
|
2433
|
+
"paymentSetup.reconnectRequired": "Saving payment methods is not available right now: this business must reconnect its payment account. Please contact the business.",
|
|
2434
|
+
"paymentSetup.requiresPaymentMethod": "Your payment method was not saved. Please try a different payment method.",
|
|
2435
|
+
"paymentSetup.processing": "Your bank is still confirming your payment method and it has NOT been saved yet. Please wait and do not save it again.",
|
|
2413
2436
|
"qboHostedPay.title": "Pay {{ amount }}",
|
|
2414
2437
|
"qboHostedPay.titleNoAmount": "Secure payment",
|
|
2415
2438
|
"qboHostedPay.pay": "Pay {{ amount }}",
|
|
@@ -3897,7 +3920,7 @@ var MoreMenuComponent = class MoreMenuComponent {
|
|
|
3897
3920
|
</div>
|
|
3898
3921
|
`,
|
|
3899
3922
|
isInline: true,
|
|
3900
|
-
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"],
|
|
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;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"],
|
|
3901
3924
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
3902
3925
|
});
|
|
3903
3926
|
}
|
|
@@ -3954,7 +3977,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3954
3977
|
}
|
|
3955
3978
|
</div>
|
|
3956
3979
|
`,
|
|
3957
|
-
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"]
|
|
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;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"]
|
|
3958
3981
|
}]
|
|
3959
3982
|
}],
|
|
3960
3983
|
ctorParameters: () => [],
|
|
@@ -16317,6 +16340,13 @@ var DataTableComponent = class DataTableComponent {
|
|
|
16317
16340
|
if (!this._isSortable(col) || this._sortField() === col.key) continue;
|
|
16318
16341
|
let hasValue = false;
|
|
16319
16342
|
for (const item of items) {
|
|
16343
|
+
if (col.cellType === "image") {
|
|
16344
|
+
if (this.imageUrl(col, item) !== null) {
|
|
16345
|
+
hasValue = true;
|
|
16346
|
+
break;
|
|
16347
|
+
}
|
|
16348
|
+
continue;
|
|
16349
|
+
}
|
|
16320
16350
|
let text;
|
|
16321
16351
|
try {
|
|
16322
16352
|
text = this.cardCellText(col, item);
|
|
@@ -20254,8 +20284,7 @@ var StackedBarComponent = class StackedBarComponent {
|
|
|
20254
20284
|
@for (s of rows(); track s.key) {
|
|
20255
20285
|
<li class="sb-item">
|
|
20256
20286
|
<span [class]="'sb-dot sb-' + s.variant" [style.background]="s.color || null" aria-hidden="true"></span>
|
|
20257
|
-
<span class="sb-name">{{ s.label }}</span>
|
|
20258
|
-
<span class="sb-val">{{ s.text }}</span>
|
|
20287
|
+
<span class="sb-name">{{ s.label }}</span>{{ ' ' }}<span class="sb-val">{{ s.text }}</span>
|
|
20259
20288
|
</li>
|
|
20260
20289
|
}
|
|
20261
20290
|
</ul>
|
|
@@ -20289,8 +20318,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
20289
20318
|
@for (s of rows(); track s.key) {
|
|
20290
20319
|
<li class="sb-item">
|
|
20291
20320
|
<span [class]="'sb-dot sb-' + s.variant" [style.background]="s.color || null" aria-hidden="true"></span>
|
|
20292
|
-
<span class="sb-name">{{ s.label }}</span>
|
|
20293
|
-
<span class="sb-val">{{ s.text }}</span>
|
|
20321
|
+
<span class="sb-name">{{ s.label }}</span>{{ ' ' }}<span class="sb-val">{{ s.text }}</span>
|
|
20294
20322
|
</li>
|
|
20295
20323
|
}
|
|
20296
20324
|
</ul>
|
|
@@ -23783,7 +23811,7 @@ var FileInputComponent = class FileInputComponent {
|
|
|
23783
23811
|
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 */ []);
|
|
23784
23812
|
this.invalid = computed(() => !!this.error() || !!this._rejection() || !!this._issue(), ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
|
|
23785
23813
|
this.errorMessage = computed(() => (this.listRejections() && this._rejected().length > 0 ? this.rejectionLines().join(" ") : this._rejection()) || this._issue()?.message || "", ...ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []);
|
|
23786
|
-
this._shownError = computed(() => this._rejection() || (this._reveal.revealed() ? (this.showField() ? this.error() : "") || (this._issue()?.message ?? "") : ""), ...ngDevMode ? [{ debugName: "_shownError" }] : /* istanbul ignore next */ []);
|
|
23814
|
+
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 */ []);
|
|
23787
23815
|
this.summary = computed(() => {
|
|
23788
23816
|
const f = this._files();
|
|
23789
23817
|
if (f.length === 0) return "";
|
|
@@ -25422,7 +25450,7 @@ var ToggleComponent = class ToggleComponent {
|
|
|
25422
25450
|
</div>
|
|
25423
25451
|
`,
|
|
25424
25452
|
isInline: true,
|
|
25425
|
-
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"],
|
|
25453
|
+
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"],
|
|
25426
25454
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
25427
25455
|
});
|
|
25428
25456
|
}
|
|
@@ -25471,7 +25499,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
25471
25499
|
</label>
|
|
25472
25500
|
</div>
|
|
25473
25501
|
`,
|
|
25474
|
-
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"]
|
|
25502
|
+
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"]
|
|
25475
25503
|
}]
|
|
25476
25504
|
}],
|
|
25477
25505
|
propDecorators: {
|
|
@@ -64687,12 +64715,12 @@ function conversationDateLabel(iso, now = /* @__PURE__ */ new Date(), ui) {
|
|
|
64687
64715
|
function conversationInitial(name) {
|
|
64688
64716
|
return (name ?? "").trim().charAt(0).toUpperCase() || "?";
|
|
64689
64717
|
}
|
|
64690
|
-
function groupMessagesByDay(messages, now = /* @__PURE__ */ new Date()) {
|
|
64718
|
+
function groupMessagesByDay(messages, now = /* @__PURE__ */ new Date(), ui) {
|
|
64691
64719
|
return messages.map((message, i) => {
|
|
64692
|
-
const label = conversationDateLabel(message.sentAt, now);
|
|
64720
|
+
const label = conversationDateLabel(message.sentAt, now, ui);
|
|
64693
64721
|
return {
|
|
64694
64722
|
message,
|
|
64695
|
-
separator: i === 0 || conversationDateLabel(messages[i - 1].sentAt, now) !== label ? label : ""
|
|
64723
|
+
separator: i === 0 || conversationDateLabel(messages[i - 1].sentAt, now, ui) !== label ? label : ""
|
|
64696
64724
|
};
|
|
64697
64725
|
});
|
|
64698
64726
|
}
|
|
@@ -65162,7 +65190,7 @@ var ConversationsComponent = class ConversationsComponent {
|
|
|
65162
65190
|
this.lastThreadId = null;
|
|
65163
65191
|
this.filtering = computed(() => !!this.searchText().trim() || this.activeFilter() !== "", ...ngDevMode ? [{ debugName: "filtering" }] : /* istanbul ignore next */ []);
|
|
65164
65192
|
this.emptyText = computed(() => this.filtering() ? this.filteredEmptyMessage() : this.canWrite() ? this.emptyMessage() : this.emptyReadOnlyMessage(), ...ngDevMode ? [{ debugName: "emptyText" }] : /* istanbul ignore next */ []);
|
|
65165
|
-
this.messageRows = computed(() => groupMessagesByDay(this.messages(), this.clock()), ...ngDevMode ? [{ debugName: "messageRows" }] : /* istanbul ignore next */ []);
|
|
65193
|
+
this.messageRows = computed(() => groupMessagesByDay(this.messages(), this.clock(), this.labels), ...ngDevMode ? [{ debugName: "messageRows" }] : /* istanbul ignore next */ []);
|
|
65166
65194
|
this.contextVisible = computed(() => this.hasContext() && this.contextOpen() && !!this.selected(), ...ngDevMode ? [{ debugName: "contextVisible" }] : /* istanbul ignore next */ []);
|
|
65167
65195
|
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 */ []);
|
|
65168
65196
|
this.pickerOpen = signal(false, ...ngDevMode ? [{ debugName: "pickerOpen" }] : /* istanbul ignore next */ []);
|
|
@@ -66270,11 +66298,11 @@ var ConversationsComponent = class ConversationsComponent {
|
|
|
66270
66298
|
}
|
|
66271
66299
|
@if (richText()) {
|
|
66272
66300
|
<ui-rich-text-editor class="cv-compose-input cv-compose-rich" [ariaLabel]="composeLabel()" [placeholder]="composePlaceholder()" [hide]="richHide"
|
|
66273
|
-
[minHeight]="44" [maxHeight]="160" [ngModel]="editorHtml()" (ngModelChange)="onEditorChange($event)" [disabled]="composerDisabled()" [error]="composerError()"
|
|
66301
|
+
[minHeight]="44" [maxHeight]="160" [ngModel]="editorHtml()" (ngModelChange)="onEditorChange($event)" [disabled]="composerDisabled()" [error]="composerError()" [showErrors]="composerError() !== ''"
|
|
66274
66302
|
(keydown)="onComposeKeydown($event)" data-testid="compose-input" />
|
|
66275
66303
|
} @else {
|
|
66276
66304
|
<ui-textarea-input class="cv-compose-input" [ariaLabel]="composeLabel()" [placeholder]="composePlaceholder()" [rows]="1" [maxlength]="maxLength()"
|
|
66277
|
-
[ngModel]="draft()" (ngModelChange)="draft.set($event)" [disabled]="composerDisabled()" [error]="composerError()"
|
|
66305
|
+
[ngModel]="draft()" (ngModelChange)="draft.set($event)" [disabled]="composerDisabled()" [error]="composerError()" [showErrors]="composerError() !== ''"
|
|
66278
66306
|
(keydown)="onComposeKeydown($event)" data-testid="compose-input" />
|
|
66279
66307
|
}
|
|
66280
66308
|
<ui-button class="cv-send-btn" variant="primary" [ariaLabel]="sendLabel()" [disabled]="!canSend()" [loading]="sending()" (click)="sendMessage()" data-testid="send-btn">
|
|
@@ -66928,11 +66956,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
66928
66956
|
}
|
|
66929
66957
|
@if (richText()) {
|
|
66930
66958
|
<ui-rich-text-editor class="cv-compose-input cv-compose-rich" [ariaLabel]="composeLabel()" [placeholder]="composePlaceholder()" [hide]="richHide"
|
|
66931
|
-
[minHeight]="44" [maxHeight]="160" [ngModel]="editorHtml()" (ngModelChange)="onEditorChange($event)" [disabled]="composerDisabled()" [error]="composerError()"
|
|
66959
|
+
[minHeight]="44" [maxHeight]="160" [ngModel]="editorHtml()" (ngModelChange)="onEditorChange($event)" [disabled]="composerDisabled()" [error]="composerError()" [showErrors]="composerError() !== ''"
|
|
66932
66960
|
(keydown)="onComposeKeydown($event)" data-testid="compose-input" />
|
|
66933
66961
|
} @else {
|
|
66934
66962
|
<ui-textarea-input class="cv-compose-input" [ariaLabel]="composeLabel()" [placeholder]="composePlaceholder()" [rows]="1" [maxlength]="maxLength()"
|
|
66935
|
-
[ngModel]="draft()" (ngModelChange)="draft.set($event)" [disabled]="composerDisabled()" [error]="composerError()"
|
|
66963
|
+
[ngModel]="draft()" (ngModelChange)="draft.set($event)" [disabled]="composerDisabled()" [error]="composerError()" [showErrors]="composerError() !== ''"
|
|
66936
66964
|
(keydown)="onComposeKeydown($event)" data-testid="compose-input" />
|
|
66937
66965
|
}
|
|
66938
66966
|
<ui-button class="cv-send-btn" variant="primary" [ariaLabel]="sendLabel()" [disabled]="!canSend()" [loading]="sending()" (click)="sendMessage()" data-testid="send-btn">
|
|
@@ -68232,6 +68260,7 @@ var PaymentSidePanelComponent = class PaymentSidePanelComponent {
|
|
|
68232
68260
|
this.exclusive = signal(false, ...ngDevMode ? [{ debugName: "exclusive" }] : /* istanbul ignore next */ []);
|
|
68233
68261
|
this.pluginPrimary = signal(null, ...ngDevMode ? [{ debugName: "pluginPrimary" }] : /* istanbul ignore next */ []);
|
|
68234
68262
|
this.cancelHook = null;
|
|
68263
|
+
this.liveMethodValue = "";
|
|
68235
68264
|
this.completed = false;
|
|
68236
68265
|
this.verificationReported = false;
|
|
68237
68266
|
this.readers = signal([], ...ngDevMode ? [{ debugName: "readers" }] : /* istanbul ignore next */ []);
|
|
@@ -68346,6 +68375,7 @@ var PaymentSidePanelComponent = class PaymentSidePanelComponent {
|
|
|
68346
68375
|
if (this.kind() === "live") return !!this.pluginPrimary()?.disabled;
|
|
68347
68376
|
return this.submitting() || this.touched() && this.hasInvalid();
|
|
68348
68377
|
}, ...ngDevMode ? [{ debugName: "primaryDisabled" }] : /* istanbul ignore next */ []);
|
|
68378
|
+
this.destroyed = false;
|
|
68349
68379
|
effect(() => {
|
|
68350
68380
|
const isOpen = this.open();
|
|
68351
68381
|
untracked(() => isOpen ? this.init() : this.teardown());
|
|
@@ -68363,11 +68393,22 @@ var PaymentSidePanelComponent = class PaymentSidePanelComponent {
|
|
|
68363
68393
|
if (method && !list.some((o) => o.value === method)) this.onMethodChange("");
|
|
68364
68394
|
});
|
|
68365
68395
|
});
|
|
68396
|
+
effect(() => {
|
|
68397
|
+
const kind = this.kind();
|
|
68398
|
+
const method = this.method();
|
|
68399
|
+
untracked(() => {
|
|
68400
|
+
if (this.liveMethodValue && this.liveMethodValue === method && kind !== "live") this.onMethodChange("");
|
|
68401
|
+
this.liveMethodValue = kind === "live" ? method : "";
|
|
68402
|
+
});
|
|
68403
|
+
});
|
|
68366
68404
|
effect(() => {
|
|
68367
68405
|
const visible = this.kind() === "terminal";
|
|
68368
68406
|
untracked(() => visible ? this.startTerminalSession() : this.stopReaderRefresh());
|
|
68369
68407
|
});
|
|
68370
|
-
inject(DestroyRef).onDestroy(() =>
|
|
68408
|
+
inject(DestroyRef).onDestroy(() => {
|
|
68409
|
+
this.destroyed = true;
|
|
68410
|
+
this.cleanup();
|
|
68411
|
+
});
|
|
68371
68412
|
}
|
|
68372
68413
|
init() {
|
|
68373
68414
|
this.resetForm();
|
|
@@ -68666,6 +68707,7 @@ var PaymentSidePanelComponent = class PaymentSidePanelComponent {
|
|
|
68666
68707
|
this.cancelHook = fn;
|
|
68667
68708
|
},
|
|
68668
68709
|
report: (code, extra) => {
|
|
68710
|
+
if (this.destroyed) return;
|
|
68669
68711
|
this.verificationReported = code === "verification";
|
|
68670
68712
|
this.outcome.emit({
|
|
68671
68713
|
kind: "plugin",
|
|
@@ -68681,7 +68723,7 @@ var PaymentSidePanelComponent = class PaymentSidePanelComponent {
|
|
|
68681
68723
|
};
|
|
68682
68724
|
}
|
|
68683
68725
|
completeFromPlugin(method, snapshotAmount, partial) {
|
|
68684
|
-
if (this.completed) return;
|
|
68726
|
+
if (this.completed || this.destroyed) return;
|
|
68685
68727
|
this.completed = true;
|
|
68686
68728
|
this.cancelHook = null;
|
|
68687
68729
|
this.pluginBusy.set(false);
|
|
@@ -70289,6 +70331,8 @@ var PaymentAttempt = class {
|
|
|
70289
70331
|
this.watchKey = null;
|
|
70290
70332
|
this.paidKey = null;
|
|
70291
70333
|
this.duplicates = /* @__PURE__ */ new Set();
|
|
70334
|
+
this.lastSuccessIdle = false;
|
|
70335
|
+
this.reportedKeys = /* @__PURE__ */ new Set();
|
|
70292
70336
|
this.requestMs = PAYMENT_REQUEST_TIMEOUT_MS;
|
|
70293
70337
|
this.pollTimer = null;
|
|
70294
70338
|
this.silenceTimer = null;
|
|
@@ -70403,19 +70447,27 @@ var PaymentAttempt = class {
|
|
|
70403
70447
|
this.readEpoch(ref);
|
|
70404
70448
|
this.sweepStale();
|
|
70405
70449
|
const stored = this.readStored(ref);
|
|
70406
|
-
if (stored && stored.type === "tombstone" && stored.value.state === "succeeded") {
|
|
70450
|
+
if (this.keepsLock() && stored && stored.type === "tombstone" && stored.value.state === "succeeded") {
|
|
70407
70451
|
this.lateSuccess(stored.value.key, "other_tab", stored.value.amount ?? null, stored.value.method);
|
|
70408
70452
|
return this.refuse("paid");
|
|
70409
70453
|
}
|
|
70410
|
-
if (this.checkPaidRecord(ref)) return this.refuse("paid");
|
|
70454
|
+
if (this.keepsLock() && this.checkPaidRecord(ref)) return this.refuse("paid");
|
|
70411
70455
|
const foreign = this.foreignMarker();
|
|
70412
70456
|
if (foreign) {
|
|
70413
70457
|
this.adopt(foreign, "other_tab");
|
|
70414
70458
|
return this.refuse("unknown");
|
|
70415
70459
|
}
|
|
70460
|
+
this.lastSuccessIdle = false;
|
|
70416
70461
|
this.setInFlight(true);
|
|
70417
70462
|
const pin = this.newPin();
|
|
70418
70463
|
this.pinned.set(pin);
|
|
70464
|
+
if (!this.keepsLock() && stored && stored.type === "tombstone" && stored.value.state === "succeeded" && stored.value.key === pin.key) {
|
|
70465
|
+
const name = this.markerKey(ref);
|
|
70466
|
+
const again = this.readStored(ref);
|
|
70467
|
+
if (name && again && again.type === "tombstone" && again.value.state === "succeeded" && again.value.key === pin.key) try {
|
|
70468
|
+
this.store()?.removeItem(name);
|
|
70469
|
+
} catch {}
|
|
70470
|
+
}
|
|
70419
70471
|
this.writeMarker("inflight");
|
|
70420
70472
|
const raced = this.foreignMarker();
|
|
70421
70473
|
if (raced) {
|
|
@@ -70469,6 +70521,7 @@ var PaymentAttempt = class {
|
|
|
70469
70521
|
this.settleWatched(true);
|
|
70470
70522
|
return;
|
|
70471
70523
|
}
|
|
70524
|
+
if (!this.keepsLock() && !this.pinned() && this.lastSuccessIdle) return;
|
|
70472
70525
|
const key = this.key();
|
|
70473
70526
|
const pin = this.pinned();
|
|
70474
70527
|
const ref = pin?.ref ?? this.o.payableRef();
|
|
@@ -70479,9 +70532,15 @@ var PaymentAttempt = class {
|
|
|
70479
70532
|
this.waitingForHost.set(false);
|
|
70480
70533
|
this.setInFlight(false);
|
|
70481
70534
|
this.leaveUnknown();
|
|
70482
|
-
this.
|
|
70483
|
-
|
|
70484
|
-
|
|
70535
|
+
const lock = this.keepsLock();
|
|
70536
|
+
if (lock) {
|
|
70537
|
+
this.succeeded.set(true);
|
|
70538
|
+
this.paidKey = key;
|
|
70539
|
+
} else {
|
|
70540
|
+
this.lastSuccessIdle = true;
|
|
70541
|
+
this.reportedKeys.add(key);
|
|
70542
|
+
}
|
|
70543
|
+
this.renew(key, lock ? null : ref);
|
|
70485
70544
|
this.endMarker("succeeded");
|
|
70486
70545
|
this.writePaidRecord(ref, key, amount, method);
|
|
70487
70546
|
this.pinned.set(null);
|
|
@@ -70502,6 +70561,8 @@ var PaymentAttempt = class {
|
|
|
70502
70561
|
this.paidKey = null;
|
|
70503
70562
|
this.watchKey = null;
|
|
70504
70563
|
this.duplicates.clear();
|
|
70564
|
+
this.reportedKeys.clear();
|
|
70565
|
+
this.lastSuccessIdle = false;
|
|
70505
70566
|
this.memKeys.clear();
|
|
70506
70567
|
if (ref) {
|
|
70507
70568
|
this.removePaidRecord(ref);
|
|
@@ -70745,6 +70806,9 @@ var PaymentAttempt = class {
|
|
|
70745
70806
|
now() {
|
|
70746
70807
|
return this.o.now ? this.o.now() : Date.now();
|
|
70747
70808
|
}
|
|
70809
|
+
keepsLock() {
|
|
70810
|
+
return this.o.lockAfterSuccess?.() !== false;
|
|
70811
|
+
}
|
|
70748
70812
|
isCurrent(info) {
|
|
70749
70813
|
return this.liveRun === info && this.pinned()?.key === info.key;
|
|
70750
70814
|
}
|
|
@@ -70770,12 +70834,17 @@ var PaymentAttempt = class {
|
|
|
70770
70834
|
}
|
|
70771
70835
|
if (kind !== "success" && kind !== "failure") return;
|
|
70772
70836
|
if (kind === "success") {
|
|
70773
|
-
this.
|
|
70774
|
-
|
|
70775
|
-
|
|
70776
|
-
|
|
70777
|
-
|
|
70778
|
-
|
|
70837
|
+
if (this.keepsLock()) {
|
|
70838
|
+
this.writeTombstone(info.ref, "succeeded", info.key, {
|
|
70839
|
+
amount: info.amount,
|
|
70840
|
+
method: info.method
|
|
70841
|
+
});
|
|
70842
|
+
this.writePaidRecord(info.ref, info.key, info.amount, info.method);
|
|
70843
|
+
} else if (info.ref) {
|
|
70844
|
+
this.bumpEpoch(info.ref);
|
|
70845
|
+
this.removeMarker(info.ref, info.key);
|
|
70846
|
+
}
|
|
70847
|
+
if (isDevMode()) console.warn(this.keepsLock() ? "A payment answered after its form was destroyed: it is recorded for the next form of the payable (reconcile it by its attemptKey on your backend)." : "A save answered after its form was destroyed: the epoch moved, so the next form of the payable derives a new key (reconcile it by its attemptKey on your backend).");
|
|
70779
70848
|
} else {
|
|
70780
70849
|
if (info.ref) this.bumpEpoch(info.ref);
|
|
70781
70850
|
this.writeTombstone(info.ref, "failed", info.key);
|
|
@@ -70786,11 +70855,16 @@ var PaymentAttempt = class {
|
|
|
70786
70855
|
const mine = !!pin && pin.key === info.key && pin.ref === info.ref;
|
|
70787
70856
|
switch (result.kind) {
|
|
70788
70857
|
case "success":
|
|
70789
|
-
this.
|
|
70790
|
-
|
|
70791
|
-
|
|
70792
|
-
|
|
70793
|
-
|
|
70858
|
+
if (this.keepsLock()) {
|
|
70859
|
+
this.writeTombstone(info.ref, "succeeded", info.key, {
|
|
70860
|
+
amount: info.amount,
|
|
70861
|
+
method: info.method
|
|
70862
|
+
});
|
|
70863
|
+
this.writePaidRecord(info.ref, info.key, info.amount, info.method);
|
|
70864
|
+
} else if (info.ref) {
|
|
70865
|
+
this.bumpEpoch(info.ref);
|
|
70866
|
+
this.removeMarker(info.ref, info.key);
|
|
70867
|
+
}
|
|
70794
70868
|
break;
|
|
70795
70869
|
case "failure":
|
|
70796
70870
|
if (info.ref) this.bumpEpoch(info.ref);
|
|
@@ -70812,6 +70886,31 @@ var PaymentAttempt = class {
|
|
|
70812
70886
|
}
|
|
70813
70887
|
}
|
|
70814
70888
|
lateSuccess(key, reason, amount, method) {
|
|
70889
|
+
if (!this.keepsLock()) {
|
|
70890
|
+
if (this.reportedKeys.has(key)) return;
|
|
70891
|
+
if (this.reportedKeys.size > 0) {
|
|
70892
|
+
if (!this.duplicates.has(key)) {
|
|
70893
|
+
this.duplicates.add(key);
|
|
70894
|
+
this.emit({
|
|
70895
|
+
kind: "unknown",
|
|
70896
|
+
attemptKey: key,
|
|
70897
|
+
reason: "duplicate_suspected"
|
|
70898
|
+
});
|
|
70899
|
+
}
|
|
70900
|
+
return;
|
|
70901
|
+
}
|
|
70902
|
+
this.reportedKeys.add(key);
|
|
70903
|
+
this.emit({
|
|
70904
|
+
kind: "succeeded",
|
|
70905
|
+
attemptKey: key,
|
|
70906
|
+
...reason ? { reason } : {},
|
|
70907
|
+
...method !== void 0 ? {
|
|
70908
|
+
amount: amount ?? null,
|
|
70909
|
+
method
|
|
70910
|
+
} : {}
|
|
70911
|
+
});
|
|
70912
|
+
return;
|
|
70913
|
+
}
|
|
70815
70914
|
if (this.succeeded()) {
|
|
70816
70915
|
if (this.paidKey && key !== this.paidKey && !this.duplicates.has(key)) {
|
|
70817
70916
|
this.duplicates.add(key);
|
|
@@ -71156,7 +71255,7 @@ var PaymentAttempt = class {
|
|
|
71156
71255
|
}
|
|
71157
71256
|
writePaidRecord(ref, key, amount, method) {
|
|
71158
71257
|
const name = this.paidName(ref);
|
|
71159
|
-
if (!name) return;
|
|
71258
|
+
if (!name || !this.keepsLock()) return;
|
|
71160
71259
|
const record = {
|
|
71161
71260
|
key,
|
|
71162
71261
|
amount,
|
|
@@ -71232,7 +71331,7 @@ var PaymentAttempt = class {
|
|
|
71232
71331
|
if (this.unknown()) this.succeed("other_tab");
|
|
71233
71332
|
return;
|
|
71234
71333
|
}
|
|
71235
|
-
this.lateSuccess(t.key, "other_tab", t.amount ?? null, t.method);
|
|
71334
|
+
if (this.keepsLock()) this.lateSuccess(t.key, "other_tab", t.amount ?? null, t.method);
|
|
71236
71335
|
return;
|
|
71237
71336
|
}
|
|
71238
71337
|
if (!this.unknown() || !pin || pin.key !== t.key || this.unknownReason !== "other_tab" && this.unknownReason !== "reload") return;
|
|
@@ -71262,6 +71361,8 @@ var PaymentAttempt = class {
|
|
|
71262
71361
|
this.paidKey = null;
|
|
71263
71362
|
this.watchKey = null;
|
|
71264
71363
|
this.duplicates.clear();
|
|
71364
|
+
this.reportedKeys.clear();
|
|
71365
|
+
this.lastSuccessIdle = false;
|
|
71265
71366
|
if (this.unknown()) {
|
|
71266
71367
|
this.stopPolling();
|
|
71267
71368
|
this.clearSilence();
|
|
@@ -71280,12 +71381,12 @@ var PaymentAttempt = class {
|
|
|
71280
71381
|
this.adopt(stored.value, "reload");
|
|
71281
71382
|
return;
|
|
71282
71383
|
}
|
|
71283
|
-
} else if (stored.value.state === "succeeded") {
|
|
71384
|
+
} else if (stored.value.state === "succeeded" && this.keepsLock()) {
|
|
71284
71385
|
this.lateSuccess(stored.value.key, "other_tab", stored.value.amount ?? null, stored.value.method);
|
|
71285
71386
|
return;
|
|
71286
71387
|
}
|
|
71287
71388
|
}
|
|
71288
|
-
this.checkPaidRecord(ref);
|
|
71389
|
+
if (this.keepsLock()) this.checkPaidRecord(ref);
|
|
71289
71390
|
}
|
|
71290
71391
|
};
|
|
71291
71392
|
const PAYMENT_READINESS_REASONS = [
|
|
@@ -71493,6 +71594,8 @@ function createPaymentProtection(inputs, options) {
|
|
|
71493
71594
|
pollMaxMs: inputs.statusPollMaxMs,
|
|
71494
71595
|
statusTimeoutMs: inputs.statusCheckTimeoutMs,
|
|
71495
71596
|
failGraceMs: inputs.statusFailGraceMs,
|
|
71597
|
+
statusHardMaxMs: inputs.statusHardMaxMs,
|
|
71598
|
+
lockAfterSuccess: options.lockAfterSuccess,
|
|
71496
71599
|
authTimeoutMs: inputs.authTimeoutMs,
|
|
71497
71600
|
hostSilenceMs: inputs.hostSilenceMs,
|
|
71498
71601
|
offlineOverride: inputs.offlineOverride,
|
|
@@ -71517,6 +71620,34 @@ function createPaymentProtection(inputs, options) {
|
|
|
71517
71620
|
})
|
|
71518
71621
|
};
|
|
71519
71622
|
}
|
|
71623
|
+
const SETUP_LABEL_KEYS = {
|
|
71624
|
+
"paymentAttempt.checking": "paymentSetup.checking",
|
|
71625
|
+
"paymentAttempt.checkingHelp": "paymentSetup.checkingHelp",
|
|
71626
|
+
"paymentAttempt.stillUnknown": "paymentSetup.stillUnknown",
|
|
71627
|
+
"paymentAttempt.waiting": "paymentSetup.waiting",
|
|
71628
|
+
"paymentAttempt.paid": "paymentSetup.paid",
|
|
71629
|
+
"paymentAttempt.queuedOffline": "paymentSetup.queuedOffline",
|
|
71630
|
+
"paymentAttempt.offline": "paymentSetup.offline",
|
|
71631
|
+
"paymentAttempt.awaitingVerification": "paymentSetup.awaitingVerification",
|
|
71632
|
+
"paymentReadiness.offline": "paymentSetup.offline",
|
|
71633
|
+
"paymentReadiness.slow_connection": "paymentSetup.slowConnection",
|
|
71634
|
+
"paymentReadiness.service_unavailable": "paymentSetup.serviceUnavailable",
|
|
71635
|
+
"paymentReadiness.outcome_unknown": "paymentSetup.outcomeUnknown",
|
|
71636
|
+
"paymentReadiness.unknown_payment": "paymentSetup.outcomeUnknown",
|
|
71637
|
+
"paymentReadiness.payment_in_flight": "paymentSetup.inFlight",
|
|
71638
|
+
"paymentReadiness.unsupported_browser": "paymentSetup.unsupportedBrowser",
|
|
71639
|
+
"paymentReadiness.merchant_not_ready": "paymentSetup.merchantNotReady",
|
|
71640
|
+
"paymentReadiness.events_backlog": "paymentSetup.eventsBacklog",
|
|
71641
|
+
"paymentReadiness.payable_changed": "paymentSetup.payableChanged",
|
|
71642
|
+
"paymentReadiness.reconnect_required": "paymentSetup.reconnectRequired",
|
|
71643
|
+
"paymentReadiness.checking": "paymentSetup.readinessChecking",
|
|
71644
|
+
"paymentReadiness.generic": "paymentSetup.readinessGeneric",
|
|
71645
|
+
"paymentReadiness.already_paid": "paymentSetup.alreadySaved",
|
|
71646
|
+
"paymentReadiness.storageWarning": "paymentSetup.storageWarning"
|
|
71647
|
+
};
|
|
71648
|
+
function attemptLabelKey(key, kind) {
|
|
71649
|
+
return kind === "setup" ? SETUP_LABEL_KEYS[key] ?? key : key;
|
|
71650
|
+
}
|
|
71520
71651
|
var PaymentAttemptStatusComponent = class PaymentAttemptStatusComponent {
|
|
71521
71652
|
constructor() {
|
|
71522
71653
|
this.labels = inject(UiLabelsService);
|
|
@@ -71525,20 +71656,24 @@ var PaymentAttemptStatusComponent = class PaymentAttemptStatusComponent {
|
|
|
71525
71656
|
this.allowStartOver = input(false, ...ngDevMode ? [{ debugName: "allowStartOver" }] : /* istanbul ignore next */ []);
|
|
71526
71657
|
this.readiness = input(null, ...ngDevMode ? [{ debugName: "readiness" }] : /* istanbul ignore next */ []);
|
|
71527
71658
|
this.retryLoad = output();
|
|
71659
|
+
this.kind = input("payment", ...ngDevMode ? [{ debugName: "kind" }] : /* istanbul ignore next */ []);
|
|
71528
71660
|
this.firstReason = computed(() => this.readiness()?.reasons()[0] ?? "", ...ngDevMode ? [{ debugName: "firstReason" }] : /* istanbul ignore next */ []);
|
|
71529
|
-
this.readinessText = computed(() => this.
|
|
71661
|
+
this.readinessText = computed(() => this.text(this.readiness()?.labelKeyFor(this.firstReason()) ?? refusalLabelKey(this.firstReason())), ...ngDevMode ? [{ debugName: "readinessText" }] : /* istanbul ignore next */ []);
|
|
71530
71662
|
this.announcement = computed(() => {
|
|
71531
71663
|
const attempt = this.attempt();
|
|
71532
|
-
if (attempt.paidLocked() && this.showPaid()) return this.
|
|
71533
|
-
if (attempt.awaitingVerification()) return this.
|
|
71534
|
-
if (attempt.unknown()) return this.
|
|
71535
|
-
if (attempt.waitingForHost()) return this.
|
|
71664
|
+
if (attempt.paidLocked() && this.showPaid()) return this.text("paymentAttempt.paid");
|
|
71665
|
+
if (attempt.awaitingVerification()) return this.text("paymentAttempt.awaitingVerification");
|
|
71666
|
+
if (attempt.unknown()) return this.text(attempt.canCheck() && attempt.pollExpired() ? "paymentAttempt.stillUnknown" : "paymentAttempt.checking");
|
|
71667
|
+
if (attempt.waitingForHost()) return this.text("paymentAttempt.waiting");
|
|
71536
71668
|
if (this.readiness() && !this.readiness().ready()) return this.readinessText();
|
|
71537
|
-
if (attempt.blockedOffline()) return this.
|
|
71538
|
-
if (this.readiness()?.storageWarning()) return this.
|
|
71669
|
+
if (attempt.blockedOffline()) return this.text("paymentAttempt.offline");
|
|
71670
|
+
if (this.readiness()?.storageWarning()) return this.text("paymentReadiness.storageWarning");
|
|
71539
71671
|
return "";
|
|
71540
71672
|
}, ...ngDevMode ? [{ debugName: "announcement" }] : /* istanbul ignore next */ []);
|
|
71541
71673
|
}
|
|
71674
|
+
text(key) {
|
|
71675
|
+
return this.labels.t(attemptLabelKey(key, this.kind()));
|
|
71676
|
+
}
|
|
71542
71677
|
static {
|
|
71543
71678
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
71544
71679
|
minVersion: "12.0.0",
|
|
@@ -71584,6 +71719,13 @@ var PaymentAttemptStatusComponent = class PaymentAttemptStatusComponent {
|
|
|
71584
71719
|
isSignal: true,
|
|
71585
71720
|
isRequired: false,
|
|
71586
71721
|
transformFunction: null
|
|
71722
|
+
},
|
|
71723
|
+
kind: {
|
|
71724
|
+
classPropertyName: "kind",
|
|
71725
|
+
publicName: "kind",
|
|
71726
|
+
isSignal: true,
|
|
71727
|
+
isRequired: false,
|
|
71728
|
+
transformFunction: null
|
|
71587
71729
|
}
|
|
71588
71730
|
},
|
|
71589
71731
|
outputs: { retryLoad: "retryLoad" },
|
|
@@ -71591,40 +71733,40 @@ var PaymentAttemptStatusComponent = class PaymentAttemptStatusComponent {
|
|
|
71591
71733
|
template: `
|
|
71592
71734
|
<ui-live-region data-testid="pa-live" [message]="announcement()" />
|
|
71593
71735
|
@if (attempt().paidLocked() && showPaid()) {
|
|
71594
|
-
<ui-alert variant="success" [quiet]="true" data-testid="pa-paid">{{
|
|
71736
|
+
<ui-alert variant="success" [quiet]="true" data-testid="pa-paid">{{ text('paymentAttempt.paid') }}</ui-alert>
|
|
71595
71737
|
} @else if (attempt().awaitingVerification()) {
|
|
71596
71738
|
<ui-alert variant="warning" [quiet]="true" data-testid="pa-verification">
|
|
71597
|
-
<p class="pa-line" data-testid="pa-verification-text">{{
|
|
71739
|
+
<p class="pa-line" data-testid="pa-verification-text">{{ text('paymentAttempt.awaitingVerification') }}</p>
|
|
71598
71740
|
@if (attempt().canCheck()) {
|
|
71599
71741
|
<!-- always offered while waiting for a bank verification (the payer may have verified the deposits a minute ago; the wait can last days, long after the bounded polling stopped) -->
|
|
71600
|
-
<ui-button variant="secondary" size="sm" data-testid="pa-check-again" [loading]="attempt().checking()" (click)="attempt().checkAgain()">{{
|
|
71742
|
+
<ui-button variant="secondary" size="sm" data-testid="pa-check-again" [loading]="attempt().checking()" (click)="attempt().checkAgain()">{{ text('paymentAttempt.checkAgain') }}</ui-button>
|
|
71601
71743
|
}
|
|
71602
71744
|
</ui-alert>
|
|
71603
71745
|
} @else if (attempt().unknown()) {
|
|
71604
71746
|
<ui-alert variant="warning" [quiet]="true" data-testid="pa-checking">
|
|
71605
|
-
<p class="pa-line" data-testid="pa-checking-title">{{
|
|
71606
|
-
<p class="pa-line" data-testid="pa-checking-help">{{
|
|
71747
|
+
<p class="pa-line" data-testid="pa-checking-title">{{ text('paymentAttempt.checking') }}</p>
|
|
71748
|
+
<p class="pa-line" data-testid="pa-checking-help">{{ text(attempt().canCheck() && attempt().pollExpired() ? 'paymentAttempt.stillUnknown' : 'paymentAttempt.checkingHelp') }}</p>
|
|
71607
71749
|
@if (attempt().canCheck() && attempt().pollExpired()) {
|
|
71608
|
-
<ui-button variant="secondary" size="sm" data-testid="pa-check-again" [loading]="attempt().checking()" (click)="attempt().checkAgain()">{{
|
|
71750
|
+
<ui-button variant="secondary" size="sm" data-testid="pa-check-again" [loading]="attempt().checking()" (click)="attempt().checkAgain()">{{ text('paymentAttempt.checkAgain') }}</ui-button>
|
|
71609
71751
|
@if (allowStartOver()) {
|
|
71610
|
-
<ui-button variant="ghost" size="sm" data-testid="pa-start-over" (click)="attempt().startOver()">{{
|
|
71752
|
+
<ui-button variant="ghost" size="sm" data-testid="pa-start-over" (click)="attempt().startOver()">{{ text('paymentAttempt.startOver') }}</ui-button>
|
|
71611
71753
|
}
|
|
71612
71754
|
}
|
|
71613
71755
|
</ui-alert>
|
|
71614
71756
|
} @else if (attempt().waitingForHost()) {
|
|
71615
|
-
<ui-alert variant="info" [quiet]="true" data-testid="pa-waiting">{{
|
|
71757
|
+
<ui-alert variant="info" [quiet]="true" data-testid="pa-waiting">{{ text('paymentAttempt.waiting') }}</ui-alert>
|
|
71616
71758
|
} @else if (readiness() && !readiness()!.ready()) {
|
|
71617
71759
|
<ui-alert variant="warning" [quiet]="true" data-testid="pa-not-ready" [attr.data-reason]="firstReason()">
|
|
71618
71760
|
<p class="pa-line" data-testid="pa-not-ready-text">{{ readinessText() }}</p>
|
|
71619
71761
|
@if (firstReason() === 'sdk_blocked') {
|
|
71620
|
-
<ui-button variant="secondary" size="sm" data-testid="pa-retry-load" (click)="retryLoad.emit()">{{
|
|
71762
|
+
<ui-button variant="secondary" size="sm" data-testid="pa-retry-load" (click)="retryLoad.emit()">{{ text('paymentReadiness.retryLoad') }}</ui-button>
|
|
71621
71763
|
}
|
|
71622
71764
|
</ui-alert>
|
|
71623
71765
|
} @else if (attempt().blockedOffline()) {
|
|
71624
|
-
<ui-alert variant="warning" [quiet]="true" data-testid="pa-offline">{{
|
|
71766
|
+
<ui-alert variant="warning" [quiet]="true" data-testid="pa-offline">{{ text('paymentAttempt.offline') }}</ui-alert>
|
|
71625
71767
|
}
|
|
71626
71768
|
@if (readiness()?.storageWarning()) {
|
|
71627
|
-
<ui-alert variant="info" [quiet]="true" data-testid="pa-storage-warning">{{
|
|
71769
|
+
<ui-alert variant="info" [quiet]="true" data-testid="pa-storage-warning">{{ text('paymentReadiness.storageWarning') }}</ui-alert>
|
|
71628
71770
|
}
|
|
71629
71771
|
`,
|
|
71630
71772
|
isInline: true,
|
|
@@ -71712,40 +71854,40 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
71712
71854
|
template: `
|
|
71713
71855
|
<ui-live-region data-testid="pa-live" [message]="announcement()" />
|
|
71714
71856
|
@if (attempt().paidLocked() && showPaid()) {
|
|
71715
|
-
<ui-alert variant="success" [quiet]="true" data-testid="pa-paid">{{
|
|
71857
|
+
<ui-alert variant="success" [quiet]="true" data-testid="pa-paid">{{ text('paymentAttempt.paid') }}</ui-alert>
|
|
71716
71858
|
} @else if (attempt().awaitingVerification()) {
|
|
71717
71859
|
<ui-alert variant="warning" [quiet]="true" data-testid="pa-verification">
|
|
71718
|
-
<p class="pa-line" data-testid="pa-verification-text">{{
|
|
71860
|
+
<p class="pa-line" data-testid="pa-verification-text">{{ text('paymentAttempt.awaitingVerification') }}</p>
|
|
71719
71861
|
@if (attempt().canCheck()) {
|
|
71720
71862
|
<!-- always offered while waiting for a bank verification (the payer may have verified the deposits a minute ago; the wait can last days, long after the bounded polling stopped) -->
|
|
71721
|
-
<ui-button variant="secondary" size="sm" data-testid="pa-check-again" [loading]="attempt().checking()" (click)="attempt().checkAgain()">{{
|
|
71863
|
+
<ui-button variant="secondary" size="sm" data-testid="pa-check-again" [loading]="attempt().checking()" (click)="attempt().checkAgain()">{{ text('paymentAttempt.checkAgain') }}</ui-button>
|
|
71722
71864
|
}
|
|
71723
71865
|
</ui-alert>
|
|
71724
71866
|
} @else if (attempt().unknown()) {
|
|
71725
71867
|
<ui-alert variant="warning" [quiet]="true" data-testid="pa-checking">
|
|
71726
|
-
<p class="pa-line" data-testid="pa-checking-title">{{
|
|
71727
|
-
<p class="pa-line" data-testid="pa-checking-help">{{
|
|
71868
|
+
<p class="pa-line" data-testid="pa-checking-title">{{ text('paymentAttempt.checking') }}</p>
|
|
71869
|
+
<p class="pa-line" data-testid="pa-checking-help">{{ text(attempt().canCheck() && attempt().pollExpired() ? 'paymentAttempt.stillUnknown' : 'paymentAttempt.checkingHelp') }}</p>
|
|
71728
71870
|
@if (attempt().canCheck() && attempt().pollExpired()) {
|
|
71729
|
-
<ui-button variant="secondary" size="sm" data-testid="pa-check-again" [loading]="attempt().checking()" (click)="attempt().checkAgain()">{{
|
|
71871
|
+
<ui-button variant="secondary" size="sm" data-testid="pa-check-again" [loading]="attempt().checking()" (click)="attempt().checkAgain()">{{ text('paymentAttempt.checkAgain') }}</ui-button>
|
|
71730
71872
|
@if (allowStartOver()) {
|
|
71731
|
-
<ui-button variant="ghost" size="sm" data-testid="pa-start-over" (click)="attempt().startOver()">{{
|
|
71873
|
+
<ui-button variant="ghost" size="sm" data-testid="pa-start-over" (click)="attempt().startOver()">{{ text('paymentAttempt.startOver') }}</ui-button>
|
|
71732
71874
|
}
|
|
71733
71875
|
}
|
|
71734
71876
|
</ui-alert>
|
|
71735
71877
|
} @else if (attempt().waitingForHost()) {
|
|
71736
|
-
<ui-alert variant="info" [quiet]="true" data-testid="pa-waiting">{{
|
|
71878
|
+
<ui-alert variant="info" [quiet]="true" data-testid="pa-waiting">{{ text('paymentAttempt.waiting') }}</ui-alert>
|
|
71737
71879
|
} @else if (readiness() && !readiness()!.ready()) {
|
|
71738
71880
|
<ui-alert variant="warning" [quiet]="true" data-testid="pa-not-ready" [attr.data-reason]="firstReason()">
|
|
71739
71881
|
<p class="pa-line" data-testid="pa-not-ready-text">{{ readinessText() }}</p>
|
|
71740
71882
|
@if (firstReason() === 'sdk_blocked') {
|
|
71741
|
-
<ui-button variant="secondary" size="sm" data-testid="pa-retry-load" (click)="retryLoad.emit()">{{
|
|
71883
|
+
<ui-button variant="secondary" size="sm" data-testid="pa-retry-load" (click)="retryLoad.emit()">{{ text('paymentReadiness.retryLoad') }}</ui-button>
|
|
71742
71884
|
}
|
|
71743
71885
|
</ui-alert>
|
|
71744
71886
|
} @else if (attempt().blockedOffline()) {
|
|
71745
|
-
<ui-alert variant="warning" [quiet]="true" data-testid="pa-offline">{{
|
|
71887
|
+
<ui-alert variant="warning" [quiet]="true" data-testid="pa-offline">{{ text('paymentAttempt.offline') }}</ui-alert>
|
|
71746
71888
|
}
|
|
71747
71889
|
@if (readiness()?.storageWarning()) {
|
|
71748
|
-
<ui-alert variant="info" [quiet]="true" data-testid="pa-storage-warning">{{
|
|
71890
|
+
<ui-alert variant="info" [quiet]="true" data-testid="pa-storage-warning">{{ text('paymentReadiness.storageWarning') }}</ui-alert>
|
|
71749
71891
|
}
|
|
71750
71892
|
`,
|
|
71751
71893
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -71788,6 +71930,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
71788
71930
|
retryLoad: [{
|
|
71789
71931
|
type: i0.Output,
|
|
71790
71932
|
args: ["retryLoad"]
|
|
71933
|
+
}],
|
|
71934
|
+
kind: [{
|
|
71935
|
+
type: i0.Input,
|
|
71936
|
+
args: [{
|
|
71937
|
+
isSignal: true,
|
|
71938
|
+
alias: "kind",
|
|
71939
|
+
required: false
|
|
71940
|
+
}]
|
|
71791
71941
|
}]
|
|
71792
71942
|
}
|
|
71793
71943
|
});
|
|
@@ -71826,7 +71976,7 @@ const BUILT_IN_ENDONYMS = {
|
|
|
71826
71976
|
ko: "한국어",
|
|
71827
71977
|
ru: "Русский"
|
|
71828
71978
|
};
|
|
71829
|
-
const BUILT_IN_LOADERS = /* @__PURE__ */ new Map([["es", () => import("./forgeroute-ui-ui-labels.es-
|
|
71979
|
+
const BUILT_IN_LOADERS = /* @__PURE__ */ new Map([["es", () => import("./forgeroute-ui-ui-labels.es-DtHranlg.mjs").then((m) => m.UI_LABELS_ES)]]);
|
|
71830
71980
|
const normalizeTag = (tag) => tag.trim().toLowerCase().replace(/_/g, "-");
|
|
71831
71981
|
const baseOf = (tag) => normalizeTag(tag).split("-")[0];
|
|
71832
71982
|
const builtInLoader = (lang) => BUILT_IN_LOADERS.get(normalizeTag(lang)) ?? BUILT_IN_LOADERS.get(baseOf(lang));
|
|
@@ -74405,6 +74555,7 @@ var KanbanBoardComponent = class KanbanBoardComponent {
|
|
|
74405
74555
|
this.host = inject(ElementRef);
|
|
74406
74556
|
this.doc = inject(DOCUMENT);
|
|
74407
74557
|
this.injector = inject(Injector);
|
|
74558
|
+
this.zone = inject(NgZone);
|
|
74408
74559
|
this.columns = input.required(...ngDevMode ? [{ debugName: "columns" }] : /* istanbul ignore next */ []);
|
|
74409
74560
|
this.items = input.required(...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
|
|
74410
74561
|
this.columnFn = input.required(...ngDevMode ? [{ debugName: "columnFn" }] : /* istanbul ignore next */ []);
|
|
@@ -74935,7 +75086,9 @@ var KanbanBoardComponent = class KanbanBoardComponent {
|
|
|
74935
75086
|
}
|
|
74936
75087
|
p.raf = win.requestAnimationFrame(step);
|
|
74937
75088
|
};
|
|
74938
|
-
|
|
75089
|
+
this.zone.runOutsideAngular(() => {
|
|
75090
|
+
p.raf = win.requestAnimationFrame(step);
|
|
75091
|
+
});
|
|
74939
75092
|
}
|
|
74940
75093
|
endPointer(commit, say) {
|
|
74941
75094
|
const p = this.pointer;
|
|
@@ -75603,6 +75756,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
75603
75756
|
}]
|
|
75604
75757
|
}
|
|
75605
75758
|
});
|
|
75606
|
-
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, 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 };
|
|
75759
|
+
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 };
|
|
75607
75760
|
|
|
75608
75761
|
//# sourceMappingURL=forgeroute-ui.mjs.map
|