@forgeroute/ui 0.5.21 → 0.5.22
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-core-ui-labels.es-ChTmqFlw.mjs → forgeroute-ui-core-ui-labels.es-Bado7tzi.mjs} +44 -1
- package/fesm2022/{forgeroute-ui-core-ui-labels.es-ChTmqFlw.mjs.map → forgeroute-ui-core-ui-labels.es-Bado7tzi.mjs.map} +1 -1
- package/fesm2022/forgeroute-ui-core.mjs +44 -1
- package/fesm2022/forgeroute-ui-core.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-square.mjs +5497 -1188
- package/fesm2022/forgeroute-ui-square.mjs.map +1 -1
- package/package.json +1 -1
- package/types/forgeroute-ui-core.d.ts +43 -0
- package/types/forgeroute-ui-messaging.d.ts +5 -5
- package/types/forgeroute-ui-payments.d.ts +1 -1
- package/types/forgeroute-ui-quickbooks.d.ts +2 -2
- package/types/forgeroute-ui-square.d.ts +1304 -3
- package/types/forgeroute-ui-stripe.d.ts +4 -4
package/package.json
CHANGED
|
@@ -2616,6 +2616,49 @@ export declare const UI_DEFAULT_LABELS: {
|
|
|
2616
2616
|
readonly 'stripeReader.cancelBusy.timeout': "The payment could not be canceled in time. It may still be open: check the card reader again before taking another payment.";
|
|
2617
2617
|
readonly 'stripeReader.fees.unavailable': "The card reader fees are not available, so nothing can be sent to the reader. Try again in a moment.";
|
|
2618
2618
|
readonly 'stripeReaders.failed.timeout': "The card reader service did not answer in time. The list was checked again: look at it before trying once more.";
|
|
2619
|
+
readonly 'squareTerminal.banner.getReader': "Get a Square Terminal to take in-person card payments.";
|
|
2620
|
+
readonly 'squareTerminal.banner.setupFirst': "Set up payments to take card payments, including in person with a Square Terminal.";
|
|
2621
|
+
readonly 'squareTerminal.status.connect': "Connect a Terminal";
|
|
2622
|
+
readonly 'squareTerminal.status.get': "Get a Square Terminal";
|
|
2623
|
+
readonly 'squareTerminal.status.getInfo': "How to get one";
|
|
2624
|
+
readonly 'squareTerminal.status.no_reader.title': "No Square Terminal set up";
|
|
2625
|
+
readonly 'squareTerminal.status.no_reader.text': "Your company can take in-person card payments with a Square Terminal. Connect a Terminal you already have, or get one.";
|
|
2626
|
+
readonly 'squareTerminal.status.unsupported_only.title': "No supported Square Terminal";
|
|
2627
|
+
readonly 'squareTerminal.status.unsupported_only.text': "The devices on this account cannot take payments here. Only the Square Terminal is supported. Connect a Terminal, or get one.";
|
|
2628
|
+
readonly 'squareTerminal.status.reader_offline.title': "Square Terminal not connected";
|
|
2629
|
+
readonly 'squareTerminal.status.reader_offline.text': "The Terminal is turned off or has no connection. Check its power and network, then check again.";
|
|
2630
|
+
readonly 'squareTerminal.theReader': "the Terminal";
|
|
2631
|
+
readonly 'squareTerminal.readerLine': "Square Terminal: {{ reader }}";
|
|
2632
|
+
readonly 'squareTerminal.start': "Send {{ amount }} to the Terminal";
|
|
2633
|
+
readonly 'squareTerminal.startNoAmount': "Send to the Terminal";
|
|
2634
|
+
readonly 'squareTerminal.starting': "Sending to the Terminal";
|
|
2635
|
+
readonly 'squareTerminal.startingText': "Sending the payment to the Terminal. Do not start another payment.";
|
|
2636
|
+
readonly 'squareTerminal.wait.waiting.text': "Ask the customer to tap, insert or swipe their card on {{ reader }}.";
|
|
2637
|
+
readonly 'squareTerminal.cancel': "Cancel on the Terminal";
|
|
2638
|
+
readonly 'squareTerminal.readerDisconnected': "The Terminal is offline - waiting for it to reconnect or cancel.";
|
|
2639
|
+
readonly 'squareTerminal.canceled.text': "The payment was canceled on the Terminal. Nothing was charged.";
|
|
2640
|
+
readonly 'squareTerminal.pairing.title': "Connect a Square Terminal";
|
|
2641
|
+
readonly 'squareTerminal.pairing.intro': "Name the Terminal, get a pairing code and enter it on the Terminal. A Square Terminal can only be renamed or removed in your Square dashboard.";
|
|
2642
|
+
readonly 'squareTerminal.pairing.name.label': "Terminal name";
|
|
2643
|
+
readonly 'squareTerminal.pairing.name.hint': "For example, Front counter";
|
|
2644
|
+
readonly 'squareTerminal.pairing.start': "Get a pairing code";
|
|
2645
|
+
readonly 'squareTerminal.pairing.starting': "Getting a code...";
|
|
2646
|
+
readonly 'squareTerminal.pairing.code.label': "Pairing code";
|
|
2647
|
+
readonly 'squareTerminal.pairing.steps': "On the Terminal choose Sign in > Use a device code and enter {{ code }}.";
|
|
2648
|
+
readonly 'squareTerminal.pairing.waiting': "Waiting for the Terminal to connect. Time left: {{ time }}.";
|
|
2649
|
+
readonly 'squareTerminal.pairing.paired': "Terminal {{ name }} connected.";
|
|
2650
|
+
readonly 'squareTerminal.pairing.timeout.title': "The code was not used in time";
|
|
2651
|
+
readonly 'squareTerminal.pairing.timeout.text': "The pairing code expired before the Terminal connected. Nothing was changed. Get a new code and enter it on the Terminal.";
|
|
2652
|
+
readonly 'squareTerminal.pairing.newCode': "Get a new code";
|
|
2653
|
+
readonly 'squareTerminal.pairing.failed': "The pairing code could not be created. Nothing was changed. Try again.";
|
|
2654
|
+
readonly 'squareTerminal.pairing.live': "Pairing code {{ code }}. On the Terminal choose Sign in, then Use a device code, and enter the code.";
|
|
2655
|
+
readonly 'squareTerminal.cancelUnreachable': "The payment could not be canceled because the Terminal or Square could not be reached. The payment is still open. Try canceling again.";
|
|
2656
|
+
readonly 'squareTerminal.refusal.reader_unreachable': "The Terminal or Square could not be reached. The payment was not changed: check it again in a moment.";
|
|
2657
|
+
readonly 'squareTerminal.status.reader_pairing.title': "Square Terminal waiting for its code";
|
|
2658
|
+
readonly 'squareTerminal.status.reader_pairing.text': "The Terminal has not been paired yet. Enter its pairing code on the Terminal, then check again, or connect the Terminal again to get a new code.";
|
|
2659
|
+
readonly 'squareTerminal.cancelPending': "The Terminal is being stopped. The customer may still pay until it confirms, so the payment is still open. Check again in a moment, or press cancel again. Do not start another payment.";
|
|
2660
|
+
readonly 'squareTerminal.refusal.reader_not_paired': "This Terminal is not paired yet. On the Terminal choose Sign in > Use a device code and enter {{ code }}, or connect the Terminal again to get a new code. Nothing was charged.";
|
|
2661
|
+
readonly 'squareTerminal.refusal.reader_not_paired_nocode': "This Terminal is not paired yet. Connect the Terminal again to get a pairing code and enter it on the Terminal. Nothing was charged.";
|
|
2619
2662
|
readonly 'paymentAttempt.stillUnknown': "We could not confirm your payment yet. Please check again in a moment and do not pay again.";
|
|
2620
2663
|
readonly 'paymentSetup.stillUnknown': "We could not confirm yet that your payment method was saved. Please check again in a moment and do not save it again.";
|
|
2621
2664
|
readonly 'paymentSetup.outcomeUnknown': "We are still confirming the result of an earlier attempt to save a payment method. Please wait and do not save it again.";
|
|
@@ -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<"" | "
|
|
125
|
+
readonly channel: import("@angular/core").InputSignal<"" | "email" | "text">;
|
|
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<"
|
|
556
|
+
readonly channel: import("@angular/core").InputSignal<"email" | "text">;
|
|
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. */
|
|
@@ -629,7 +629,7 @@ export declare class DocumentSendOptionsComponent implements UiFieldValidity {
|
|
|
629
629
|
/** Roles of documents whose row had no `signerRoles` and that the host resolves (`signers().resolveRoles`). */
|
|
630
630
|
readonly roleStates: import("@angular/core").WritableSignal<Record<string, RoleState>>;
|
|
631
631
|
/** The envelope's documents: `loading` / `error` while the panel reads them (`loadDocuments`), `ready` once known. */
|
|
632
|
-
readonly envelopeStatus: import("@angular/core").WritableSignal<"
|
|
632
|
+
readonly envelopeStatus: import("@angular/core").WritableSignal<"idle" | "loading" | "ready" | "error">;
|
|
633
633
|
private envelopeSub;
|
|
634
634
|
private readonly roleSubs;
|
|
635
635
|
/** The sender opened the collapsed "Signing options" line. */
|
|
@@ -2020,7 +2020,7 @@ export declare class SendMessagePanelComponent {
|
|
|
2020
2020
|
* somebody can receive that channel; otherwise the usual default applies (email if anybody has an email, else text). null (default) = the usual default.
|
|
2021
2021
|
* `textEnabled` must already be known when the panel opens for `'text'` to take effect (bind `[recipients]` after async settings loaded, or re-open).
|
|
2022
2022
|
*/
|
|
2023
|
-
readonly initialChannel: import("@angular/core").InputSignal<"
|
|
2023
|
+
readonly initialChannel: import("@angular/core").InputSignal<"email" | "text" | null>;
|
|
2024
2024
|
/** Bulk mode: the plural noun in "To: 12 residents" (default `recipients`, localized). */
|
|
2025
2025
|
readonly recipientNoun: import("@angular/core").InputSignal<string>;
|
|
2026
2026
|
/** Bulk mode: the singular noun used when exactly one is selected; empty = the plural without a trailing "s". */
|
|
@@ -2256,7 +2256,7 @@ export declare class SendMessagePanelComponent {
|
|
|
2256
2256
|
readonly activeContact: import("@angular/core").WritableSignal<MessageContact | null>;
|
|
2257
2257
|
/** What the sender should know about the picked contact before sending (why a channel is missing, what to add). */
|
|
2258
2258
|
readonly contactNotices: import("@angular/core").Signal<string[]>;
|
|
2259
|
-
readonly channel: import("@angular/core").WritableSignal<"
|
|
2259
|
+
readonly channel: import("@angular/core").WritableSignal<"email" | "text">;
|
|
2260
2260
|
readonly valid: import("@angular/core").WritableSignal<boolean>;
|
|
2261
2261
|
/** A send is in flight in the active form: the Send button spins and stays disabled. */
|
|
2262
2262
|
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" | "
|
|
754
|
+
protected readonly kind: import("@angular/core").Signal<"terminal" | "none" | "manual" | "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<
|
|
358
|
+
protected readonly postalMaxLength: import("@angular/core").Signal<7 | 10>;
|
|
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<"
|
|
795
|
+
protected readonly state: import("@angular/core").Signal<"none" | "connected" | "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. */
|