@forgeroute/ui 0.4.93 → 0.4.95

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.93",
3
+ "version": "0.4.95",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=22.0.0",
6
6
  "@angular/core": ">=22.0.0",
@@ -321,6 +321,41 @@ export interface SavedView {
321
321
  * store it) leaves the current column filters untouched on load; `{}` clears them.
322
322
  */
323
323
  columnFilters?: Record<string, string> | null;
324
+ /**
325
+ * Active numeric range filters at save time (only tables with `rangeFilters`): column key -> `{ min, max }` (a bound is a number or
326
+ * absent). Written only when a range is set. `undefined` / `null` (views saved before ranges existed, or a backend that doesn't store
327
+ * it) leaves the current ranges untouched on load; `{}` clears them.
328
+ */
329
+ rangeFilters?: Record<string, {
330
+ min?: number | null;
331
+ max?: number | null;
332
+ }> | null;
333
+ }
334
+ /**
335
+ * One `<ui-data-table [rangeFilters]>` entry: gives the visible column `key` a numeric Min / Max filter (same funnel icon and popover as
336
+ * the value-list filter). Opt-in at the TABLE: a column that is not listed (or is hidden) has no range filter, and an empty list changes
337
+ * nothing. When applied, the table sends `<minParam>=<n>` and `<maxParam>=<n>` (a bound that is empty is omitted) on the rows, export and
338
+ * totals requests (not on /counts or /filter-counts, like every column filter); the BACKEND does the filtering.
339
+ *
340
+ * readonly rangeFilters: RangeFilterConfig[] = [{ key: 'rentableSf', minParam: 'rentableSfMin', maxParam: 'rentableSfMax', min: 0, step: 100, format: 'number' }];
341
+ */
342
+ export interface RangeFilterConfig {
343
+ /** Key of a column of the table. */
344
+ key: string;
345
+ /** Query param for the lower bound. Default `<key>Min`. */
346
+ minParam?: string;
347
+ /** Query param for the upper bound. Default `<key>Max`. */
348
+ maxParam?: string;
349
+ /** Lowest value the user may enter (default 0, so negatives are refused; pass a negative number to allow them). */
350
+ min?: number;
351
+ /** Highest value the user may enter (default: no limit). */
352
+ max?: number;
353
+ /** Step of the number fields; also sets the decimals allowed (step 0.01 = 2 decimals, whole-number steps = whole numbers). Default 1. */
354
+ step?: number;
355
+ /** How bounds are written in the chip / active label: plain number (default), US dollars or a percent. Values sent are always plain numbers. */
356
+ format?: 'number' | 'currency' | 'percent';
357
+ /** Text appended to a bound in the label when `format` is 'number' (e.g. 'SF'). */
358
+ unit?: string;
324
359
  }
325
360
  /**
326
361
  * Declares a bulk action available in the table's selection bar.
@@ -406,6 +441,15 @@ export type BulkUpdateOption<T = any> = string | {
406
441
  * { field: 'status', listAll: ['DRAFT', 'SENT', 'SIGNED', 'VOIDED'], allowedFrom: { SENT: ['DRAFT'], SIGNED: ['SENT'], VOIDED: ['DRAFT', 'SENT'] } }
407
442
  */
408
443
  listAll?: true | readonly string[];
444
+ /**
445
+ * Field changes (`{ field, order }`): the order of the "Change <column>" select. Values listed in `order` come first, in that order (matched
446
+ * exactly to the option values, case-sensitive); the remaining options follow in their existing order. Values in `order` that are not among
447
+ * the options are ignored (nothing is added). It only sorts: `exclude`, `allowedFrom`, `canChange`, `canApply`, `listAll` and the "not already
448
+ * held by every selected row" rule decide WHICH options appear. Ignored for Delete and direct actions. Omit it and nothing changes.
449
+ *
450
+ * { field: 'type', order: ['office', 'retail', 'industrial', 'multifamily'] }
451
+ */
452
+ order?: readonly string[];
409
453
  /**
410
454
  * Direct bulk action (`{ field: 'resend', action: true, label: 'Resend' }`): a bulk-bar button that is neither a field change nor
411
455
  * Delete. `field` is the action key (no column needed), the button type is `action-<field>` and there is no inline select.
@@ -526,6 +570,8 @@ export interface BulkActionDef {
526
570
  canApply?: (rows: any[], target: string) => boolean | string;
527
571
  /** Field changes: list the full value set (from `{ field, listAll }`): `true` or the exact list of values. */
528
572
  listAll?: true | readonly string[];
573
+ /** Field changes: option order (from `{ field, order }`): these values first, in this order. */
574
+ order?: readonly string[];
529
575
  /** True for a direct bulk action (from `{ field, action: true, label }`); `type` is `action-<key>` and `field` is not set (no inline select). */
530
576
  action?: boolean;
531
577
  /** Direct action: which rows the server will accept (from `{ field, action: true, eligible }`). */
@@ -2423,6 +2469,19 @@ export declare const UI_DEFAULT_LABELS: {
2423
2469
  readonly 'stackingPlan.unit': "Unit";
2424
2470
  readonly 'stackingPlan.size': "Size";
2425
2471
  readonly 'stackingPlan.details': "Details";
2472
+ readonly 'rangeFilter.min': "Min";
2473
+ readonly 'rangeFilter.max': "Max";
2474
+ readonly 'rangeFilter.minFor': "{{ label }} minimum";
2475
+ readonly 'rangeFilter.maxFor': "{{ label }} maximum";
2476
+ readonly 'rangeFilter.group': "{{ label }} range";
2477
+ readonly 'rangeFilter.minAboveMax': "Min must not be above Max.";
2478
+ readonly 'rangeFilter.between': "{{ min }} - {{ max }}";
2479
+ readonly 'rangeFilter.atLeast': "At least {{ min }}";
2480
+ readonly 'rangeFilter.atMost': "At most {{ max }}";
2481
+ readonly 'rangeFilter.filterByActive': "Filter by {{ label }}: {{ range }}";
2482
+ readonly 'rangeFilter.percent': "{{ value }}%";
2483
+ readonly 'rangeFilter.withUnit': "{{ value }} {{ unit }}";
2484
+ readonly 'rangeFilter.badNumber': "Please enter a valid number";
2426
2485
  };
2427
2486
  export type UiLabelKey = keyof typeof UI_DEFAULT_LABELS;
2428
2487
  export type UiLabelDictionary = Partial<Record<UiLabelKey, string>>;
@@ -2635,10 +2694,32 @@ export declare class QuickFilterTabsComponent {
2635
2694
  "tabChange": "tabChange";
2636
2695
  }, never, never, true, never>;
2637
2696
  }
2697
+ /** What the column filter needs to render a numeric Min / Max popover (resolved from a table `RangeFilterConfig`). */
2698
+ export interface ColumnRangeSpec {
2699
+ min: number;
2700
+ max?: number;
2701
+ step: number;
2702
+ format: 'number' | 'currency' | 'percent';
2703
+ unit?: string;
2704
+ }
2705
+ /** The applied (or pending) bounds of a range filter; null = no bound. */
2706
+ export interface ColumnRangeValue {
2707
+ min: number | null;
2708
+ max: number | null;
2709
+ }
2638
2710
  export declare class ColumnFilterComponent {
2639
2711
  protected readonly labels: UiLabelsService;
2640
2712
  readonly label: import("@angular/core").InputSignal<string>;
2641
2713
  readonly options: import("@angular/core").InputSignal<FilterOption[]>;
2714
+ /**
2715
+ * Numeric range mode (opt-in, set by the table for a `rangeFilters` column): the popover shows Min / Max number fields instead of the value list.
2716
+ * Unset = the value-list filter, unchanged.
2717
+ */
2718
+ readonly range: import("@angular/core").InputSignal<ColumnRangeSpec | null>;
2719
+ /** Range mode: the applied bounds. */
2720
+ readonly rangeValue: import("@angular/core").InputSignal<ColumnRangeValue>;
2721
+ /** Range mode: emits the new bounds on Apply (both null = cleared). */
2722
+ readonly rangeChange: import("@angular/core").OutputEmitterRef<ColumnRangeValue>;
2642
2723
  /** Currently applied values — empty array means no filter active. */
2643
2724
  readonly activeValues: import("@angular/core").InputSignal<string[]>;
2644
2725
  /** Render the trigger as a labelled 44px chip (phone control row) instead of the bare funnel icon. */
@@ -2647,6 +2728,24 @@ export declare class ColumnFilterComponent {
2647
2728
  readonly filterChange: import("@angular/core").OutputEmitterRef<string[]>;
2648
2729
  protected readonly open: import("@angular/core").WritableSignal<boolean>;
2649
2730
  protected readonly pendingValues: import("@angular/core").WritableSignal<string[]>;
2731
+ protected readonly pendingMin: import("@angular/core").WritableSignal<number | null>;
2732
+ protected readonly pendingMax: import("@angular/core").WritableSignal<number | null>;
2733
+ private readonly _fields;
2734
+ protected readonly _isActive: import("@angular/core").Signal<boolean>;
2735
+ protected readonly _pendingHasRange: import("@angular/core").Signal<boolean>;
2736
+ /** Decimals the step allows (step 0.01 = 2, a whole-number step = 0). */
2737
+ protected readonly _decimals: import("@angular/core").Signal<number>;
2738
+ protected readonly _crossError: import("@angular/core").Signal<string>;
2739
+ /** Firefox / Safari let text into a type=number box (the model becomes null while the box shows it): tracked per field from the native validity. */
2740
+ protected readonly badMin: import("@angular/core").WritableSignal<boolean>;
2741
+ protected readonly badMax: import("@angular/core").WritableSignal<boolean>;
2742
+ /**
2743
+ * The Min above Max message is shown ONCE, under Min (one role="alert", announced once), and is revealed at once (no blur needed),
2744
+ * so it is visible whichever field was edited last. A non-number typed in a field shows its own message under that field.
2745
+ */
2746
+ protected readonly _minError: import("@angular/core").Signal<string>;
2747
+ protected readonly _maxError: import("@angular/core").Signal<string>;
2748
+ protected readonly _rangeInvalid: import("@angular/core").Signal<boolean>;
2650
2749
  /** Hide options with count = 0, unless they are currently selected (so user can deselect). */
2651
2750
  protected readonly _visibleOptions: import("@angular/core").Signal<FilterOption[]>;
2652
2751
  protected readonly pendingHasChanges: import("@angular/core").Signal<boolean>;
@@ -2660,12 +2759,20 @@ export declare class ColumnFilterComponent {
2660
2759
  top: number;
2661
2760
  left: number;
2662
2761
  }>;
2762
+ /** One bound as text: plain number (+ unit), US dollars or a percent, in the app's locale. */
2763
+ protected _formatBound(v: number): string;
2663
2764
  protected readonly activeLabelText: import("@angular/core").Signal<string>;
2664
2765
  toggle(event: Event): void;
2665
2766
  select(value: string): void;
2666
2767
  apply(): void;
2667
2768
  cancel(): void;
2668
2769
  clear(): void;
2770
+ /** Enter in Min / Max applies the range when it is valid; while invalid it does nothing (Apply is disabled too). */
2771
+ onEnter(event: Event): void;
2772
+ /** True when the browser holds text it could not turn into a number (`validity.badInput`). */
2773
+ protected _isBadInput(el: HTMLInputElement | null | undefined): boolean;
2774
+ /** Tracks `validity.badInput` of the Min / Max boxes on every keystroke (the ngModel value is null for such text). */
2775
+ onRangeInput(event: Event): void;
2669
2776
  onDocumentClick(_event: Event): void;
2670
2777
  onEscape(event?: Event): void;
2671
2778
  onArrow(event: Event, dir: 1 | -1): void;
@@ -2686,7 +2793,17 @@ export declare class ColumnFilterComponent {
2686
2793
  };
2687
2794
  "options": {
2688
2795
  "alias": "options";
2689
- "required": true;
2796
+ "required": false;
2797
+ "isSignal": true;
2798
+ };
2799
+ "range": {
2800
+ "alias": "range";
2801
+ "required": false;
2802
+ "isSignal": true;
2803
+ };
2804
+ "rangeValue": {
2805
+ "alias": "rangeValue";
2806
+ "required": false;
2690
2807
  "isSignal": true;
2691
2808
  };
2692
2809
  "activeValues": {
@@ -2700,6 +2817,7 @@ export declare class ColumnFilterComponent {
2700
2817
  "isSignal": true;
2701
2818
  };
2702
2819
  }, {
2820
+ "rangeChange": "rangeChange";
2703
2821
  "filterChange": "filterChange";
2704
2822
  }, never, never, true, never>;
2705
2823
  }
@@ -3148,7 +3266,7 @@ export declare class SelectComponent implements ControlValueAccessor, Validator,
3148
3266
  readonly error: import("@angular/core").InputSignal<string>;
3149
3267
  /** The host's "tried to submit" flag (e.g. after a failed Save click). It never reveals a message on a field the user has not left (messages show only after the user left THIS field); switching it from true back to false forgets that the field was left. */
3150
3268
  readonly showErrors: import("@angular/core").InputSignal<boolean>;
3151
- readonly size: import("@angular/core").InputSignal<"sm" | "default">;
3269
+ readonly size: import("@angular/core").InputSignal<"default" | "sm">;
3152
3270
  readonly _disabledInput: import("@angular/core").InputSignal<boolean>;
3153
3271
  private readonly _cvaDisabled;
3154
3272
  protected readonly disabled: import("@angular/core").Signal<boolean>;
@@ -3777,6 +3895,40 @@ export declare class DataTableComponent<T extends Record<string, any>> implement
3777
3895
  protected readonly _sortDir: import("@angular/core").WritableSignal<SortDir>;
3778
3896
  protected readonly _activeTab: import("@angular/core").WritableSignal<string>;
3779
3897
  protected readonly _colFilterValues: import("@angular/core").WritableSignal<Record<string, string[]>>;
3898
+ /**
3899
+ * Opt-in numeric range filters (`<ui-data-table [rangeFilters]>`): a visible column whose key is listed gets a Min / Max filter (same funnel icon
3900
+ * and popover as the value list; the range replaces the value list for that column). Empty (default) = no range filter anywhere: no icon, no
3901
+ * param, no saved-view field. The table sends `<minParam>` / `<maxParam>` on rows, export and totals (never on /counts or /filter-counts, like
3902
+ * every column filter); the backend filters.
3903
+ */
3904
+ readonly rangeFilters: import("@angular/core").InputSignal<RangeFilterConfig[]>;
3905
+ /** Applied ranges by column key (bounds are finite numbers; a bound that is null is omitted). */
3906
+ protected readonly _rangeValues: import("@angular/core").WritableSignal<Record<string, ColumnRangeValue>>;
3907
+ /** Listed configs by column key, with defaults resolved. */
3908
+ private readonly _rangeSpecs;
3909
+ /**
3910
+ * Ranges of columns that are no longer listed are forgotten, so listing the column again later starts empty (no stale range comes back).
3911
+ * When a forgotten range had a bound, the rows were filtered by it, so the rows are reloaded (page 1, rows only: counts never carry filters)
3912
+ * and match the params again. A host that briefly passes `[]` therefore drops the user's ranges.
3913
+ */
3914
+ private readonly _pruneRanges;
3915
+ /** Query params of the applied ranges (only listed keys; empty bounds omitted). */
3916
+ protected readonly _rangeParams: Signal<Record<string, string>>;
3917
+ /** The range filter of a header cell: null unless the table lists this column's key. */
3918
+ protected getRangeFilter(col: ColumnDef): {
3919
+ spec: ColumnRangeSpec;
3920
+ value: ColumnRangeValue;
3921
+ } | null;
3922
+ protected readonly _phoneRangeCols: Signal<{
3923
+ col: ColumnDef;
3924
+ rf: {
3925
+ spec: ColumnRangeSpec;
3926
+ value: ColumnRangeValue;
3927
+ };
3928
+ }[]>;
3929
+ protected onRangeChange(key: string, value: ColumnRangeValue): void;
3930
+ /** True while a listed range filter has a bound set. */
3931
+ private _anyRangeActive;
3780
3932
  protected readonly _activeViewId: import("@angular/core").WritableSignal<string | null>;
3781
3933
  /** Internal saved views managed by the table when savedViewsPage is set. */
3782
3934
  private readonly _internalSavedViews;
@@ -4100,11 +4252,12 @@ export declare class DataTableComponent<T extends Record<string, any>> implement
4100
4252
  protected onLoadViewClick(view: SavedView): void;
4101
4253
  protected onDeleteViewClick(id: string): void;
4102
4254
  /** Returns a snapshot of current table state for saving as a view. */
4103
- getState(): Pick<SavedView, 'quickFilter' | 'sortField' | 'sortDir' | 'visibleColumns'> & {
4255
+ getState(): Pick<SavedView, 'quickFilter' | 'sortField' | 'sortDir' | 'visibleColumns' | 'rangeFilters'> & {
4104
4256
  columnFilters: Record<string, string>;
4105
4257
  };
4106
4258
  /** Restores table state from a saved view and reloads. */
4107
4259
  applyView(view: SavedView): void;
4260
+ private _restorableRanges;
4108
4261
  /** Keeps only filters that still make sense: known column keys, and (when the counts list the column) known values. */
4109
4262
  private _restorableColumnFilters;
4110
4263
  /** Plain/number/date columns sort unless `sortable: false`; badge and image columns only when `sortable: true`; never actions. */
@@ -4352,6 +4505,11 @@ export declare class DataTableComponent<T extends Record<string, any>> implement
4352
4505
  "required": false;
4353
4506
  "isSignal": true;
4354
4507
  };
4508
+ "rangeFilters": {
4509
+ "alias": "rangeFilters";
4510
+ "required": false;
4511
+ "isSignal": true;
4512
+ };
4355
4513
  }, {
4356
4514
  "rowClick": "rowClick";
4357
4515
  "linkClick": "linkClick";
@@ -4403,7 +4561,7 @@ export declare class SidePanelComponent implements OnDestroy {
4403
4561
  readonly cancelLabel: import("@angular/core").Signal<string>;
4404
4562
  /** Right-aligned primary action button label. Empty string = hidden. */
4405
4563
  readonly primaryLabel: import("@angular/core").InputSignal<string>;
4406
- readonly primaryVariant: import("@angular/core").InputSignal<"warning" | "primary" | "danger">;
4564
+ readonly primaryVariant: import("@angular/core").InputSignal<"primary" | "danger" | "warning">;
4407
4565
  readonly primaryLoading: import("@angular/core").InputSignal<boolean>;
4408
4566
  readonly primaryDisabled: import("@angular/core").InputSignal<boolean>;
4409
4567
  /** `data-testid` of the Cancel button; none when empty (default). */
@@ -4535,7 +4693,7 @@ export declare class ModalComponent implements OnInit, OnDestroy {
4535
4693
  */
4536
4694
  readonly describedBy: import("@angular/core").InputSignal<string | null>;
4537
4695
  readonly maxWidth: import("@angular/core").InputSignal<string>;
4538
- readonly bodyOverflow: import("@angular/core").InputSignal<"hidden" | "auto" | "visible">;
4696
+ readonly bodyOverflow: import("@angular/core").InputSignal<"auto" | "hidden" | "visible">;
4539
4697
  /** `data-testid` of the dialog element itself (the host `<ui-modal>` is always in the page, the dialog only while open). None when empty. */
4540
4698
  readonly dialogTestId: import("@angular/core").InputSignal<string>;
4541
4699
  /** Hides the header X button (e.g. while a request is running). Escape and a backdrop click still close unless `closable` is false. */
@@ -5314,7 +5472,7 @@ export declare class AudioPlayerComponent {
5314
5472
  /** Accessible name of the player. */
5315
5473
  readonly ariaLabel: import("@angular/core").InputSignal<string>;
5316
5474
  /** How much to load before play: 'metadata' (default), 'auto' or 'none'. */
5317
- readonly preload: import("@angular/core").InputSignal<"none" | "metadata" | "auto">;
5475
+ readonly preload: import("@angular/core").InputSignal<"auto" | "none" | "metadata">;
5318
5476
  /** Fires when the browser can't load or decode the source. */
5319
5477
  readonly playbackError: import("@angular/core").OutputEmitterRef<void>;
5320
5478
  protected readonly failed: import("@angular/core").WritableSignal<boolean>;
@@ -6965,7 +7123,7 @@ export declare class ButtonComponent {
6965
7123
  * `ghost-start`: a ghost button for list / section toggles - a full-width row with its content aligned to the start, transparent
6966
7124
  * background, hover tint and the normal focus ring. Pair it with `ariaExpanded` / `ariaPressed`; the label may contain a heading element.
6967
7125
  */
6968
- readonly variant: import("@angular/core").InputSignal<"warning" | "link" | "primary" | "secondary" | "danger" | "ghost" | "ghost-start" | "tab" | "icon" | "icon-danger">;
7126
+ readonly variant: import("@angular/core").InputSignal<"primary" | "secondary" | "danger" | "warning" | "link" | "ghost" | "ghost-start" | "tab" | "icon" | "icon-danger">;
6969
7127
  /** 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`). */
6970
7128
  readonly routerLink: import("@angular/core").InputSignal<string | readonly unknown[] | null>;
6971
7129
  /** Query params of the `routerLink` (e.g. `{ section: 'deal-defaults' }`). */
@@ -6986,7 +7144,7 @@ export declare class ButtonComponent {
6986
7144
  */
6987
7145
  readonly href: import("@angular/core").InputSignal<string | null>;
6988
7146
  /** Where to open the `href` (`_blank` = a new tab). */
6989
- readonly target: import("@angular/core").InputSignal<"_blank" | "_self" | "_parent" | "_top" | null>;
7147
+ readonly target: import("@angular/core").InputSignal<"_self" | "_blank" | "_parent" | "_top" | null>;
6990
7148
  /** `rel` of the `href` link. A `_blank` target always gets `noopener noreferrer` added. */
6991
7149
  readonly rel: import("@angular/core").InputSignal<string | null>;
6992
7150
  /** The href when it is allowed (http, https, mailto, tel, sms or a relative URL), else null. */
@@ -7656,7 +7814,7 @@ export declare class ImportSourceGridComponent {
7656
7814
  /** The `value` of the picked source (highlighted). `tile` only: the `card` appearance does not keep a selection. */
7657
7815
  readonly selected: import("@angular/core").InputSignal<string>;
7658
7816
  /** `tile`: the compact buttons of the import window. `card`: one `ui-detail-card` per source with its own select button (used on a page). */
7659
- readonly appearance: import("@angular/core").InputSignal<"tile" | "card">;
7817
+ readonly appearance: import("@angular/core").InputSignal<"card" | "tile">;
7660
7818
  /** `card`: disables every card's button (for example while the page is saving). */
7661
7819
  readonly disabled: import("@angular/core").InputSignal<boolean>;
7662
7820
  /** `card`: the text of each card's button. */
@@ -8154,7 +8312,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
8154
8312
  * `search`, `text`, `none`). Empty (default) = the browser's default for the field, except `type="tel"`, which keeps `tel`.
8155
8313
  * It only picks the keyboard; it does not restrict what can be typed or pasted.
8156
8314
  */
8157
- readonly inputmode: import("@angular/core").InputSignal<"" | "email" | "text" | "decimal" | "none" | "search" | "tel" | "url" | "numeric">;
8315
+ readonly inputmode: import("@angular/core").InputSignal<"" | "numeric" | "decimal" | "email" | "text" | "none" | "search" | "tel" | "url">;
8158
8316
  readonly readonly: import("@angular/core").InputSignal<boolean>;
8159
8317
  readonly hint: import("@angular/core").InputSignal<string>;
8160
8318
  /** 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. */
@@ -9177,7 +9335,7 @@ export declare class CopyFieldComponent implements OnDestroy {
9177
9335
  /** Neither the Clipboard API nor the fallback could copy. */
9178
9336
  readonly copyFailed: import("@angular/core").OutputEmitterRef<void>;
9179
9337
  protected readonly _id: string;
9180
- protected readonly _state: import("@angular/core").WritableSignal<"idle" | "failed" | "copied">;
9338
+ protected readonly _state: import("@angular/core").WritableSignal<"idle" | "copied" | "failed">;
9181
9339
  protected readonly _announcement: import("@angular/core").Signal<string>;
9182
9340
  protected readonly _buttonName: import("@angular/core").Signal<string>;
9183
9341
  protected readonly _describedBy: import("@angular/core").Signal<string | null>;
@@ -11632,7 +11790,7 @@ export declare class ChipGroupComponent {
11632
11790
  readonly spaceAbove: import("@angular/core").InputSignal<"none" | "sm" | "md">;
11633
11791
  /** Space below the chip group. */
11634
11792
  readonly spaceBelow: import("@angular/core").InputSignal<"none" | "sm" | "md">;
11635
- protected readonly _gap: import("@angular/core").Signal<"8px" | "6px" | "12px">;
11793
+ protected readonly _gap: import("@angular/core").Signal<"6px" | "12px" | "8px">;
11636
11794
  protected readonly _spaceAbove: import("@angular/core").Signal<"0" | "6px" | "12px">;
11637
11795
  protected readonly _spaceBelow: import("@angular/core").Signal<"0" | "6px" | "12px">;
11638
11796
  static ɵfac: i0.ɵɵFactoryDeclaration<ChipGroupComponent, never>;
@@ -11699,6 +11857,14 @@ export declare function getEligibleIds<T extends {
11699
11857
  name: string;
11700
11858
  }[];
11701
11859
  }>(items: T[], selectedIds: Set<string>, action: string, options?: EligibleOptions): EligibleResult;
11860
+ /**
11861
+ * Orders bulk select options: values listed in `order` first, in that order (exact, case-sensitive match on `value`), then the remaining
11862
+ * options in their existing order. Values in `order` that are not among the options are ignored (nothing is added); a repeated value in
11863
+ * `order` counts once. Returns a new array; with an empty `order` the options come back unchanged.
11864
+ */
11865
+ export declare function orderBulkOptions<O extends {
11866
+ value: string;
11867
+ }>(options: readonly O[], order: readonly string[] | null | undefined): O[];
11702
11868
  /** What the user was doing when the request failed — drives the fallback wording. */
11703
11869
  export type ErrorAction = 'load' | 'save' | 'create' | 'update' | 'delete' | 'send' | 'export' | 'import' | 'upload' | 'download';
11704
11870
  /**
@@ -12071,7 +12237,7 @@ export declare class IconComponent {
12071
12237
  readonly ariaLabel: import("@angular/core").InputSignal<string>;
12072
12238
  /** Icon size in px. */
12073
12239
  readonly size: import("@angular/core").InputSignal<number>;
12074
- readonly variant: import("@angular/core").InputSignal<"danger" | "default">;
12240
+ readonly variant: import("@angular/core").InputSignal<"default" | "danger">;
12075
12241
  readonly disabled: import("@angular/core").InputSignal<boolean>;
12076
12242
  /** 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. */
12077
12243
  readonly loading: import("@angular/core").InputSignal<boolean>;
@@ -12575,7 +12741,7 @@ export declare class AddressInputComponent implements ControlValueAccessor, Vali
12575
12741
  * the object. `valueChange` always emits the object. A written string is read with `parseAddressValue` for display only: the control keeps
12576
12742
  * the original text until the user edits a field (so a text the parser cannot split is not rewritten on load).
12577
12743
  */
12578
- readonly valueFormat: import("@angular/core").InputSignal<"object" | "text" | "auto">;
12744
+ readonly valueFormat: import("@angular/core").InputSignal<"object" | "auto" | "text">;
12579
12745
  /** 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. */
12580
12746
  readonly zipPattern: import("@angular/core").InputSignal<RegExp | null>;
12581
12747
  /** Message shown when the ZIP breaks `zipPattern`. */
@@ -14438,7 +14604,7 @@ export declare class PdfHotspotComponent {
14438
14604
  /** `ready`: clickable; `blocked`: disabled (a prerequisite is missing); `signed`: shows `image`. */
14439
14605
  readonly state: import("@angular/core").InputSignal<"ready" | "blocked" | "signed">;
14440
14606
  /** `warning` gives the ready state an amber look (e.g. for initials), default is blue. */
14441
- readonly tone: import("@angular/core").InputSignal<"warning" | "primary">;
14607
+ readonly tone: import("@angular/core").InputSignal<"primary" | "warning">;
14442
14608
  /** Text of the ready button (e.g. "Sign Here"). */
14443
14609
  readonly labelInput: import("@angular/core").InputSignal<string | null>;
14444
14610
  readonly label: import("@angular/core").Signal<string>;
@@ -14592,7 +14758,7 @@ export declare class DetailCardComponent {
14592
14758
  /** Background colour of the footer bar (the `[card-footer]` slot) as any CSS colour. Empty = no colour of its own. */
14593
14759
  readonly footerBackground: import("@angular/core").InputSignal<string>;
14594
14760
  /** Alignment of the `[card-footer]` content: `'start'` (default, unchanged) or `'end'` = a right-aligned action row with an 8px gap. */
14595
- readonly footerAlign: import("@angular/core").InputSignal<"end" | "start">;
14761
+ readonly footerAlign: import("@angular/core").InputSignal<"start" | "end">;
14596
14762
  /** Text colour as any CSS colour (`#fff`, `var(--on-dark)` …). Empty = the default colours. Colours the title, subtitle, chevron and body text. */
14597
14763
  readonly textColor: import("@angular/core").InputSignal<string>;
14598
14764
  /** false = no header at all (no title, edit button, toggle or divider): the card is only the body, always open. */
@@ -19656,7 +19822,7 @@ export declare class PaymentSidePanelComponent {
19656
19822
  private readonly terminalAvailable;
19657
19823
  /** value -> label of every live method the rendered plugins contribute (the first plugin wins a duplicate value). */
19658
19824
  private readonly liveMethods;
19659
- protected readonly kind: import("@angular/core").Signal<"none" | "manual" | "live" | "terminal">;
19825
+ protected readonly kind: import("@angular/core").Signal<"none" | "live" | "terminal" | "manual">;
19660
19826
  private kindOf;
19661
19827
  /** 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. */
19662
19828
  readonly methodList: import("@angular/core").Signal<PaymentMethodOption[]>;