@forgeroute/ui 0.5.7 → 0.5.9
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/fesm2022/forgeroute-ui.mjs +6 -3
- package/fesm2022/forgeroute-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/forgeroute-ui-messaging.d.ts +5 -5
- package/types/forgeroute-ui-quickbooks.d.ts +2 -2
- package/types/forgeroute-ui-square.d.ts +3 -3
- package/types/forgeroute-ui-stripe.d.ts +1 -1
- package/types/forgeroute-ui.d.ts +6 -2
package/package.json
CHANGED
|
@@ -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<"" | "
|
|
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<"
|
|
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<"
|
|
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. */
|
|
@@ -2015,7 +2015,7 @@ export declare class SendMessagePanelComponent {
|
|
|
2015
2015
|
* somebody can receive that channel; otherwise the usual default applies (email if anybody has an email, else text). null (default) = the usual default.
|
|
2016
2016
|
* `textEnabled` must already be known when the panel opens for `'text'` to take effect (bind `[recipients]` after async settings loaded, or re-open).
|
|
2017
2017
|
*/
|
|
2018
|
-
readonly initialChannel: import("@angular/core").InputSignal<"
|
|
2018
|
+
readonly initialChannel: import("@angular/core").InputSignal<"text" | "email" | null>;
|
|
2019
2019
|
/** Bulk mode: the plural noun in "To: 12 residents" (default `recipients`, localized). */
|
|
2020
2020
|
readonly recipientNoun: import("@angular/core").InputSignal<string>;
|
|
2021
2021
|
/** Bulk mode: the singular noun used when exactly one is selected; empty = the plural without a trailing "s". */
|
|
@@ -2246,7 +2246,7 @@ export declare class SendMessagePanelComponent {
|
|
|
2246
2246
|
readonly activeContact: import("@angular/core").WritableSignal<MessageContact | null>;
|
|
2247
2247
|
/** What the sender should know about the picked contact before sending (why a channel is missing, what to add). */
|
|
2248
2248
|
readonly contactNotices: import("@angular/core").Signal<string[]>;
|
|
2249
|
-
readonly channel: import("@angular/core").WritableSignal<"
|
|
2249
|
+
readonly channel: import("@angular/core").WritableSignal<"text" | "email">;
|
|
2250
2250
|
readonly valid: import("@angular/core").WritableSignal<boolean>;
|
|
2251
2251
|
/** A send is in flight in the active form: the Send button spins and stays disabled. */
|
|
2252
2252
|
readonly busy: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -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<
|
|
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<"
|
|
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<"
|
|
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<"
|
|
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<"
|
|
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<"
|
|
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). */
|
package/types/forgeroute-ui.d.ts
CHANGED
|
@@ -21471,8 +21471,12 @@ export interface UiLanguageConfig {
|
|
|
21471
21471
|
}
|
|
21472
21472
|
/** Holds the configuration given to `provideUiLanguage()`. */
|
|
21473
21473
|
export declare const UI_LANGUAGE_CONFIG: InjectionToken<UiLanguageConfig>;
|
|
21474
|
-
/**
|
|
21475
|
-
|
|
21474
|
+
/**
|
|
21475
|
+
* 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.
|
|
21476
|
+
* 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
|
|
21477
|
+
* throws a SecurityError (the page then fails to start on a third-party site).
|
|
21478
|
+
*/
|
|
21479
|
+
export declare const EMBEDDING_PARENT: InjectionToken<() => Window | null>;
|
|
21476
21480
|
/**
|
|
21477
21481
|
* 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
21482
|
* dictionary for 'es' (also 'ES', 'es-MX', 'es_CO'), `null` for any other code (no built-in dictionary).
|