@forgeroute/ui 0.4.73 → 0.4.75

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.4.73",
3
+ "version": "0.4.75",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=22.0.0",
6
6
  "@angular/core": ">=22.0.0",
@@ -608,7 +608,7 @@ export declare class DocumentSendOptionsComponent implements UiFieldValidity {
608
608
  /** Roles of documents whose row had no `signerRoles` and that the host resolves (`signers().resolveRoles`). */
609
609
  readonly roleStates: import("@angular/core").WritableSignal<Record<string, RoleState>>;
610
610
  /** The envelope's documents: `loading` / `error` while the panel reads them (`loadDocuments`), `ready` once known. */
611
- readonly envelopeStatus: import("@angular/core").WritableSignal<"error" | "loading" | "ready" | "idle">;
611
+ readonly envelopeStatus: import("@angular/core").WritableSignal<"idle" | "loading" | "ready" | "error">;
612
612
  private envelopeSub;
613
613
  private readonly roleSubs;
614
614
  /** The sender opened the collapsed "Signing options" line. */
@@ -1045,6 +1045,12 @@ declare class SendEmailComponent implements OnInit {
1045
1045
  readonly videoDefaults: import("@angular/core").InputSignal<VideoDefaults | null>;
1046
1046
  /** false hides Attach Files and "Schedule for later" (for a host whose send function can't deliver them). */
1047
1047
  readonly attachmentsAndScheduling: import("@angular/core").InputSignal<boolean>;
1048
+ /** Attachments switch on its own (null = follow `attachmentsAndScheduling`). */
1049
+ readonly attachmentsEnabled: import("@angular/core").InputSignal<boolean | null>;
1050
+ /** "Schedule for later" switch on its own (null = follow `attachmentsAndScheduling`). */
1051
+ readonly schedulingEnabled: import("@angular/core").InputSignal<boolean | null>;
1052
+ protected readonly showAttachments: import("@angular/core").Signal<boolean>;
1053
+ protected readonly showScheduling: import("@angular/core").Signal<boolean>;
1048
1054
  /** false hides the Subject field (and Send no longer needs one): for a host whose send function has no subject. Default true. */
1049
1055
  readonly showSubject: import("@angular/core").InputSignal<boolean>;
1050
1056
  /** false hides the "Use Existing Template" tab: the form is Create Message only, and the template picker (`GET /templates`) is never shown. Default true. */
@@ -1374,6 +1380,16 @@ declare class SendEmailComponent implements OnInit {
1374
1380
  "required": false;
1375
1381
  "isSignal": true;
1376
1382
  };
1383
+ "attachmentsEnabled": {
1384
+ "alias": "attachmentsEnabled";
1385
+ "required": false;
1386
+ "isSignal": true;
1387
+ };
1388
+ "schedulingEnabled": {
1389
+ "alias": "schedulingEnabled";
1390
+ "required": false;
1391
+ "isSignal": true;
1392
+ };
1377
1393
  "showSubject": {
1378
1394
  "alias": "showSubject";
1379
1395
  "required": false;
@@ -1583,6 +1599,12 @@ declare class SendTextComponent implements OnInit {
1583
1599
  readonly documents: import("@angular/core").InputSignal<boolean>;
1584
1600
  /** false hides Attach Image and "Schedule for later" (for a host whose send function can't deliver them). */
1585
1601
  readonly attachmentsAndScheduling: import("@angular/core").InputSignal<boolean>;
1602
+ /** Attachments switch on its own (null = follow `attachmentsAndScheduling`). */
1603
+ readonly attachmentsEnabled: import("@angular/core").InputSignal<boolean | null>;
1604
+ /** "Schedule for later" switch on its own (null = follow `attachmentsAndScheduling`). */
1605
+ readonly schedulingEnabled: import("@angular/core").InputSignal<boolean | null>;
1606
+ protected readonly showAttachments: import("@angular/core").Signal<boolean>;
1607
+ protected readonly showScheduling: import("@angular/core").Signal<boolean>;
1586
1608
  /** false hides the "Use Existing Template" tab: the form is Create Message only. Default true. */
1587
1609
  readonly showTemplates: import("@angular/core").InputSignal<boolean>;
1588
1610
  /** false hides the Video section (and its picker, `GET /video-messages`). Default true. */
@@ -1801,6 +1823,16 @@ declare class SendTextComponent implements OnInit {
1801
1823
  "required": false;
1802
1824
  "isSignal": true;
1803
1825
  };
1826
+ "attachmentsEnabled": {
1827
+ "alias": "attachmentsEnabled";
1828
+ "required": false;
1829
+ "isSignal": true;
1830
+ };
1831
+ "schedulingEnabled": {
1832
+ "alias": "schedulingEnabled";
1833
+ "required": false;
1834
+ "isSignal": true;
1835
+ };
1804
1836
  "showTemplates": {
1805
1837
  "alias": "showTemplates";
1806
1838
  "required": false;
@@ -1975,8 +2007,15 @@ export declare class SendMessagePanelComponent {
1975
2007
  protected readonly inApp: import("@angular/core").Signal<boolean>;
1976
2008
  protected readonly BULK_NO_SEND_MESSAGE = "Sending to several recipients is not set up for this page, so nothing was sent.";
1977
2009
  protected readonly BULK_MERGE_TAG_HINT = "Personal details such as {{first_name}} are filled in for each recipient when sent.";
1978
- /** false hides Attach Files / Attach Image and "Schedule for later" in both forms (a host `sendEmail` / `sendText` that can't deliver them). */
2010
+ /**
2011
+ * false hides Attach Files / Attach Image AND "Schedule for later" in both forms (a host `sendEmail` / `sendText` that can't deliver them).
2012
+ * It is the default for the two switches below, which override it one by one.
2013
+ */
1979
2014
  readonly attachmentsAndScheduling: import("@angular/core").InputSignal<boolean>;
2015
+ /** Attach Files / Attach Image on its own (null = follow `attachmentsAndScheduling`): e.g. a backend that takes files but cannot schedule. */
2016
+ readonly allowAttachments: import("@angular/core").InputSignal<boolean | null>;
2017
+ /** "Schedule for later" on its own (null = follow `attachmentsAndScheduling`). */
2018
+ readonly allowScheduling: import("@angular/core").InputSignal<boolean | null>;
1980
2019
  /** Purposes the app's backend supports for documents (default all three); `['ESIGN']` hides the purpose select. */
1981
2020
  readonly documentPurposes: import("@angular/core").InputSignal<DocumentSendPurpose[]>;
1982
2021
  /** Documents already chosen when the panel opens (e.g. the row "Send Document" was clicked on); the user can change them. */
@@ -2295,6 +2334,16 @@ export declare class SendMessagePanelComponent {
2295
2334
  "required": false;
2296
2335
  "isSignal": true;
2297
2336
  };
2337
+ "allowAttachments": {
2338
+ "alias": "allowAttachments";
2339
+ "required": false;
2340
+ "isSignal": true;
2341
+ };
2342
+ "allowScheduling": {
2343
+ "alias": "allowScheduling";
2344
+ "required": false;
2345
+ "isSignal": true;
2346
+ };
2298
2347
  "documentPurposes": {
2299
2348
  "alias": "documentPurposes";
2300
2349
  "required": false;
@@ -1301,7 +1301,7 @@ export declare class StripeConnectComponent {
1301
1301
  readonly navigateTab: import("@angular/core").InputSignal<((url: string) => void) | null>;
1302
1302
  protected readonly visible: import("@angular/core").Signal<boolean>;
1303
1303
  /** Which screen the card shows. */
1304
- protected readonly state: import("@angular/core").Signal<"complete" | "none" | "verifying" | "incomplete">;
1304
+ protected readonly state: import("@angular/core").Signal<"none" | "complete" | "verifying" | "incomplete">;
1305
1305
  /** What the persistent status region says: the current state, plus "Loading." while a request runs. Empty while nothing is shown. */
1306
1306
  protected readonly liveText: import("@angular/core").Signal<string>;
1307
1307
  /** 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). */