@forgeroute/ui 0.5.1 → 0.5.3
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-messaging.mjs +44 -2
- package/fesm2022/forgeroute-ui-messaging.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-quickbooks.mjs +86 -53
- package/fesm2022/forgeroute-ui-quickbooks.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-square.mjs +29 -9
- package/fesm2022/forgeroute-ui-square.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-stripe.mjs +77 -30
- package/fesm2022/forgeroute-ui-stripe.mjs.map +1 -1
- package/fesm2022/{forgeroute-ui-ui-labels.es-C1Meg25h.mjs → forgeroute-ui-ui-labels.es-DZlDY40a.mjs} +23 -4
- package/fesm2022/forgeroute-ui-ui-labels.es-DZlDY40a.mjs.map +1 -0
- package/fesm2022/forgeroute-ui.mjs +6857 -6047
- package/fesm2022/forgeroute-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/forgeroute-ui-messaging.d.ts +11 -0
- package/types/forgeroute-ui-quickbooks.d.ts +3 -1
- package/types/forgeroute-ui-square.d.ts +1 -1
- package/types/forgeroute-ui-stripe.d.ts +7 -1
- package/types/forgeroute-ui.d.ts +2446 -2160
- package/fesm2022/forgeroute-ui-ui-labels.es-C1Meg25h.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1096,6 +1096,8 @@ declare class SendEmailComponent implements OnInit {
|
|
|
1096
1096
|
readonly bulkSending: import("@angular/core").OutputEmitterRef<MessageContact[] | null>;
|
|
1097
1097
|
readonly emailAdded: import("@angular/core").OutputEmitterRef<string>;
|
|
1098
1098
|
readonly validChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
1099
|
+
/** true while a send is in flight (the panel's Send button shows its spinner and stays disabled). */
|
|
1100
|
+
readonly busyChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
1099
1101
|
/** A document send was refused because the document / envelope changed meanwhile (404 / 409): the host refreshes its list. */
|
|
1100
1102
|
readonly rejected: import("@angular/core").OutputEmitterRef<void>;
|
|
1101
1103
|
/** The "Place your countersignature box" link under the countersign line was clicked (document row `hasCountersignPlacement: false`). */
|
|
@@ -1445,6 +1447,7 @@ declare class SendEmailComponent implements OnInit {
|
|
|
1445
1447
|
"bulkSending": "bulkSending";
|
|
1446
1448
|
"emailAdded": "emailAdded";
|
|
1447
1449
|
"validChange": "validChange";
|
|
1450
|
+
"busyChange": "busyChange";
|
|
1448
1451
|
"rejected": "rejected";
|
|
1449
1452
|
"mapFieldsClick": "mapFieldsClick";
|
|
1450
1453
|
}, never, never, true, never>;
|
|
@@ -1499,6 +1502,8 @@ declare class SendInAppComponent implements OnInit {
|
|
|
1499
1502
|
readonly sendFn: import("@angular/core").InputSignal<((payload: SendInAppPayload) => Observable<unknown>) | null>;
|
|
1500
1503
|
readonly sent: import("@angular/core").OutputEmitterRef<void>;
|
|
1501
1504
|
readonly validChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
1505
|
+
/** true while a send is in flight (the panel's Send button shows its spinner and stays disabled). */
|
|
1506
|
+
readonly busyChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
1502
1507
|
readonly MAX_SUBJECT = 255;
|
|
1503
1508
|
readonly sending: import("@angular/core").WritableSignal<boolean>;
|
|
1504
1509
|
subject: string;
|
|
@@ -1574,6 +1579,7 @@ declare class SendInAppComponent implements OnInit {
|
|
|
1574
1579
|
}, {
|
|
1575
1580
|
"sent": "sent";
|
|
1576
1581
|
"validChange": "validChange";
|
|
1582
|
+
"busyChange": "busyChange";
|
|
1577
1583
|
}, never, never, true, never>;
|
|
1578
1584
|
}
|
|
1579
1585
|
/** What the text form sends — the default `POST <baseUrl>/text-messages` body, or the host's `sendFn` argument. */
|
|
@@ -1684,6 +1690,8 @@ declare class SendTextComponent implements OnInit {
|
|
|
1684
1690
|
readonly bulkSending: import("@angular/core").OutputEmitterRef<MessageContact[] | null>;
|
|
1685
1691
|
readonly phoneAdded: import("@angular/core").OutputEmitterRef<string>;
|
|
1686
1692
|
readonly validChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
1693
|
+
/** true while a send is in flight (the panel's Send button shows its spinner and stays disabled). */
|
|
1694
|
+
readonly busyChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
1687
1695
|
/** A document send was refused because the document / envelope changed meanwhile (404 / 409): the host refreshes its list. */
|
|
1688
1696
|
readonly rejected: import("@angular/core").OutputEmitterRef<void>;
|
|
1689
1697
|
readonly MAX_LENGTH = 320;
|
|
@@ -1935,6 +1943,7 @@ declare class SendTextComponent implements OnInit {
|
|
|
1935
1943
|
"bulkSending": "bulkSending";
|
|
1936
1944
|
"phoneAdded": "phoneAdded";
|
|
1937
1945
|
"validChange": "validChange";
|
|
1946
|
+
"busyChange": "busyChange";
|
|
1938
1947
|
"rejected": "rejected";
|
|
1939
1948
|
}, never, never, true, never>;
|
|
1940
1949
|
}
|
|
@@ -2211,6 +2220,8 @@ export declare class SendMessagePanelComponent {
|
|
|
2211
2220
|
readonly contactNotices: import("@angular/core").Signal<string[]>;
|
|
2212
2221
|
readonly channel: import("@angular/core").WritableSignal<"email" | "text">;
|
|
2213
2222
|
readonly valid: import("@angular/core").WritableSignal<boolean>;
|
|
2223
|
+
/** A send is in flight in the active form: the Send button spins and stays disabled. */
|
|
2224
|
+
readonly busy: import("@angular/core").WritableSignal<boolean>;
|
|
2214
2225
|
/** Bumped on every fresh open / new contact — re-creates the email and text forms so no draft carries over. */
|
|
2215
2226
|
readonly formEpoch: import("@angular/core").WritableSignal<number>;
|
|
2216
2227
|
private _prevOpen;
|
|
@@ -267,7 +267,7 @@ export declare class QboPaymentComponent {
|
|
|
267
267
|
readonly payableRef: import("@angular/core").InputSignal<string | null>;
|
|
268
268
|
/** A key the host supplies for the charge; empty = the component generates one per payment attempt session (see `attemptKeyChange`). */
|
|
269
269
|
readonly attemptKey: import("@angular/core").InputSignal<string | null>;
|
|
270
|
-
/** The host's status check by attempt key: resolves an UNKNOWN outcome (`'succeeded' | 'failed' | 'unknown' | 'in_flight'`). */
|
|
270
|
+
/** The host's status check by attempt key: resolves an UNKNOWN outcome (`'succeeded' | 'failed' | 'unknown' | 'in_flight' | 'awaiting_verification'`). */
|
|
271
271
|
readonly checkStatus: import("@angular/core").InputSignal<CheckPaymentStatusFn | null>;
|
|
272
272
|
/** The payable is paid (host re-render, back navigation): the form shows the paid state and ignores every submit for good. */
|
|
273
273
|
readonly paid: import("@angular/core").InputSignal<boolean>;
|
|
@@ -1187,6 +1187,8 @@ export declare class QboHostedPayComponent {
|
|
|
1187
1187
|
protected readonly labels: UiLabelsService;
|
|
1188
1188
|
/** Which screen to show. `'form'` / `'processing'` show the payment form (`'processing'` locks it while the host charges the token). */
|
|
1189
1189
|
readonly state: import("@angular/core").InputSignal<QboHostedPayState>;
|
|
1190
|
+
/** The payment form is on screen only for `form` and `processing`; any state this screen does not know shows an error, never the form. */
|
|
1191
|
+
protected readonly showForm: import("@angular/core").Signal<boolean>;
|
|
1190
1192
|
readonly companyName: import("@angular/core").InputSignal<string>;
|
|
1191
1193
|
/** The amount as the host formats it (`'$125.00'`): used in the title, the button and the success text. */
|
|
1192
1194
|
readonly amountLabel: import("@angular/core").InputSignal<string>;
|
|
@@ -367,7 +367,7 @@ export declare class SquarePaymentComponent {
|
|
|
367
367
|
readonly payableRef: import("@angular/core").InputSignal<string | null>;
|
|
368
368
|
/** A key the host supplies for the charge; empty = the component generates one per payment attempt session (see `attemptKeyChange`). */
|
|
369
369
|
readonly attemptKey: import("@angular/core").InputSignal<string | null>;
|
|
370
|
-
/** The host's status check by attempt key: resolves an UNKNOWN outcome (`'succeeded' | 'failed' | 'unknown' | 'in_flight'`). */
|
|
370
|
+
/** The host's status check by attempt key: resolves an UNKNOWN outcome (`'succeeded' | 'failed' | 'unknown' | 'in_flight' | 'awaiting_verification'`). */
|
|
371
371
|
readonly checkStatus: import("@angular/core").InputSignal<CheckPaymentStatusFn | null>;
|
|
372
372
|
/** The payable is paid (host re-render, back navigation): the form shows the paid state and ignores every submit for good. */
|
|
373
373
|
readonly paid: import("@angular/core").InputSignal<boolean>;
|
|
@@ -375,6 +375,8 @@ interface StripeA11yMessages {
|
|
|
375
375
|
paymentProcessing: string;
|
|
376
376
|
paymentAuthorized: string;
|
|
377
377
|
verificationNeeded: string;
|
|
378
|
+
/** Setup mode: no payment is involved; the bank account is not saved until the payer verifies the deposits. */
|
|
379
|
+
verificationNeededSetup: string;
|
|
378
380
|
actionRequired: string;
|
|
379
381
|
}
|
|
380
382
|
/** The screen-reader messages of the payment form; read on every access, so they follow the app's active language. */
|
|
@@ -1258,6 +1260,11 @@ export declare class MicrodepositVerifyComponent {
|
|
|
1258
1260
|
private readonly stripeError;
|
|
1259
1261
|
private failedAttempts;
|
|
1260
1262
|
readonly formHidden: import("@angular/core").Signal<boolean>;
|
|
1263
|
+
/**
|
|
1264
|
+
* A PAYMENT waits for this verification (Stripe.js mode with a payment intent): the card says plainly that the payment has NOT started and nothing is charged until the deposits are verified.
|
|
1265
|
+
* A host that words the whole card itself (`stepsText`) owns that sentence too.
|
|
1266
|
+
*/
|
|
1267
|
+
readonly paymentNotStarted: import("@angular/core").Signal<boolean>;
|
|
1261
1268
|
readonly heading: import("@angular/core").Signal<string>;
|
|
1262
1269
|
/** "Chase ····6789"; nothing when neither the bank nor the last 4 digits are known. */
|
|
1263
1270
|
readonly bankLine: import("@angular/core").Signal<string>;
|
|
@@ -1751,7 +1758,6 @@ export declare const STRIPE_METHOD_TEXTS: {
|
|
|
1751
1758
|
readonly notCompleted: string;
|
|
1752
1759
|
readonly achTitle: string;
|
|
1753
1760
|
achMessage: (amount: string) => string;
|
|
1754
|
-
readonly verificationTitle: string;
|
|
1755
1761
|
verificationMessage: (amount: string) => string;
|
|
1756
1762
|
readonly receiptNote: string;
|
|
1757
1763
|
};
|