@forgeroute/ui 0.5.5 → 0.5.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forgeroute/ui",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=22.0.0",
6
6
  "@angular/core": ">=22.0.0",
@@ -1143,6 +1143,12 @@ declare class SendEmailComponent implements OnInit {
1143
1143
  mergeWarnings: string[];
1144
1144
  readonly savingEmail: import("@angular/core").WritableSignal<boolean>;
1145
1145
  readonly modeTabs: import("@angular/core").Signal<PillTab[]>;
1146
+ /**
1147
+ * Loads the company's market values (`GET /service-areas?size=100`) for the {{area}}, {{median_price}}, {{dom}} and {{new_listings}} merge tags.
1148
+ * Default true (real-estate apps have the endpoint). An app without that endpoint passes false: no request is made and those tags are
1149
+ * prompted like any other unknown field. A failed request is ignored the same way (the tags stay prompted), never an unhandled error.
1150
+ */
1151
+ readonly marketValues: import("@angular/core").InputSignal<boolean>;
1146
1152
  /** Market values (`area`, `median_price`, `dom`, `new_listings`) — only the ones `/service-areas` returned. */
1147
1153
  private marketVars;
1148
1154
  ngOnInit(): void;
@@ -1441,6 +1447,11 @@ declare class SendEmailComponent implements OnInit {
1441
1447
  "required": false;
1442
1448
  "isSignal": true;
1443
1449
  };
1450
+ "marketValues": {
1451
+ "alias": "marketValues";
1452
+ "required": false;
1453
+ "isSignal": true;
1454
+ };
1444
1455
  }, {
1445
1456
  "sent": "sent";
1446
1457
  "bulkResult": "bulkResult";
@@ -1726,6 +1737,12 @@ declare class SendTextComponent implements OnInit {
1726
1737
  readonly mediaUploading: import("@angular/core").WritableSignal<boolean>;
1727
1738
  readonly savingPhone: import("@angular/core").WritableSignal<boolean>;
1728
1739
  readonly modeTabs: import("@angular/core").Signal<PillTab[]>;
1740
+ /**
1741
+ * Loads the company's market values (`GET /service-areas?size=100`) for the {{area}}, {{median_price}}, {{dom}} and {{new_listings}} merge tags.
1742
+ * Default true (real-estate apps have the endpoint). An app without that endpoint passes false: no request is made and those tags are
1743
+ * prompted like any other unknown field. A failed request is ignored the same way (the tags stay prompted), never an unhandled error.
1744
+ */
1745
+ readonly marketValues: import("@angular/core").InputSignal<boolean>;
1729
1746
  /** Market values (`area`, `median_price`, `dom`, `new_listings`) — only the ones `/service-areas` returned. */
1730
1747
  private marketVars;
1731
1748
  ngOnInit(): void;
@@ -1937,6 +1954,11 @@ declare class SendTextComponent implements OnInit {
1937
1954
  "required": false;
1938
1955
  "isSignal": true;
1939
1956
  };
1957
+ "marketValues": {
1958
+ "alias": "marketValues";
1959
+ "required": false;
1960
+ "isSignal": true;
1961
+ };
1940
1962
  }, {
1941
1963
  "sent": "sent";
1942
1964
  "bulkResult": "bulkResult";
@@ -2030,6 +2052,12 @@ export declare class SendMessagePanelComponent {
2030
2052
  readonly documentsEnabled: import("@angular/core").InputSignal<boolean>;
2031
2053
  /** Email tab only: adds a CC field; the addresses are sent as `SendEmailPayload.cc`. */
2032
2054
  readonly showCc: import("@angular/core").InputSignal<boolean>;
2055
+ /**
2056
+ * Passed to both forms. Loads the company's market values (`GET /service-areas?size=100`) for the {{area}}, {{median_price}}, {{dom}} and {{new_listings}} merge tags.
2057
+ * Default true (real-estate apps have the endpoint). An app without that endpoint passes false: no request is made and those tags are
2058
+ * prompted like any other unknown field. A failed request is ignored the same way (the tags stay prompted), never an unhandled error.
2059
+ */
2060
+ readonly marketValues: import("@angular/core").InputSignal<boolean>;
2033
2061
  /**
2034
2062
  * `'contact'` (default) = the message goes by email or text to the contact's address. `'in-app'` = the message is NOT delivered by email or
2035
2063
  * text but handed to the host's `sendMessage` function (e.g. a client portal message to the agent): the contact needs no email or phone, the
@@ -2340,6 +2368,11 @@ export declare class SendMessagePanelComponent {
2340
2368
  "required": false;
2341
2369
  "isSignal": true;
2342
2370
  };
2371
+ "marketValues": {
2372
+ "alias": "marketValues";
2373
+ "required": false;
2374
+ "isSignal": true;
2375
+ };
2343
2376
  "recipientMode": {
2344
2377
  "alias": "recipientMode";
2345
2378
  "required": false;
@@ -3564,7 +3564,7 @@ export declare class SelectComponent implements ControlValueAccessor, Validator,
3564
3564
  readonly error: import("@angular/core").InputSignal<string>;
3565
3565
  /** The host's "tried to submit" flag (e.g. after a failed Save click). `true` reveals the message of an untouched field at once (the field also shows it after the user left THIS field); switching it from true back to false forgets that the field was left. */
3566
3566
  readonly showErrors: import("@angular/core").InputSignal<boolean>;
3567
- readonly size: import("@angular/core").InputSignal<"default" | "sm">;
3567
+ readonly size: import("@angular/core").InputSignal<"sm" | "default">;
3568
3568
  readonly _disabledInput: import("@angular/core").InputSignal<boolean>;
3569
3569
  private readonly _cvaDisabled;
3570
3570
  protected readonly disabled: import("@angular/core").Signal<boolean>;
@@ -4861,7 +4861,7 @@ export declare class SidePanelComponent implements OnDestroy {
4861
4861
  readonly cancelLabel: import("@angular/core").Signal<string>;
4862
4862
  /** Right-aligned primary action button label. Empty string = hidden. */
4863
4863
  readonly primaryLabel: import("@angular/core").InputSignal<string>;
4864
- readonly primaryVariant: import("@angular/core").InputSignal<"warning" | "primary" | "danger">;
4864
+ readonly primaryVariant: import("@angular/core").InputSignal<"primary" | "danger" | "warning">;
4865
4865
  readonly primaryLoading: import("@angular/core").InputSignal<boolean>;
4866
4866
  readonly primaryDisabled: import("@angular/core").InputSignal<boolean>;
4867
4867
  /** `data-testid` of the Cancel button; none when empty (default). */
@@ -5860,7 +5860,7 @@ export declare class TooltipDirective {
5860
5860
  /** Tooltip text; empty or null disables the tooltip. */
5861
5861
  readonly uiTooltip: import("@angular/core").InputSignal<string | null | undefined>;
5862
5862
  /** Preferred side; flips to the other side when there is no room. */
5863
- readonly tooltipPosition: import("@angular/core").InputSignal<"top" | "bottom">;
5863
+ readonly tooltipPosition: import("@angular/core").InputSignal<"bottom" | "top">;
5864
5864
  private readonly host;
5865
5865
  private readonly doc;
5866
5866
  private bubble;
@@ -7412,7 +7412,7 @@ export declare class StepperComponent {
7412
7412
  * its circle, one continuous line behind the circles that fills as steps complete; a complete step shows a check, the current step an
7413
7413
  * accent ring with a dot, an upcoming step an empty circle (no numbers). Circles are 40px (32px with `size="sm"`).
7414
7414
  */
7415
- readonly labelPosition: import("@angular/core").InputSignal<"below" | "beside">;
7415
+ readonly labelPosition: import("@angular/core").InputSignal<"beside" | "below">;
7416
7416
  /** Viewport width in px below which a horizontal stepper is drawn vertical (labels beside the circles), e.g. `640`. null (default) = never. */
7417
7417
  readonly stackBelow: import("@angular/core").InputSignal<number | null>;
7418
7418
  /** CSS length (e.g. `10.5rem`): horizontal only - the list gets `min-width: calc(<step count> * <value>)`. Empty (default) = no minimum. */
@@ -7444,7 +7444,7 @@ export declare class StepperComponent {
7444
7444
  protected readonly rows: import("@angular/core").Signal<{
7445
7445
  step: StepperStep;
7446
7446
  index: number;
7447
- state: "current" | "complete" | "upcoming";
7447
+ state: "complete" | "current" | "upcoming";
7448
7448
  error: boolean;
7449
7449
  errorMessage: string;
7450
7450
  selectable: boolean;
@@ -8074,7 +8074,7 @@ export declare class ButtonComponent {
8074
8074
  * `ghost-start`: a ghost button for list / section toggles - a full-width row with its content aligned to the start, transparent
8075
8075
  * background, hover tint and the normal focus ring. Pair it with `ariaExpanded` / `ariaPressed`; the label may contain a heading element.
8076
8076
  */
8077
- readonly variant: import("@angular/core").InputSignal<"warning" | "link" | "primary" | "danger" | "secondary" | "ghost" | "tab" | "ghost-start" | "icon" | "icon-danger">;
8077
+ readonly variant: import("@angular/core").InputSignal<"link" | "primary" | "secondary" | "danger" | "warning" | "ghost" | "ghost-start" | "tab" | "icon" | "icon-danger">;
8078
8078
  /** 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`). */
8079
8079
  readonly routerLink: import("@angular/core").InputSignal<string | readonly unknown[] | null>;
8080
8080
  /** Query params of the `routerLink` (e.g. `{ section: 'deal-defaults' }`). */
@@ -8095,7 +8095,7 @@ export declare class ButtonComponent {
8095
8095
  */
8096
8096
  readonly href: import("@angular/core").InputSignal<string | null>;
8097
8097
  /** Where to open the `href` (`_blank` = a new tab). */
8098
- readonly target: import("@angular/core").InputSignal<"_blank" | "_self" | "_parent" | "_top" | null>;
8098
+ readonly target: import("@angular/core").InputSignal<"_self" | "_blank" | "_parent" | "_top" | null>;
8099
8099
  /** `rel` of the `href` link. A `_blank` target always gets `noopener noreferrer` added. */
8100
8100
  readonly rel: import("@angular/core").InputSignal<string | null>;
8101
8101
  /** The href when it is allowed (http, https, mailto, tel, sms or a relative URL), else null. */
@@ -8119,7 +8119,7 @@ export declare class ButtonComponent {
8119
8119
  private readonly _narrow;
8120
8120
  readonly color: import("@angular/core").InputSignal<string | undefined>;
8121
8121
  readonly active: import("@angular/core").InputSignal<boolean>;
8122
- readonly size: import("@angular/core").InputSignal<"xs" | "sm" | "md" | "lg">;
8122
+ readonly size: import("@angular/core").InputSignal<"sm" | "md" | "lg" | "xs">;
8123
8123
  readonly type: import("@angular/core").InputSignal<"button" | "reset" | "submit">;
8124
8124
  readonly disabled: import("@angular/core").InputSignal<boolean>;
8125
8125
  readonly loading: import("@angular/core").InputSignal<boolean>;
@@ -8765,7 +8765,7 @@ export declare class ImportSourceGridComponent {
8765
8765
  /** The `value` of the picked source (highlighted). `tile` only: the `card` appearance does not keep a selection. */
8766
8766
  readonly selected: import("@angular/core").InputSignal<string>;
8767
8767
  /** `tile`: the compact buttons of the import window. `card`: one `ui-detail-card` per source with its own select button (used on a page). */
8768
- readonly appearance: import("@angular/core").InputSignal<"tile" | "card">;
8768
+ readonly appearance: import("@angular/core").InputSignal<"card" | "tile">;
8769
8769
  /** `card`: disables every card's button (for example while the page is saving). */
8770
8770
  readonly disabled: import("@angular/core").InputSignal<boolean>;
8771
8771
  /** `card`: the text of each card's button. */
@@ -9254,7 +9254,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
9254
9254
  readonly passwordRequirements: import("@angular/core").InputSignal<boolean>;
9255
9255
  /** Rules for `passwordRequirements`; default = the library's five rules (8+ characters, upper, lower, digit, special). */
9256
9256
  readonly passwordRules: import("@angular/core").InputSignal<readonly PasswordRule[] | undefined>;
9257
- readonly type: import("@angular/core").InputSignal<"number" | "email" | "text" | "password" | "tel" | "url">;
9257
+ readonly type: import("@angular/core").InputSignal<"number" | "email" | "text" | "tel" | "password" | "url">;
9258
9258
  readonly maxlength: import("@angular/core").InputSignal<number | undefined>;
9259
9259
  readonly required: import("@angular/core").InputSignal<boolean>;
9260
9260
  readonly autocomplete: import("@angular/core").InputSignal<string>;
@@ -9263,7 +9263,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
9263
9263
  * `search`, `text`, `none`). Empty (default) = the browser's default for the field, except `type="tel"`, which keeps `tel`.
9264
9264
  * It only picks the keyboard; it does not restrict what can be typed or pasted.
9265
9265
  */
9266
- readonly inputmode: import("@angular/core").InputSignal<"" | "email" | "text" | "decimal" | "none" | "search" | "tel" | "url" | "numeric">;
9266
+ readonly inputmode: import("@angular/core").InputSignal<"" | "email" | "search" | "none" | "text" | "tel" | "numeric" | "decimal" | "url">;
9267
9267
  readonly readonly: import("@angular/core").InputSignal<boolean>;
9268
9268
  readonly hint: import("@angular/core").InputSignal<string>;
9269
9269
  /** 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. */
@@ -9335,7 +9335,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
9335
9335
  protected readonly _stepAttr: import("@angular/core").Signal<string | null>;
9336
9336
  protected readonly _revealable: import("@angular/core").Signal<boolean>;
9337
9337
  protected readonly _shown: import("@angular/core").WritableSignal<boolean>;
9338
- protected readonly _inputType: import("@angular/core").Signal<"number" | "email" | "text" | "password" | "tel" | "url">;
9338
+ protected readonly _inputType: import("@angular/core").Signal<"number" | "email" | "text" | "tel" | "password" | "url">;
9339
9339
  protected readonly _eyePath: string;
9340
9340
  protected readonly _eyeOffPath: string;
9341
9341
  protected readonly _showRequirements: import("@angular/core").Signal<boolean>;
@@ -9954,7 +9954,7 @@ export declare class CopyFieldComponent implements OnDestroy {
9954
9954
  /** Neither the Clipboard API nor the fallback could copy. */
9955
9955
  readonly copyFailed: import("@angular/core").OutputEmitterRef<void>;
9956
9956
  protected readonly _id: string;
9957
- protected readonly _state: import("@angular/core").WritableSignal<"idle" | "copied" | "failed">;
9957
+ protected readonly _state: import("@angular/core").WritableSignal<"failed" | "idle" | "copied">;
9958
9958
  protected readonly _announcement: import("@angular/core").Signal<string>;
9959
9959
  protected readonly _buttonName: import("@angular/core").Signal<string>;
9960
9960
  protected readonly _describedBy: import("@angular/core").Signal<string | null>;
@@ -12416,9 +12416,9 @@ export declare class ChipGroupComponent {
12416
12416
  readonly spaceAbove: import("@angular/core").InputSignal<"none" | "sm" | "md">;
12417
12417
  /** Space below the chip group. */
12418
12418
  readonly spaceBelow: import("@angular/core").InputSignal<"none" | "sm" | "md">;
12419
- protected readonly _gap: import("@angular/core").Signal<"8px" | "12px" | "6px">;
12420
- protected readonly _spaceAbove: import("@angular/core").Signal<"0" | "12px" | "6px">;
12421
- protected readonly _spaceBelow: import("@angular/core").Signal<"0" | "12px" | "6px">;
12419
+ protected readonly _gap: import("@angular/core").Signal<"6px" | "12px" | "8px">;
12420
+ protected readonly _spaceAbove: import("@angular/core").Signal<"0" | "6px" | "12px">;
12421
+ protected readonly _spaceBelow: import("@angular/core").Signal<"0" | "6px" | "12px">;
12422
12422
  static ɵfac: i0.ɵɵFactoryDeclaration<ChipGroupComponent, never>;
12423
12423
  static ɵcmp: i0.ɵɵComponentDeclaration<ChipGroupComponent, "ui-chip-group", never, {
12424
12424
  "gap": {
@@ -12878,7 +12878,7 @@ export declare class IconComponent {
12878
12878
  readonly ariaLabel: import("@angular/core").InputSignal<string>;
12879
12879
  /** Icon size in px. */
12880
12880
  readonly size: import("@angular/core").InputSignal<number>;
12881
- readonly variant: import("@angular/core").InputSignal<"default" | "danger">;
12881
+ readonly variant: import("@angular/core").InputSignal<"danger" | "default">;
12882
12882
  readonly disabled: import("@angular/core").InputSignal<boolean>;
12883
12883
  /** The host is running the request this icon started: a spinner replaces the picture and the button is disabled (no click) until it is false again. */
12884
12884
  readonly loading: import("@angular/core").InputSignal<boolean>;
@@ -13382,7 +13382,7 @@ export declare class AddressInputComponent implements ControlValueAccessor, Vali
13382
13382
  * the object. `valueChange` always emits the object. A written string is read with `parseAddressValue` for display only: the control keeps
13383
13383
  * the original text until the user edits a field (so a text the parser cannot split is not rewritten on load).
13384
13384
  */
13385
- readonly valueFormat: import("@angular/core").InputSignal<"object" | "text" | "auto">;
13385
+ readonly valueFormat: import("@angular/core").InputSignal<"object" | "auto" | "text">;
13386
13386
  /** ZIP rule; the default is the US 5 digits / 5+4 rule. `null` accepts any non-empty ZIP. The ZIP is validated and stored trimmed. */
13387
13387
  readonly zipPattern: import("@angular/core").InputSignal<RegExp | null>;
13388
13388
  /** Message shown when the ZIP breaks `zipPattern`. */
@@ -15219,7 +15219,7 @@ export declare class PdfHotspotComponent {
15219
15219
  /** `ready`: clickable; `blocked`: disabled (a prerequisite is missing); `signed`: shows `image`. */
15220
15220
  readonly state: import("@angular/core").InputSignal<"ready" | "blocked" | "signed">;
15221
15221
  /** `warning` gives the ready state an amber look (e.g. for initials), default is blue. */
15222
- readonly tone: import("@angular/core").InputSignal<"warning" | "primary">;
15222
+ readonly tone: import("@angular/core").InputSignal<"primary" | "warning">;
15223
15223
  /** Text of the ready button (e.g. "Sign Here"). */
15224
15224
  readonly labelInput: import("@angular/core").InputSignal<string | null>;
15225
15225
  readonly label: import("@angular/core").Signal<string>;
@@ -15373,7 +15373,7 @@ export declare class DetailCardComponent {
15373
15373
  /** Background colour of the footer bar (the `[card-footer]` slot) as any CSS colour. Empty = no colour of its own. */
15374
15374
  readonly footerBackground: import("@angular/core").InputSignal<string>;
15375
15375
  /** Alignment of the `[card-footer]` content: `'start'` (default, unchanged) or `'end'` = a right-aligned action row with an 8px gap. */
15376
- readonly footerAlign: import("@angular/core").InputSignal<"start" | "end">;
15376
+ readonly footerAlign: import("@angular/core").InputSignal<"end" | "start">;
15377
15377
  /** Text colour as any CSS colour (`#fff`, `var(--on-dark)` …). Empty = the default colours. Colours the title, subtitle, chevron and body text. */
15378
15378
  readonly textColor: import("@angular/core").InputSignal<string>;
15379
15379
  /** false = no header at all (no title, edit button, toggle or divider): the card is only the body, always open. */
@@ -18161,7 +18161,7 @@ export declare class SetupWizardComponent {
18161
18161
  protected customHintId(): string;
18162
18162
  protected readonly importBlocked: import("@angular/core").Signal<boolean>;
18163
18163
  /** The step's own two parts (`splitLayout`) show as two tabs, one card at a time; this is the open one (it starts on the app's part on every visit). */
18164
- protected readonly splitTab: import("@angular/core").WritableSignal<"extra" | "main">;
18164
+ protected readonly splitTab: import("@angular/core").WritableSignal<"main" | "extra">;
18165
18165
  protected readonly splitTabs: import("@angular/core").Signal<{
18166
18166
  key: string;
18167
18167
  label: string;
@@ -19244,7 +19244,7 @@ export declare function conversationDateLabel(iso: string, now?: Date, ui?: UiLa
19244
19244
  /** First letter of the name, upper case, for the avatar ('?' for a blank name). */
19245
19245
  export declare function conversationInitial(name: string | null | undefined): string;
19246
19246
  /** Each message with the date separator that goes above it ('' when it shares the day of the previous message). */
19247
- export declare function groupMessagesByDay(messages: readonly ConversationMessage[], now?: Date): ConversationMessageRow[];
19247
+ export declare function groupMessagesByDay(messages: readonly ConversationMessage[], now?: Date, ui?: UiLabelsService): ConversationMessageRow[];
19248
19248
  /** What the status mark beside an outbound message says to a screen reader ('' for a status that shows nothing). */
19249
19249
  export declare function conversationMessageStatusLabel(status: string | null | undefined): string;
19250
19250
  /** The mark shown beside an outbound message: ticks for sent / delivered, the word for the rest. */
@@ -20422,6 +20422,8 @@ export declare class PaymentSidePanelComponent {
20422
20422
  protected readonly exclusive: import("@angular/core").WritableSignal<boolean>;
20423
20423
  private readonly pluginPrimary;
20424
20424
  private cancelHook;
20425
+ /** The method value that was a live plugin method when last checked ('' = none), to notice the plugin disappearing under a selected method. */
20426
+ private liveMethodValue;
20425
20427
  private completed;
20426
20428
  /** The plugin's last report was `verification` (a bank payment that has NOT started): its "Done" is announced as "payment not started", never as "Payment recorded". */
20427
20429
  private verificationReported;
@@ -20492,6 +20494,8 @@ export declare class PaymentSidePanelComponent {
20492
20494
  protected readonly primaryLoading: import("@angular/core").Signal<boolean>;
20493
20495
  protected readonly primaryDisabled: import("@angular/core").Signal<boolean>;
20494
20496
  constructor();
20497
+ /** The panel is gone: a late answer of a plugin (its confirmation came after the panel closed) must not emit on outputs nobody listens to any more (Angular NG0953). */
20498
+ private destroyed;
20495
20499
  private init;
20496
20500
  private teardown;
20497
20501
  private resetForm;
@@ -22288,6 +22292,7 @@ export declare class KanbanBoardComponent<T = unknown> {
22288
22292
  private readonly host;
22289
22293
  private readonly doc;
22290
22294
  private readonly injector;
22295
+ private readonly zone;
22291
22296
  /** The columns in display order. */
22292
22297
  readonly columns: import("@angular/core").InputSignal<readonly KanbanColumn[]>;
22293
22298
  /** Every card of the board, in the order they should appear inside their column. Cards whose column is not in `columns` are not shown. */