igniteui-angular 21.1.0 → 21.1.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/fesm2022/igniteui-angular-directives.mjs +28 -28
- package/fesm2022/igniteui-angular-directives.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-core.mjs +3 -0
- package/fesm2022/igniteui-angular-grids-core.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-grid.mjs +10 -7
- package/fesm2022/igniteui-angular-grids-grid.mjs.map +1 -1
- package/fesm2022/igniteui-angular-grids-pivot-grid.mjs +2 -2
- package/fesm2022/igniteui-angular-grids-pivot-grid.mjs.map +1 -1
- package/package.json +1 -1
- package/skills/igniteui-angular-components/SKILL.md +6 -9
- package/skills/igniteui-angular-components/references/charts.md +20 -10
- package/skills/igniteui-angular-components/references/data-display.md +13 -0
- package/skills/igniteui-angular-components/references/directives.md +123 -0
- package/skills/igniteui-angular-components/references/feedback.md +8 -0
- package/skills/igniteui-angular-components/references/form-controls.md +15 -0
- package/skills/igniteui-angular-components/references/layout-manager.md +5 -0
- package/skills/igniteui-angular-components/references/layout.md +9 -0
- package/skills/igniteui-angular-components/references/setup.md +10 -1
- package/skills/igniteui-angular-grids/SKILL.md +6 -6
- package/skills/igniteui-angular-grids/references/data-operations.md +13 -4
- package/skills/igniteui-angular-grids/references/editing.md +12 -1
- package/skills/igniteui-angular-grids/references/features.md +26 -10
- package/skills/igniteui-angular-grids/references/paging-remote.md +13 -4
- package/skills/igniteui-angular-grids/references/state.md +17 -151
- package/skills/igniteui-angular-grids/references/structure.md +9 -0
- package/skills/igniteui-angular-grids/references/types.md +104 -25
- package/skills/igniteui-angular-theming/SKILL.md +6 -106
- package/skills/igniteui-angular-theming/references/common-patterns.md +45 -0
- package/skills/igniteui-angular-theming/references/mcp-setup.md +77 -0
- package/types/igniteui-angular-grids-grid.d.ts +1 -0
|
@@ -3448,6 +3448,7 @@ class IgxGridBaseDirective {
|
|
|
3448
3448
|
this._sortDescendingHeaderIconTemplate = null;
|
|
3449
3449
|
this._gridSize = _Size.Large;
|
|
3450
3450
|
this._defaultRowHeight = 50;
|
|
3451
|
+
this._borderSize = 1;
|
|
3451
3452
|
this._cellMergeMode = GridCellMergeMode.onSort;
|
|
3452
3453
|
this._columnsToMerge = [];
|
|
3453
3454
|
this.displayStyle = 'grid';
|
|
@@ -5343,7 +5344,7 @@ class IgxGridBaseDirective {
|
|
|
5343
5344
|
if (this.hasCellsToMerge) {
|
|
5344
5345
|
return this.rowHeight;
|
|
5345
5346
|
}
|
|
5346
|
-
return this.rowHeight +
|
|
5347
|
+
return this.rowHeight + this._borderSize;
|
|
5347
5348
|
}
|
|
5348
5349
|
/**
|
|
5349
5350
|
* @hidden @internal
|
|
@@ -7380,12 +7381,7 @@ class IgxGridBaseDirective {
|
|
|
7380
7381
|
this.gridScroll.emit(args);
|
|
7381
7382
|
}
|
|
7382
7383
|
get renderedActualRowHeight() {
|
|
7383
|
-
|
|
7384
|
-
if (this.rowList.toArray().length > 0) {
|
|
7385
|
-
const rowStyles = this.document.defaultView.getComputedStyle(this.rowList.first.nativeElement);
|
|
7386
|
-
border = rowStyles.borderBottomWidth ? Math.ceil(parseFloat(rowStyles.borderBottomWidth)) : border;
|
|
7387
|
-
}
|
|
7388
|
-
return this.rowHeight + border;
|
|
7384
|
+
return this.rowHeight + this._borderSize;
|
|
7389
7385
|
}
|
|
7390
7386
|
executeCallback(rowIndex, visibleColIndex = -1, cb = null) {
|
|
7391
7387
|
if (!cb) {
|
|
@@ -7636,6 +7632,11 @@ class IgxGridBaseDirective {
|
|
|
7636
7632
|
else {
|
|
7637
7633
|
this._shouldRecalcRowHeight = true;
|
|
7638
7634
|
}
|
|
7635
|
+
const rowStyles = this.document.defaultView.getComputedStyle(this.dataRowList.first.nativeElement);
|
|
7636
|
+
const border = rowStyles.borderBottomWidth ? parseFloat(rowStyles.borderBottomWidth) : 1;
|
|
7637
|
+
if (border) {
|
|
7638
|
+
this._borderSize = border;
|
|
7639
|
+
}
|
|
7639
7640
|
}
|
|
7640
7641
|
}
|
|
7641
7642
|
// TODO: About to Move to CRUD
|
|
@@ -9362,6 +9363,7 @@ class IgxGridComponent extends IgxGridBaseDirective {
|
|
|
9362
9363
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: IgxGridComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
9363
9364
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.3", type: IgxGridComponent, isStandalone: true, selector: "igx-grid", inputs: { groupsExpanded: ["groupsExpanded", "groupsExpanded", booleanAttribute], dropAreaTemplate: "dropAreaTemplate", detailTemplate: "detailTemplate", id: "id", data: "data", totalItemCount: "totalItemCount", groupingExpressions: "groupingExpressions", groupingExpansionState: "groupingExpansionState", hideGroupedColumns: ["hideGroupedColumns", "hideGroupedColumns", booleanAttribute], groupStrategy: "groupStrategy", dropAreaMessage: "dropAreaMessage", groupByRowSelectorTemplate: "groupByRowSelectorTemplate", groupRowTemplate: "groupRowTemplate", showGroupArea: ["showGroupArea", "showGroupArea", booleanAttribute] }, outputs: { dataPreLoad: "dataPreLoad", groupingExpressionsChange: "groupingExpressionsChange", groupingExpansionStateChange: "groupingExpansionStateChange", groupingDone: "groupingDone" }, host: { properties: { "attr.role": "this.role", "attr.id": "this.id" } }, providers: [
|
|
9364
9365
|
IgxGridCRUDService,
|
|
9366
|
+
IgxGridMRLNavigationService,
|
|
9365
9367
|
IgxGridNavigationService,
|
|
9366
9368
|
IgxGridSummaryService,
|
|
9367
9369
|
IgxGridSelectionService,
|
|
@@ -9378,6 +9380,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
9378
9380
|
type: Component,
|
|
9379
9381
|
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, providers: [
|
|
9380
9382
|
IgxGridCRUDService,
|
|
9383
|
+
IgxGridMRLNavigationService,
|
|
9381
9384
|
IgxGridNavigationService,
|
|
9382
9385
|
IgxGridSummaryService,
|
|
9383
9386
|
IgxGridSelectionService,
|