@forgeroute/ui 0.5.7 → 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.7",
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. */
@@ -1622,7 +1622,7 @@ export declare class StripeConnectComponent {
1622
1622
  readonly navigateTab: import("@angular/core").InputSignal<((url: string) => void) | null>;
1623
1623
  protected readonly visible: import("@angular/core").Signal<boolean>;
1624
1624
  /** Which screen the card shows. */
1625
- protected readonly state: import("@angular/core").Signal<"none" | "complete" | "verifying" | "incomplete">;
1625
+ protected readonly state: import("@angular/core").Signal<"complete" | "verifying" | "incomplete" | "none">;
1626
1626
  /** What the persistent status region says: the current state, plus "Loading." while a request runs. Empty while nothing is shown. */
1627
1627
  protected readonly liveText: import("@angular/core").Signal<string>;
1628
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). */
@@ -19267,7 +19267,7 @@ export declare function conversationDateLabel(iso: string, now?: Date, ui?: UiLa
19267
19267
  /** First letter of the name, upper case, for the avatar ('?' for a blank name). */
19268
19268
  export declare function conversationInitial(name: string | null | undefined): string;
19269
19269
  /** Each message with the date separator that goes above it ('' when it shares the day of the previous message). */
19270
- export declare function groupMessagesByDay(messages: readonly ConversationMessage[], now?: Date, ui?: UiLabelsService): ConversationMessageRow[];
19270
+ export declare function groupMessagesByDay(messages: readonly ConversationMessage[], now?: Date): ConversationMessageRow[];
19271
19271
  /** What the status mark beside an outbound message says to a screen reader ('' for a status that shows nothing). */
19272
19272
  export declare function conversationMessageStatusLabel(status: string | null | undefined): string;
19273
19273
  /** The mark shown beside an outbound message: ticks for sent / delivered, the word for the rest. */
@@ -20445,8 +20445,6 @@ export declare class PaymentSidePanelComponent {
20445
20445
  protected readonly exclusive: import("@angular/core").WritableSignal<boolean>;
20446
20446
  private readonly pluginPrimary;
20447
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;
20450
20448
  private completed;
20451
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". */
20452
20450
  private verificationReported;
@@ -20517,8 +20515,6 @@ export declare class PaymentSidePanelComponent {
20517
20515
  protected readonly primaryLoading: import("@angular/core").Signal<boolean>;
20518
20516
  protected readonly primaryDisabled: import("@angular/core").Signal<boolean>;
20519
20517
  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;
20522
20518
  private init;
20523
20519
  private teardown;
20524
20520
  private resetForm;
@@ -21471,8 +21467,12 @@ export interface UiLanguageConfig {
21471
21467
  }
21472
21468
  /** Holds the configuration given to `provideUiLanguage()`. */
21473
21469
  export declare const UI_LANGUAGE_CONFIG: InjectionToken<UiLanguageConfig>;
21474
- /** 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. */
21475
- 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>;
21476
21476
  /**
21477
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
21478
21478
  * dictionary for 'es' (also 'ES', 'es-MX', 'es_CO'), `null` for any other code (no built-in dictionary).
@@ -22349,7 +22349,6 @@ export declare class KanbanBoardComponent<T = unknown> {
22349
22349
  private readonly host;
22350
22350
  private readonly doc;
22351
22351
  private readonly injector;
22352
- private readonly zone;
22353
22352
  /** The columns in display order. */
22354
22353
  readonly columns: import("@angular/core").InputSignal<readonly KanbanColumn[]>;
22355
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. */