@forgeroute/ui 0.5.19 → 0.5.20
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-stripe.mjs +25 -2
- package/fesm2022/forgeroute-ui-stripe.mjs.map +1 -1
- package/package.json +2 -6
- package/types/forgeroute-ui-core.d.ts +4 -4
- 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 +1 -1
- package/types/forgeroute-ui-stripe.d.ts +11 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forgeroute/ui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.20",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=22.0.0",
|
|
6
6
|
"@angular/core": ">=22.0.0",
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
"chart.js": ">=4.0.0",
|
|
11
11
|
"leaflet": ">=1.9.0 <2",
|
|
12
12
|
"pdfjs-dist": ">=5.0.0",
|
|
13
|
-
"@stripe/stripe-js": ">=5.0.0"
|
|
14
|
-
"@stripe/connect-js": ">=3.3.0"
|
|
13
|
+
"@stripe/stripe-js": ">=5.0.0"
|
|
15
14
|
},
|
|
16
15
|
"peerDependenciesMeta": {
|
|
17
16
|
"@angular/forms": {
|
|
@@ -28,9 +27,6 @@
|
|
|
28
27
|
},
|
|
29
28
|
"@stripe/stripe-js": {
|
|
30
29
|
"optional": true
|
|
31
|
-
},
|
|
32
|
-
"@stripe/connect-js": {
|
|
33
|
-
"optional": true
|
|
34
30
|
}
|
|
35
31
|
},
|
|
36
32
|
"publishConfig": {
|
|
@@ -2700,7 +2700,7 @@ export declare class ButtonComponent {
|
|
|
2700
2700
|
* `ghost-start`: a ghost button for list / section toggles - a full-width row with its content aligned to the start, transparent
|
|
2701
2701
|
* background, hover tint and the normal focus ring. Pair it with `ariaExpanded` / `ariaPressed`; the label may contain a heading element.
|
|
2702
2702
|
*/
|
|
2703
|
-
readonly variant: import("@angular/core").InputSignal<"
|
|
2703
|
+
readonly variant: import("@angular/core").InputSignal<"warning" | "primary" | "secondary" | "danger" | "link" | "ghost" | "ghost-start" | "tab" | "icon" | "icon-danger">;
|
|
2704
2704
|
/** Renders an anchor to this route instead of a button (use with `variant="link"` for an inline text link). `['/settings']` or `'/settings'`. While `disabled` or `loading` it renders a non-clickable `<span role="link" aria-disabled>` with no href (like `href`). */
|
|
2705
2705
|
readonly routerLink: import("@angular/core").InputSignal<string | readonly unknown[] | null>;
|
|
2706
2706
|
/** Query params of the `routerLink` (e.g. `{ section: 'deal-defaults' }`). */
|
|
@@ -2746,7 +2746,7 @@ export declare class ButtonComponent {
|
|
|
2746
2746
|
readonly color: import("@angular/core").InputSignal<string | undefined>;
|
|
2747
2747
|
readonly active: import("@angular/core").InputSignal<boolean>;
|
|
2748
2748
|
readonly size: import("@angular/core").InputSignal<"sm" | "md" | "lg" | "xs">;
|
|
2749
|
-
readonly type: import("@angular/core").InputSignal<"
|
|
2749
|
+
readonly type: import("@angular/core").InputSignal<"button" | "submit" | "reset">;
|
|
2750
2750
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
2751
2751
|
readonly loading: import("@angular/core").InputSignal<boolean>;
|
|
2752
2752
|
readonly fullWidth: import("@angular/core").InputSignal<boolean>;
|
|
@@ -2895,7 +2895,7 @@ export declare class ModalComponent implements OnInit, OnDestroy {
|
|
|
2895
2895
|
*/
|
|
2896
2896
|
readonly describedBy: import("@angular/core").InputSignal<string | null>;
|
|
2897
2897
|
readonly maxWidth: import("@angular/core").InputSignal<string>;
|
|
2898
|
-
readonly bodyOverflow: import("@angular/core").InputSignal<"auto" | "
|
|
2898
|
+
readonly bodyOverflow: import("@angular/core").InputSignal<"auto" | "hidden" | "visible">;
|
|
2899
2899
|
/** `data-testid` of the dialog element itself (the host `<ui-modal>` is always in the page, the dialog only while open). None when empty. */
|
|
2900
2900
|
readonly dialogTestId: import("@angular/core").InputSignal<string>;
|
|
2901
2901
|
/** Hides the header X button (e.g. while a request is running). Escape and a backdrop click still close unless `closable` is false. */
|
|
@@ -3046,7 +3046,7 @@ export declare class SidePanelComponent implements OnDestroy {
|
|
|
3046
3046
|
readonly cancelLabel: import("@angular/core").Signal<string>;
|
|
3047
3047
|
/** Right-aligned primary action button label. Empty string = hidden. */
|
|
3048
3048
|
readonly primaryLabel: import("@angular/core").InputSignal<string>;
|
|
3049
|
-
readonly primaryVariant: import("@angular/core").InputSignal<"
|
|
3049
|
+
readonly primaryVariant: import("@angular/core").InputSignal<"warning" | "primary" | "danger">;
|
|
3050
3050
|
readonly primaryLoading: import("@angular/core").InputSignal<boolean>;
|
|
3051
3051
|
readonly primaryDisabled: import("@angular/core").InputSignal<boolean>;
|
|
3052
3052
|
/** `data-testid` of the Cancel button; none when empty (default). */
|
|
@@ -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<"" | "text" | "email">;
|
|
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<"text" | "email">;
|
|
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<"error" | "loading" | "ready" | "idle">;
|
|
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<"text" | "email" | 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<"text" | "email">;
|
|
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" | "manual" | "none" | "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[]>;
|
|
@@ -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<"connected" | "none" | "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. */
|