eru-grid 0.0.61 → 0.0.63
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/fesm2022/eru-grid.mjs +47 -8
- package/fesm2022/eru-grid.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eru-grid.d.ts +8 -1
package/package.json
CHANGED
package/types/eru-grid.d.ts
CHANGED
|
@@ -1987,7 +1987,14 @@ declare class ColumnConstraintsService {
|
|
|
1987
1987
|
constrainWidth(width: number, column: Field | undefined, gridConfig?: GridConfiguration): number;
|
|
1988
1988
|
/**
|
|
1989
1989
|
* Get default field_size for a column following fallback hierarchy
|
|
1990
|
-
* Priority: column.field_size > datatype config minWidth > global config minWidth > datatype default minWidth > 150
|
|
1990
|
+
* Priority: column.field_size > column minWidth > datatype config minWidth > global config minWidth > datatype default minWidth > 150
|
|
1991
|
+
*
|
|
1992
|
+
* The column's own `minWidth` comes second because it is what a designer
|
|
1993
|
+
* typed into the panel's "Min width (px)" for THIS column: it is a statement
|
|
1994
|
+
* about this column and must beat any datatype- or grid-level default. It was
|
|
1995
|
+
* read by nothing, so a column set to 700 still rendered at the 150 default —
|
|
1996
|
+
* the panel's width controls did nothing at all. A width the user set by
|
|
1997
|
+
* dragging (`field_size`) still wins over both.
|
|
1991
1998
|
*/
|
|
1992
1999
|
getDefaultFieldSize(column: Field | undefined, gridConfig?: GridConfiguration): number;
|
|
1993
2000
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnConstraintsService, never>;
|