eru-grid 0.0.44 → 0.0.46

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.46",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.2",
6
6
  "@angular/core": "^21.1.2",
@@ -80,6 +80,7 @@ interface GridFeatures {
80
80
  header_font_family?: string;
81
81
  header_font_size?: number;
82
82
  header_font_bold?: boolean;
83
+ header_font_color?: string;
83
84
  header_border_type?: string;
84
85
  header_border_color?: string;
85
86
  header_border_style?: number;
@@ -89,6 +90,7 @@ interface GridFeatures {
89
90
  data_font_family?: string;
90
91
  data_font_size?: number;
91
92
  data_font_bold?: boolean;
93
+ data_font_color?: string;
92
94
  data_border_type?: string;
93
95
  data_border_color?: string;
94
96
  data_border_style?: number;
@@ -99,6 +101,9 @@ interface GridFeatures {
99
101
  boardCardHoverBg?: string;
100
102
  boardCardSelectedBg?: string;
101
103
  boardCardSelectedOutline?: string;
104
+ boardCountTextColor?: string;
105
+ boardCountBg?: string;
106
+ boardColumnHeader?: boolean;
102
107
  boardColumnMinWidth?: number;
103
108
  boardColumnMaxWidth?: number;
104
109
  boardColumnHeight?: number;
@@ -124,6 +129,7 @@ interface ExcelDownloadPayload {
124
129
  family: string;
125
130
  size: number;
126
131
  bold: boolean;
132
+ color: string;
127
133
  };
128
134
  border: [{
129
135
  type: string;
@@ -141,6 +147,7 @@ interface ExcelDownloadPayload {
141
147
  family: string;
142
148
  size: number;
143
149
  bold: boolean;
150
+ color: string;
144
151
  };
145
152
  border: [{
146
153
  type: string;
@@ -357,6 +364,8 @@ interface Field {
357
364
  * tool_tip per-grid header help text
358
365
  * is_hidden hiding a column in one grid should not require
359
366
  * hiding the field in the data model
367
+ * searchable whether a picker needs a filter box depends on how
368
+ * many options this grid shows, not on the field
360
369
  * dateTimeFormat legacy alias; the model writes `date_format`
361
370
  */
362
371
  declare const INHERITED_FIELD_KEYS: readonly string[];
@@ -1482,6 +1491,8 @@ declare class EruGridComponent implements OnInit, AfterViewInit, OnDestroy {
1482
1491
  readonly isSmViewport: _angular_core.WritableSignal<boolean>;
1483
1492
  private containerHeight;
1484
1493
  private resizeObserver;
1494
+ private boardViewportObserver;
1495
+ private boardViewportsSubscription;
1485
1496
  private groupIntersectionObserver;
1486
1497
  isColumnReordering: _angular_core.WritableSignal<boolean>;
1487
1498
  firstTr: number | null;
@@ -1612,6 +1623,7 @@ declare class EruGridComponent implements OnInit, AfterViewInit, OnDestroy {
1612
1623
  grandTotalStyle: _angular_core.Signal<"bold" | "italic" | "highlighted">;
1613
1624
  isSortable: _angular_core.Signal<boolean>;
1614
1625
  showSortBar: _angular_core.Signal<boolean>;
1626
+ showBoardColumnHeader: _angular_core.Signal<boolean>;
1615
1627
  showGroupBar: _angular_core.Signal<boolean>;
1616
1628
  showExcelDownload: _angular_core.Signal<boolean>;
1617
1629
  wrapHeaders: _angular_core.Signal<boolean>;
@@ -1700,6 +1712,7 @@ declare class EruGridComponent implements OnInit, AfterViewInit, OnDestroy {
1700
1712
  applyTokens(): void;
1701
1713
  ngOnInit(): void;
1702
1714
  ngAfterViewInit(): void;
1715
+ private observeBoardViewports;
1703
1716
  ngOnDestroy(): void;
1704
1717
  set_table_group(data: RowGroup[]): void;
1705
1718
  getInitialMinHeightPx(): number;
@@ -2001,6 +2014,14 @@ declare class EruGridComponent implements OnInit, AfterViewInit, OnDestroy {
2001
2014
  isRowExpanded(row: any, index: number): boolean;
2002
2015
  toggleRowExpand(row: any, index: number, event?: Event): void;
2003
2016
  rowDetailColspan(): number;
2017
+ /**
2018
+ * Height the column's card viewport asks for: exactly the loaded cards.
2019
+ * The column's max-height clamps it (the viewport is a shrinkable flex item),
2020
+ * so a column with fewer cards than the cap ends right after the last card
2021
+ * and a fuller one scrolls. Never zero — an empty group keeps one slot so the
2022
+ * column still reads as a column.
2023
+ */
2024
+ boardColumnBodyHeight(group: RowGroup): number;
2004
2025
  onBoardScrolledIndexChange(firstVisibleIndex: number, group: RowGroup): void;
2005
2026
  requestBoardRowsForGroup(group: RowGroup): void;
2006
2027
  loadBoardAll(): void;
@@ -2943,6 +2964,8 @@ declare class TagComponent implements OnInit {
2943
2964
  name: string;
2944
2965
  color: string;
2945
2966
  }[]>;
2967
+ /** Show the filter box inside the dropdown. Configurable, as in select and people. */
2968
+ isSearchable: _angular_core.Signal<boolean>;
2946
2969
  isAllSelected: _angular_core.Signal<boolean>;
2947
2970
  isIndeterminate: _angular_core.Signal<boolean>;
2948
2971
  filteredOptions: _angular_core.Signal<{