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/bundles/igniteui-webcomponents-grids.umd.js +940 -828
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +720 -662
- package/esm2015/lib/PropertyEditorView_combined.js +5 -5
- package/esm2015/lib/igc-multi-column-combo-box-component.js +244 -214
- package/esm5/lib/MultiColumnComboBoxView_combined.js +680 -610
- package/esm5/lib/PropertyEditorView_combined.js +5 -5
- package/esm5/lib/igc-multi-column-combo-box-component.js +256 -214
- package/fesm2015/igniteui-webcomponents-grids.js +968 -880
- package/fesm5/igniteui-webcomponents-grids.js +940 -828
- package/grids/combined.js +23 -7
- package/grids/lib/igc-column-component.d.ts +1 -3
- package/grids/lib/igc-column-state.d.ts +1 -0
- package/grids/lib/igc-grid-selection-range.d.ts +2 -0
- package/grids/lib/igc-grid-state-info.d.ts +3 -0
- package/grids/lib/igc-grouping-state.d.ts +1 -0
- package/grids/lib/igc-paging-state.d.ts +1 -0
- package/grids/lib/igc-pinning-config.d.ts +1 -0
- package/grids/lib/igc-position-settings.d.ts +2 -2
- package/grids/lib/igc-row-selector-template-details.d.ts +3 -1
- package/lib/MultiColumnComboBoxView_combined.d.ts +226 -215
- package/lib/igc-multi-column-combo-box-component.d.ts +15 -0
- package/package.json +4 -4
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.
|
|
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
|
-
|
|
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
|
|
41184
|
-
s10.push(
|
|
41185
|
-
let
|
|
41186
|
-
r5.maxWidth &&
|
|
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.
|
|
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
|
-
* @
|
|
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;
|
|
@@ -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
|
|
|
@@ -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
|
|