eru-grid 0.0.44 → 0.0.45

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": "eru-grid",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.2",
6
6
  "@angular/core": "^21.1.2",
@@ -99,6 +99,9 @@ interface GridFeatures {
99
99
  boardCardHoverBg?: string;
100
100
  boardCardSelectedBg?: string;
101
101
  boardCardSelectedOutline?: string;
102
+ boardCountTextColor?: string;
103
+ boardCountBg?: string;
104
+ boardColumnHeader?: boolean;
102
105
  boardColumnMinWidth?: number;
103
106
  boardColumnMaxWidth?: number;
104
107
  boardColumnHeight?: number;
@@ -357,6 +360,8 @@ interface Field {
357
360
  * tool_tip per-grid header help text
358
361
  * is_hidden hiding a column in one grid should not require
359
362
  * hiding the field in the data model
363
+ * searchable whether a picker needs a filter box depends on how
364
+ * many options this grid shows, not on the field
360
365
  * dateTimeFormat legacy alias; the model writes `date_format`
361
366
  */
362
367
  declare const INHERITED_FIELD_KEYS: readonly string[];
@@ -1482,6 +1487,8 @@ declare class EruGridComponent implements OnInit, AfterViewInit, OnDestroy {
1482
1487
  readonly isSmViewport: _angular_core.WritableSignal<boolean>;
1483
1488
  private containerHeight;
1484
1489
  private resizeObserver;
1490
+ private boardViewportObserver;
1491
+ private boardViewportsSubscription;
1485
1492
  private groupIntersectionObserver;
1486
1493
  isColumnReordering: _angular_core.WritableSignal<boolean>;
1487
1494
  firstTr: number | null;
@@ -1612,6 +1619,7 @@ declare class EruGridComponent implements OnInit, AfterViewInit, OnDestroy {
1612
1619
  grandTotalStyle: _angular_core.Signal<"bold" | "italic" | "highlighted">;
1613
1620
  isSortable: _angular_core.Signal<boolean>;
1614
1621
  showSortBar: _angular_core.Signal<boolean>;
1622
+ showBoardColumnHeader: _angular_core.Signal<boolean>;
1615
1623
  showGroupBar: _angular_core.Signal<boolean>;
1616
1624
  showExcelDownload: _angular_core.Signal<boolean>;
1617
1625
  wrapHeaders: _angular_core.Signal<boolean>;
@@ -1700,6 +1708,7 @@ declare class EruGridComponent implements OnInit, AfterViewInit, OnDestroy {
1700
1708
  applyTokens(): void;
1701
1709
  ngOnInit(): void;
1702
1710
  ngAfterViewInit(): void;
1711
+ private observeBoardViewports;
1703
1712
  ngOnDestroy(): void;
1704
1713
  set_table_group(data: RowGroup[]): void;
1705
1714
  getInitialMinHeightPx(): number;
@@ -2001,6 +2010,14 @@ declare class EruGridComponent implements OnInit, AfterViewInit, OnDestroy {
2001
2010
  isRowExpanded(row: any, index: number): boolean;
2002
2011
  toggleRowExpand(row: any, index: number, event?: Event): void;
2003
2012
  rowDetailColspan(): number;
2013
+ /**
2014
+ * Height the column's card viewport asks for: exactly the loaded cards.
2015
+ * The column's max-height clamps it (the viewport is a shrinkable flex item),
2016
+ * so a column with fewer cards than the cap ends right after the last card
2017
+ * and a fuller one scrolls. Never zero — an empty group keeps one slot so the
2018
+ * column still reads as a column.
2019
+ */
2020
+ boardColumnBodyHeight(group: RowGroup): number;
2004
2021
  onBoardScrolledIndexChange(firstVisibleIndex: number, group: RowGroup): void;
2005
2022
  requestBoardRowsForGroup(group: RowGroup): void;
2006
2023
  loadBoardAll(): void;
@@ -2943,6 +2960,8 @@ declare class TagComponent implements OnInit {
2943
2960
  name: string;
2944
2961
  color: string;
2945
2962
  }[]>;
2963
+ /** Show the filter box inside the dropdown. Configurable, as in select and people. */
2964
+ isSearchable: _angular_core.Signal<boolean>;
2946
2965
  isAllSelected: _angular_core.Signal<boolean>;
2947
2966
  isIndeterminate: _angular_core.Signal<boolean>;
2948
2967
  filteredOptions: _angular_core.Signal<{