@forgeroute/ui 0.5.36 → 0.5.37

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.36",
3
+ "version": "0.5.37",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=22.0.0",
6
6
  "@angular/core": ">=22.0.0",
@@ -22,7 +22,7 @@ export declare class BulkMessagePanelComponent {
22
22
  readonly sending: import("@angular/core").InputSignal<boolean>;
23
23
  readonly closed: import("@angular/core").OutputEmitterRef<void>;
24
24
  readonly send: import("@angular/core").OutputEmitterRef<BulkMessageSendEvent>;
25
- readonly channel: import("@angular/core").WritableSignal<"email" | "text">;
25
+ readonly channel: import("@angular/core").WritableSignal<"text" | "email">;
26
26
  private readonly _subject;
27
27
  private readonly _body;
28
28
  get subject(): string;
@@ -588,6 +588,8 @@ export declare class EmailTemplateEditorComponent {
588
588
  applyTextColor(color: string): void;
589
589
  openColorPicker(): void;
590
590
  applySpacing(value: string): void;
591
+ /** The one link of the message block being edited that holds the whole selection (or the caret), else null: a selection that reaches outside a link, or lies in two links, is not "in" a link. */
592
+ private anchorAtSelection;
591
593
  openLinkDialog(): void;
592
594
  insertLink(): void;
593
595
  openImageDialog(): void;
@@ -122,7 +122,7 @@ export declare class TemplatePickerComponent {
122
122
  private readonly host;
123
123
  private readonly search$;
124
124
  /** Filter results to a specific channel: 'email', 'text', or omit for all. */
125
- readonly channel: import("@angular/core").InputSignal<"" | "email" | "text">;
125
+ readonly channel: import("@angular/core").InputSignal<"" | "text" | "email">;
126
126
  readonly selectedId: import("@angular/core").InputSignal<string | null>;
127
127
  readonly labelInput: import("@angular/core").InputSignal<string | null>;
128
128
  readonly label: import("@angular/core").Signal<string>;
@@ -553,7 +553,7 @@ export declare class DocumentSendOptionsComponent implements UiFieldValidity {
553
553
  /** API root from FORGEROUTE_CONFIG (e.g. a cross-origin prod API); falls back to same-origin `/api`. */
554
554
  private readonly apiBase;
555
555
  /** `email` → purpose select + attachment allowed; `text` → link only (purpose fixed to e-signature). */
556
- readonly channel: import("@angular/core").InputSignal<"email" | "text">;
556
+ readonly channel: import("@angular/core").InputSignal<"text" | "email">;
557
557
  readonly labelInput: import("@angular/core").InputSignal<string | null>;
558
558
  readonly label: import("@angular/core").Signal<string>;
559
559
  /** When true, at least one document must be chosen. The message forms leave it false: documents are optional there. */
@@ -630,7 +630,7 @@ export declare class DocumentSendOptionsComponent implements UiFieldValidity {
630
630
  /** Roles of documents whose row had no `signerRoles` and that the host resolves (`signers().resolveRoles`). */
631
631
  readonly roleStates: import("@angular/core").WritableSignal<Record<string, RoleState>>;
632
632
  /** The envelope's documents: `loading` / `error` while the panel reads them (`loadDocuments`), `ready` once known. */
633
- readonly envelopeStatus: import("@angular/core").WritableSignal<"idle" | "loading" | "ready" | "error">;
633
+ readonly envelopeStatus: import("@angular/core").WritableSignal<"error" | "loading" | "ready" | "idle">;
634
634
  private envelopeSub;
635
635
  private readonly roleSubs;
636
636
  /** The sender opened the collapsed "Signing options" line. */
@@ -2021,7 +2021,7 @@ export declare class SendMessagePanelComponent {
2021
2021
  * somebody can receive that channel; otherwise the usual default applies (email if anybody has an email, else text). null (default) = the usual default.
2022
2022
  * `textEnabled` must already be known when the panel opens for `'text'` to take effect (bind `[recipients]` after async settings loaded, or re-open).
2023
2023
  */
2024
- readonly initialChannel: import("@angular/core").InputSignal<"email" | "text" | null>;
2024
+ readonly initialChannel: import("@angular/core").InputSignal<"text" | "email" | null>;
2025
2025
  /** Bulk mode: the plural noun in "To: 12 residents" (default `recipients`, localized). */
2026
2026
  readonly recipientNoun: import("@angular/core").InputSignal<string>;
2027
2027
  /** Bulk mode: the singular noun used when exactly one is selected; empty = the plural without a trailing "s". */
@@ -2257,7 +2257,7 @@ export declare class SendMessagePanelComponent {
2257
2257
  readonly activeContact: import("@angular/core").WritableSignal<MessageContact | null>;
2258
2258
  /** What the sender should know about the picked contact before sending (why a channel is missing, what to add). */
2259
2259
  readonly contactNotices: import("@angular/core").Signal<string[]>;
2260
- readonly channel: import("@angular/core").WritableSignal<"email" | "text">;
2260
+ readonly channel: import("@angular/core").WritableSignal<"text" | "email">;
2261
2261
  readonly valid: import("@angular/core").WritableSignal<boolean>;
2262
2262
  /** A send is in flight in the active form: the Send button spins and stays disabled. */
2263
2263
  readonly busy: import("@angular/core").WritableSignal<boolean>;
@@ -751,7 +751,7 @@ export declare class PaymentSidePanelComponent {
751
751
  private readonly terminalAvailable;
752
752
  /** value -> label of every live method the rendered plugins contribute (the first plugin wins a duplicate value). */
753
753
  private readonly liveMethods;
754
- protected readonly kind: import("@angular/core").Signal<"terminal" | "none" | "manual" | "live">;
754
+ protected readonly kind: import("@angular/core").Signal<"terminal" | "manual" | "none" | "live">;
755
755
  private kindOf;
756
756
  /** 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. */
757
757
  readonly methodList: import("@angular/core").Signal<PaymentMethodOption[]>;
@@ -792,7 +792,7 @@ export declare class QboConnectComponent {
792
792
  readonly loading: import("@angular/core").ModelSignal<boolean>;
793
793
  protected readonly awaiting: import("@angular/core").WritableSignal<boolean>;
794
794
  protected readonly confirming: import("@angular/core").WritableSignal<boolean>;
795
- protected readonly state: import("@angular/core").Signal<"none" | "connected" | "reconnect">;
795
+ protected readonly state: import("@angular/core").Signal<"connected" | "none" | "reconnect">;
796
796
  protected readonly company: import("@angular/core").Signal<string>;
797
797
  protected readonly connectedOn: import("@angular/core").Signal<string>;
798
798
  /** What the persistent status region says: the current state, plus "Loading." while a request runs. */
@@ -362,7 +362,7 @@ export declare class SquarePaymentComponent {
362
362
  readonly applicationId: import("@angular/core").InputSignal<string | null>;
363
363
  readonly locationId: import("@angular/core").InputSignal<string | null>;
364
364
  /** `'production'` or `'sandbox'` (default: the provider's, else `'sandbox'`). Decides which Square host the SDK script comes from. */
365
- readonly environment: import("@angular/core").InputSignal<"sandbox" | "production" | null>;
365
+ readonly environment: import("@angular/core").InputSignal<"production" | "sandbox" | null>;
366
366
  /** The amount in major units (12.5 = $12.50), for buyer verification (SCA / 3-D Secure) of a card payment. */
367
367
  readonly amount: import("@angular/core").InputSignal<number | null>;
368
368
  readonly currency: import("@angular/core").InputSignal<string>;
@@ -1615,7 +1615,7 @@ export declare class SquarePaymentMethodComponent extends PaymentMethodPlugin {
1615
1615
  readonly estimateFees: import("@angular/core").InputSignal<((ctx: SquareFeeContext) => HostResult<SquareFees>) | null>;
1616
1616
  readonly applicationId: import("@angular/core").InputSignal<string | null>;
1617
1617
  readonly locationId: import("@angular/core").InputSignal<string | null>;
1618
- readonly environment: import("@angular/core").InputSignal<"sandbox" | "production" | null>;
1618
+ readonly environment: import("@angular/core").InputSignal<"production" | "sandbox" | null>;
1619
1619
  /** The buyer's billing contact: with it the card form runs buyer verification (SCA / 3-D Secure) before the token reaches your backend. */
1620
1620
  readonly billingContact: import("@angular/core").InputSignal<SquareBillingContact | null>;
1621
1621
  /** The account holder name offered for the bank account. */