@forgeroute/ui 0.5.36 → 0.5.38

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.38",
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;
@@ -582,12 +582,20 @@ export declare class EmailTemplateEditorComponent {
582
582
  */
583
583
  private runEditCommand;
584
584
  execCommand(cmd: string, value?: string): void;
585
+ /**
586
+ * A list the browser just created gets its look written INTO it (bullets or numbers, a 40px indent, 1em above and below): the editing surface, the Preview and the sent email then
587
+ * all show the same list, whatever the app's own CSS does to `ul` / `ol` (a reset that removes bullets) and although the component's scoped styles never reach elements the browser
588
+ * creates at run time. A list that already has a style (one the user or a template set) is left as it is.
589
+ */
590
+ private styleNewLists;
585
591
  onHeading(value: string): void;
586
592
  onFontSize(value: string): void;
587
593
  applyFontSize(size: string): void;
588
594
  applyTextColor(color: string): void;
589
595
  openColorPicker(): void;
590
596
  applySpacing(value: string): void;
597
+ /** 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. */
598
+ private anchorAtSelection;
591
599
  openLinkDialog(): void;
592
600
  insertLink(): void;
593
601
  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[]>;
@@ -355,7 +355,7 @@ export declare class QboPaymentComponent {
355
355
  protected readonly postalFormatter: import("@angular/core").Signal<(raw: string) => string>;
356
356
  protected readonly postalPlaceholder: import("@angular/core").Signal<"A1A 1A1" | "94086">;
357
357
  protected readonly postalInputMode: import("@angular/core").Signal<"text" | "numeric">;
358
- protected readonly postalMaxLength: import("@angular/core").Signal<7 | 10>;
358
+ protected readonly postalMaxLength: import("@angular/core").Signal<10 | 7>;
359
359
  protected readonly routingFormatter: (raw: string) => string;
360
360
  protected readonly accountFormatter: (raw: string) => string;
361
361
  protected readonly tabs: import("@angular/core").Signal<PillTab[]>;
@@ -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. */
@@ -1541,7 +1541,7 @@ export declare class SquareTerminalBannerComponent {
1541
1541
  private readWhenShown;
1542
1542
  /** The answer on screen: only a CONFIRMED, latest answer in which the organization has no usable reader. */
1543
1543
  protected readonly shown: import("@angular/core").Signal<SquareTerminalReadiness | null>;
1544
- readonly shownState: import("@angular/core").Signal<import("@forgeroute/ui/square").SquareTerminalReadinessState | "none">;
1544
+ readonly shownState: import("@angular/core").Signal<"none" | import("@forgeroute/ui/square").SquareTerminalReadinessState>;
1545
1545
  /** A Terminal exists but is not connected (`reader_offline`, `reader_pairing`). */
1546
1546
  protected readonly notConnected: import("@angular/core").Signal<boolean>;
1547
1547
  /** The label key of a reason with its own no-button wording (`sandbox`, `service_disabled`, `processor_unsupported`), else null. Never for a not-connected Terminal (its message is about the Terminal). */
@@ -2390,7 +2390,7 @@ export declare class SquareTerminalPaymentComponent {
2390
2390
  * The ONE message block of the idle screen, by precedence: already paid > an earlier payment still being confirmed > a cancel that timed out > the total changed > a refusal of the last start. The readiness banner and
2391
2391
  * the "blocked" notice show only when none of these does (and never in the canceled / failed boxes).
2392
2392
  */
2393
- protected readonly idleNotice: import("@angular/core").Signal<"paid" | "pending-other" | "cancel-timeout" | "quote-changed" | "refusal" | null>;
2393
+ protected readonly idleNotice: import("@angular/core").Signal<"paid" | "refusal" | "pending-other" | "cancel-timeout" | "quote-changed" | null>;
2394
2394
  protected readonly showBlocked: import("@angular/core").Signal<boolean>;
2395
2395
  /**
2396
2396
  * Library source 2026-11-21: this screen is showing a card reader message of its own right now (the readiness banner, a connection notice, one of the idle notices, or a payment box), so a second reader banner elsewhere
@@ -1760,7 +1760,7 @@ export declare class StripeConnectComponent {
1760
1760
  readonly navigateTab: import("@angular/core").InputSignal<((url: string) => void) | null>;
1761
1761
  protected readonly visible: import("@angular/core").Signal<boolean>;
1762
1762
  /** Which screen the card shows. */
1763
- protected readonly state: import("@angular/core").Signal<"none" | "complete" | "verifying" | "incomplete">;
1763
+ protected readonly state: import("@angular/core").Signal<"complete" | "verifying" | "incomplete" | "none">;
1764
1764
  /** What the persistent status region says: the current state, plus "Loading." while a request runs. Empty while nothing is shown. */
1765
1765
  protected readonly liveText: import("@angular/core").Signal<string>;
1766
1766
  /** 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). */
@@ -2326,7 +2326,7 @@ export declare class StripeReaderBannerComponent {
2326
2326
  private readWhenShown;
2327
2327
  /** The answer on screen: only a CONFIRMED, latest answer in which the organization has no usable reader. */
2328
2328
  protected readonly shown: import("@angular/core").Signal<StripeReaderReadiness | null>;
2329
- readonly shownState: import("@angular/core").Signal<import("@forgeroute/ui/stripe").StripeReaderReadinessState | "none">;
2329
+ readonly shownState: import("@angular/core").Signal<"none" | import("@forgeroute/ui/stripe").StripeReaderReadinessState>;
2330
2330
  /** A reader exists but is not connected (`reader_offline`). */
2331
2331
  protected readonly notConnected: import("@angular/core").Signal<boolean>;
2332
2332
  /** The label key of a reason with its own no-button wording (`sandbox`, `service_disabled`, `processor_unsupported`), else null. Never for a not-connected reader (its message is about the reader). */
@@ -3209,7 +3209,7 @@ export declare class StripeReaderPaymentComponent {
3209
3209
  * The ONE message block of the idle screen, by precedence: already paid > an earlier payment still being confirmed > a cancel that timed out > the total changed > a refusal of the last start. The readiness banner and
3210
3210
  * the "blocked" notice show only when none of these does (and never in the canceled / failed boxes).
3211
3211
  */
3212
- protected readonly idleNotice: import("@angular/core").Signal<"paid" | "pending-other" | "cancel-timeout" | "quote-changed" | "refusal" | null>;
3212
+ protected readonly idleNotice: import("@angular/core").Signal<"paid" | "refusal" | "pending-other" | "cancel-timeout" | "quote-changed" | null>;
3213
3213
  protected readonly showBlocked: import("@angular/core").Signal<boolean>;
3214
3214
  /**
3215
3215
  * Library source 2026-11-21: this screen is showing a card reader message of its own right now (the readiness banner, a connection notice, one of the idle notices, or a payment box), so a second reader banner elsewhere