@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgeroute/ui",
3
- "version": "0.5.6",
3
+ "version": "0.5.8",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=22.0.0",
6
6
  "@angular/core": ">=22.0.0",
@@ -117,7 +117,7 @@ export declare class TemplatePickerComponent {
117
117
  private readonly host;
118
118
  private readonly search$;
119
119
  /** Filter results to a specific channel: 'email', 'text', or omit for all. */
120
- readonly channel: import("@angular/core").InputSignal<"" | "email" | "text">;
120
+ readonly channel: import("@angular/core").InputSignal<"" | "text" | "email">;
121
121
  readonly selectedId: import("@angular/core").InputSignal<string | null>;
122
122
  readonly labelInput: import("@angular/core").InputSignal<string | null>;
123
123
  readonly label: import("@angular/core").Signal<string>;
@@ -548,7 +548,7 @@ export declare class DocumentSendOptionsComponent implements UiFieldValidity {
548
548
  /** API root from FORGEROUTE_CONFIG (e.g. a cross-origin prod API); falls back to same-origin `/api`. */
549
549
  private readonly apiBase;
550
550
  /** `email` → purpose select + attachment allowed; `text` → link only (purpose fixed to e-signature). */
551
- readonly channel: import("@angular/core").InputSignal<"email" | "text">;
551
+ readonly channel: import("@angular/core").InputSignal<"text" | "email">;
552
552
  readonly labelInput: import("@angular/core").InputSignal<string | null>;
553
553
  readonly label: import("@angular/core").Signal<string>;
554
554
  /** When true, at least one document must be chosen. The message forms leave it false: documents are optional there. */
@@ -624,7 +624,7 @@ export declare class DocumentSendOptionsComponent implements UiFieldValidity {
624
624
  /** Roles of documents whose row had no `signerRoles` and that the host resolves (`signers().resolveRoles`). */
625
625
  readonly roleStates: import("@angular/core").WritableSignal<Record<string, RoleState>>;
626
626
  /** The envelope's documents: `loading` / `error` while the panel reads them (`loadDocuments`), `ready` once known. */
627
- readonly envelopeStatus: import("@angular/core").WritableSignal<"idle" | "loading" | "ready" | "error">;
627
+ readonly envelopeStatus: import("@angular/core").WritableSignal<"error" | "loading" | "ready" | "idle">;
628
628
  private envelopeSub;
629
629
  private readonly roleSubs;
630
630
  /** The sender opened the collapsed "Signing options" line. */
@@ -1143,12 +1143,6 @@ 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>;
1152
1146
  /** Market values (`area`, `median_price`, `dom`, `new_listings`) — only the ones `/service-areas` returned. */
1153
1147
  private marketVars;
1154
1148
  ngOnInit(): void;
@@ -1447,11 +1441,6 @@ declare class SendEmailComponent implements OnInit {
1447
1441
  "required": false;
1448
1442
  "isSignal": true;
1449
1443
  };
1450
- "marketValues": {
1451
- "alias": "marketValues";
1452
- "required": false;
1453
- "isSignal": true;
1454
- };
1455
1444
  }, {
1456
1445
  "sent": "sent";
1457
1446
  "bulkResult": "bulkResult";
@@ -1737,12 +1726,6 @@ declare class SendTextComponent implements OnInit {
1737
1726
  readonly mediaUploading: import("@angular/core").WritableSignal<boolean>;
1738
1727
  readonly savingPhone: import("@angular/core").WritableSignal<boolean>;
1739
1728
  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>;
1746
1729
  /** Market values (`area`, `median_price`, `dom`, `new_listings`) — only the ones `/service-areas` returned. */
1747
1730
  private marketVars;
1748
1731
  ngOnInit(): void;
@@ -1954,11 +1937,6 @@ declare class SendTextComponent implements OnInit {
1954
1937
  "required": false;
1955
1938
  "isSignal": true;
1956
1939
  };
1957
- "marketValues": {
1958
- "alias": "marketValues";
1959
- "required": false;
1960
- "isSignal": true;
1961
- };
1962
1940
  }, {
1963
1941
  "sent": "sent";
1964
1942
  "bulkResult": "bulkResult";
@@ -2015,7 +1993,7 @@ export declare class SendMessagePanelComponent {
2015
1993
  * somebody can receive that channel; otherwise the usual default applies (email if anybody has an email, else text). null (default) = the usual default.
2016
1994
  * `textEnabled` must already be known when the panel opens for `'text'` to take effect (bind `[recipients]` after async settings loaded, or re-open).
2017
1995
  */
2018
- readonly initialChannel: import("@angular/core").InputSignal<"email" | "text" | null>;
1996
+ readonly initialChannel: import("@angular/core").InputSignal<"text" | "email" | null>;
2019
1997
  /** Bulk mode: the plural noun in "To: 12 residents" (default `recipients`, localized). */
2020
1998
  readonly recipientNoun: import("@angular/core").InputSignal<string>;
2021
1999
  /** Bulk mode: the singular noun used when exactly one is selected; empty = the plural without a trailing "s". */
@@ -2052,12 +2030,6 @@ export declare class SendMessagePanelComponent {
2052
2030
  readonly documentsEnabled: import("@angular/core").InputSignal<boolean>;
2053
2031
  /** Email tab only: adds a CC field; the addresses are sent as `SendEmailPayload.cc`. */
2054
2032
  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>;
2061
2033
  /**
2062
2034
  * `'contact'` (default) = the message goes by email or text to the contact's address. `'in-app'` = the message is NOT delivered by email or
2063
2035
  * 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
@@ -2246,7 +2218,7 @@ export declare class SendMessagePanelComponent {
2246
2218
  readonly activeContact: import("@angular/core").WritableSignal<MessageContact | null>;
2247
2219
  /** What the sender should know about the picked contact before sending (why a channel is missing, what to add). */
2248
2220
  readonly contactNotices: import("@angular/core").Signal<string[]>;
2249
- readonly channel: import("@angular/core").WritableSignal<"email" | "text">;
2221
+ readonly channel: import("@angular/core").WritableSignal<"text" | "email">;
2250
2222
  readonly valid: import("@angular/core").WritableSignal<boolean>;
2251
2223
  /** A send is in flight in the active form: the Send button spins and stays disabled. */
2252
2224
  readonly busy: import("@angular/core").WritableSignal<boolean>;
@@ -2368,11 +2340,6 @@ export declare class SendMessagePanelComponent {
2368
2340
  "required": false;
2369
2341
  "isSignal": true;
2370
2342
  };
2371
- "marketValues": {
2372
- "alias": "marketValues";
2373
- "required": false;
2374
- "isSignal": true;
2375
- };
2376
2343
  "recipientMode": {
2377
2344
  "alias": "recipientMode";
2378
2345
  "required": false;
@@ -345,7 +345,7 @@ export declare class QboPaymentComponent {
345
345
  protected readonly postalFormatter: import("@angular/core").Signal<(raw: string) => string>;
346
346
  protected readonly postalPlaceholder: import("@angular/core").Signal<"A1A 1A1" | "94086">;
347
347
  protected readonly postalInputMode: import("@angular/core").Signal<"text" | "numeric">;
348
- protected readonly postalMaxLength: import("@angular/core").Signal<7 | 10>;
348
+ protected readonly postalMaxLength: import("@angular/core").Signal<10 | 7>;
349
349
  protected readonly routingFormatter: (raw: string) => string;
350
350
  protected readonly accountFormatter: (raw: string) => string;
351
351
  protected readonly tabs: import("@angular/core").Signal<PillTab[]>;
@@ -774,7 +774,7 @@ export declare class QboConnectComponent {
774
774
  readonly loading: import("@angular/core").ModelSignal<boolean>;
775
775
  protected readonly awaiting: import("@angular/core").WritableSignal<boolean>;
776
776
  protected readonly confirming: import("@angular/core").WritableSignal<boolean>;
777
- protected readonly state: import("@angular/core").Signal<"none" | "connected" | "reconnect">;
777
+ protected readonly state: import("@angular/core").Signal<"connected" | "none" | "reconnect">;
778
778
  protected readonly company: import("@angular/core").Signal<string>;
779
779
  protected readonly connectedOn: import("@angular/core").Signal<string>;
780
780
  /** What the persistent status region says: the current state, plus "Loading." while a request runs. */
@@ -334,7 +334,7 @@ export declare class SquarePaymentComponent {
334
334
  readonly applicationId: import("@angular/core").InputSignal<string | null>;
335
335
  readonly locationId: import("@angular/core").InputSignal<string | null>;
336
336
  /** `'production'` or `'sandbox'` (default: the provider's, else `'sandbox'`). Decides which Square host the SDK script comes from. */
337
- readonly environment: import("@angular/core").InputSignal<"production" | "sandbox" | null>;
337
+ readonly environment: import("@angular/core").InputSignal<"sandbox" | "production" | null>;
338
338
  /** The amount in major units (12.5 = $12.50), for buyer verification (SCA / 3-D Secure) of a card payment. */
339
339
  readonly amount: import("@angular/core").InputSignal<number | null>;
340
340
  readonly currency: import("@angular/core").InputSignal<string>;
@@ -948,7 +948,7 @@ export declare class SquareConnectComponent {
948
948
  readonly loading: import("@angular/core").ModelSignal<boolean>;
949
949
  protected readonly awaiting: import("@angular/core").WritableSignal<boolean>;
950
950
  protected readonly confirming: import("@angular/core").WritableSignal<boolean>;
951
- protected readonly state: import("@angular/core").Signal<"none" | "connected" | "reconnect">;
951
+ protected readonly state: import("@angular/core").Signal<"connected" | "none" | "reconnect">;
952
952
  protected readonly merchant: import("@angular/core").Signal<string>;
953
953
  protected readonly location: import("@angular/core").Signal<string>;
954
954
  protected readonly connectedOn: import("@angular/core").Signal<string>;
@@ -1158,7 +1158,7 @@ export declare class SquarePaymentMethodComponent extends PaymentMethodPlugin {
1158
1158
  readonly estimateFees: import("@angular/core").InputSignal<((ctx: SquareFeeContext) => HostResult<SquareFees>) | null>;
1159
1159
  readonly applicationId: import("@angular/core").InputSignal<string | null>;
1160
1160
  readonly locationId: import("@angular/core").InputSignal<string | null>;
1161
- readonly environment: import("@angular/core").InputSignal<"production" | "sandbox" | null>;
1161
+ readonly environment: import("@angular/core").InputSignal<"sandbox" | "production" | null>;
1162
1162
  /** The buyer's billing contact: with it the card form runs buyer verification (SCA / 3-D Secure) before the token reaches your backend. */
1163
1163
  readonly billingContact: import("@angular/core").InputSignal<SquareBillingContact | null>;
1164
1164
  /** The account holder name offered for the bank account. */
@@ -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
- /** The intent was confirmed (succeeded, processing, needs bank verification, or needs a further action). */
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 only: saving a card (`mode="setup"`) moves no money, so there is nothing to double-charge and the flag is ignored there. */
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 (only active with `duplicateProtection` in payment mode). */
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;
@@ -1576,7 +1622,7 @@ export declare class StripeConnectComponent {
1576
1622
  readonly navigateTab: import("@angular/core").InputSignal<((url: string) => void) | null>;
1577
1623
  protected readonly visible: import("@angular/core").Signal<boolean>;
1578
1624
  /** Which screen the card shows. */
1579
- protected readonly state: import("@angular/core").Signal<"none" | "complete" | "verifying" | "incomplete">;
1625
+ protected readonly state: import("@angular/core").Signal<"complete" | "verifying" | "incomplete" | "none">;
1580
1626
  /** What the persistent status region says: the current state, plus "Loading." while a request runs. Empty while nothing is shown. */
1581
1627
  protected readonly liveText: import("@angular/core").Signal<string>;
1582
1628
  /** The user pressed a button that started a request: when the screen then changes, focus moves to the new screen (the pressed button is gone). */
@@ -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 }}";
@@ -3564,7 +3587,7 @@ export declare class SelectComponent implements ControlValueAccessor, Validator,
3564
3587
  readonly error: import("@angular/core").InputSignal<string>;
3565
3588
  /** The host's "tried to submit" flag (e.g. after a failed Save click). `true` reveals the message of an untouched field at once (the field also shows it after the user left THIS field); switching it from true back to false forgets that the field was left. */
3566
3589
  readonly showErrors: import("@angular/core").InputSignal<boolean>;
3567
- readonly size: import("@angular/core").InputSignal<"sm" | "default">;
3590
+ readonly size: import("@angular/core").InputSignal<"default" | "sm">;
3568
3591
  readonly _disabledInput: import("@angular/core").InputSignal<boolean>;
3569
3592
  private readonly _cvaDisabled;
3570
3593
  protected readonly disabled: import("@angular/core").Signal<boolean>;
@@ -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 | 4 | 2 | 3 | 5 | 6 | null>;
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
  /**
@@ -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<"link" | "primary" | "secondary" | "danger" | "warning" | "ghost" | "ghost-start" | "tab" | "icon" | "icon-danger">;
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' }`). */
@@ -9254,7 +9277,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
9254
9277
  readonly passwordRequirements: import("@angular/core").InputSignal<boolean>;
9255
9278
  /** Rules for `passwordRequirements`; default = the library's five rules (8+ characters, upper, lower, digit, special). */
9256
9279
  readonly passwordRules: import("@angular/core").InputSignal<readonly PasswordRule[] | undefined>;
9257
- readonly type: import("@angular/core").InputSignal<"number" | "email" | "text" | "tel" | "password" | "url">;
9280
+ readonly type: import("@angular/core").InputSignal<"number" | "email" | "text" | "password" | "tel" | "url">;
9258
9281
  readonly maxlength: import("@angular/core").InputSignal<number | undefined>;
9259
9282
  readonly required: import("@angular/core").InputSignal<boolean>;
9260
9283
  readonly autocomplete: import("@angular/core").InputSignal<string>;
@@ -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<"" | "email" | "search" | "none" | "text" | "tel" | "numeric" | "decimal" | "url">;
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. */
@@ -9335,7 +9358,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
9335
9358
  protected readonly _stepAttr: import("@angular/core").Signal<string | null>;
9336
9359
  protected readonly _revealable: import("@angular/core").Signal<boolean>;
9337
9360
  protected readonly _shown: import("@angular/core").WritableSignal<boolean>;
9338
- protected readonly _inputType: import("@angular/core").Signal<"number" | "email" | "text" | "tel" | "password" | "url">;
9361
+ protected readonly _inputType: import("@angular/core").Signal<"number" | "email" | "text" | "password" | "tel" | "url">;
9339
9362
  protected readonly _eyePath: string;
9340
9363
  protected readonly _eyeOffPath: string;
9341
9364
  protected readonly _showRequirements: import("@angular/core").Signal<boolean>;
@@ -9954,7 +9977,7 @@ export declare class CopyFieldComponent implements OnDestroy {
9954
9977
  /** Neither the Clipboard API nor the fallback could copy. */
9955
9978
  readonly copyFailed: import("@angular/core").OutputEmitterRef<void>;
9956
9979
  protected readonly _id: string;
9957
- protected readonly _state: import("@angular/core").WritableSignal<"failed" | "idle" | "copied">;
9980
+ protected readonly _state: import("@angular/core").WritableSignal<"idle" | "copied" | "failed">;
9958
9981
  protected readonly _announcement: import("@angular/core").Signal<string>;
9959
9982
  protected readonly _buttonName: import("@angular/core").Signal<string>;
9960
9983
  protected readonly _describedBy: import("@angular/core").Signal<string | null>;
@@ -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<"button" | "badge">;
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 | 4 | 2 | 3>;
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": {
@@ -12878,7 +12901,7 @@ export declare class IconComponent {
12878
12901
  readonly ariaLabel: import("@angular/core").InputSignal<string>;
12879
12902
  /** Icon size in px. */
12880
12903
  readonly size: import("@angular/core").InputSignal<number>;
12881
- readonly variant: import("@angular/core").InputSignal<"danger" | "default">;
12904
+ readonly variant: import("@angular/core").InputSignal<"default" | "danger">;
12882
12905
  readonly disabled: import("@angular/core").InputSignal<boolean>;
12883
12906
  /** The host is running the request this icon started: a spinner replaces the picture and the button is disabled (no click) until it is false again. */
12884
12907
  readonly loading: import("@angular/core").InputSignal<boolean>;
@@ -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 | 4 | 2 | 3 | 5 | 6 | null>;
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. */
@@ -15373,7 +15396,7 @@ export declare class DetailCardComponent {
15373
15396
  /** Background colour of the footer bar (the `[card-footer]` slot) as any CSS colour. Empty = no colour of its own. */
15374
15397
  readonly footerBackground: import("@angular/core").InputSignal<string>;
15375
15398
  /** Alignment of the `[card-footer]` content: `'start'` (default, unchanged) or `'end'` = a right-aligned action row with an 8px gap. */
15376
- readonly footerAlign: import("@angular/core").InputSignal<"end" | "start">;
15399
+ readonly footerAlign: import("@angular/core").InputSignal<"start" | "end">;
15377
15400
  /** Text colour as any CSS colour (`#fff`, `var(--on-dark)` …). Empty = the default colours. Colours the title, subtitle, chevron and body text. */
15378
15401
  readonly textColor: import("@angular/core").InputSignal<string>;
15379
15402
  /** false = no header at all (no title, edit button, toggle or divider): the card is only the body, always open. */
@@ -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, ui?: UiLabelsService): ConversationMessageRow[];
19270
+ export declare function groupMessagesByDay(messages: readonly ConversationMessage[], now?: Date): 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,8 +20445,6 @@ export declare class PaymentSidePanelComponent {
20422
20445
  protected readonly exclusive: import("@angular/core").WritableSignal<boolean>;
20423
20446
  private readonly pluginPrimary;
20424
20447
  private cancelHook;
20425
- /** The method value that was a live plugin method when last checked ('' = none), to notice the plugin disappearing under a selected method. */
20426
- private liveMethodValue;
20427
20448
  private completed;
20428
20449
  /** 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". */
20429
20450
  private verificationReported;
@@ -20456,7 +20477,7 @@ export declare class PaymentSidePanelComponent {
20456
20477
  private readonly terminalAvailable;
20457
20478
  /** value -> label of every live method the rendered plugins contribute (the first plugin wins a duplicate value). */
20458
20479
  private readonly liveMethods;
20459
- protected readonly kind: import("@angular/core").Signal<"none" | "manual" | "live" | "terminal">;
20480
+ protected readonly kind: import("@angular/core").Signal<"none" | "live" | "terminal" | "manual">;
20460
20481
  private kindOf;
20461
20482
  /** 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. */
20462
20483
  readonly methodList: import("@angular/core").Signal<PaymentMethodOption[]>;
@@ -20494,8 +20515,6 @@ export declare class PaymentSidePanelComponent {
20494
20515
  protected readonly primaryLoading: import("@angular/core").Signal<boolean>;
20495
20516
  protected readonly primaryDisabled: import("@angular/core").Signal<boolean>;
20496
20517
  constructor();
20497
- /** 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). */
20498
- private destroyed;
20499
20518
  private init;
20500
20519
  private teardown;
20501
20520
  private resetForm;
@@ -20723,7 +20742,10 @@ export type PaymentAttemptRefusal = 'locked' | 'paid' | 'unknown' | 'offline';
20723
20742
  export type PaymentAttemptOutcomeKind = 'succeeded' | 'failed' | 'unknown' | 'refused' | 'pending';
20724
20743
  /**
20725
20744
  * 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`,
20726
- * `duplicate_suspected` (an attempt that started after an older one turned out paid ALSO produced a payment: the host must resolve the duplicate), ...
20745
+ * `duplicate_suspected` (an attempt that started after an older one turned out paid ALSO produced a payment: the host must resolve the duplicate),
20746
+ * `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),
20747
+ * `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` /
20748
+ * `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`, ...
20727
20749
  */
20728
20750
  export interface PaymentAttemptOutcome {
20729
20751
  kind: PaymentAttemptOutcomeKind;
@@ -20886,6 +20908,14 @@ export interface PaymentAttemptOptions {
20886
20908
  failGraceMs?: () => number;
20887
20909
  /** 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). */
20888
20910
  statusHardMaxMs?: () => number;
20911
+ /**
20912
+ * 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`,
20913
+ * 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
20914
+ * 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
20915
+ * (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)
20916
+ * is reported once as `unknown` / `duplicate_suspected` for the host to resolve.
20917
+ */
20918
+ lockAfterSuccess?: () => boolean;
20889
20919
  /** The request timeout is replaced by this while a 3-D Secure challenge / the bank window is open (default 300 s). */
20890
20920
  authTimeoutMs?: () => number;
20891
20921
  /** A token-only form whose host never reports becomes unknown after this long (default 120 s). */
@@ -20953,6 +20983,10 @@ export declare class PaymentAttempt {
20953
20983
  private paidKey;
20954
20984
  /** Keys already reported as `duplicate_suspected` (reported once each). */
20955
20985
  private readonly duplicates;
20986
+ /** 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. */
20987
+ private lastSuccessIdle;
20988
+ /** 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`. */
20989
+ private readonly reportedKeys;
20956
20990
  /** The request timeout of the newest `run()` (the status grace is measured against it, not against the default). */
20957
20991
  private requestMs;
20958
20992
  private pollTimer;
@@ -21030,6 +21064,8 @@ export declare class PaymentAttempt {
21030
21064
  /** Applies the result of a step to THIS attempt (see {@link PaymentAttemptKind}). */
21031
21065
  apply<T>(result: PaymentAttemptResult<T>): void;
21032
21066
  private now;
21067
+ /** A success locks the payable as paid (default); `false` only for a form that opted out with `lockAfterSuccess`. */
21068
+ private keepsLock;
21033
21069
  /** Newest run that is still THE attempt in progress (same pinned key, not replaced by a newer run). */
21034
21070
  private isCurrent;
21035
21071
  private applyRun;
@@ -21221,6 +21257,8 @@ export interface PaymentProtectionInputs {
21221
21257
  statusCheckTimeoutMs: Signal<number>;
21222
21258
  /** A status answer `failed` is ignored this long while the attempt's own request is unsettled. */
21223
21259
  statusFailGraceMs: Signal<number>;
21260
+ /** 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). */
21261
+ statusHardMaxMs?: Signal<number>;
21224
21262
  /** The request timeout is replaced by this while a 3-D Secure challenge / the bank window is open (optional: default 300 s). */
21225
21263
  authTimeoutMs?: Signal<number>;
21226
21264
  /** A token-only form whose host never reports becomes unknown after this long (optional: default 120 s). */
@@ -21238,6 +21276,8 @@ export interface PaymentProtectionOptions {
21238
21276
  sdk?: () => PaymentSdkState;
21239
21277
  /** The Stripe form turns everything off unless its duplicate-protection flag is on (existing behaviour stays exactly as it was). */
21240
21278
  enabled?: () => boolean;
21279
+ /** `false` = a success does not lock the payable for 24 hours (a setup form that opted out with `lockAfterSuccess`); default true. */
21280
+ lockAfterSuccess?: () => boolean;
21241
21281
  /** A form that only TOKENIZES keeps its lock to the token call: going offline then does not make the outcome unknown. */
21242
21282
  offlineMidFlight?: boolean;
21243
21283
  onOutcome?: (outcome: PaymentAttemptOutcome) => void;
@@ -21253,6 +21293,10 @@ export declare function createPaymentProtection(inputs: PaymentProtectionInputs,
21253
21293
  attempt: PaymentAttempt;
21254
21294
  readiness: PaymentReadiness;
21255
21295
  };
21296
+ /** What a protected attempt is for: a payment (default) or saving a payment method (a SetupIntent: nothing is charged). */
21297
+ export type PaymentAttemptPurpose = 'payment' | 'setup';
21298
+ /** The label key to show for `key` in an attempt of `kind` (the same key for a payment). */
21299
+ export declare function attemptLabelKey(key: UiLabelKey, kind: PaymentAttemptPurpose): UiLabelKey;
21256
21300
  /**
21257
21301
  * 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
21258
21302
  * 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.
@@ -21269,6 +21313,10 @@ export declare class PaymentAttemptStatusComponent {
21269
21313
  readonly readiness: import("@angular/core").InputSignal<PaymentReadiness | null>;
21270
21314
  /** "Retry loading the payment form" was pressed (shown for `sdk_blocked`). */
21271
21315
  readonly retryLoad: import("@angular/core").OutputEmitterRef<void>;
21316
+ /** What the attempt is for: `'setup'` (saving a payment method) shows the setup wording instead of the payment wording. */
21317
+ readonly kind: import("@angular/core").InputSignal<PaymentAttemptPurpose>;
21318
+ /** The text of `key` for this attempt's kind. */
21319
+ protected text(key: UiLabelKey): string;
21272
21320
  protected readonly firstReason: import("@angular/core").Signal<string>;
21273
21321
  /** The translated text of the first blocking reason; a reason the library does not know blocks with the generic text. */
21274
21322
  protected readonly readinessText: import("@angular/core").Signal<string>;
@@ -21296,6 +21344,11 @@ export declare class PaymentAttemptStatusComponent {
21296
21344
  "required": false;
21297
21345
  "isSignal": true;
21298
21346
  };
21347
+ "kind": {
21348
+ "alias": "kind";
21349
+ "required": false;
21350
+ "isSignal": true;
21351
+ };
21299
21352
  }, {
21300
21353
  "retryLoad": "retryLoad";
21301
21354
  }, never, never, true, never>;
@@ -21414,8 +21467,12 @@ export interface UiLanguageConfig {
21414
21467
  }
21415
21468
  /** Holds the configuration given to `provideUiLanguage()`. */
21416
21469
  export declare const UI_LANGUAGE_CONFIG: InjectionToken<UiLanguageConfig>;
21417
- /** The window that embeds this page (iframe parent), or null when the page is not embedded. Specs provide their own to simulate an embedding page. */
21418
- export declare const EMBEDDING_PARENT: InjectionToken<Window | null>;
21470
+ /**
21471
+ * Gives the window that embeds this page (iframe parent), or null when the page is not embedded. Specs provide their own to simulate an embedding page.
21472
+ * It is a getter, not the Window itself: Angular's injector reads `ngOnDestroy` on every value it creates, and on a cross-origin parent window that read
21473
+ * throws a SecurityError (the page then fails to start on a third-party site).
21474
+ */
21475
+ export declare const EMBEDDING_PARENT: InjectionToken<() => Window | null>;
21419
21476
  /**
21420
21477
  * The library's own dictionary of a built-in language, loaded on demand (a separate lazy chunk): `{}` for English (the built-in texts), the Spanish
21421
21478
  * dictionary for 'es' (also 'ES', 'es-MX', 'es_CO'), `null` for any other code (no built-in dictionary).
@@ -22292,7 +22349,6 @@ export declare class KanbanBoardComponent<T = unknown> {
22292
22349
  private readonly host;
22293
22350
  private readonly doc;
22294
22351
  private readonly injector;
22295
- private readonly zone;
22296
22352
  /** The columns in display order. */
22297
22353
  readonly columns: import("@angular/core").InputSignal<readonly KanbanColumn[]>;
22298
22354
  /** Every card of the board, in the order they should appear inside their column. Cards whose column is not in `columns` are not shown. */