@forgeroute/ui 0.4.89 → 0.4.90

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.4.89",
3
+ "version": "0.4.90",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=22.0.0",
6
6
  "@angular/core": ">=22.0.0",
@@ -117,7 +117,7 @@ export declare class TemplatePickerComponent {
117
117
  private readonly host;
118
118
  private readonly search$;
119
119
  /** Filter results to a specific channel: 'email', 'text', or omit for all. */
120
- readonly channel: import("@angular/core").InputSignal<"" | "text" | "email">;
120
+ readonly channel: import("@angular/core").InputSignal<"" | "email" | "text">;
121
121
  readonly selectedId: import("@angular/core").InputSignal<string | null>;
122
122
  readonly labelInput: import("@angular/core").InputSignal<string | null>;
123
123
  readonly label: import("@angular/core").Signal<string>;
@@ -547,7 +547,7 @@ export declare class DocumentSendOptionsComponent implements UiFieldValidity {
547
547
  /** API root from FORGEROUTE_CONFIG (e.g. a cross-origin prod API); falls back to same-origin `/api`. */
548
548
  private readonly apiBase;
549
549
  /** `email` → purpose select + attachment allowed; `text` → link only (purpose fixed to e-signature). */
550
- readonly channel: import("@angular/core").InputSignal<"text" | "email">;
550
+ readonly channel: import("@angular/core").InputSignal<"email" | "text">;
551
551
  readonly labelInput: import("@angular/core").InputSignal<string | null>;
552
552
  readonly label: import("@angular/core").Signal<string>;
553
553
  /** When true, at least one document must be chosen. The message forms leave it false: documents are optional there. */
@@ -619,7 +619,7 @@ export declare class DocumentSendOptionsComponent implements UiFieldValidity {
619
619
  /** Roles of documents whose row had no `signerRoles` and that the host resolves (`signers().resolveRoles`). */
620
620
  readonly roleStates: import("@angular/core").WritableSignal<Record<string, RoleState>>;
621
621
  /** The envelope's documents: `loading` / `error` while the panel reads them (`loadDocuments`), `ready` once known. */
622
- readonly envelopeStatus: import("@angular/core").WritableSignal<"error" | "loading" | "ready" | "idle">;
622
+ readonly envelopeStatus: import("@angular/core").WritableSignal<"idle" | "loading" | "ready" | "error">;
623
623
  private envelopeSub;
624
624
  private readonly roleSubs;
625
625
  /** The sender opened the collapsed "Signing options" line. */
@@ -1974,7 +1974,7 @@ export declare class SendMessagePanelComponent {
1974
1974
  * somebody can receive that channel; otherwise the usual default applies (email if anybody has an email, else text). null (default) = the usual default.
1975
1975
  * `textEnabled` must already be known when the panel opens for `'text'` to take effect (bind `[recipients]` after async settings loaded, or re-open).
1976
1976
  */
1977
- readonly initialChannel: import("@angular/core").InputSignal<"text" | "email" | null>;
1977
+ readonly initialChannel: import("@angular/core").InputSignal<"email" | "text" | null>;
1978
1978
  /** Bulk mode: the plural noun in "To: 12 residents" (default `recipients`, localized). */
1979
1979
  readonly recipientNoun: import("@angular/core").InputSignal<string>;
1980
1980
  /** Bulk mode: the singular noun used when exactly one is selected; empty = the plural without a trailing "s". */
@@ -2199,7 +2199,7 @@ export declare class SendMessagePanelComponent {
2199
2199
  readonly activeContact: import("@angular/core").WritableSignal<MessageContact | null>;
2200
2200
  /** What the sender should know about the picked contact before sending (why a channel is missing, what to add). */
2201
2201
  readonly contactNotices: import("@angular/core").Signal<string[]>;
2202
- readonly channel: import("@angular/core").WritableSignal<"text" | "email">;
2202
+ readonly channel: import("@angular/core").WritableSignal<"email" | "text">;
2203
2203
  readonly valid: import("@angular/core").WritableSignal<boolean>;
2204
2204
  /** Bumped on every fresh open / new contact — re-creates the email and text forms so no draft carries over. */
2205
2205
  readonly formEpoch: import("@angular/core").WritableSignal<number>;
@@ -1314,7 +1314,7 @@ export declare class StripeConnectComponent {
1314
1314
  readonly navigateTab: import("@angular/core").InputSignal<((url: string) => void) | null>;
1315
1315
  protected readonly visible: import("@angular/core").Signal<boolean>;
1316
1316
  /** Which screen the card shows. */
1317
- protected readonly state: import("@angular/core").Signal<"complete" | "verifying" | "incomplete" | "none">;
1317
+ protected readonly state: import("@angular/core").Signal<"none" | "complete" | "verifying" | "incomplete">;
1318
1318
  /** What the persistent status region says: the current state, plus "Loading." while a request runs. Empty while nothing is shown. */
1319
1319
  protected readonly liveText: import("@angular/core").Signal<string>;
1320
1320
  /** The user pressed a button that started a request: when the screen then changes, focus moves to the new screen (the pressed button is gone). */
@@ -5140,7 +5140,7 @@ export declare class AudioPlayerComponent {
5140
5140
  /** Accessible name of the player. */
5141
5141
  readonly ariaLabel: import("@angular/core").InputSignal<string>;
5142
5142
  /** How much to load before play: 'metadata' (default), 'auto' or 'none'. */
5143
- readonly preload: import("@angular/core").InputSignal<"auto" | "none" | "metadata">;
5143
+ readonly preload: import("@angular/core").InputSignal<"metadata" | "auto" | "none">;
5144
5144
  /** Fires when the browser can't load or decode the source. */
5145
5145
  readonly playbackError: import("@angular/core").OutputEmitterRef<void>;
5146
5146
  protected readonly failed: import("@angular/core").WritableSignal<boolean>;
@@ -5694,7 +5694,7 @@ export declare class CheckboxComponent implements ControlValueAccessor, Validato
5694
5694
  * clicking it still toggles the box - e.g. a product name that is both the heading of its card and the label of its checkbox.
5695
5695
  * Default null: plain label text, exactly as before. Single mode only.
5696
5696
  */
5697
- readonly headingLevel: import("@angular/core").InputSignal<1 | 2 | 3 | 4 | 5 | 6 | null>;
5697
+ readonly headingLevel: import("@angular/core").InputSignal<1 | 4 | 5 | 2 | 3 | 6 | null>;
5698
5698
  readonly indeterminate: import("@angular/core").InputSignal<boolean>;
5699
5699
  readonly checked: import("@angular/core").ModelSignal<boolean>;
5700
5700
  /**
@@ -6791,7 +6791,7 @@ export declare class ButtonComponent {
6791
6791
  * `ghost-start`: a ghost button for list / section toggles - a full-width row with its content aligned to the start, transparent
6792
6792
  * background, hover tint and the normal focus ring. Pair it with `ariaExpanded` / `ariaPressed`; the label may contain a heading element.
6793
6793
  */
6794
- readonly variant: import("@angular/core").InputSignal<"primary" | "secondary" | "danger" | "warning" | "link" | "ghost" | "ghost-start" | "tab" | "icon" | "icon-danger">;
6794
+ readonly variant: import("@angular/core").InputSignal<"link" | "ghost" | "primary" | "secondary" | "danger" | "warning" | "ghost-start" | "tab" | "icon" | "icon-danger">;
6795
6795
  /** 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`). */
6796
6796
  readonly routerLink: import("@angular/core").InputSignal<string | readonly unknown[] | null>;
6797
6797
  /** Query params of the `routerLink` (e.g. `{ section: 'deal-defaults' }`). */
@@ -6837,7 +6837,7 @@ export declare class ButtonComponent {
6837
6837
  readonly color: import("@angular/core").InputSignal<string | undefined>;
6838
6838
  readonly active: import("@angular/core").InputSignal<boolean>;
6839
6839
  readonly size: import("@angular/core").InputSignal<"sm" | "md" | "lg" | "xs">;
6840
- readonly type: import("@angular/core").InputSignal<"reset" | "submit" | "button">;
6840
+ readonly type: import("@angular/core").InputSignal<"button" | "reset" | "submit">;
6841
6841
  readonly disabled: import("@angular/core").InputSignal<boolean>;
6842
6842
  readonly loading: import("@angular/core").InputSignal<boolean>;
6843
6843
  readonly fullWidth: import("@angular/core").InputSignal<boolean>;
@@ -7977,7 +7977,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
7977
7977
  * `search`, `text`, `none`). Empty (default) = the browser's default for the field, except `type="tel"`, which keeps `tel`.
7978
7978
  * It only picks the keyboard; it does not restrict what can be typed or pasted.
7979
7979
  */
7980
- readonly inputmode: import("@angular/core").InputSignal<"" | "numeric" | "decimal" | "email" | "text" | "none" | "search" | "tel" | "url">;
7980
+ readonly inputmode: import("@angular/core").InputSignal<"" | "email" | "text" | "decimal" | "search" | "numeric" | "none" | "tel" | "url">;
7981
7981
  readonly readonly: import("@angular/core").InputSignal<boolean>;
7982
7982
  readonly hint: import("@angular/core").InputSignal<string>;
7983
7983
  /** 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. */
@@ -9799,7 +9799,7 @@ export declare class DropdownComponent {
9799
9799
  readonly loader: import("@angular/core").InputSignal<(() => Promise<DropdownItem[]>) | null>;
9800
9800
  readonly active: import("@angular/core").InputSignal<boolean>;
9801
9801
  readonly activeValue: import("@angular/core").InputSignal<string>;
9802
- readonly variant: import("@angular/core").InputSignal<"badge" | "button">;
9802
+ readonly variant: import("@angular/core").InputSignal<"button" | "badge">;
9803
9803
  /** Trigger size for `variant="button"`: `sm` (default, the compact toolbar look) or `md` (same padding and type as a medium `ui-button`). */
9804
9804
  readonly size: import("@angular/core").InputSignal<"sm" | "md">;
9805
9805
  readonly menuWidth: import("@angular/core").InputSignal<string>;
@@ -10115,7 +10115,7 @@ export declare class FormSectionComponent {
10115
10115
  }, {}, never, ["*"], true, never>;
10116
10116
  }
10117
10117
  export declare class FormRowComponent {
10118
- readonly cols: import("@angular/core").InputSignal<1 | 2 | 3 | 4>;
10118
+ readonly cols: import("@angular/core").InputSignal<1 | 4 | 2 | 3>;
10119
10119
  static ɵfac: i0.ɵɵFactoryDeclaration<FormRowComponent, never>;
10120
10120
  static ɵcmp: i0.ɵɵComponentDeclaration<FormRowComponent, "ui-form-row", never, {
10121
10121
  "cols": {
@@ -10132,7 +10132,7 @@ export declare class FormRowComponent {
10132
10132
  * child simply takes the full width. Keep a numeric span within the row's `cols` (use `all` for the whole row).
10133
10133
  */
10134
10134
  export declare class FormColSpanDirective {
10135
- readonly uiColSpan: import("@angular/core").InputSignal<"" | 2 | 3 | "2" | "3" | "all">;
10135
+ readonly uiColSpan: import("@angular/core").InputSignal<"" | "2" | 2 | 3 | "3" | "all">;
10136
10136
  protected readonly _class: import("@angular/core").Signal<string>;
10137
10137
  static ɵfac: i0.ɵɵFactoryDeclaration<FormColSpanDirective, never>;
10138
10138
  static ɵdir: i0.ɵɵDirectiveDeclaration<FormColSpanDirective, "[uiColSpan]", never, {
@@ -12373,7 +12373,7 @@ export declare class AddressInputComponent implements ControlValueAccessor, Vali
12373
12373
  * the object. `valueChange` always emits the object. A written string is read with `parseAddressValue` for display only: the control keeps
12374
12374
  * the original text until the user edits a field (so a text the parser cannot split is not rewritten on load).
12375
12375
  */
12376
- readonly valueFormat: import("@angular/core").InputSignal<"object" | "auto" | "text">;
12376
+ readonly valueFormat: import("@angular/core").InputSignal<"object" | "text" | "auto">;
12377
12377
  /** 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. */
12378
12378
  readonly zipPattern: import("@angular/core").InputSignal<RegExp | null>;
12379
12379
  /** Message shown when the ZIP breaks `zipPattern`. */
@@ -14362,7 +14362,7 @@ export declare class DetailCardComponent {
14362
14362
  /** true (default) = the title is displayed in capitals (CSS only); false = shown as written. The text, aria-label and heading name are never changed. */
14363
14363
  readonly uppercaseTitle: import("@angular/core").InputSignal<boolean>;
14364
14364
  /** 1-6 makes the title a real heading for screen readers (role=heading, aria-level); null keeps it plain text. */
14365
- readonly headingLevel: import("@angular/core").InputSignal<1 | 2 | 3 | 4 | 5 | 6 | null>;
14365
+ readonly headingLevel: import("@angular/core").InputSignal<1 | 4 | 5 | 2 | 3 | 6 | null>;
14366
14366
  /** Optional id for the title text; the card is then labelled by it. Without it the title is the card's aria-label. */
14367
14367
  readonly titleId: import("@angular/core").InputSignal<string>;
14368
14368
  /** Accessible name of the card when the header gives none (no header, or no title). A visible title wins; blank = no name. */
@@ -14376,7 +14376,7 @@ export declare class DetailCardComponent {
14376
14376
  /** Background colour of the footer bar (the `[card-footer]` slot) as any CSS colour. Empty = no colour of its own. */
14377
14377
  readonly footerBackground: import("@angular/core").InputSignal<string>;
14378
14378
  /** Alignment of the `[card-footer]` content: `'start'` (default, unchanged) or `'end'` = a right-aligned action row with an 8px gap. */
14379
- readonly footerAlign: import("@angular/core").InputSignal<"start" | "end">;
14379
+ readonly footerAlign: import("@angular/core").InputSignal<"end" | "start">;
14380
14380
  /** Text colour as any CSS colour (`#fff`, `var(--on-dark)` …). Empty = the default colours. Colours the title, subtitle, chevron and body text. */
14381
14381
  readonly textColor: import("@angular/core").InputSignal<string>;
14382
14382
  /** false = no header at all (no title, edit button, toggle or divider): the card is only the body, always open. */
@@ -20557,6 +20557,16 @@ export interface KanbanColumn {
20557
20557
  emptyText?: string;
20558
20558
  /** true = cards can be dragged out of this column but never dropped into it. */
20559
20559
  disabled?: boolean;
20560
+ /**
20561
+ * Cards of this column the host has NOT loaded into `items` yet (server-side paging of a long column). They are added to the count chip and the spoken count, and once
20562
+ * every loaded card is drawn the column offers a "Show more" button that emits `columnMore` so the host can load the next page. A card the user moves out of or into the column
20563
+ * changes the count by itself (only the loaded cards move), so the host keeps `remaining` = server total minus the loaded cards of the column.
20564
+ */
20565
+ remaining?: number;
20566
+ /** true while the host loads the next page of this column (the "Show more" button shows its spinner and ignores clicks). */
20567
+ loadingMore?: boolean;
20568
+ /** How many cards the host's next page adds, for the "Show N more" label (never more than `remaining`). Default: the board's `pageSize`, or all `remaining` cards when the board draws everything (pageSize 0). */
20569
+ nextCount?: number;
20560
20570
  }
20561
20571
  /** Fired when the user drops a card somewhere new (drag, keyboard or the "Move to" menu). The board has ALREADY moved the card on screen. */
20562
20572
  export interface KanbanMove<T = unknown> {
@@ -20654,6 +20664,8 @@ export declare class KanbanBoardComponent<T = unknown> {
20654
20664
  readonly cardMove: import("@angular/core").OutputEmitterRef<KanbanMove<T>>;
20655
20665
  /** A card was clicked, or Enter was pressed on it. */
20656
20666
  readonly cardClick: import("@angular/core").OutputEmitterRef<T>;
20667
+ /** The "Show more" button of a column that has `remaining` unloaded cards was pressed: the host loads the next page of that column (the payload is the column key). */
20668
+ readonly columnMore: import("@angular/core").OutputEmitterRef<string>;
20657
20669
  protected readonly card: import("@angular/core").Signal<KanbanCardDirective<T> | undefined>;
20658
20670
  protected readonly hintId: string;
20659
20671
  /** `aria-keyshortcuts` of a movable card: the key that picks it up. */
@@ -20688,6 +20700,9 @@ export declare class KanbanBoardComponent<T = unknown> {
20688
20700
  shown: T[];
20689
20701
  hidden: number;
20690
20702
  next: number;
20703
+ remaining: number;
20704
+ count: number;
20705
+ nextRemote: number;
20691
20706
  }[]>;
20692
20707
  /** The card the Tab key reaches (one tab stop for the whole board): the last focused one, else the first card of the first column that has one. */
20693
20708
  protected readonly tabbableKey: import("@angular/core").Signal<string | null>;
@@ -20705,6 +20720,7 @@ export declare class KanbanBoardComponent<T = unknown> {
20705
20720
  /** While a card is held, a column that cannot take it. */
20706
20721
  protected isBlocked(key: string): boolean;
20707
20722
  protected slotBefore(colKey: string, beforeKey: string | null): boolean;
20723
+ protected loadMore(col: KanbanColumn): void;
20708
20724
  protected showMore(colKey: string): void;
20709
20725
  /**
20710
20726
  * Puts a card back where it was before `move` (call it when the host's save failed). Does nothing when the host has already replaced `items`
@@ -20831,6 +20847,7 @@ export declare class KanbanBoardComponent<T = unknown> {
20831
20847
  }, {
20832
20848
  "cardMove": "cardMove";
20833
20849
  "cardClick": "cardClick";
20850
+ "columnMore": "columnMore";
20834
20851
  }, ["card"], never, true, never>;
20835
20852
  }
20836
20853
  export type { AllocationModeOption, CalendarAgendaGroup, CalendarDay, CalendarDayLevel, CalendarRange, CalendarViewMode, ChargeAllocation, HostResult, PayableCharge, PaymentAllocation, PaymentEntry, PaymentMethodOption, PaymentPanelOutcome, RecordPaymentFn, RecordPaymentPayload, RecordPaymentResult, SavedPaymentMethod, TerminalConfirmContext, TerminalPhase, TerminalReader, TerminalStartContext, TerminalStartResult, TerminalStatusResult };