igniteui-webcomponents-grids 4.7.2-beta.0 → 4.7.2-beta.2

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/grids/combined.js CHANGED
@@ -40526,7 +40526,7 @@ var gg = class extends Ri {
40526
40526
  }
40527
40527
  get defaultTargetBodyHeight() {
40528
40528
  let t10 = this.dataLength;
40529
- return this.renderedRowHeight * Math.min(this._defaultTargetRecordNumber, this.paginator ? Math.min(t10, this.paginator.perPage) : t10);
40529
+ return this.renderedActualRowHeight * Math.min(this._defaultTargetRecordNumber, this.paginator ? Math.min(t10, this.paginator.perPage) : t10);
40530
40530
  }
40531
40531
  get renderedRowHeight() {
40532
40532
  return this.rowHeight + 1;
@@ -41178,12 +41178,20 @@ var gg = class extends Ri {
41178
41178
  for (let r5 of i2)
41179
41179
  if (!r5.autoSize && r5.headerCell) {
41180
41180
  let s10 = [];
41181
- if (r5._cells.length !== this.rowList.length && this.rowList.forEach((g) => g.cdr.detectChanges()), this._dataRowList.map((g) => g.cells.find((v10) => v10.column === r5)).forEach((g) => s10.push(g?.nativeElement?.offsetWidth || 0)), Math.max(...s10) === 0)
41181
+ r5._cells.length !== this.rowList.length && this.rowList.forEach((v10) => v10.cdr.detectChanges());
41182
+ let a = this._dataRowList.map((v10) => v10.cells.find((y5) => y5.column === r5));
41183
+ a.forEach((v10) => s10.push(v10?.nativeElement?.offsetWidth || 0));
41184
+ let l10 = Math.max(...s10), c = 0;
41185
+ if (a.length > 0 && r5.bodyTemplate) {
41186
+ let v10 = this.document.defaultView.getComputedStyle(a[0].nativeElement);
41187
+ c = parseFloat(v10.paddingLeft) + parseFloat(v10.paddingRight);
41188
+ }
41189
+ if (l10 === 0 || l10 <= c)
41182
41190
  continue;
41183
- let c = this.headerCellList.find((g) => g.column === r5);
41184
- s10.push(c.nativeElement.offsetWidth);
41185
- let p10 = Math.ceil(Math.max(...s10)) + 1;
41186
- r5.maxWidth && p10 > r5.maxWidthPx ? p10 = r5.maxWidthPx : p10 < r5.minWidthPx && (p10 = r5.minWidthPx), r5.autoSize = p10, r5.resetCaches(), n = true;
41191
+ let p10 = this.headerCellList.find((v10) => v10.column === r5);
41192
+ s10.push(p10.nativeElement.offsetWidth);
41193
+ let g = Math.ceil(Math.max(...s10)) + 1;
41194
+ r5.maxWidth && g > r5.maxWidthPx ? g = r5.maxWidthPx : g < r5.minWidthPx && (g = r5.minWidthPx), r5.autoSize = g, r5.resetCaches(), n = true;
41187
41195
  }
41188
41196
  n && (this.resetCachedWidths(), this.cdr.detectChanges());
41189
41197
  }
@@ -41274,6 +41282,14 @@ var gg = class extends Ri {
41274
41282
  let e = { direction: "horizontal", event: t10, scrollPosition: this.headerContainer.scrollPosition };
41275
41283
  this.gridScroll.emit(e);
41276
41284
  }
41285
+ get renderedActualRowHeight() {
41286
+ let t10 = 1;
41287
+ if (this.rowList.toArray().length > 0) {
41288
+ let n = document.defaultView.getComputedStyle(this.rowList.first.nativeElement);
41289
+ t10 = Math.ceil(parseFloat(n.borderBottomWidth));
41290
+ }
41291
+ return this.rowHeight + t10;
41292
+ }
41277
41293
  executeCallback(t10, n = -1, e = null) {
41278
41294
  if (!e)
41279
41295
  return;
@@ -44079,7 +44095,7 @@ var dn = (() => {
44079
44095
  }
44080
44096
  get defaultTargetBodyHeight() {
44081
44097
  let e = this.totalItemCount || this.dataLength;
44082
- return this.renderedRowHeight * Math.min(this._defaultTargetRecordNumber, this.paginator ? Math.min(e, this.perPage) : e);
44098
+ return this.renderedActualRowHeight * Math.min(this._defaultTargetRecordNumber, this.paginator ? Math.min(e, this.perPage) : e);
44083
44099
  }
44084
44100
  getGroupAreaHeight() {
44085
44101
  return this.groupArea ? this.getComputedHeight(this.groupArea.nativeElement) : 0;
@@ -255,8 +255,6 @@ import { IgcGridHeaderGroupComponent } from './igc-grid-header-group-component';
255
255
 
256
256
 
257
257
  /**
258
- * @deprecated in version 13.1.0. Use `IgxGridComponent.moving` instead.
259
- *
260
258
  * Sets/gets whether the column is movable.
261
259
  * Default value is `false`.
262
260
  *
@@ -267,7 +265,7 @@ import { IgcGridHeaderGroupComponent } from './igc-grid-header-group-component';
267
265
  * <igx-column [movable] = "true"></igx-column>
268
266
  * ```
269
267
  *
270
- * @memberof IgxColumnComponent
268
+ * @deprecated in version 13.1.0. Use the Grid's `moving` property instead.
271
269
  */
272
270
  public set movable(value: boolean);
273
271
  public get movable(): boolean;
@@ -6,6 +6,7 @@ import { GridColumnDataType } from './grid-column-data-type';
6
6
 
7
7
 
8
8
  /* marshalByValue */
9
+ /* tsPlainInterface */
9
10
 
10
11
  export declare class IgcColumnState
11
12
  {
@@ -19,10 +19,12 @@
19
19
  public get rowEnd(): number;
20
20
 
21
21
 
22
+ /* blazorAlternateType: double */
22
23
  public set columnStart(value: string);
23
24
  public get columnStart(): string;
24
25
 
25
26
 
27
+ /* blazorAlternateType: double */
26
28
  public set columnEnd(value: string);
27
29
  public get columnEnd(): string;
28
30
 
@@ -44,18 +44,21 @@ import { IgcPivotConfiguration } from './igc-pivot-configuration';
44
44
  public cellSelection?: IgcGridSelectionRange[];
45
45
 
46
46
 
47
+ /* blazorPrimitiveValue */
47
48
  public rowSelection?: any[];
48
49
 
49
50
 
50
51
  public columnSelection?: string[];
51
52
 
52
53
 
54
+ /* blazorPrimitiveValue */
53
55
  public rowPinning?: any[];
54
56
 
55
57
 
56
58
  public pinningConfig?: IgcPinningConfig;
57
59
 
58
60
 
61
+ /* blazorPrimitiveValue */
59
62
  public expansion?: any[];
60
63
 
61
64
 
@@ -7,6 +7,7 @@ import { IgcGroupByExpandState } from './igc-group-by-expand-state';
7
7
 
8
8
 
9
9
  /* marshalByValue */
10
+ /* tsPlainInterface */
10
11
 
11
12
  export declare class IgcGroupingState
12
13
  {
@@ -5,6 +5,7 @@
5
5
 
6
6
 
7
7
  /* marshalByValue */
8
+ /* tsPlainInterface */
8
9
 
9
10
  export declare class IgcPagingState
10
11
  {
@@ -7,6 +7,7 @@ import { RowPinningPosition } from './row-pinning-position';
7
7
 
8
8
 
9
9
  /* marshalByValue */
10
+ /* tsPlainInterface */
10
11
  /**
11
12
  * An interface describing settings for row/column pinning position.
12
13
  */
@@ -14,9 +14,9 @@ import { IgcSize } from './igc-size';
14
14
 
15
15
 
16
16
  /**
17
- * @deprecated in version 10.2.0. Set the target point/element in the overlay settings instead
18
- *
19
17
  * Attaching target for the component to show
18
+ *
19
+ * @deprecated in version 10.2.0. Set the target point/element in the overlay settings instead
20
20
  */
21
21
  public target?: HTMLElement | Point;
22
22
 
@@ -13,7 +13,9 @@
13
13
  public get index(): number;
14
14
 
15
15
 
16
- /** @deprecated Use `key` */
16
+ /**
17
+ * @deprecated Use the `key` property instead.
18
+ */
17
19
  public set rowID(value: any);
18
20
  public get rowID(): any;
19
21