@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
package/package.json
CHANGED
|
@@ -1143,6 +1143,12 @@ declare class SendEmailComponent implements OnInit {
|
|
|
1143
1143
|
mergeWarnings: string[];
|
|
1144
1144
|
readonly savingEmail: import("@angular/core").WritableSignal<boolean>;
|
|
1145
1145
|
readonly modeTabs: import("@angular/core").Signal<PillTab[]>;
|
|
1146
|
+
/**
|
|
1147
|
+
* Loads the company's market values (`GET /service-areas?size=100`) for the {{area}}, {{median_price}}, {{dom}} and {{new_listings}} merge tags.
|
|
1148
|
+
* Default true (real-estate apps have the endpoint). An app without that endpoint passes false: no request is made and those tags are
|
|
1149
|
+
* prompted like any other unknown field. A failed request is ignored the same way (the tags stay prompted), never an unhandled error.
|
|
1150
|
+
*/
|
|
1151
|
+
readonly marketValues: import("@angular/core").InputSignal<boolean>;
|
|
1146
1152
|
/** Market values (`area`, `median_price`, `dom`, `new_listings`) — only the ones `/service-areas` returned. */
|
|
1147
1153
|
private marketVars;
|
|
1148
1154
|
ngOnInit(): void;
|
|
@@ -1441,6 +1447,11 @@ declare class SendEmailComponent implements OnInit {
|
|
|
1441
1447
|
"required": false;
|
|
1442
1448
|
"isSignal": true;
|
|
1443
1449
|
};
|
|
1450
|
+
"marketValues": {
|
|
1451
|
+
"alias": "marketValues";
|
|
1452
|
+
"required": false;
|
|
1453
|
+
"isSignal": true;
|
|
1454
|
+
};
|
|
1444
1455
|
}, {
|
|
1445
1456
|
"sent": "sent";
|
|
1446
1457
|
"bulkResult": "bulkResult";
|
|
@@ -1726,6 +1737,12 @@ declare class SendTextComponent implements OnInit {
|
|
|
1726
1737
|
readonly mediaUploading: import("@angular/core").WritableSignal<boolean>;
|
|
1727
1738
|
readonly savingPhone: import("@angular/core").WritableSignal<boolean>;
|
|
1728
1739
|
readonly modeTabs: import("@angular/core").Signal<PillTab[]>;
|
|
1740
|
+
/**
|
|
1741
|
+
* Loads the company's market values (`GET /service-areas?size=100`) for the {{area}}, {{median_price}}, {{dom}} and {{new_listings}} merge tags.
|
|
1742
|
+
* Default true (real-estate apps have the endpoint). An app without that endpoint passes false: no request is made and those tags are
|
|
1743
|
+
* prompted like any other unknown field. A failed request is ignored the same way (the tags stay prompted), never an unhandled error.
|
|
1744
|
+
*/
|
|
1745
|
+
readonly marketValues: import("@angular/core").InputSignal<boolean>;
|
|
1729
1746
|
/** Market values (`area`, `median_price`, `dom`, `new_listings`) — only the ones `/service-areas` returned. */
|
|
1730
1747
|
private marketVars;
|
|
1731
1748
|
ngOnInit(): void;
|
|
@@ -1937,6 +1954,11 @@ declare class SendTextComponent implements OnInit {
|
|
|
1937
1954
|
"required": false;
|
|
1938
1955
|
"isSignal": true;
|
|
1939
1956
|
};
|
|
1957
|
+
"marketValues": {
|
|
1958
|
+
"alias": "marketValues";
|
|
1959
|
+
"required": false;
|
|
1960
|
+
"isSignal": true;
|
|
1961
|
+
};
|
|
1940
1962
|
}, {
|
|
1941
1963
|
"sent": "sent";
|
|
1942
1964
|
"bulkResult": "bulkResult";
|
|
@@ -2030,6 +2052,12 @@ export declare class SendMessagePanelComponent {
|
|
|
2030
2052
|
readonly documentsEnabled: import("@angular/core").InputSignal<boolean>;
|
|
2031
2053
|
/** Email tab only: adds a CC field; the addresses are sent as `SendEmailPayload.cc`. */
|
|
2032
2054
|
readonly showCc: import("@angular/core").InputSignal<boolean>;
|
|
2055
|
+
/**
|
|
2056
|
+
* Passed to both forms. Loads the company's market values (`GET /service-areas?size=100`) for the {{area}}, {{median_price}}, {{dom}} and {{new_listings}} merge tags.
|
|
2057
|
+
* Default true (real-estate apps have the endpoint). An app without that endpoint passes false: no request is made and those tags are
|
|
2058
|
+
* prompted like any other unknown field. A failed request is ignored the same way (the tags stay prompted), never an unhandled error.
|
|
2059
|
+
*/
|
|
2060
|
+
readonly marketValues: import("@angular/core").InputSignal<boolean>;
|
|
2033
2061
|
/**
|
|
2034
2062
|
* `'contact'` (default) = the message goes by email or text to the contact's address. `'in-app'` = the message is NOT delivered by email or
|
|
2035
2063
|
* text but handed to the host's `sendMessage` function (e.g. a client portal message to the agent): the contact needs no email or phone, the
|
|
@@ -2340,6 +2368,11 @@ export declare class SendMessagePanelComponent {
|
|
|
2340
2368
|
"required": false;
|
|
2341
2369
|
"isSignal": true;
|
|
2342
2370
|
};
|
|
2371
|
+
"marketValues": {
|
|
2372
|
+
"alias": "marketValues";
|
|
2373
|
+
"required": false;
|
|
2374
|
+
"isSignal": true;
|
|
2375
|
+
};
|
|
2343
2376
|
"recipientMode": {
|
|
2344
2377
|
"alias": "recipientMode";
|
|
2345
2378
|
"required": false;
|
|
@@ -524,6 +524,20 @@ export declare class StripePaymentComponent {
|
|
|
524
524
|
* SECOND TAB of the same payable starts locked (unknown) with the same attempt key. Without it the protection covers this page instance only. Nothing else is stored.
|
|
525
525
|
*/
|
|
526
526
|
readonly payableRef: import("@angular/core").InputSignal<string | null>;
|
|
527
|
+
/**
|
|
528
|
+
* Opt-in for `mode="setup"` (a SetupIntent: saves a card WITHOUT charging it): with `duplicateProtection` AND `protectSetup` the same protection runs for the save, driven by the same inputs
|
|
529
|
+
* (`payableRef`, `attemptKey`, `checkStatus`, `paid`, `readinessCheck`, the timeouts): synchronous lock, attempt key (also in `createIntent({ mode: 'setup', attemptKey, payableRef })` of a
|
|
530
|
+
* deferred setup), UNKNOWN state with `checkStatus` polling, offline refusal, readiness gate and the reload / second-tab lock. The texts say "payment method" instead of "payment". Default OFF: a
|
|
531
|
+
* setup form ignores `duplicateProtection` exactly as before. Ignored in `mode="payment"`.
|
|
532
|
+
*/
|
|
533
|
+
readonly protectSetup: import("@angular/core").InputSignal<boolean>;
|
|
534
|
+
/**
|
|
535
|
+
* Only for `mode="setup"` with `protectSetup` (default true = unchanged). With the default, a saved card leaves a 24-hour "paid" lock under the `payableRef` (every form of the payable mounted later the same day starts locked with
|
|
536
|
+
* "A payment method was just saved for this"; only `resetPaid()` or a new `payableRef` unlocks it). `false`: the success is still reported (`(confirmed)`, `(outcome)` `succeeded`) but leaves NO lock and no 24-hour record,
|
|
537
|
+
* the epoch moves (the next save derives a NEW attempt key, `..._e1`) and the form can be used again (a "replace the card" screen opened later the same day). A save in flight or unknown still blocks a second submit.
|
|
538
|
+
* A host `attemptKey` is used as it is: with it the host must supply a new key for the next save itself. Ignored in `mode="payment"`.
|
|
539
|
+
*/
|
|
540
|
+
readonly lockAfterSuccess: import("@angular/core").InputSignal<boolean>;
|
|
527
541
|
/** A key the host supplies; empty = generated per payment attempt session. It reaches `createIntent({ attemptKey })`. */
|
|
528
542
|
readonly attemptKey: import("@angular/core").InputSignal<string | null>;
|
|
529
543
|
/** The host's status check by attempt key: resolves an UNKNOWN outcome. */
|
|
@@ -538,6 +552,8 @@ export declare class StripePaymentComponent {
|
|
|
538
552
|
readonly statusCheckTimeoutMs: import("@angular/core").InputSignal<number>;
|
|
539
553
|
/** While the attempt's own request is unsettled, a status answer `failed` is ignored for this long (ms). */
|
|
540
554
|
readonly statusFailGraceMs: import("@angular/core").InputSignal<number>;
|
|
555
|
+
/** While the attempt's own request is NEVER settled (a hung request), a status answer `failed` / `not_found` is ignored for this long after the attempt became unknown (ms, default 180000): the original request may still land. */
|
|
556
|
+
readonly statusHardMaxMs: import("@angular/core").InputSignal<number>;
|
|
541
557
|
/** Offer "Start over" after the status polling window (a new attempt with a NEW key). Turn it on ONLY when your backend allows ONE open or succeeded attempt per payable and answers 409 `payment_in_flight` to a second key: that rule is what makes it safe. */
|
|
542
558
|
readonly allowStartOver: import("@angular/core").InputSignal<boolean>;
|
|
543
559
|
/** Managed environments where `navigator.onLine === false` is a false negative (captive portal, VPN): do not refuse a payment because of the browser's offline flag (default false). */
|
|
@@ -603,7 +619,10 @@ export declare class StripePaymentComponent {
|
|
|
603
619
|
readonly elementChange: import("@angular/core").OutputEmitterRef<StripeElementChange>;
|
|
604
620
|
/** A ConfirmationToken of the typed card was created (`collectConfirmationToken` during `confirm()`, or `createConfirmationToken()`). Only emitted for a card. */
|
|
605
621
|
readonly confirmationToken: import("@angular/core").OutputEmitterRef<StripeConfirmationTokenEvent>;
|
|
606
|
-
/**
|
|
622
|
+
/**
|
|
623
|
+
* The intent was confirmed (succeeded, processing, needs bank verification, or needs a further action). NOT always a success: a host must check `event.outcome === 'succeeded'` (or `'processing'`) before it treats the
|
|
624
|
+
* payment / saved method as done. With the protection on, a setup that `requires_action` or `requires_verification` is still emitted here but the attempt is UNKNOWN (locked, the status check decides): see `(outcome)`.
|
|
625
|
+
*/
|
|
607
626
|
readonly confirmed: import("@angular/core").OutputEmitterRef<StripeConfirmedEvent>;
|
|
608
627
|
/** A step failed (validation, intent creation, confirmation). `message` is ready to show. */
|
|
609
628
|
readonly failed: import("@angular/core").OutputEmitterRef<StripeFailure>;
|
|
@@ -654,12 +673,12 @@ export declare class StripePaymentComponent {
|
|
|
654
673
|
/** What the element was last given, so a change made while it loaded is applied once it is ready. */
|
|
655
674
|
private appliedDefaultValues;
|
|
656
675
|
private appliedDisabled;
|
|
657
|
-
/** The protection applies to PAYMENTS
|
|
676
|
+
/** The protection applies to PAYMENTS; `mode="setup"` (saving a card, nothing is charged) ignores `duplicateProtection` unless the host ALSO sets `protectSetup`. */
|
|
658
677
|
protected readonly protectionOn: import("@angular/core").Signal<boolean>;
|
|
659
|
-
/** The duplicate-payment protection (
|
|
678
|
+
/** The duplicate-payment protection (the attempt: lock, key, unknown state). Only active with `duplicateProtection` in payment mode, or in setup mode with `protectSetup` too; with the protection off it does nothing. */
|
|
660
679
|
readonly attempt: PaymentAttempt;
|
|
680
|
+
/** The readiness gate (same condition as {@link attempt}). */
|
|
661
681
|
readonly readiness: PaymentReadiness;
|
|
662
|
-
/** The key of the attempt that is running (passed to `createIntent`); `null` with protection off. */
|
|
663
682
|
/** Bumped by "Retry loading": the init effect runs again. */
|
|
664
683
|
private readonly retryTick;
|
|
665
684
|
constructor();
|
|
@@ -727,12 +746,24 @@ export declare class StripePaymentComponent {
|
|
|
727
746
|
/**
|
|
728
747
|
* After Stripe redirected the customer back to `returnUrl`: retrieves the intent (client secret from the URL by default) and reports it like `confirm()`
|
|
729
748
|
* (`confirmed` for succeeded / processing / needs verification / needs action, `failed` otherwise). `{ event: null, failure: null }` when the URL has no intent.
|
|
749
|
+
* With the duplicate protection on (payment, or setup with `protectSetup`) the result also settles the attempt (see `settleReturn`). A `(confirmed)` event is NOT always a success (`requires_action`, `requires_verification`):
|
|
750
|
+
* a host must check `event.outcome === 'succeeded'` (or `processing`) before it treats the intent as paid / saved.
|
|
751
|
+
* BEHAVIOUR WITH THE PROTECTION ON (also for `mode="payment"`: a host that opts in with `duplicateProtection` and calls this method gets it; without the protection nothing changes): the attempt is settled by the intent that came back, so a
|
|
752
|
+
* `succeeded` / `requires_capture` (and, for a payment, `processing`) intent is a success (`succeeded`, reason `return`), `requires_payment_method` / `canceled` a definitive failure (new key, reason `return`), a bank verification or a further
|
|
753
|
+
* action unknown, a SETUP that is still `processing` unknown (`setup_processing`: a bank debit can still fail) and an intent that could not be read unknown (`error`). Calling it again after a success (a reload of the return page) settles and reports nothing a second time.
|
|
754
|
+
* THE LIBRARY DOES NOT ASK THE BACKEND on this path: a return with `requires_payment_method` / `canceled` fails the attempt at once, so the host's backend must still cancel the SetupIntent / PaymentIntent itself (a SetupIntent that carries an error is
|
|
755
|
+
* still confirmable by a late browser request, which could save a card after the form said "not saved").
|
|
730
756
|
*/
|
|
731
757
|
handleReturn(options?: {
|
|
732
758
|
clientSecret?: string;
|
|
733
759
|
kind?: StripeIntentKind;
|
|
734
760
|
search?: string;
|
|
735
761
|
}): Promise<StripeReturnResult>;
|
|
762
|
+
/**
|
|
763
|
+
* With the protection on, the intent a redirect brought back also decides the attempt (so a redirect flow does not stay unknown until the host calls `markSucceeded()`): succeeded / processing / requires_capture = success,
|
|
764
|
+
* `requires_payment_method` / `canceled` = a definitive failure (new key), a bank verification or a further action = unknown (the status check decides), an intent that could not be read = unknown. Nothing without the protection.
|
|
765
|
+
*/
|
|
766
|
+
private settleReturn;
|
|
736
767
|
private errorOptions;
|
|
737
768
|
/** Something Stripe.js threw (an IntegrationError, a network failure) as a failure, with the text chosen like any Stripe error. */
|
|
738
769
|
private thrownFailure;
|
|
@@ -913,6 +944,16 @@ export declare class StripePaymentComponent {
|
|
|
913
944
|
"required": false;
|
|
914
945
|
"isSignal": true;
|
|
915
946
|
};
|
|
947
|
+
"protectSetup": {
|
|
948
|
+
"alias": "protectSetup";
|
|
949
|
+
"required": false;
|
|
950
|
+
"isSignal": true;
|
|
951
|
+
};
|
|
952
|
+
"lockAfterSuccess": {
|
|
953
|
+
"alias": "lockAfterSuccess";
|
|
954
|
+
"required": false;
|
|
955
|
+
"isSignal": true;
|
|
956
|
+
};
|
|
916
957
|
"attemptKey": {
|
|
917
958
|
"alias": "attemptKey";
|
|
918
959
|
"required": false;
|
|
@@ -953,6 +994,11 @@ export declare class StripePaymentComponent {
|
|
|
953
994
|
"required": false;
|
|
954
995
|
"isSignal": true;
|
|
955
996
|
};
|
|
997
|
+
"statusHardMaxMs": {
|
|
998
|
+
"alias": "statusHardMaxMs";
|
|
999
|
+
"required": false;
|
|
1000
|
+
"isSignal": true;
|
|
1001
|
+
};
|
|
956
1002
|
"allowStartOver": {
|
|
957
1003
|
"alias": "allowStartOver";
|
|
958
1004
|
"required": false;
|
package/types/forgeroute-ui.d.ts
CHANGED
|
@@ -2753,6 +2753,29 @@ export declare const UI_DEFAULT_LABELS: {
|
|
|
2753
2753
|
readonly 'paymentReadiness.generic': "Payments are not available right now. Please try again shortly.";
|
|
2754
2754
|
readonly 'paymentReadiness.retryLoad': "Retry loading the payment form";
|
|
2755
2755
|
readonly '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.";
|
|
2756
|
+
readonly 'paymentSetup.checking': "Checking that your payment method was saved...";
|
|
2757
|
+
readonly 'paymentSetup.checkingHelp': "Please wait and do not save it again. We are making sure your payment method was saved.";
|
|
2758
|
+
readonly '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.";
|
|
2759
|
+
readonly 'paymentSetup.waiting': "Waiting for your payment method to be confirmed...";
|
|
2760
|
+
readonly 'paymentSetup.paid': "A payment method was just saved for this. If you need to save another one, please wait a moment or contact support.";
|
|
2761
|
+
readonly 'paymentSetup.queuedOffline': "You appear to be offline. Your payment method was not saved. Please check your connection and try again.";
|
|
2762
|
+
readonly 'paymentSetup.offline': "You are offline. Reconnect to the internet to save your payment method: nothing was sent.";
|
|
2763
|
+
readonly '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.";
|
|
2764
|
+
readonly 'paymentSetup.slowConnection': "Your connection is too slow to save your payment method safely. Please try again on a better connection.";
|
|
2765
|
+
readonly 'paymentSetup.serviceUnavailable': "Saving payment methods is temporarily unavailable. Please try again in a few minutes.";
|
|
2766
|
+
readonly '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.";
|
|
2767
|
+
readonly 'paymentSetup.inFlight': "A payment method for this is already being saved. Please wait and check again shortly.";
|
|
2768
|
+
readonly 'paymentSetup.readinessChecking': "Checking that saving a payment method is available...";
|
|
2769
|
+
readonly 'paymentSetup.readinessGeneric': "Saving a payment method is not available right now. Please try again shortly.";
|
|
2770
|
+
readonly 'paymentSetup.alreadySaved': "A payment method has already been saved for this.";
|
|
2771
|
+
readonly '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.";
|
|
2772
|
+
readonly '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.";
|
|
2773
|
+
readonly 'paymentSetup.merchantNotReady': "This business cannot save this kind of payment method right now. Please contact the business.";
|
|
2774
|
+
readonly 'paymentSetup.eventsBacklog': "Saving payment methods is paused for a moment while we catch up. Please try again shortly.";
|
|
2775
|
+
readonly '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.";
|
|
2776
|
+
readonly 'paymentSetup.reconnectRequired': "Saving payment methods is not available right now: this business must reconnect its payment account. Please contact the business.";
|
|
2777
|
+
readonly 'paymentSetup.requiresPaymentMethod': "Your payment method was not saved. Please try a different payment method.";
|
|
2778
|
+
readonly '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.";
|
|
2756
2779
|
readonly 'qboHostedPay.title': "Pay {{ amount }}";
|
|
2757
2780
|
readonly 'qboHostedPay.titleNoAmount': "Secure payment";
|
|
2758
2781
|
readonly 'qboHostedPay.pay': "Pay {{ amount }}";
|
|
@@ -4861,7 +4884,7 @@ export declare class SidePanelComponent implements OnDestroy {
|
|
|
4861
4884
|
readonly cancelLabel: import("@angular/core").Signal<string>;
|
|
4862
4885
|
/** Right-aligned primary action button label. Empty string = hidden. */
|
|
4863
4886
|
readonly primaryLabel: import("@angular/core").InputSignal<string>;
|
|
4864
|
-
readonly primaryVariant: import("@angular/core").InputSignal<"
|
|
4887
|
+
readonly primaryVariant: import("@angular/core").InputSignal<"primary" | "danger" | "warning">;
|
|
4865
4888
|
readonly primaryLoading: import("@angular/core").InputSignal<boolean>;
|
|
4866
4889
|
readonly primaryDisabled: import("@angular/core").InputSignal<boolean>;
|
|
4867
4890
|
/** `data-testid` of the Cancel button; none when empty (default). */
|
|
@@ -5860,7 +5883,7 @@ export declare class TooltipDirective {
|
|
|
5860
5883
|
/** Tooltip text; empty or null disables the tooltip. */
|
|
5861
5884
|
readonly uiTooltip: import("@angular/core").InputSignal<string | null | undefined>;
|
|
5862
5885
|
/** Preferred side; flips to the other side when there is no room. */
|
|
5863
|
-
readonly tooltipPosition: import("@angular/core").InputSignal<"
|
|
5886
|
+
readonly tooltipPosition: import("@angular/core").InputSignal<"bottom" | "top">;
|
|
5864
5887
|
private readonly host;
|
|
5865
5888
|
private readonly doc;
|
|
5866
5889
|
private bubble;
|
|
@@ -6977,7 +7000,7 @@ export declare class CheckboxComponent implements ControlValueAccessor, Validato
|
|
|
6977
7000
|
* clicking it still toggles the box - e.g. a product name that is both the heading of its card and the label of its checkbox.
|
|
6978
7001
|
* Default null: plain label text, exactly as before. Single mode only.
|
|
6979
7002
|
*/
|
|
6980
|
-
readonly headingLevel: import("@angular/core").InputSignal<1 |
|
|
7003
|
+
readonly headingLevel: import("@angular/core").InputSignal<1 | 2 | 3 | 4 | 5 | 6 | null>;
|
|
6981
7004
|
readonly indeterminate: import("@angular/core").InputSignal<boolean>;
|
|
6982
7005
|
readonly checked: import("@angular/core").ModelSignal<boolean>;
|
|
6983
7006
|
/**
|
|
@@ -7412,7 +7435,7 @@ export declare class StepperComponent {
|
|
|
7412
7435
|
* its circle, one continuous line behind the circles that fills as steps complete; a complete step shows a check, the current step an
|
|
7413
7436
|
* accent ring with a dot, an upcoming step an empty circle (no numbers). Circles are 40px (32px with `size="sm"`).
|
|
7414
7437
|
*/
|
|
7415
|
-
readonly labelPosition: import("@angular/core").InputSignal<"
|
|
7438
|
+
readonly labelPosition: import("@angular/core").InputSignal<"beside" | "below">;
|
|
7416
7439
|
/** Viewport width in px below which a horizontal stepper is drawn vertical (labels beside the circles), e.g. `640`. null (default) = never. */
|
|
7417
7440
|
readonly stackBelow: import("@angular/core").InputSignal<number | null>;
|
|
7418
7441
|
/** CSS length (e.g. `10.5rem`): horizontal only - the list gets `min-width: calc(<step count> * <value>)`. Empty (default) = no minimum. */
|
|
@@ -7444,7 +7467,7 @@ export declare class StepperComponent {
|
|
|
7444
7467
|
protected readonly rows: import("@angular/core").Signal<{
|
|
7445
7468
|
step: StepperStep;
|
|
7446
7469
|
index: number;
|
|
7447
|
-
state: "
|
|
7470
|
+
state: "complete" | "current" | "upcoming";
|
|
7448
7471
|
error: boolean;
|
|
7449
7472
|
errorMessage: string;
|
|
7450
7473
|
selectable: boolean;
|
|
@@ -8074,7 +8097,7 @@ export declare class ButtonComponent {
|
|
|
8074
8097
|
* `ghost-start`: a ghost button for list / section toggles - a full-width row with its content aligned to the start, transparent
|
|
8075
8098
|
* background, hover tint and the normal focus ring. Pair it with `ariaExpanded` / `ariaPressed`; the label may contain a heading element.
|
|
8076
8099
|
*/
|
|
8077
|
-
readonly variant: import("@angular/core").InputSignal<"
|
|
8100
|
+
readonly variant: import("@angular/core").InputSignal<"primary" | "secondary" | "danger" | "warning" | "link" | "ghost" | "ghost-start" | "tab" | "icon" | "icon-danger">;
|
|
8078
8101
|
/** Renders an anchor to this route instead of a button (use with `variant="link"` for an inline text link). `['/settings']` or `'/settings'`. While `disabled` or `loading` it renders a non-clickable `<span role="link" aria-disabled>` with no href (like `href`). */
|
|
8079
8102
|
readonly routerLink: import("@angular/core").InputSignal<string | readonly unknown[] | null>;
|
|
8080
8103
|
/** Query params of the `routerLink` (e.g. `{ section: 'deal-defaults' }`). */
|
|
@@ -8095,7 +8118,7 @@ export declare class ButtonComponent {
|
|
|
8095
8118
|
*/
|
|
8096
8119
|
readonly href: import("@angular/core").InputSignal<string | null>;
|
|
8097
8120
|
/** Where to open the `href` (`_blank` = a new tab). */
|
|
8098
|
-
readonly target: import("@angular/core").InputSignal<"
|
|
8121
|
+
readonly target: import("@angular/core").InputSignal<"_self" | "_blank" | "_parent" | "_top" | null>;
|
|
8099
8122
|
/** `rel` of the `href` link. A `_blank` target always gets `noopener noreferrer` added. */
|
|
8100
8123
|
readonly rel: import("@angular/core").InputSignal<string | null>;
|
|
8101
8124
|
/** The href when it is allowed (http, https, mailto, tel, sms or a relative URL), else null. */
|
|
@@ -8119,7 +8142,7 @@ export declare class ButtonComponent {
|
|
|
8119
8142
|
private readonly _narrow;
|
|
8120
8143
|
readonly color: import("@angular/core").InputSignal<string | undefined>;
|
|
8121
8144
|
readonly active: import("@angular/core").InputSignal<boolean>;
|
|
8122
|
-
readonly size: import("@angular/core").InputSignal<"
|
|
8145
|
+
readonly size: import("@angular/core").InputSignal<"sm" | "md" | "lg" | "xs">;
|
|
8123
8146
|
readonly type: import("@angular/core").InputSignal<"button" | "reset" | "submit">;
|
|
8124
8147
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
8125
8148
|
readonly loading: import("@angular/core").InputSignal<boolean>;
|
|
@@ -8765,7 +8788,7 @@ export declare class ImportSourceGridComponent {
|
|
|
8765
8788
|
/** The `value` of the picked source (highlighted). `tile` only: the `card` appearance does not keep a selection. */
|
|
8766
8789
|
readonly selected: import("@angular/core").InputSignal<string>;
|
|
8767
8790
|
/** `tile`: the compact buttons of the import window. `card`: one `ui-detail-card` per source with its own select button (used on a page). */
|
|
8768
|
-
readonly appearance: import("@angular/core").InputSignal<"
|
|
8791
|
+
readonly appearance: import("@angular/core").InputSignal<"card" | "tile">;
|
|
8769
8792
|
/** `card`: disables every card's button (for example while the page is saving). */
|
|
8770
8793
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
8771
8794
|
/** `card`: the text of each card's button. */
|
|
@@ -9263,7 +9286,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
|
|
|
9263
9286
|
* `search`, `text`, `none`). Empty (default) = the browser's default for the field, except `type="tel"`, which keeps `tel`.
|
|
9264
9287
|
* It only picks the keyboard; it does not restrict what can be typed or pasted.
|
|
9265
9288
|
*/
|
|
9266
|
-
readonly inputmode: import("@angular/core").InputSignal<"" | "
|
|
9289
|
+
readonly inputmode: import("@angular/core").InputSignal<"" | "numeric" | "decimal" | "email" | "text" | "none" | "search" | "tel" | "url">;
|
|
9267
9290
|
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
9268
9291
|
readonly hint: import("@angular/core").InputSignal<string>;
|
|
9269
9292
|
/** Id(s) of an external element that also describes this control (e.g. one shared error text for a group of fields). Space separated; MERGED after the control's own hint / error id in `aria-describedby`, never replacing it. Empty = unchanged. */
|
|
@@ -10767,7 +10790,7 @@ export declare class DropdownComponent {
|
|
|
10767
10790
|
readonly loader: import("@angular/core").InputSignal<(() => Promise<DropdownItem[]>) | null>;
|
|
10768
10791
|
readonly active: import("@angular/core").InputSignal<boolean>;
|
|
10769
10792
|
readonly activeValue: import("@angular/core").InputSignal<string>;
|
|
10770
|
-
readonly variant: import("@angular/core").InputSignal<"
|
|
10793
|
+
readonly variant: import("@angular/core").InputSignal<"badge" | "button">;
|
|
10771
10794
|
/** Trigger size for `variant="button"`: `sm` (default, the compact toolbar look) or `md` (same padding and type as a medium `ui-button`). */
|
|
10772
10795
|
readonly size: import("@angular/core").InputSignal<"sm" | "md">;
|
|
10773
10796
|
readonly menuWidth: import("@angular/core").InputSignal<string>;
|
|
@@ -11083,7 +11106,7 @@ export declare class FormSectionComponent {
|
|
|
11083
11106
|
}, {}, never, ["*"], true, never>;
|
|
11084
11107
|
}
|
|
11085
11108
|
export declare class FormRowComponent {
|
|
11086
|
-
readonly cols: import("@angular/core").InputSignal<1 |
|
|
11109
|
+
readonly cols: import("@angular/core").InputSignal<1 | 2 | 3 | 4>;
|
|
11087
11110
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormRowComponent, never>;
|
|
11088
11111
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormRowComponent, "ui-form-row", never, {
|
|
11089
11112
|
"cols": {
|
|
@@ -12416,9 +12439,9 @@ export declare class ChipGroupComponent {
|
|
|
12416
12439
|
readonly spaceAbove: import("@angular/core").InputSignal<"none" | "sm" | "md">;
|
|
12417
12440
|
/** Space below the chip group. */
|
|
12418
12441
|
readonly spaceBelow: import("@angular/core").InputSignal<"none" | "sm" | "md">;
|
|
12419
|
-
protected readonly _gap: import("@angular/core").Signal<"
|
|
12420
|
-
protected readonly _spaceAbove: import("@angular/core").Signal<"0" | "
|
|
12421
|
-
protected readonly _spaceBelow: import("@angular/core").Signal<"0" | "
|
|
12442
|
+
protected readonly _gap: import("@angular/core").Signal<"6px" | "12px" | "8px">;
|
|
12443
|
+
protected readonly _spaceAbove: import("@angular/core").Signal<"0" | "6px" | "12px">;
|
|
12444
|
+
protected readonly _spaceBelow: import("@angular/core").Signal<"0" | "6px" | "12px">;
|
|
12422
12445
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipGroupComponent, never>;
|
|
12423
12446
|
static ɵcmp: i0.ɵɵComponentDeclaration<ChipGroupComponent, "ui-chip-group", never, {
|
|
12424
12447
|
"gap": {
|
|
@@ -13382,7 +13405,7 @@ export declare class AddressInputComponent implements ControlValueAccessor, Vali
|
|
|
13382
13405
|
* the object. `valueChange` always emits the object. A written string is read with `parseAddressValue` for display only: the control keeps
|
|
13383
13406
|
* the original text until the user edits a field (so a text the parser cannot split is not rewritten on load).
|
|
13384
13407
|
*/
|
|
13385
|
-
readonly valueFormat: import("@angular/core").InputSignal<"object" | "
|
|
13408
|
+
readonly valueFormat: import("@angular/core").InputSignal<"object" | "auto" | "text">;
|
|
13386
13409
|
/** ZIP rule; the default is the US 5 digits / 5+4 rule. `null` accepts any non-empty ZIP. The ZIP is validated and stored trimmed. */
|
|
13387
13410
|
readonly zipPattern: import("@angular/core").InputSignal<RegExp | null>;
|
|
13388
13411
|
/** Message shown when the ZIP breaks `zipPattern`. */
|
|
@@ -15219,7 +15242,7 @@ export declare class PdfHotspotComponent {
|
|
|
15219
15242
|
/** `ready`: clickable; `blocked`: disabled (a prerequisite is missing); `signed`: shows `image`. */
|
|
15220
15243
|
readonly state: import("@angular/core").InputSignal<"ready" | "blocked" | "signed">;
|
|
15221
15244
|
/** `warning` gives the ready state an amber look (e.g. for initials), default is blue. */
|
|
15222
|
-
readonly tone: import("@angular/core").InputSignal<"
|
|
15245
|
+
readonly tone: import("@angular/core").InputSignal<"primary" | "warning">;
|
|
15223
15246
|
/** Text of the ready button (e.g. "Sign Here"). */
|
|
15224
15247
|
readonly labelInput: import("@angular/core").InputSignal<string | null>;
|
|
15225
15248
|
readonly label: import("@angular/core").Signal<string>;
|
|
@@ -15359,7 +15382,7 @@ export declare class DetailCardComponent {
|
|
|
15359
15382
|
/** true (default) = the title is displayed in capitals (CSS only); false = shown as written. The text, aria-label and heading name are never changed. */
|
|
15360
15383
|
readonly uppercaseTitle: import("@angular/core").InputSignal<boolean>;
|
|
15361
15384
|
/** 1-6 makes the title a real heading for screen readers (role=heading, aria-level); null keeps it plain text. */
|
|
15362
|
-
readonly headingLevel: import("@angular/core").InputSignal<1 |
|
|
15385
|
+
readonly headingLevel: import("@angular/core").InputSignal<1 | 2 | 3 | 4 | 5 | 6 | null>;
|
|
15363
15386
|
/** Optional id for the title text; the card is then labelled by it. Without it the title is the card's aria-label. */
|
|
15364
15387
|
readonly titleId: import("@angular/core").InputSignal<string>;
|
|
15365
15388
|
/** Accessible name of the card when the header gives none (no header, or no title). A visible title wins; blank = no name. */
|
|
@@ -18161,7 +18184,7 @@ export declare class SetupWizardComponent {
|
|
|
18161
18184
|
protected customHintId(): string;
|
|
18162
18185
|
protected readonly importBlocked: import("@angular/core").Signal<boolean>;
|
|
18163
18186
|
/** The step's own two parts (`splitLayout`) show as two tabs, one card at a time; this is the open one (it starts on the app's part on every visit). */
|
|
18164
|
-
protected readonly splitTab: import("@angular/core").WritableSignal<"
|
|
18187
|
+
protected readonly splitTab: import("@angular/core").WritableSignal<"main" | "extra">;
|
|
18165
18188
|
protected readonly splitTabs: import("@angular/core").Signal<{
|
|
18166
18189
|
key: string;
|
|
18167
18190
|
label: string;
|
|
@@ -19244,7 +19267,7 @@ export declare function conversationDateLabel(iso: string, now?: Date, ui?: UiLa
|
|
|
19244
19267
|
/** First letter of the name, upper case, for the avatar ('?' for a blank name). */
|
|
19245
19268
|
export declare function conversationInitial(name: string | null | undefined): string;
|
|
19246
19269
|
/** Each message with the date separator that goes above it ('' when it shares the day of the previous message). */
|
|
19247
|
-
export declare function groupMessagesByDay(messages: readonly ConversationMessage[], now?: Date): ConversationMessageRow[];
|
|
19270
|
+
export declare function groupMessagesByDay(messages: readonly ConversationMessage[], now?: Date, ui?: UiLabelsService): ConversationMessageRow[];
|
|
19248
19271
|
/** What the status mark beside an outbound message says to a screen reader ('' for a status that shows nothing). */
|
|
19249
19272
|
export declare function conversationMessageStatusLabel(status: string | null | undefined): string;
|
|
19250
19273
|
/** The mark shown beside an outbound message: ticks for sent / delivered, the word for the rest. */
|
|
@@ -20422,6 +20445,8 @@ export declare class PaymentSidePanelComponent {
|
|
|
20422
20445
|
protected readonly exclusive: import("@angular/core").WritableSignal<boolean>;
|
|
20423
20446
|
private readonly pluginPrimary;
|
|
20424
20447
|
private cancelHook;
|
|
20448
|
+
/** The method value that was a live plugin method when last checked ('' = none), to notice the plugin disappearing under a selected method. */
|
|
20449
|
+
private liveMethodValue;
|
|
20425
20450
|
private completed;
|
|
20426
20451
|
/** The plugin's last report was `verification` (a bank payment that has NOT started): its "Done" is announced as "payment not started", never as "Payment recorded". */
|
|
20427
20452
|
private verificationReported;
|
|
@@ -20454,7 +20479,7 @@ export declare class PaymentSidePanelComponent {
|
|
|
20454
20479
|
private readonly terminalAvailable;
|
|
20455
20480
|
/** value -> label of every live method the rendered plugins contribute (the first plugin wins a duplicate value). */
|
|
20456
20481
|
private readonly liveMethods;
|
|
20457
|
-
protected readonly kind: import("@angular/core").Signal<"none" | "
|
|
20482
|
+
protected readonly kind: import("@angular/core").Signal<"none" | "live" | "terminal" | "manual">;
|
|
20458
20483
|
private kindOf;
|
|
20459
20484
|
/** The method list as shown: record-only built-ins (a plugin takes over its own values), plugin extras, and only manual ones while a split is being built. */
|
|
20460
20485
|
readonly methodList: import("@angular/core").Signal<PaymentMethodOption[]>;
|
|
@@ -20492,6 +20517,8 @@ export declare class PaymentSidePanelComponent {
|
|
|
20492
20517
|
protected readonly primaryLoading: import("@angular/core").Signal<boolean>;
|
|
20493
20518
|
protected readonly primaryDisabled: import("@angular/core").Signal<boolean>;
|
|
20494
20519
|
constructor();
|
|
20520
|
+
/** The panel is gone: a late answer of a plugin (its confirmation came after the panel closed) must not emit on outputs nobody listens to any more (Angular NG0953). */
|
|
20521
|
+
private destroyed;
|
|
20495
20522
|
private init;
|
|
20496
20523
|
private teardown;
|
|
20497
20524
|
private resetForm;
|
|
@@ -20719,7 +20746,10 @@ export type PaymentAttemptRefusal = 'locked' | 'paid' | 'unknown' | 'offline';
|
|
|
20719
20746
|
export type PaymentAttemptOutcomeKind = 'succeeded' | 'failed' | 'unknown' | 'refused' | 'pending';
|
|
20720
20747
|
/**
|
|
20721
20748
|
* The unified outcome event of a payment form: `reason` is `timeout`, `microdeposits` (a bank payment waits for the payer to verify micro-deposits: unknown-until-verified, never paid), `offline`, `host`, `host_error`, `host_silent`, `status_check`, `error`, `auth_abandoned`, `paid`, `reload`, `other_tab`, `token`,
|
|
20722
|
-
* `duplicate_suspected` (an attempt that started after an older one turned out paid ALSO produced a payment: the host must resolve the duplicate),
|
|
20749
|
+
* `duplicate_suspected` (an attempt that started after an older one turned out paid ALSO produced a payment: the host must resolve the duplicate),
|
|
20750
|
+
* `setup_action` (a SetupIntent that still `requires_action` after `confirmSetup`: the status check decides), `unexpected_status` (an intent state that proves nothing: no intent, an unexpected status, a SetupIntent without a payment method id; the status check decides),
|
|
20751
|
+
* `setup_processing` (a protected SetupIntent that is `processing`, e.g. a bank debit: it can still fail, so it is unknown until the status check says it was saved), `return` (the intent a redirect brought back decided the attempt: `succeeded` /
|
|
20752
|
+
* `failed`), `return_action` (the redirect brought back an intent that proves nothing, e.g. an unknown status: unknown, the status check decides), `start_over` (the payer chose "Start over": a `failed` outcome with a new key), `no_result`, ...
|
|
20723
20753
|
*/
|
|
20724
20754
|
export interface PaymentAttemptOutcome {
|
|
20725
20755
|
kind: PaymentAttemptOutcomeKind;
|
|
@@ -20882,6 +20912,14 @@ export interface PaymentAttemptOptions {
|
|
|
20882
20912
|
failGraceMs?: () => number;
|
|
20883
20913
|
/** While the attempt's own request is unsettled a `failed` / `not_found` is ignored for this long after the attempt became unknown (default 180 s). */
|
|
20884
20914
|
statusHardMaxMs?: () => number;
|
|
20915
|
+
/**
|
|
20916
|
+
* Default true. False (a setup form that saves a payment method and may be used again later): a success does NOT lock the payable for 24 hours. It writes no `#paid` record, does not set `succeeded` / `paidLocked`,
|
|
20917
|
+
* ignores the succeeded tombstone and paid record when a new attempt starts or a form mounts, and moves the epoch (the next attempt has a NEW derived key). The `succeeded` outcome is still emitted and an attempt
|
|
20918
|
+
* is still never started while another is in flight or unknown. A success that arrives after the form was destroyed or the payable changed also moves the epoch (no tombstone is written). A second `succeed()` with no attempt started in between
|
|
20919
|
+
* (a host `markSucceeded()` after `(confirmed)`, a repeated `handleReturn()`) settles nothing again; a late success of a key already reported is silent, and one of ANOTHER key (e.g. an older epoch that answers after a start over and a newer save)
|
|
20920
|
+
* is reported once as `unknown` / `duplicate_suspected` for the host to resolve.
|
|
20921
|
+
*/
|
|
20922
|
+
lockAfterSuccess?: () => boolean;
|
|
20885
20923
|
/** The request timeout is replaced by this while a 3-D Secure challenge / the bank window is open (default 300 s). */
|
|
20886
20924
|
authTimeoutMs?: () => number;
|
|
20887
20925
|
/** A token-only form whose host never reports becomes unknown after this long (default 120 s). */
|
|
@@ -20949,6 +20987,10 @@ export declare class PaymentAttempt {
|
|
|
20949
20987
|
private paidKey;
|
|
20950
20988
|
/** Keys already reported as `duplicate_suspected` (reported once each). */
|
|
20951
20989
|
private readonly duplicates;
|
|
20990
|
+
/** Only with `lockAfterSuccess` false: a success was already settled and no new attempt began since, so a second `succeed()` (a host `markSucceeded()` after `(confirmed)`, a repeated `handleReturn()`) settles nothing again. Cleared by `begin()`, `resetPaid()` and a payable change. */
|
|
20991
|
+
private lastSuccessIdle;
|
|
20992
|
+
/** Only with `lockAfterSuccess` false: keys whose success was already reported, so a late answer for the same key is silent and a distinct key is reported as `duplicate_suspected`. */
|
|
20993
|
+
private readonly reportedKeys;
|
|
20952
20994
|
/** The request timeout of the newest `run()` (the status grace is measured against it, not against the default). */
|
|
20953
20995
|
private requestMs;
|
|
20954
20996
|
private pollTimer;
|
|
@@ -21026,6 +21068,8 @@ export declare class PaymentAttempt {
|
|
|
21026
21068
|
/** Applies the result of a step to THIS attempt (see {@link PaymentAttemptKind}). */
|
|
21027
21069
|
apply<T>(result: PaymentAttemptResult<T>): void;
|
|
21028
21070
|
private now;
|
|
21071
|
+
/** A success locks the payable as paid (default); `false` only for a form that opted out with `lockAfterSuccess`. */
|
|
21072
|
+
private keepsLock;
|
|
21029
21073
|
/** Newest run that is still THE attempt in progress (same pinned key, not replaced by a newer run). */
|
|
21030
21074
|
private isCurrent;
|
|
21031
21075
|
private applyRun;
|
|
@@ -21217,6 +21261,8 @@ export interface PaymentProtectionInputs {
|
|
|
21217
21261
|
statusCheckTimeoutMs: Signal<number>;
|
|
21218
21262
|
/** A status answer `failed` is ignored this long while the attempt's own request is unsettled. */
|
|
21219
21263
|
statusFailGraceMs: Signal<number>;
|
|
21264
|
+
/** While the attempt's own request is unsettled a status answer `failed` / `not_found` is ignored this long after it became unknown (optional: default 180 s). */
|
|
21265
|
+
statusHardMaxMs?: Signal<number>;
|
|
21220
21266
|
/** The request timeout is replaced by this while a 3-D Secure challenge / the bank window is open (optional: default 300 s). */
|
|
21221
21267
|
authTimeoutMs?: Signal<number>;
|
|
21222
21268
|
/** A token-only form whose host never reports becomes unknown after this long (optional: default 120 s). */
|
|
@@ -21234,6 +21280,8 @@ export interface PaymentProtectionOptions {
|
|
|
21234
21280
|
sdk?: () => PaymentSdkState;
|
|
21235
21281
|
/** The Stripe form turns everything off unless its duplicate-protection flag is on (existing behaviour stays exactly as it was). */
|
|
21236
21282
|
enabled?: () => boolean;
|
|
21283
|
+
/** `false` = a success does not lock the payable for 24 hours (a setup form that opted out with `lockAfterSuccess`); default true. */
|
|
21284
|
+
lockAfterSuccess?: () => boolean;
|
|
21237
21285
|
/** A form that only TOKENIZES keeps its lock to the token call: going offline then does not make the outcome unknown. */
|
|
21238
21286
|
offlineMidFlight?: boolean;
|
|
21239
21287
|
onOutcome?: (outcome: PaymentAttemptOutcome) => void;
|
|
@@ -21249,6 +21297,10 @@ export declare function createPaymentProtection(inputs: PaymentProtectionInputs,
|
|
|
21249
21297
|
attempt: PaymentAttempt;
|
|
21250
21298
|
readiness: PaymentReadiness;
|
|
21251
21299
|
};
|
|
21300
|
+
/** What a protected attempt is for: a payment (default) or saving a payment method (a SetupIntent: nothing is charged). */
|
|
21301
|
+
export type PaymentAttemptPurpose = 'payment' | 'setup';
|
|
21302
|
+
/** The label key to show for `key` in an attempt of `kind` (the same key for a payment). */
|
|
21303
|
+
export declare function attemptLabelKey(key: UiLabelKey, kind: PaymentAttemptPurpose): UiLabelKey;
|
|
21252
21304
|
/**
|
|
21253
21305
|
* What the payer reads while a payment attempt is not a plain "form" any more: "Checking your payment..." (the outcome is unknown: Pay stays locked, never "failed, try again"), the
|
|
21254
21306
|
* offline notice, and the paid state. A polite live region announces each state. Used by every payment form of the library; hosts normally never place it themselves.
|
|
@@ -21265,6 +21317,10 @@ export declare class PaymentAttemptStatusComponent {
|
|
|
21265
21317
|
readonly readiness: import("@angular/core").InputSignal<PaymentReadiness | null>;
|
|
21266
21318
|
/** "Retry loading the payment form" was pressed (shown for `sdk_blocked`). */
|
|
21267
21319
|
readonly retryLoad: import("@angular/core").OutputEmitterRef<void>;
|
|
21320
|
+
/** What the attempt is for: `'setup'` (saving a payment method) shows the setup wording instead of the payment wording. */
|
|
21321
|
+
readonly kind: import("@angular/core").InputSignal<PaymentAttemptPurpose>;
|
|
21322
|
+
/** The text of `key` for this attempt's kind. */
|
|
21323
|
+
protected text(key: UiLabelKey): string;
|
|
21268
21324
|
protected readonly firstReason: import("@angular/core").Signal<string>;
|
|
21269
21325
|
/** The translated text of the first blocking reason; a reason the library does not know blocks with the generic text. */
|
|
21270
21326
|
protected readonly readinessText: import("@angular/core").Signal<string>;
|
|
@@ -21292,6 +21348,11 @@ export declare class PaymentAttemptStatusComponent {
|
|
|
21292
21348
|
"required": false;
|
|
21293
21349
|
"isSignal": true;
|
|
21294
21350
|
};
|
|
21351
|
+
"kind": {
|
|
21352
|
+
"alias": "kind";
|
|
21353
|
+
"required": false;
|
|
21354
|
+
"isSignal": true;
|
|
21355
|
+
};
|
|
21295
21356
|
}, {
|
|
21296
21357
|
"retryLoad": "retryLoad";
|
|
21297
21358
|
}, never, never, true, never>;
|
|
@@ -22288,6 +22349,7 @@ export declare class KanbanBoardComponent<T = unknown> {
|
|
|
22288
22349
|
private readonly host;
|
|
22289
22350
|
private readonly doc;
|
|
22290
22351
|
private readonly injector;
|
|
22352
|
+
private readonly zone;
|
|
22291
22353
|
/** The columns in display order. */
|
|
22292
22354
|
readonly columns: import("@angular/core").InputSignal<readonly KanbanColumn[]>;
|
|
22293
22355
|
/** Every card of the board, in the order they should appear inside their column. Cards whose column is not in `columns` are not shown. */
|