@forgeroute/ui 0.5.6 → 0.5.8
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 +2 -7
- package/fesm2022/forgeroute-ui-map.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-messaging.mjs +10 -72
- 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 +5 -9
- package/fesm2022/forgeroute-ui-quickbooks.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-square.mjs +5 -9
- 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 +208 -96
- package/fesm2022/forgeroute-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/forgeroute-ui-messaging.d.ts +5 -38
- 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 +51 -5
- package/types/forgeroute-ui.d.ts +78 -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;
|
|
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"],
|
|
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;
|
|
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"]
|
|
3958
3981
|
}]
|
|
3959
3982
|
}],
|
|
3960
3983
|
ctorParameters: () => [],
|
|
@@ -16317,13 +16340,6 @@ 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) {
|
|
16320
|
-
if (col.cellType === "image") {
|
|
16321
|
-
if (this.imageUrl(col, item) !== null) {
|
|
16322
|
-
hasValue = true;
|
|
16323
|
-
break;
|
|
16324
|
-
}
|
|
16325
|
-
continue;
|
|
16326
|
-
}
|
|
16327
16343
|
let text;
|
|
16328
16344
|
try {
|
|
16329
16345
|
text = this.cardCellText(col, item);
|
|
@@ -20261,7 +20277,8 @@ var StackedBarComponent = class StackedBarComponent {
|
|
|
20261
20277
|
@for (s of rows(); track s.key) {
|
|
20262
20278
|
<li class="sb-item">
|
|
20263
20279
|
<span [class]="'sb-dot sb-' + s.variant" [style.background]="s.color || null" aria-hidden="true"></span>
|
|
20264
|
-
<span class="sb-name">{{ s.label }}</span>
|
|
20280
|
+
<span class="sb-name">{{ s.label }}</span>
|
|
20281
|
+
<span class="sb-val">{{ s.text }}</span>
|
|
20265
20282
|
</li>
|
|
20266
20283
|
}
|
|
20267
20284
|
</ul>
|
|
@@ -20295,7 +20312,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
20295
20312
|
@for (s of rows(); track s.key) {
|
|
20296
20313
|
<li class="sb-item">
|
|
20297
20314
|
<span [class]="'sb-dot sb-' + s.variant" [style.background]="s.color || null" aria-hidden="true"></span>
|
|
20298
|
-
<span class="sb-name">{{ s.label }}</span>
|
|
20315
|
+
<span class="sb-name">{{ s.label }}</span>
|
|
20316
|
+
<span class="sb-val">{{ s.text }}</span>
|
|
20299
20317
|
</li>
|
|
20300
20318
|
}
|
|
20301
20319
|
</ul>
|
|
@@ -23788,7 +23806,7 @@ var FileInputComponent = class FileInputComponent {
|
|
|
23788
23806
|
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 */ []);
|
|
23789
23807
|
this.invalid = computed(() => !!this.error() || !!this._rejection() || !!this._issue(), ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
|
|
23790
23808
|
this.errorMessage = computed(() => (this.listRejections() && this._rejected().length > 0 ? this.rejectionLines().join(" ") : this._rejection()) || this._issue()?.message || "", ...ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []);
|
|
23791
|
-
this._shownError = computed(() =>
|
|
23809
|
+
this._shownError = computed(() => this._rejection() || (this._reveal.revealed() ? (this.showField() ? this.error() : "") || (this._issue()?.message ?? "") : ""), ...ngDevMode ? [{ debugName: "_shownError" }] : /* istanbul ignore next */ []);
|
|
23792
23810
|
this.summary = computed(() => {
|
|
23793
23811
|
const f = this._files();
|
|
23794
23812
|
if (f.length === 0) return "";
|
|
@@ -25427,7 +25445,7 @@ var ToggleComponent = class ToggleComponent {
|
|
|
25427
25445
|
</div>
|
|
25428
25446
|
`,
|
|
25429
25447
|
isInline: true,
|
|
25430
|
-
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
|
|
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"],
|
|
25431
25449
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
25432
25450
|
});
|
|
25433
25451
|
}
|
|
@@ -25476,7 +25494,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
25476
25494
|
</label>
|
|
25477
25495
|
</div>
|
|
25478
25496
|
`,
|
|
25479
|
-
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
|
|
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"]
|
|
25480
25498
|
}]
|
|
25481
25499
|
}],
|
|
25482
25500
|
propDecorators: {
|
|
@@ -64692,12 +64710,12 @@ function conversationDateLabel(iso, now = /* @__PURE__ */ new Date(), ui) {
|
|
|
64692
64710
|
function conversationInitial(name) {
|
|
64693
64711
|
return (name ?? "").trim().charAt(0).toUpperCase() || "?";
|
|
64694
64712
|
}
|
|
64695
|
-
function groupMessagesByDay(messages, now = /* @__PURE__ */ new Date()
|
|
64713
|
+
function groupMessagesByDay(messages, now = /* @__PURE__ */ new Date()) {
|
|
64696
64714
|
return messages.map((message, i) => {
|
|
64697
|
-
const label = conversationDateLabel(message.sentAt, now
|
|
64715
|
+
const label = conversationDateLabel(message.sentAt, now);
|
|
64698
64716
|
return {
|
|
64699
64717
|
message,
|
|
64700
|
-
separator: i === 0 || conversationDateLabel(messages[i - 1].sentAt, now
|
|
64718
|
+
separator: i === 0 || conversationDateLabel(messages[i - 1].sentAt, now) !== label ? label : ""
|
|
64701
64719
|
};
|
|
64702
64720
|
});
|
|
64703
64721
|
}
|
|
@@ -65167,7 +65185,7 @@ var ConversationsComponent = class ConversationsComponent {
|
|
|
65167
65185
|
this.lastThreadId = null;
|
|
65168
65186
|
this.filtering = computed(() => !!this.searchText().trim() || this.activeFilter() !== "", ...ngDevMode ? [{ debugName: "filtering" }] : /* istanbul ignore next */ []);
|
|
65169
65187
|
this.emptyText = computed(() => this.filtering() ? this.filteredEmptyMessage() : this.canWrite() ? this.emptyMessage() : this.emptyReadOnlyMessage(), ...ngDevMode ? [{ debugName: "emptyText" }] : /* istanbul ignore next */ []);
|
|
65170
|
-
this.messageRows = computed(() => groupMessagesByDay(this.messages(), this.clock()
|
|
65188
|
+
this.messageRows = computed(() => groupMessagesByDay(this.messages(), this.clock()), ...ngDevMode ? [{ debugName: "messageRows" }] : /* istanbul ignore next */ []);
|
|
65171
65189
|
this.contextVisible = computed(() => this.hasContext() && this.contextOpen() && !!this.selected(), ...ngDevMode ? [{ debugName: "contextVisible" }] : /* istanbul ignore next */ []);
|
|
65172
65190
|
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 */ []);
|
|
65173
65191
|
this.pickerOpen = signal(false, ...ngDevMode ? [{ debugName: "pickerOpen" }] : /* istanbul ignore next */ []);
|
|
@@ -66275,11 +66293,11 @@ var ConversationsComponent = class ConversationsComponent {
|
|
|
66275
66293
|
}
|
|
66276
66294
|
@if (richText()) {
|
|
66277
66295
|
<ui-rich-text-editor class="cv-compose-input cv-compose-rich" [ariaLabel]="composeLabel()" [placeholder]="composePlaceholder()" [hide]="richHide"
|
|
66278
|
-
[minHeight]="44" [maxHeight]="160" [ngModel]="editorHtml()" (ngModelChange)="onEditorChange($event)" [disabled]="composerDisabled()" [error]="composerError()"
|
|
66296
|
+
[minHeight]="44" [maxHeight]="160" [ngModel]="editorHtml()" (ngModelChange)="onEditorChange($event)" [disabled]="composerDisabled()" [error]="composerError()"
|
|
66279
66297
|
(keydown)="onComposeKeydown($event)" data-testid="compose-input" />
|
|
66280
66298
|
} @else {
|
|
66281
66299
|
<ui-textarea-input class="cv-compose-input" [ariaLabel]="composeLabel()" [placeholder]="composePlaceholder()" [rows]="1" [maxlength]="maxLength()"
|
|
66282
|
-
[ngModel]="draft()" (ngModelChange)="draft.set($event)" [disabled]="composerDisabled()" [error]="composerError()"
|
|
66300
|
+
[ngModel]="draft()" (ngModelChange)="draft.set($event)" [disabled]="composerDisabled()" [error]="composerError()"
|
|
66283
66301
|
(keydown)="onComposeKeydown($event)" data-testid="compose-input" />
|
|
66284
66302
|
}
|
|
66285
66303
|
<ui-button class="cv-send-btn" variant="primary" [ariaLabel]="sendLabel()" [disabled]="!canSend()" [loading]="sending()" (click)="sendMessage()" data-testid="send-btn">
|
|
@@ -66933,11 +66951,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
66933
66951
|
}
|
|
66934
66952
|
@if (richText()) {
|
|
66935
66953
|
<ui-rich-text-editor class="cv-compose-input cv-compose-rich" [ariaLabel]="composeLabel()" [placeholder]="composePlaceholder()" [hide]="richHide"
|
|
66936
|
-
[minHeight]="44" [maxHeight]="160" [ngModel]="editorHtml()" (ngModelChange)="onEditorChange($event)" [disabled]="composerDisabled()" [error]="composerError()"
|
|
66954
|
+
[minHeight]="44" [maxHeight]="160" [ngModel]="editorHtml()" (ngModelChange)="onEditorChange($event)" [disabled]="composerDisabled()" [error]="composerError()"
|
|
66937
66955
|
(keydown)="onComposeKeydown($event)" data-testid="compose-input" />
|
|
66938
66956
|
} @else {
|
|
66939
66957
|
<ui-textarea-input class="cv-compose-input" [ariaLabel]="composeLabel()" [placeholder]="composePlaceholder()" [rows]="1" [maxlength]="maxLength()"
|
|
66940
|
-
[ngModel]="draft()" (ngModelChange)="draft.set($event)" [disabled]="composerDisabled()" [error]="composerError()"
|
|
66958
|
+
[ngModel]="draft()" (ngModelChange)="draft.set($event)" [disabled]="composerDisabled()" [error]="composerError()"
|
|
66941
66959
|
(keydown)="onComposeKeydown($event)" data-testid="compose-input" />
|
|
66942
66960
|
}
|
|
66943
66961
|
<ui-button class="cv-send-btn" variant="primary" [ariaLabel]="sendLabel()" [disabled]="!canSend()" [loading]="sending()" (click)="sendMessage()" data-testid="send-btn">
|
|
@@ -68237,7 +68255,6 @@ var PaymentSidePanelComponent = class PaymentSidePanelComponent {
|
|
|
68237
68255
|
this.exclusive = signal(false, ...ngDevMode ? [{ debugName: "exclusive" }] : /* istanbul ignore next */ []);
|
|
68238
68256
|
this.pluginPrimary = signal(null, ...ngDevMode ? [{ debugName: "pluginPrimary" }] : /* istanbul ignore next */ []);
|
|
68239
68257
|
this.cancelHook = null;
|
|
68240
|
-
this.liveMethodValue = "";
|
|
68241
68258
|
this.completed = false;
|
|
68242
68259
|
this.verificationReported = false;
|
|
68243
68260
|
this.readers = signal([], ...ngDevMode ? [{ debugName: "readers" }] : /* istanbul ignore next */ []);
|
|
@@ -68352,7 +68369,6 @@ var PaymentSidePanelComponent = class PaymentSidePanelComponent {
|
|
|
68352
68369
|
if (this.kind() === "live") return !!this.pluginPrimary()?.disabled;
|
|
68353
68370
|
return this.submitting() || this.touched() && this.hasInvalid();
|
|
68354
68371
|
}, ...ngDevMode ? [{ debugName: "primaryDisabled" }] : /* istanbul ignore next */ []);
|
|
68355
|
-
this.destroyed = false;
|
|
68356
68372
|
effect(() => {
|
|
68357
68373
|
const isOpen = this.open();
|
|
68358
68374
|
untracked(() => isOpen ? this.init() : this.teardown());
|
|
@@ -68370,22 +68386,11 @@ var PaymentSidePanelComponent = class PaymentSidePanelComponent {
|
|
|
68370
68386
|
if (method && !list.some((o) => o.value === method)) this.onMethodChange("");
|
|
68371
68387
|
});
|
|
68372
68388
|
});
|
|
68373
|
-
effect(() => {
|
|
68374
|
-
const kind = this.kind();
|
|
68375
|
-
const method = this.method();
|
|
68376
|
-
untracked(() => {
|
|
68377
|
-
if (this.liveMethodValue && this.liveMethodValue === method && kind !== "live") this.onMethodChange("");
|
|
68378
|
-
this.liveMethodValue = kind === "live" ? method : "";
|
|
68379
|
-
});
|
|
68380
|
-
});
|
|
68381
68389
|
effect(() => {
|
|
68382
68390
|
const visible = this.kind() === "terminal";
|
|
68383
68391
|
untracked(() => visible ? this.startTerminalSession() : this.stopReaderRefresh());
|
|
68384
68392
|
});
|
|
68385
|
-
inject(DestroyRef).onDestroy(() =>
|
|
68386
|
-
this.destroyed = true;
|
|
68387
|
-
this.cleanup();
|
|
68388
|
-
});
|
|
68393
|
+
inject(DestroyRef).onDestroy(() => this.cleanup());
|
|
68389
68394
|
}
|
|
68390
68395
|
init() {
|
|
68391
68396
|
this.resetForm();
|
|
@@ -68684,7 +68689,6 @@ var PaymentSidePanelComponent = class PaymentSidePanelComponent {
|
|
|
68684
68689
|
this.cancelHook = fn;
|
|
68685
68690
|
},
|
|
68686
68691
|
report: (code, extra) => {
|
|
68687
|
-
if (this.destroyed) return;
|
|
68688
68692
|
this.verificationReported = code === "verification";
|
|
68689
68693
|
this.outcome.emit({
|
|
68690
68694
|
kind: "plugin",
|
|
@@ -68700,7 +68704,7 @@ var PaymentSidePanelComponent = class PaymentSidePanelComponent {
|
|
|
68700
68704
|
};
|
|
68701
68705
|
}
|
|
68702
68706
|
completeFromPlugin(method, snapshotAmount, partial) {
|
|
68703
|
-
if (this.completed
|
|
68707
|
+
if (this.completed) return;
|
|
68704
68708
|
this.completed = true;
|
|
68705
68709
|
this.cancelHook = null;
|
|
68706
68710
|
this.pluginBusy.set(false);
|
|
@@ -70308,6 +70312,8 @@ var PaymentAttempt = class {
|
|
|
70308
70312
|
this.watchKey = null;
|
|
70309
70313
|
this.paidKey = null;
|
|
70310
70314
|
this.duplicates = /* @__PURE__ */ new Set();
|
|
70315
|
+
this.lastSuccessIdle = false;
|
|
70316
|
+
this.reportedKeys = /* @__PURE__ */ new Set();
|
|
70311
70317
|
this.requestMs = PAYMENT_REQUEST_TIMEOUT_MS;
|
|
70312
70318
|
this.pollTimer = null;
|
|
70313
70319
|
this.silenceTimer = null;
|
|
@@ -70422,19 +70428,27 @@ var PaymentAttempt = class {
|
|
|
70422
70428
|
this.readEpoch(ref);
|
|
70423
70429
|
this.sweepStale();
|
|
70424
70430
|
const stored = this.readStored(ref);
|
|
70425
|
-
if (stored && stored.type === "tombstone" && stored.value.state === "succeeded") {
|
|
70431
|
+
if (this.keepsLock() && stored && stored.type === "tombstone" && stored.value.state === "succeeded") {
|
|
70426
70432
|
this.lateSuccess(stored.value.key, "other_tab", stored.value.amount ?? null, stored.value.method);
|
|
70427
70433
|
return this.refuse("paid");
|
|
70428
70434
|
}
|
|
70429
|
-
if (this.checkPaidRecord(ref)) return this.refuse("paid");
|
|
70435
|
+
if (this.keepsLock() && this.checkPaidRecord(ref)) return this.refuse("paid");
|
|
70430
70436
|
const foreign = this.foreignMarker();
|
|
70431
70437
|
if (foreign) {
|
|
70432
70438
|
this.adopt(foreign, "other_tab");
|
|
70433
70439
|
return this.refuse("unknown");
|
|
70434
70440
|
}
|
|
70441
|
+
this.lastSuccessIdle = false;
|
|
70435
70442
|
this.setInFlight(true);
|
|
70436
70443
|
const pin = this.newPin();
|
|
70437
70444
|
this.pinned.set(pin);
|
|
70445
|
+
if (!this.keepsLock() && stored && stored.type === "tombstone" && stored.value.state === "succeeded" && stored.value.key === pin.key) {
|
|
70446
|
+
const name = this.markerKey(ref);
|
|
70447
|
+
const again = this.readStored(ref);
|
|
70448
|
+
if (name && again && again.type === "tombstone" && again.value.state === "succeeded" && again.value.key === pin.key) try {
|
|
70449
|
+
this.store()?.removeItem(name);
|
|
70450
|
+
} catch {}
|
|
70451
|
+
}
|
|
70438
70452
|
this.writeMarker("inflight");
|
|
70439
70453
|
const raced = this.foreignMarker();
|
|
70440
70454
|
if (raced) {
|
|
@@ -70488,6 +70502,7 @@ var PaymentAttempt = class {
|
|
|
70488
70502
|
this.settleWatched(true);
|
|
70489
70503
|
return;
|
|
70490
70504
|
}
|
|
70505
|
+
if (!this.keepsLock() && !this.pinned() && this.lastSuccessIdle) return;
|
|
70491
70506
|
const key = this.key();
|
|
70492
70507
|
const pin = this.pinned();
|
|
70493
70508
|
const ref = pin?.ref ?? this.o.payableRef();
|
|
@@ -70498,9 +70513,15 @@ var PaymentAttempt = class {
|
|
|
70498
70513
|
this.waitingForHost.set(false);
|
|
70499
70514
|
this.setInFlight(false);
|
|
70500
70515
|
this.leaveUnknown();
|
|
70501
|
-
this.
|
|
70502
|
-
|
|
70503
|
-
|
|
70516
|
+
const lock = this.keepsLock();
|
|
70517
|
+
if (lock) {
|
|
70518
|
+
this.succeeded.set(true);
|
|
70519
|
+
this.paidKey = key;
|
|
70520
|
+
} else {
|
|
70521
|
+
this.lastSuccessIdle = true;
|
|
70522
|
+
this.reportedKeys.add(key);
|
|
70523
|
+
}
|
|
70524
|
+
this.renew(key, lock ? null : ref);
|
|
70504
70525
|
this.endMarker("succeeded");
|
|
70505
70526
|
this.writePaidRecord(ref, key, amount, method);
|
|
70506
70527
|
this.pinned.set(null);
|
|
@@ -70521,6 +70542,8 @@ var PaymentAttempt = class {
|
|
|
70521
70542
|
this.paidKey = null;
|
|
70522
70543
|
this.watchKey = null;
|
|
70523
70544
|
this.duplicates.clear();
|
|
70545
|
+
this.reportedKeys.clear();
|
|
70546
|
+
this.lastSuccessIdle = false;
|
|
70524
70547
|
this.memKeys.clear();
|
|
70525
70548
|
if (ref) {
|
|
70526
70549
|
this.removePaidRecord(ref);
|
|
@@ -70764,6 +70787,9 @@ var PaymentAttempt = class {
|
|
|
70764
70787
|
now() {
|
|
70765
70788
|
return this.o.now ? this.o.now() : Date.now();
|
|
70766
70789
|
}
|
|
70790
|
+
keepsLock() {
|
|
70791
|
+
return this.o.lockAfterSuccess?.() !== false;
|
|
70792
|
+
}
|
|
70767
70793
|
isCurrent(info) {
|
|
70768
70794
|
return this.liveRun === info && this.pinned()?.key === info.key;
|
|
70769
70795
|
}
|
|
@@ -70789,12 +70815,17 @@ var PaymentAttempt = class {
|
|
|
70789
70815
|
}
|
|
70790
70816
|
if (kind !== "success" && kind !== "failure") return;
|
|
70791
70817
|
if (kind === "success") {
|
|
70792
|
-
this.
|
|
70793
|
-
|
|
70794
|
-
|
|
70795
|
-
|
|
70796
|
-
|
|
70797
|
-
|
|
70818
|
+
if (this.keepsLock()) {
|
|
70819
|
+
this.writeTombstone(info.ref, "succeeded", info.key, {
|
|
70820
|
+
amount: info.amount,
|
|
70821
|
+
method: info.method
|
|
70822
|
+
});
|
|
70823
|
+
this.writePaidRecord(info.ref, info.key, info.amount, info.method);
|
|
70824
|
+
} else if (info.ref) {
|
|
70825
|
+
this.bumpEpoch(info.ref);
|
|
70826
|
+
this.removeMarker(info.ref, info.key);
|
|
70827
|
+
}
|
|
70828
|
+
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).");
|
|
70798
70829
|
} else {
|
|
70799
70830
|
if (info.ref) this.bumpEpoch(info.ref);
|
|
70800
70831
|
this.writeTombstone(info.ref, "failed", info.key);
|
|
@@ -70805,11 +70836,16 @@ var PaymentAttempt = class {
|
|
|
70805
70836
|
const mine = !!pin && pin.key === info.key && pin.ref === info.ref;
|
|
70806
70837
|
switch (result.kind) {
|
|
70807
70838
|
case "success":
|
|
70808
|
-
this.
|
|
70809
|
-
|
|
70810
|
-
|
|
70811
|
-
|
|
70812
|
-
|
|
70839
|
+
if (this.keepsLock()) {
|
|
70840
|
+
this.writeTombstone(info.ref, "succeeded", info.key, {
|
|
70841
|
+
amount: info.amount,
|
|
70842
|
+
method: info.method
|
|
70843
|
+
});
|
|
70844
|
+
this.writePaidRecord(info.ref, info.key, info.amount, info.method);
|
|
70845
|
+
} else if (info.ref) {
|
|
70846
|
+
this.bumpEpoch(info.ref);
|
|
70847
|
+
this.removeMarker(info.ref, info.key);
|
|
70848
|
+
}
|
|
70813
70849
|
break;
|
|
70814
70850
|
case "failure":
|
|
70815
70851
|
if (info.ref) this.bumpEpoch(info.ref);
|
|
@@ -70831,6 +70867,31 @@ var PaymentAttempt = class {
|
|
|
70831
70867
|
}
|
|
70832
70868
|
}
|
|
70833
70869
|
lateSuccess(key, reason, amount, method) {
|
|
70870
|
+
if (!this.keepsLock()) {
|
|
70871
|
+
if (this.reportedKeys.has(key)) return;
|
|
70872
|
+
if (this.reportedKeys.size > 0) {
|
|
70873
|
+
if (!this.duplicates.has(key)) {
|
|
70874
|
+
this.duplicates.add(key);
|
|
70875
|
+
this.emit({
|
|
70876
|
+
kind: "unknown",
|
|
70877
|
+
attemptKey: key,
|
|
70878
|
+
reason: "duplicate_suspected"
|
|
70879
|
+
});
|
|
70880
|
+
}
|
|
70881
|
+
return;
|
|
70882
|
+
}
|
|
70883
|
+
this.reportedKeys.add(key);
|
|
70884
|
+
this.emit({
|
|
70885
|
+
kind: "succeeded",
|
|
70886
|
+
attemptKey: key,
|
|
70887
|
+
...reason ? { reason } : {},
|
|
70888
|
+
...method !== void 0 ? {
|
|
70889
|
+
amount: amount ?? null,
|
|
70890
|
+
method
|
|
70891
|
+
} : {}
|
|
70892
|
+
});
|
|
70893
|
+
return;
|
|
70894
|
+
}
|
|
70834
70895
|
if (this.succeeded()) {
|
|
70835
70896
|
if (this.paidKey && key !== this.paidKey && !this.duplicates.has(key)) {
|
|
70836
70897
|
this.duplicates.add(key);
|
|
@@ -71175,7 +71236,7 @@ var PaymentAttempt = class {
|
|
|
71175
71236
|
}
|
|
71176
71237
|
writePaidRecord(ref, key, amount, method) {
|
|
71177
71238
|
const name = this.paidName(ref);
|
|
71178
|
-
if (!name) return;
|
|
71239
|
+
if (!name || !this.keepsLock()) return;
|
|
71179
71240
|
const record = {
|
|
71180
71241
|
key,
|
|
71181
71242
|
amount,
|
|
@@ -71251,7 +71312,7 @@ var PaymentAttempt = class {
|
|
|
71251
71312
|
if (this.unknown()) this.succeed("other_tab");
|
|
71252
71313
|
return;
|
|
71253
71314
|
}
|
|
71254
|
-
this.lateSuccess(t.key, "other_tab", t.amount ?? null, t.method);
|
|
71315
|
+
if (this.keepsLock()) this.lateSuccess(t.key, "other_tab", t.amount ?? null, t.method);
|
|
71255
71316
|
return;
|
|
71256
71317
|
}
|
|
71257
71318
|
if (!this.unknown() || !pin || pin.key !== t.key || this.unknownReason !== "other_tab" && this.unknownReason !== "reload") return;
|
|
@@ -71281,6 +71342,8 @@ var PaymentAttempt = class {
|
|
|
71281
71342
|
this.paidKey = null;
|
|
71282
71343
|
this.watchKey = null;
|
|
71283
71344
|
this.duplicates.clear();
|
|
71345
|
+
this.reportedKeys.clear();
|
|
71346
|
+
this.lastSuccessIdle = false;
|
|
71284
71347
|
if (this.unknown()) {
|
|
71285
71348
|
this.stopPolling();
|
|
71286
71349
|
this.clearSilence();
|
|
@@ -71299,12 +71362,12 @@ var PaymentAttempt = class {
|
|
|
71299
71362
|
this.adopt(stored.value, "reload");
|
|
71300
71363
|
return;
|
|
71301
71364
|
}
|
|
71302
|
-
} else if (stored.value.state === "succeeded") {
|
|
71365
|
+
} else if (stored.value.state === "succeeded" && this.keepsLock()) {
|
|
71303
71366
|
this.lateSuccess(stored.value.key, "other_tab", stored.value.amount ?? null, stored.value.method);
|
|
71304
71367
|
return;
|
|
71305
71368
|
}
|
|
71306
71369
|
}
|
|
71307
|
-
this.checkPaidRecord(ref);
|
|
71370
|
+
if (this.keepsLock()) this.checkPaidRecord(ref);
|
|
71308
71371
|
}
|
|
71309
71372
|
};
|
|
71310
71373
|
const PAYMENT_READINESS_REASONS = [
|
|
@@ -71512,6 +71575,8 @@ function createPaymentProtection(inputs, options) {
|
|
|
71512
71575
|
pollMaxMs: inputs.statusPollMaxMs,
|
|
71513
71576
|
statusTimeoutMs: inputs.statusCheckTimeoutMs,
|
|
71514
71577
|
failGraceMs: inputs.statusFailGraceMs,
|
|
71578
|
+
statusHardMaxMs: inputs.statusHardMaxMs,
|
|
71579
|
+
lockAfterSuccess: options.lockAfterSuccess,
|
|
71515
71580
|
authTimeoutMs: inputs.authTimeoutMs,
|
|
71516
71581
|
hostSilenceMs: inputs.hostSilenceMs,
|
|
71517
71582
|
offlineOverride: inputs.offlineOverride,
|
|
@@ -71536,6 +71601,34 @@ function createPaymentProtection(inputs, options) {
|
|
|
71536
71601
|
})
|
|
71537
71602
|
};
|
|
71538
71603
|
}
|
|
71604
|
+
const SETUP_LABEL_KEYS = {
|
|
71605
|
+
"paymentAttempt.checking": "paymentSetup.checking",
|
|
71606
|
+
"paymentAttempt.checkingHelp": "paymentSetup.checkingHelp",
|
|
71607
|
+
"paymentAttempt.stillUnknown": "paymentSetup.stillUnknown",
|
|
71608
|
+
"paymentAttempt.waiting": "paymentSetup.waiting",
|
|
71609
|
+
"paymentAttempt.paid": "paymentSetup.paid",
|
|
71610
|
+
"paymentAttempt.queuedOffline": "paymentSetup.queuedOffline",
|
|
71611
|
+
"paymentAttempt.offline": "paymentSetup.offline",
|
|
71612
|
+
"paymentAttempt.awaitingVerification": "paymentSetup.awaitingVerification",
|
|
71613
|
+
"paymentReadiness.offline": "paymentSetup.offline",
|
|
71614
|
+
"paymentReadiness.slow_connection": "paymentSetup.slowConnection",
|
|
71615
|
+
"paymentReadiness.service_unavailable": "paymentSetup.serviceUnavailable",
|
|
71616
|
+
"paymentReadiness.outcome_unknown": "paymentSetup.outcomeUnknown",
|
|
71617
|
+
"paymentReadiness.unknown_payment": "paymentSetup.outcomeUnknown",
|
|
71618
|
+
"paymentReadiness.payment_in_flight": "paymentSetup.inFlight",
|
|
71619
|
+
"paymentReadiness.unsupported_browser": "paymentSetup.unsupportedBrowser",
|
|
71620
|
+
"paymentReadiness.merchant_not_ready": "paymentSetup.merchantNotReady",
|
|
71621
|
+
"paymentReadiness.events_backlog": "paymentSetup.eventsBacklog",
|
|
71622
|
+
"paymentReadiness.payable_changed": "paymentSetup.payableChanged",
|
|
71623
|
+
"paymentReadiness.reconnect_required": "paymentSetup.reconnectRequired",
|
|
71624
|
+
"paymentReadiness.checking": "paymentSetup.readinessChecking",
|
|
71625
|
+
"paymentReadiness.generic": "paymentSetup.readinessGeneric",
|
|
71626
|
+
"paymentReadiness.already_paid": "paymentSetup.alreadySaved",
|
|
71627
|
+
"paymentReadiness.storageWarning": "paymentSetup.storageWarning"
|
|
71628
|
+
};
|
|
71629
|
+
function attemptLabelKey(key, kind) {
|
|
71630
|
+
return kind === "setup" ? SETUP_LABEL_KEYS[key] ?? key : key;
|
|
71631
|
+
}
|
|
71539
71632
|
var PaymentAttemptStatusComponent = class PaymentAttemptStatusComponent {
|
|
71540
71633
|
constructor() {
|
|
71541
71634
|
this.labels = inject(UiLabelsService);
|
|
@@ -71544,20 +71637,24 @@ var PaymentAttemptStatusComponent = class PaymentAttemptStatusComponent {
|
|
|
71544
71637
|
this.allowStartOver = input(false, ...ngDevMode ? [{ debugName: "allowStartOver" }] : /* istanbul ignore next */ []);
|
|
71545
71638
|
this.readiness = input(null, ...ngDevMode ? [{ debugName: "readiness" }] : /* istanbul ignore next */ []);
|
|
71546
71639
|
this.retryLoad = output();
|
|
71640
|
+
this.kind = input("payment", ...ngDevMode ? [{ debugName: "kind" }] : /* istanbul ignore next */ []);
|
|
71547
71641
|
this.firstReason = computed(() => this.readiness()?.reasons()[0] ?? "", ...ngDevMode ? [{ debugName: "firstReason" }] : /* istanbul ignore next */ []);
|
|
71548
|
-
this.readinessText = computed(() => this.
|
|
71642
|
+
this.readinessText = computed(() => this.text(this.readiness()?.labelKeyFor(this.firstReason()) ?? refusalLabelKey(this.firstReason())), ...ngDevMode ? [{ debugName: "readinessText" }] : /* istanbul ignore next */ []);
|
|
71549
71643
|
this.announcement = computed(() => {
|
|
71550
71644
|
const attempt = this.attempt();
|
|
71551
|
-
if (attempt.paidLocked() && this.showPaid()) return this.
|
|
71552
|
-
if (attempt.awaitingVerification()) return this.
|
|
71553
|
-
if (attempt.unknown()) return this.
|
|
71554
|
-
if (attempt.waitingForHost()) return this.
|
|
71645
|
+
if (attempt.paidLocked() && this.showPaid()) return this.text("paymentAttempt.paid");
|
|
71646
|
+
if (attempt.awaitingVerification()) return this.text("paymentAttempt.awaitingVerification");
|
|
71647
|
+
if (attempt.unknown()) return this.text(attempt.canCheck() && attempt.pollExpired() ? "paymentAttempt.stillUnknown" : "paymentAttempt.checking");
|
|
71648
|
+
if (attempt.waitingForHost()) return this.text("paymentAttempt.waiting");
|
|
71555
71649
|
if (this.readiness() && !this.readiness().ready()) return this.readinessText();
|
|
71556
|
-
if (attempt.blockedOffline()) return this.
|
|
71557
|
-
if (this.readiness()?.storageWarning()) return this.
|
|
71650
|
+
if (attempt.blockedOffline()) return this.text("paymentAttempt.offline");
|
|
71651
|
+
if (this.readiness()?.storageWarning()) return this.text("paymentReadiness.storageWarning");
|
|
71558
71652
|
return "";
|
|
71559
71653
|
}, ...ngDevMode ? [{ debugName: "announcement" }] : /* istanbul ignore next */ []);
|
|
71560
71654
|
}
|
|
71655
|
+
text(key) {
|
|
71656
|
+
return this.labels.t(attemptLabelKey(key, this.kind()));
|
|
71657
|
+
}
|
|
71561
71658
|
static {
|
|
71562
71659
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
71563
71660
|
minVersion: "12.0.0",
|
|
@@ -71603,6 +71700,13 @@ var PaymentAttemptStatusComponent = class PaymentAttemptStatusComponent {
|
|
|
71603
71700
|
isSignal: true,
|
|
71604
71701
|
isRequired: false,
|
|
71605
71702
|
transformFunction: null
|
|
71703
|
+
},
|
|
71704
|
+
kind: {
|
|
71705
|
+
classPropertyName: "kind",
|
|
71706
|
+
publicName: "kind",
|
|
71707
|
+
isSignal: true,
|
|
71708
|
+
isRequired: false,
|
|
71709
|
+
transformFunction: null
|
|
71606
71710
|
}
|
|
71607
71711
|
},
|
|
71608
71712
|
outputs: { retryLoad: "retryLoad" },
|
|
@@ -71610,40 +71714,40 @@ var PaymentAttemptStatusComponent = class PaymentAttemptStatusComponent {
|
|
|
71610
71714
|
template: `
|
|
71611
71715
|
<ui-live-region data-testid="pa-live" [message]="announcement()" />
|
|
71612
71716
|
@if (attempt().paidLocked() && showPaid()) {
|
|
71613
|
-
<ui-alert variant="success" [quiet]="true" data-testid="pa-paid">{{
|
|
71717
|
+
<ui-alert variant="success" [quiet]="true" data-testid="pa-paid">{{ text('paymentAttempt.paid') }}</ui-alert>
|
|
71614
71718
|
} @else if (attempt().awaitingVerification()) {
|
|
71615
71719
|
<ui-alert variant="warning" [quiet]="true" data-testid="pa-verification">
|
|
71616
|
-
<p class="pa-line" data-testid="pa-verification-text">{{
|
|
71720
|
+
<p class="pa-line" data-testid="pa-verification-text">{{ text('paymentAttempt.awaitingVerification') }}</p>
|
|
71617
71721
|
@if (attempt().canCheck()) {
|
|
71618
71722
|
<!-- 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) -->
|
|
71619
|
-
<ui-button variant="secondary" size="sm" data-testid="pa-check-again" [loading]="attempt().checking()" (click)="attempt().checkAgain()">{{
|
|
71723
|
+
<ui-button variant="secondary" size="sm" data-testid="pa-check-again" [loading]="attempt().checking()" (click)="attempt().checkAgain()">{{ text('paymentAttempt.checkAgain') }}</ui-button>
|
|
71620
71724
|
}
|
|
71621
71725
|
</ui-alert>
|
|
71622
71726
|
} @else if (attempt().unknown()) {
|
|
71623
71727
|
<ui-alert variant="warning" [quiet]="true" data-testid="pa-checking">
|
|
71624
|
-
<p class="pa-line" data-testid="pa-checking-title">{{
|
|
71625
|
-
<p class="pa-line" data-testid="pa-checking-help">{{
|
|
71728
|
+
<p class="pa-line" data-testid="pa-checking-title">{{ text('paymentAttempt.checking') }}</p>
|
|
71729
|
+
<p class="pa-line" data-testid="pa-checking-help">{{ text(attempt().canCheck() && attempt().pollExpired() ? 'paymentAttempt.stillUnknown' : 'paymentAttempt.checkingHelp') }}</p>
|
|
71626
71730
|
@if (attempt().canCheck() && attempt().pollExpired()) {
|
|
71627
|
-
<ui-button variant="secondary" size="sm" data-testid="pa-check-again" [loading]="attempt().checking()" (click)="attempt().checkAgain()">{{
|
|
71731
|
+
<ui-button variant="secondary" size="sm" data-testid="pa-check-again" [loading]="attempt().checking()" (click)="attempt().checkAgain()">{{ text('paymentAttempt.checkAgain') }}</ui-button>
|
|
71628
71732
|
@if (allowStartOver()) {
|
|
71629
|
-
<ui-button variant="ghost" size="sm" data-testid="pa-start-over" (click)="attempt().startOver()">{{
|
|
71733
|
+
<ui-button variant="ghost" size="sm" data-testid="pa-start-over" (click)="attempt().startOver()">{{ text('paymentAttempt.startOver') }}</ui-button>
|
|
71630
71734
|
}
|
|
71631
71735
|
}
|
|
71632
71736
|
</ui-alert>
|
|
71633
71737
|
} @else if (attempt().waitingForHost()) {
|
|
71634
|
-
<ui-alert variant="info" [quiet]="true" data-testid="pa-waiting">{{
|
|
71738
|
+
<ui-alert variant="info" [quiet]="true" data-testid="pa-waiting">{{ text('paymentAttempt.waiting') }}</ui-alert>
|
|
71635
71739
|
} @else if (readiness() && !readiness()!.ready()) {
|
|
71636
71740
|
<ui-alert variant="warning" [quiet]="true" data-testid="pa-not-ready" [attr.data-reason]="firstReason()">
|
|
71637
71741
|
<p class="pa-line" data-testid="pa-not-ready-text">{{ readinessText() }}</p>
|
|
71638
71742
|
@if (firstReason() === 'sdk_blocked') {
|
|
71639
|
-
<ui-button variant="secondary" size="sm" data-testid="pa-retry-load" (click)="retryLoad.emit()">{{
|
|
71743
|
+
<ui-button variant="secondary" size="sm" data-testid="pa-retry-load" (click)="retryLoad.emit()">{{ text('paymentReadiness.retryLoad') }}</ui-button>
|
|
71640
71744
|
}
|
|
71641
71745
|
</ui-alert>
|
|
71642
71746
|
} @else if (attempt().blockedOffline()) {
|
|
71643
|
-
<ui-alert variant="warning" [quiet]="true" data-testid="pa-offline">{{
|
|
71747
|
+
<ui-alert variant="warning" [quiet]="true" data-testid="pa-offline">{{ text('paymentAttempt.offline') }}</ui-alert>
|
|
71644
71748
|
}
|
|
71645
71749
|
@if (readiness()?.storageWarning()) {
|
|
71646
|
-
<ui-alert variant="info" [quiet]="true" data-testid="pa-storage-warning">{{
|
|
71750
|
+
<ui-alert variant="info" [quiet]="true" data-testid="pa-storage-warning">{{ text('paymentReadiness.storageWarning') }}</ui-alert>
|
|
71647
71751
|
}
|
|
71648
71752
|
`,
|
|
71649
71753
|
isInline: true,
|
|
@@ -71731,40 +71835,40 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
71731
71835
|
template: `
|
|
71732
71836
|
<ui-live-region data-testid="pa-live" [message]="announcement()" />
|
|
71733
71837
|
@if (attempt().paidLocked() && showPaid()) {
|
|
71734
|
-
<ui-alert variant="success" [quiet]="true" data-testid="pa-paid">{{
|
|
71838
|
+
<ui-alert variant="success" [quiet]="true" data-testid="pa-paid">{{ text('paymentAttempt.paid') }}</ui-alert>
|
|
71735
71839
|
} @else if (attempt().awaitingVerification()) {
|
|
71736
71840
|
<ui-alert variant="warning" [quiet]="true" data-testid="pa-verification">
|
|
71737
|
-
<p class="pa-line" data-testid="pa-verification-text">{{
|
|
71841
|
+
<p class="pa-line" data-testid="pa-verification-text">{{ text('paymentAttempt.awaitingVerification') }}</p>
|
|
71738
71842
|
@if (attempt().canCheck()) {
|
|
71739
71843
|
<!-- 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) -->
|
|
71740
|
-
<ui-button variant="secondary" size="sm" data-testid="pa-check-again" [loading]="attempt().checking()" (click)="attempt().checkAgain()">{{
|
|
71844
|
+
<ui-button variant="secondary" size="sm" data-testid="pa-check-again" [loading]="attempt().checking()" (click)="attempt().checkAgain()">{{ text('paymentAttempt.checkAgain') }}</ui-button>
|
|
71741
71845
|
}
|
|
71742
71846
|
</ui-alert>
|
|
71743
71847
|
} @else if (attempt().unknown()) {
|
|
71744
71848
|
<ui-alert variant="warning" [quiet]="true" data-testid="pa-checking">
|
|
71745
|
-
<p class="pa-line" data-testid="pa-checking-title">{{
|
|
71746
|
-
<p class="pa-line" data-testid="pa-checking-help">{{
|
|
71849
|
+
<p class="pa-line" data-testid="pa-checking-title">{{ text('paymentAttempt.checking') }}</p>
|
|
71850
|
+
<p class="pa-line" data-testid="pa-checking-help">{{ text(attempt().canCheck() && attempt().pollExpired() ? 'paymentAttempt.stillUnknown' : 'paymentAttempt.checkingHelp') }}</p>
|
|
71747
71851
|
@if (attempt().canCheck() && attempt().pollExpired()) {
|
|
71748
|
-
<ui-button variant="secondary" size="sm" data-testid="pa-check-again" [loading]="attempt().checking()" (click)="attempt().checkAgain()">{{
|
|
71852
|
+
<ui-button variant="secondary" size="sm" data-testid="pa-check-again" [loading]="attempt().checking()" (click)="attempt().checkAgain()">{{ text('paymentAttempt.checkAgain') }}</ui-button>
|
|
71749
71853
|
@if (allowStartOver()) {
|
|
71750
|
-
<ui-button variant="ghost" size="sm" data-testid="pa-start-over" (click)="attempt().startOver()">{{
|
|
71854
|
+
<ui-button variant="ghost" size="sm" data-testid="pa-start-over" (click)="attempt().startOver()">{{ text('paymentAttempt.startOver') }}</ui-button>
|
|
71751
71855
|
}
|
|
71752
71856
|
}
|
|
71753
71857
|
</ui-alert>
|
|
71754
71858
|
} @else if (attempt().waitingForHost()) {
|
|
71755
|
-
<ui-alert variant="info" [quiet]="true" data-testid="pa-waiting">{{
|
|
71859
|
+
<ui-alert variant="info" [quiet]="true" data-testid="pa-waiting">{{ text('paymentAttempt.waiting') }}</ui-alert>
|
|
71756
71860
|
} @else if (readiness() && !readiness()!.ready()) {
|
|
71757
71861
|
<ui-alert variant="warning" [quiet]="true" data-testid="pa-not-ready" [attr.data-reason]="firstReason()">
|
|
71758
71862
|
<p class="pa-line" data-testid="pa-not-ready-text">{{ readinessText() }}</p>
|
|
71759
71863
|
@if (firstReason() === 'sdk_blocked') {
|
|
71760
|
-
<ui-button variant="secondary" size="sm" data-testid="pa-retry-load" (click)="retryLoad.emit()">{{
|
|
71864
|
+
<ui-button variant="secondary" size="sm" data-testid="pa-retry-load" (click)="retryLoad.emit()">{{ text('paymentReadiness.retryLoad') }}</ui-button>
|
|
71761
71865
|
}
|
|
71762
71866
|
</ui-alert>
|
|
71763
71867
|
} @else if (attempt().blockedOffline()) {
|
|
71764
|
-
<ui-alert variant="warning" [quiet]="true" data-testid="pa-offline">{{
|
|
71868
|
+
<ui-alert variant="warning" [quiet]="true" data-testid="pa-offline">{{ text('paymentAttempt.offline') }}</ui-alert>
|
|
71765
71869
|
}
|
|
71766
71870
|
@if (readiness()?.storageWarning()) {
|
|
71767
|
-
<ui-alert variant="info" [quiet]="true" data-testid="pa-storage-warning">{{
|
|
71871
|
+
<ui-alert variant="info" [quiet]="true" data-testid="pa-storage-warning">{{ text('paymentReadiness.storageWarning') }}</ui-alert>
|
|
71768
71872
|
}
|
|
71769
71873
|
`,
|
|
71770
71874
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -71807,6 +71911,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
71807
71911
|
retryLoad: [{
|
|
71808
71912
|
type: i0.Output,
|
|
71809
71913
|
args: ["retryLoad"]
|
|
71914
|
+
}],
|
|
71915
|
+
kind: [{
|
|
71916
|
+
type: i0.Input,
|
|
71917
|
+
args: [{
|
|
71918
|
+
isSignal: true,
|
|
71919
|
+
alias: "kind",
|
|
71920
|
+
required: false
|
|
71921
|
+
}]
|
|
71810
71922
|
}]
|
|
71811
71923
|
}
|
|
71812
71924
|
});
|
|
@@ -71825,8 +71937,11 @@ const UI_LANGUAGE_CONFIG = new InjectionToken("UI_LANGUAGE_CONFIG");
|
|
|
71825
71937
|
const EMBEDDING_PARENT = new InjectionToken("EMBEDDING_PARENT", {
|
|
71826
71938
|
providedIn: "root",
|
|
71827
71939
|
factory: () => {
|
|
71828
|
-
const
|
|
71829
|
-
return
|
|
71940
|
+
const doc = inject(DOCUMENT);
|
|
71941
|
+
return () => {
|
|
71942
|
+
const view = doc.defaultView;
|
|
71943
|
+
return view && view.parent && view.parent !== view ? view.parent : null;
|
|
71944
|
+
};
|
|
71830
71945
|
}
|
|
71831
71946
|
});
|
|
71832
71947
|
const BUILT_IN_ENDONYMS = {
|
|
@@ -71845,7 +71960,7 @@ const BUILT_IN_ENDONYMS = {
|
|
|
71845
71960
|
ko: "한국어",
|
|
71846
71961
|
ru: "Русский"
|
|
71847
71962
|
};
|
|
71848
|
-
const BUILT_IN_LOADERS = /* @__PURE__ */ new Map([["es", () => import("./forgeroute-ui-ui-labels.es-
|
|
71963
|
+
const BUILT_IN_LOADERS = /* @__PURE__ */ new Map([["es", () => import("./forgeroute-ui-ui-labels.es-DtHranlg.mjs").then((m) => m.UI_LABELS_ES)]]);
|
|
71849
71964
|
const normalizeTag = (tag) => tag.trim().toLowerCase().replace(/_/g, "-");
|
|
71850
71965
|
const baseOf = (tag) => normalizeTag(tag).split("-")[0];
|
|
71851
71966
|
const builtInLoader = (lang) => BUILT_IN_LOADERS.get(normalizeTag(lang)) ?? BUILT_IN_LOADERS.get(baseOf(lang));
|
|
@@ -72041,7 +72156,7 @@ var UiLanguageService = class UiLanguageService {
|
|
|
72041
72156
|
}
|
|
72042
72157
|
listenToEmbeddingPage() {
|
|
72043
72158
|
const view = this.doc.defaultView;
|
|
72044
|
-
const parent = this.embeddingParent;
|
|
72159
|
+
const parent = this.embeddingParent();
|
|
72045
72160
|
if (!this.config.trackEmbeddingParent || !view || !parent || this.messageListener || this.destroyed) return;
|
|
72046
72161
|
this.messageListener = (e) => {
|
|
72047
72162
|
if (e.source !== parent) return;
|
|
@@ -74424,7 +74539,6 @@ var KanbanBoardComponent = class KanbanBoardComponent {
|
|
|
74424
74539
|
this.host = inject(ElementRef);
|
|
74425
74540
|
this.doc = inject(DOCUMENT);
|
|
74426
74541
|
this.injector = inject(Injector);
|
|
74427
|
-
this.zone = inject(NgZone);
|
|
74428
74542
|
this.columns = input.required(...ngDevMode ? [{ debugName: "columns" }] : /* istanbul ignore next */ []);
|
|
74429
74543
|
this.items = input.required(...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
|
|
74430
74544
|
this.columnFn = input.required(...ngDevMode ? [{ debugName: "columnFn" }] : /* istanbul ignore next */ []);
|
|
@@ -74955,9 +75069,7 @@ var KanbanBoardComponent = class KanbanBoardComponent {
|
|
|
74955
75069
|
}
|
|
74956
75070
|
p.raf = win.requestAnimationFrame(step);
|
|
74957
75071
|
};
|
|
74958
|
-
|
|
74959
|
-
p.raf = win.requestAnimationFrame(step);
|
|
74960
|
-
});
|
|
75072
|
+
p.raf = win.requestAnimationFrame(step);
|
|
74961
75073
|
}
|
|
74962
75074
|
endPointer(commit, say) {
|
|
74963
75075
|
const p = this.pointer;
|
|
@@ -75625,6 +75737,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
75625
75737
|
}]
|
|
75626
75738
|
}
|
|
75627
75739
|
});
|
|
75628
|
-
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 };
|
|
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 };
|
|
75629
75741
|
|
|
75630
75742
|
//# sourceMappingURL=forgeroute-ui.mjs.map
|