@forgeroute/ui 0.5.11 → 0.5.13
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-map.mjs +1 -0
- package/fesm2022/forgeroute-ui-map.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-messaging.mjs +5 -0
- package/fesm2022/forgeroute-ui-messaging.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-offline.mjs +20 -0
- package/fesm2022/forgeroute-ui-offline.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-pdf.mjs +1 -0
- package/fesm2022/forgeroute-ui-pdf.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-quickbooks.mjs +55 -24
- package/fesm2022/forgeroute-ui-quickbooks.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-square.mjs +167 -9
- package/fesm2022/forgeroute-ui-square.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-stripe.mjs +336 -41
- package/fesm2022/forgeroute-ui-stripe.mjs.map +1 -1
- package/fesm2022/{forgeroute-ui-ui-labels.es-D52WPAMv.mjs → forgeroute-ui-ui-labels.es-Dzj_XJJM.mjs} +19 -12
- package/fesm2022/forgeroute-ui-ui-labels.es-Dzj_XJJM.mjs.map +1 -0
- package/fesm2022/forgeroute-ui.mjs +197 -41
- package/fesm2022/forgeroute-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/forgeroute-ui-offline.d.ts +4 -0
- package/types/forgeroute-ui-quickbooks.d.ts +15 -0
- package/types/forgeroute-ui-square.d.ts +73 -1
- package/types/forgeroute-ui-stripe.d.ts +123 -5
- package/types/forgeroute-ui.d.ts +64 -11
- package/fesm2022/forgeroute-ui-ui-labels.es-D52WPAMv.mjs.map +0 -1
package/types/forgeroute-ui.d.ts
CHANGED
|
@@ -662,6 +662,8 @@ export declare const UI_DEFAULT_LABELS: {
|
|
|
662
662
|
readonly 'offline.dismiss': "Dismiss offline notification";
|
|
663
663
|
readonly 'search.placeholder': "Search...";
|
|
664
664
|
readonly 'search.searching': "Searching";
|
|
665
|
+
readonly 'search.open': "Open search";
|
|
666
|
+
readonly 'search.close': "Close search";
|
|
665
667
|
readonly 'toolbar.moreActions': "More actions";
|
|
666
668
|
readonly 'toolbar.moreActionsButton': "More Actions";
|
|
667
669
|
readonly 'toolbar.saveCurrentView': "Save Current View";
|
|
@@ -986,10 +988,10 @@ export declare const UI_DEFAULT_LABELS: {
|
|
|
986
988
|
readonly 'sidePanel.dismissPanel': "Dismiss panel";
|
|
987
989
|
readonly 'snackbar.dismissNotification': "Dismiss notification";
|
|
988
990
|
readonly 'snackbar.notifications': "Notifications";
|
|
989
|
-
readonly 'stripeMicrodepositVerify.6LettersOrNumbersFrom': "6 letters or numbers from the deposit description";
|
|
991
|
+
readonly 'stripeMicrodepositVerify.6LettersOrNumbersFrom': "6 letters or numbers (SM plus 4) from the deposit description";
|
|
990
992
|
readonly 'stripeMicrodepositVerify.firstDepositCents': "First deposit (cents)";
|
|
991
993
|
readonly 'stripeMicrodepositVerify.keepWaiting': "Keep waiting";
|
|
992
|
-
readonly 'stripeMicrodepositVerify.openStripeSVerificationPage': "Open
|
|
994
|
+
readonly 'stripeMicrodepositVerify.openStripeSVerificationPage': "Open the bank verification page";
|
|
993
995
|
readonly 'stripeMicrodepositVerify.pending': "Pending";
|
|
994
996
|
readonly 'stripeMicrodepositVerify.secondDepositCents': "Second deposit (cents)";
|
|
995
997
|
readonly 'stripeMicrodepositVerify.verificationCode': "Verification code";
|
|
@@ -1711,16 +1713,18 @@ export declare const UI_DEFAULT_LABELS: {
|
|
|
1711
1713
|
readonly 'stripePayment.a11y.verificationNeeded': "Bank verification required. Verify the small deposits from your bank first: until you do, no payment starts and nothing is charged.";
|
|
1712
1714
|
readonly 'stripePayment.a11y.verificationNeededSetup': "Bank verification required. Verify the small deposits from your bank first: until you do, the bank account is not saved.";
|
|
1713
1715
|
readonly 'stripePayment.achNotice': "Signing in to your bank account lets you pay right away. Entering your routing and account numbers instead requires verification with two small deposits, which typically take a couple of days to arrive in your account.";
|
|
1716
|
+
readonly 'stripePayment.achNoticeInstant': "Sign in to your bank account to link it and pay right away. Bank accounts that cannot sign in online are not supported here: please use a card or a bank that supports bank login.";
|
|
1714
1717
|
readonly 'stripePayment.msg.authFailed': "Payment authentication failed";
|
|
1715
1718
|
readonly 'stripePayment.msg.authFailedTryOther': "Payment authentication failed. Please try a different payment method.";
|
|
1716
1719
|
readonly 'stripePayment.msg.authNotCompleted': "Payment authentication was not completed";
|
|
1717
1720
|
readonly 'stripePayment.msg.cardsUnavailable': "Card payments are not available right now.";
|
|
1718
1721
|
readonly 'stripePayment.msg.feesFailed': "Could not calculate the fees. Please try again.";
|
|
1719
1722
|
readonly 'stripePayment.msg.initFailed': "Failed to initialize payment. Please try again.";
|
|
1723
|
+
readonly 'stripePayment.msg.instantOnlyUnavailable': "This bank account cannot be linked by signing in online. Please use a card or a bank that supports bank login.";
|
|
1720
1724
|
readonly 'stripePayment.msg.intentFailed': "Failed to create payment intent";
|
|
1721
|
-
readonly 'stripePayment.msg.keyMissing': "
|
|
1722
|
-
readonly 'stripePayment.msg.loadFailed': "Failed to load
|
|
1723
|
-
readonly 'stripePayment.msg.noPaymentMethod': "No payment method returned
|
|
1725
|
+
readonly 'stripePayment.msg.keyMissing': "The payment form is not set up yet";
|
|
1726
|
+
readonly 'stripePayment.msg.loadFailed': "Failed to load the payment service";
|
|
1727
|
+
readonly 'stripePayment.msg.noPaymentMethod': "No payment method was returned";
|
|
1724
1728
|
readonly 'stripePayment.msg.notCompleted': "Payment was not completed";
|
|
1725
1729
|
readonly 'stripePayment.msg.notInitialized': "Payment system not initialized";
|
|
1726
1730
|
readonly 'stripePayment.msg.requiresPaymentMethod': "Payment failed. Please try a different payment method.";
|
|
@@ -1765,6 +1769,9 @@ export declare const UI_DEFAULT_LABELS: {
|
|
|
1765
1769
|
readonly 'pdfDocumentSignModal.title': "Sign Document";
|
|
1766
1770
|
readonly 'stripeMicrodepositVerify.attemptsRemaining_one': "{{ message }} ({{ count }} attempt remaining)";
|
|
1767
1771
|
readonly 'stripeMicrodepositVerify.attemptsRemaining_other': "{{ message }} ({{ count }} attempts remaining)";
|
|
1772
|
+
readonly 'stripeMicrodepositVerify.attemptsLeft_one': "{{ count }} attempt remaining";
|
|
1773
|
+
readonly 'stripeMicrodepositVerify.attemptsLeft_other': "{{ count }} attempts remaining";
|
|
1774
|
+
readonly 'stripeMicrodepositVerify.amountsHint': "Each deposit is between 1 and 99 cents, for example 32 and 45.";
|
|
1768
1775
|
readonly 'stripeMicrodepositVerify.bankFallback': "Bank account";
|
|
1769
1776
|
readonly 'stripeMicrodepositVerify.byDate': " (by {{ date }})";
|
|
1770
1777
|
readonly 'stripeMicrodepositVerify.cancelBase': "Cancel the verification of this bank account? It will not be saved as a payment method and you can add it again later.";
|
|
@@ -1779,8 +1786,8 @@ export declare const UI_DEFAULT_LABELS: {
|
|
|
1779
1786
|
readonly 'stripeMicrodepositVerify.code6': "The code has 6 letters or numbers.";
|
|
1780
1787
|
readonly 'stripeMicrodepositVerify.codeRequired': "Enter the 6-character code.";
|
|
1781
1788
|
readonly 'stripeMicrodepositVerify.codeSm': "Descriptor code must start with \"SM\" followed by 4 characters (e.g., SMXXXX)";
|
|
1782
|
-
readonly 'stripeMicrodepositVerify.depositsAmounts': "
|
|
1783
|
-
readonly 'stripeMicrodepositVerify.depositsDescriptor': "
|
|
1789
|
+
readonly 'stripeMicrodepositVerify.depositsAmounts': "Two small deposits were sent to {{ holder }}; they appear in 1-2 business days{{ clause }}, with the description SMXXXX. ";
|
|
1790
|
+
readonly 'stripeMicrodepositVerify.depositsDescriptor': "One small deposit was sent to {{ holder }}{{ clause }}, with a description that is a 6-character code that starts with SM (SM plus 4 more). ";
|
|
1784
1791
|
readonly 'stripeMicrodepositVerify.enterAmountsOwn': "When they arrive, enter the two amounts below to finish. ";
|
|
1785
1792
|
readonly 'stripeMicrodepositVerify.enterAmountsPartner': "Ask {{ partner }} for the two deposit amounts and enter them below to finish. ";
|
|
1786
1793
|
readonly 'stripeMicrodepositVerify.enterCodeOwn': "When it arrives, enter that code below to finish. ";
|
|
@@ -2515,8 +2522,8 @@ export declare const UI_DEFAULT_LABELS: {
|
|
|
2515
2522
|
readonly 'squarePayment.achConsent': "By checking this box, I authorize the above business to initiate a one-time ACH debit entry to my bank account for the total shown (the payment amount plus any fees). I understand I may revoke this authorization at any time by contacting the business.";
|
|
2516
2523
|
readonly 'squarePayment.achConsentSetup': "By checking this box, I authorize the above business to initiate ACH debit entries to my bank account for agreed-upon payments. I understand I may revoke this authorization at any time by contacting the business.";
|
|
2517
2524
|
readonly 'squarePayment.consentRequired': "Accept the bank authorization to continue.";
|
|
2518
|
-
readonly 'squarePayment.msg.loadFailed': "Failed to load
|
|
2519
|
-
readonly 'squarePayment.msg.configMissing': "
|
|
2525
|
+
readonly 'squarePayment.msg.loadFailed': "Failed to load the payment service";
|
|
2526
|
+
readonly 'squarePayment.msg.configMissing': "Payments are not set up for this business yet.";
|
|
2520
2527
|
readonly 'squarePayment.msg.notReady': "The payment form is not ready yet.";
|
|
2521
2528
|
readonly 'squarePayment.msg.cardFormFailed': "Could not show the card form. Please refresh the page.";
|
|
2522
2529
|
readonly 'squarePayment.msg.achInitFailed': "Could not start the bank account form. Please try again.";
|
|
@@ -2662,7 +2669,7 @@ export declare const UI_DEFAULT_LABELS: {
|
|
|
2662
2669
|
readonly 'qboPayment.submit.payBank': "Pay with bank account";
|
|
2663
2670
|
readonly 'qboPayment.submit.saveCard': "Save card";
|
|
2664
2671
|
readonly 'qboPayment.submit.saveBank': "Save bank account";
|
|
2665
|
-
readonly 'qboPayment.secureNote': "Your details are sent securely to
|
|
2672
|
+
readonly 'qboPayment.secureNote': "Your details are sent securely to the payment processor and are not stored on this page.";
|
|
2666
2673
|
readonly 'qboPayment.card.number': "Card number";
|
|
2667
2674
|
readonly 'qboPayment.card.name': "Name on card";
|
|
2668
2675
|
readonly 'qboPayment.card.nameOptional': "Name on card (optional)";
|
|
@@ -2795,7 +2802,7 @@ export declare const UI_DEFAULT_LABELS: {
|
|
|
2795
2802
|
readonly 'qboHostedPay.submitted': "Thank you. Your bank payment of {{ amount }} was submitted. Bank transfers (ACH) usually take 3–5 business days to complete.";
|
|
2796
2803
|
readonly 'qboHostedPay.errorTitle': "Something went wrong";
|
|
2797
2804
|
readonly 'qboHostedPay.unavailable': "This payment link cannot be paid right now. Please contact the business.";
|
|
2798
|
-
readonly 'qboHostedPay.footer': "Payments are processed securely
|
|
2805
|
+
readonly 'qboHostedPay.footer': "Payments are processed securely.";
|
|
2799
2806
|
readonly 'stripePayment.msg.tokenFailed': "The card details could not be checked. Please try again.";
|
|
2800
2807
|
};
|
|
2801
2808
|
export type UiLabelKey = keyof typeof UI_DEFAULT_LABELS;
|
|
@@ -2860,6 +2867,14 @@ export declare class SearchInputComponent<T> {
|
|
|
2860
2867
|
readonly endpoint: import("@angular/core").InputSignal<string>;
|
|
2861
2868
|
/** Shows a small spinner at the right edge (and `aria-busy`) while a search is being fetched. */
|
|
2862
2869
|
readonly loading: import("@angular/core").InputSignal<boolean>;
|
|
2870
|
+
/**
|
|
2871
|
+
* Built-in narrow-screen mode (default `null` = off, nothing changes). A viewport width in px (e.g. `360`): at or below it the search collapses into a 44px icon button (`aria-expanded`, `aria-controls`, named
|
|
2872
|
+
* "Open search" / "Close search") and the box opens as a full-width bar fixed under the header (`--ui-search-bar-top`, default `64px`, set it on any ancestor). Escape closes the bar and returns focus to the button; opening
|
|
2873
|
+
* puts the focus in the box. The typed text is kept while closed. Wider than `collapseAt` the normal box shows.
|
|
2874
|
+
*/
|
|
2875
|
+
readonly collapseAt: import("@angular/core").InputSignal<number | null>;
|
|
2876
|
+
/** Whether the collapsed bar is open (two-way). Only meaningful while collapsed; it resets to closed when the viewport grows past `collapseAt`. */
|
|
2877
|
+
readonly expanded: import("@angular/core").ModelSignal<boolean>;
|
|
2863
2878
|
/** Always emits the debounced search value regardless of endpoint. */
|
|
2864
2879
|
readonly searchChange: import("@angular/core").OutputEmitterRef<string>;
|
|
2865
2880
|
/** Emits backend results when `endpoint` is provided. */
|
|
@@ -2868,7 +2883,19 @@ export declare class SearchInputComponent<T> {
|
|
|
2868
2883
|
private readonly http;
|
|
2869
2884
|
private readonly destroyRef;
|
|
2870
2885
|
private readonly query;
|
|
2886
|
+
private readonly injector;
|
|
2887
|
+
private readonly hostEl;
|
|
2888
|
+
private readonly win;
|
|
2889
|
+
private static nextId;
|
|
2890
|
+
protected readonly barId: string;
|
|
2891
|
+
private readonly narrow;
|
|
2892
|
+
/** The viewport is at or below `collapseAt`: the search is a button. */
|
|
2893
|
+
protected readonly collapsed: import("@angular/core").Signal<boolean>;
|
|
2871
2894
|
constructor();
|
|
2895
|
+
/** The collapsed button: opens / closes the bar (opening focuses the box). */
|
|
2896
|
+
protected toggle(): void;
|
|
2897
|
+
/** Escape closes an open collapsed bar and returns the focus to the button; otherwise the key passes on untouched. */
|
|
2898
|
+
protected onEscape(): void;
|
|
2872
2899
|
onInput(val: string): void;
|
|
2873
2900
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchInputComponent<any>, never>;
|
|
2874
2901
|
static ɵcmp: i0.ɵɵComponentDeclaration<SearchInputComponent<any>, "ui-search-input", never, {
|
|
@@ -2902,8 +2929,19 @@ export declare class SearchInputComponent<T> {
|
|
|
2902
2929
|
"required": false;
|
|
2903
2930
|
"isSignal": true;
|
|
2904
2931
|
};
|
|
2932
|
+
"collapseAt": {
|
|
2933
|
+
"alias": "collapseAt";
|
|
2934
|
+
"required": false;
|
|
2935
|
+
"isSignal": true;
|
|
2936
|
+
};
|
|
2937
|
+
"expanded": {
|
|
2938
|
+
"alias": "expanded";
|
|
2939
|
+
"required": false;
|
|
2940
|
+
"isSignal": true;
|
|
2941
|
+
};
|
|
2905
2942
|
}, {
|
|
2906
2943
|
"value": "valueChange";
|
|
2944
|
+
"expanded": "expandedChange";
|
|
2907
2945
|
"searchChange": "searchChange";
|
|
2908
2946
|
"filteredData": "filteredData";
|
|
2909
2947
|
}, never, never, true, never>;
|
|
@@ -8401,6 +8439,10 @@ export declare class PillTabsComponent {
|
|
|
8401
8439
|
* element in the page, otherwise `aria-controls` would point at a missing id. The tab ids themselves are unchanged
|
|
8402
8440
|
* and always `<name>-<key>` (see `pillTabId`).
|
|
8403
8441
|
*
|
|
8442
|
+
* (library source 2026-11-19) Not needed any more for a host that uses `uiTabPanel`: while this is off, a tab still gets `aria-controls` automatically
|
|
8443
|
+
* as soon as a panel with the id `<name>-panel-<key>` exists in the same document / shadow root (checked after every render), so the attribute never
|
|
8444
|
+
* points at a missing id. Turn it on only to force `aria-controls` on every tab (e.g. panels that are rendered later with `@if`).
|
|
8445
|
+
*
|
|
8404
8446
|
* Id collision: a tab whose KEY is `panel-x` has the id `<name>-panel-x`, which is also the panel id for key `x`. Avoid keys that start with
|
|
8405
8447
|
* `panel-` when this is on; in development mode a `console.warn` names such a key.
|
|
8406
8448
|
*/
|
|
@@ -8414,6 +8456,8 @@ export declare class PillTabsComponent {
|
|
|
8414
8456
|
/** Heading level of the active tab's title when `showDescription` is on: 2 (default) or 3. */
|
|
8415
8457
|
readonly headingLevel: import("@angular/core").InputSignal<2 | 3>;
|
|
8416
8458
|
readonly tabChange: import("@angular/core").OutputEmitterRef<string>;
|
|
8459
|
+
/** Panel ids (`<name>-panel-<key>`) found in the page after the last render; they get `aria-controls` even when `controlsPanels` is off. */
|
|
8460
|
+
private readonly foundPanels;
|
|
8417
8461
|
protected readonly activeTab: import("@angular/core").Signal<PillTab | null>;
|
|
8418
8462
|
protected titleId(): string;
|
|
8419
8463
|
protected descriptionId(): string;
|
|
@@ -8425,6 +8469,8 @@ export declare class PillTabsComponent {
|
|
|
8425
8469
|
protected tabId(key: string): string;
|
|
8426
8470
|
/** Id of the panel [key] controls (`<name>-panel-<key>`, the exported `pillTabPanelId`). */
|
|
8427
8471
|
protected panelId(key: string): string;
|
|
8472
|
+
/** `aria-controls` value of a tab: its panel id when `controlsPanels` is on or that panel exists in the page, otherwise none. */
|
|
8473
|
+
protected controlsFor(key: string): string | null;
|
|
8428
8474
|
protected updateOverflow(): void;
|
|
8429
8475
|
select(key: string): void;
|
|
8430
8476
|
/** Roving tabindex — the selected tab (or the first enabled one when none is selected) is tabbable. */
|
|
@@ -9326,6 +9372,8 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
|
|
|
9326
9372
|
readonly hint: import("@angular/core").InputSignal<string>;
|
|
9327
9373
|
/** Id(s) of an external element that also describes this control (e.g. one shared error text for a group of fields). Space separated; MERGED after the control's own hint / error id in `aria-describedby`, never replacing it. Empty = unchanged. */
|
|
9328
9374
|
readonly ariaDescribedBy: import("@angular/core").InputSignal<string>;
|
|
9375
|
+
/** Marks the control `aria-invalid` although no message is shown in the field itself (the host shows its error elsewhere, e.g. one alert for a group of fields; point `ariaDescribedBy` at it). Default false = unchanged. */
|
|
9376
|
+
readonly ariaInvalid: import("@angular/core").InputSignal<boolean>;
|
|
9329
9377
|
readonly error: import("@angular/core").InputSignal<string>;
|
|
9330
9378
|
/** When true, automatically formats the value as a US phone number as the user types. */
|
|
9331
9379
|
readonly phoneFormat: import("@angular/core").InputSignal<boolean>;
|
|
@@ -9560,6 +9608,11 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
|
|
|
9560
9608
|
"required": false;
|
|
9561
9609
|
"isSignal": true;
|
|
9562
9610
|
};
|
|
9611
|
+
"ariaInvalid": {
|
|
9612
|
+
"alias": "ariaInvalid";
|
|
9613
|
+
"required": false;
|
|
9614
|
+
"isSignal": true;
|
|
9615
|
+
};
|
|
9563
9616
|
"error": {
|
|
9564
9617
|
"alias": "error";
|
|
9565
9618
|
"required": false;
|