Skip to content

Commit 8e22c8d

Browse files
committed
fix(*): Add additionally properties to be coerced to integers in Blazor
1 parent 1470d33 commit 8e22c8d

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
@@ -10,6 +10,7 @@ export enum FilteringExpressionsTreeType {
1010

1111
export declare interface IExpressionTree {
1212
filteringOperands: (IExpressionTree | IFilteringExpression)[];
13+
/* mustCoerceToInt */
1314
operator: FilteringLogic;
1415
fieldName?: string;
1516
entity?: string;
@@ -20,6 +21,7 @@ export declare interface IExpressionTree {
2021
export declare interface IFilteringExpressionsTree extends IBaseEventArgs, IExpressionTree {
2122
filteringOperands: (IFilteringExpressionsTree | IFilteringExpression)[];
2223
/* alternateName: treeType */
24+
/* mustCoerceToInt */
2325
type?: FilteringExpressionsTreeType;
2426

2527
/* 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
@@ -1948,11 +1948,13 @@ export abstract class IgxGridBaseDirective implements GridType,
19481948
}
19491949
}
19501950

1951+
/* mustCoerceToInt */
19511952
@Input()
19521953
public get pagingMode() {
19531954
return this._pagingMode;
19541955
}
19551956

1957+
/* mustCoerceToInt */
19561958
public set pagingMode(val: GridPagingMode) {
19571959
this._pagingMode = val;
19581960
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)