Skip to content

Commit 044ca2a

Browse files
committed
fix(*): Add additionally properties to be coerced to integers in Blazor
1 parent dfb8179 commit 044ca2a

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

projects/igniteui-angular/src/lib/data-operations/filtering-expressions-tree.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export enum FilteringExpressionsTreeType {
1111
/* marshalByValue */
1212
export declare interface IExpressionTree {
1313
filteringOperands: (IExpressionTree | IFilteringExpression)[];
14+
/* mustCoerceToInt */
1415
operator: FilteringLogic;
1516
fieldName?: string | null;
1617
entity?: string | null;
@@ -22,6 +23,7 @@ export declare interface IExpressionTree {
2223
export declare interface IFilteringExpressionsTree extends IBaseEventArgs, IExpressionTree {
2324
filteringOperands: (IFilteringExpressionsTree | IFilteringExpression)[];
2425
/* alternateName: treeType */
26+
/* mustCoerceToInt */
2527
type?: FilteringExpressionsTreeType;
2628

2729
/* blazorSuppress */

projects/igniteui-angular/src/lib/grids/common/grid.interface.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,6 @@ export interface GridType extends IGridDataBindable {
956956
* Represents the paging of the grid. It can be either 'Local' or 'Remote'
957957
* - Local: Default value; The grid will paginate the data source based on the page
958958
*/
959-
/* mustCoerceToInt */
960959
pagingMode: GridPagingMode;
961960
/** The paging state for the grid; Used to configure how paging should be applied - which is the current page, records per page */
962961
/** @hidden */

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1969,11 +1969,13 @@ export abstract class IgxGridBaseDirective implements GridType,
19691969
}
19701970
}
19711971

1972+
/* mustCoerceToInt */
19721973
@Input()
19731974
public get pagingMode() {
19741975
return this._pagingMode;
19751976
}
19761977

1978+
/* mustCoerceToInt */
19771979
public set pagingMode(val: GridPagingMode) {
19781980
this._pagingMode = val;
19791981
this.pipeTrigger++;

projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-grid.interface.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export interface IDimensionsChange {
2020
/** The new list of dimensions. */
2121
dimensions: IPivotDimension[],
2222
/** The dimension list type - Row, Column or Filter. */
23+
/* mustCoerceToInt */
2324
dimensionCollectionType: PivotDimensionType
2425
}
2526

projects/igniteui-angular/src/lib/services/overlay/utilities.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,16 @@ export interface OutOfViewPort {
7272

7373
export interface PositionSettings {
7474
/** Direction in which the component should show */
75+
/* mustCoerceToInt */
7576
horizontalDirection?: HorizontalAlignment;
7677
/** Direction in which the component should show */
78+
/* mustCoerceToInt */
7779
verticalDirection?: VerticalAlignment;
7880
/** Target's starting point */
81+
/* mustCoerceToInt */
7982
horizontalStartPoint?: HorizontalAlignment;
8083
/** Target's starting point */
84+
/* mustCoerceToInt */
8185
verticalStartPoint?: VerticalAlignment;
8286
/* blazorSuppress */
8387
/** Animation applied while overlay opens */

0 commit comments

Comments
 (0)