@igniteui/angular-templates 21.0.1480-beta.0 → 21.0.1480-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/igx-ts/custom-templates/crm-grid/files/src/app/__path__/__filePrefix__.component.ts +1 -1
- package/igx-ts/grid/default/files/src/app/__path__/__filePrefix__.component.ts +1 -1
- package/igx-ts/hierarchical-grid/hierarchical-grid-batch-editing/files/src/app/__path__/__filePrefix__.component.ts +3 -2
- package/igx-ts/projects/_base/files/package.json +1 -1
- package/igx-ts/projects/side-nav-auth/files/package.json +1 -1
- package/igx-ts-legacy/custom-templates/crm-grid/files/src/app/__path__/__filePrefix__.component.ts +1 -1
- package/igx-ts-legacy/grid/default/files/src/app/__path__/__filePrefix__.component.ts +1 -1
- package/igx-ts-legacy/hierarchical-grid/hierarchical-grid-batch-editing/files/src/app/__path__/__filePrefix__.component.ts +3 -2
- package/igx-ts-legacy/projects/_base/files/package.json +1 -1
- package/igx-ts-legacy/projects/side-nav-auth/files/package.json +1 -1
- package/package.json +2 -2
|
@@ -93,7 +93,7 @@ export class <%=ClassName%>Component implements OnInit, AfterViewInit {
|
|
|
93
93
|
public earliestSummary = EarliestSummary;
|
|
94
94
|
public soonSummary = SoonSummary;
|
|
95
95
|
|
|
96
|
-
public cols!: QueryList<
|
|
96
|
+
public cols!: QueryList<ColumnType>;
|
|
97
97
|
public hiddenColsLength = 0;
|
|
98
98
|
public pinnedColsLength = 0;
|
|
99
99
|
|
|
@@ -17,7 +17,7 @@ export class <%=ClassName%>Component implements OnInit {
|
|
|
17
17
|
this.localData = employeesData;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
public onColumnInit(column:
|
|
20
|
+
public onColumnInit(column: ColumnType): void {
|
|
21
21
|
if (column.field === 'RegistererDate') {
|
|
22
22
|
column.formatter = (date => date.toLocaleDateString());
|
|
23
23
|
}
|
|
@@ -13,7 +13,8 @@ import {
|
|
|
13
13
|
IgxInputGroupComponent,
|
|
14
14
|
IgxLabelDirective,
|
|
15
15
|
IgxInputDirective,
|
|
16
|
-
IgxCheckboxComponent
|
|
16
|
+
IgxCheckboxComponent,
|
|
17
|
+
GridType
|
|
17
18
|
} from '<%=igxPackage%>';
|
|
18
19
|
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
19
20
|
import { SINGERS } from './data';
|
|
@@ -89,7 +90,7 @@ export class <%=ClassName%>Component {
|
|
|
89
90
|
|
|
90
91
|
public formatter = (a: number): number => a;
|
|
91
92
|
|
|
92
|
-
public undo(grid:
|
|
93
|
+
public undo(grid: GridType): void {
|
|
93
94
|
/* exit edit mode */
|
|
94
95
|
grid.crudService.endEdit(/* commit the edit transaction */ false);
|
|
95
96
|
grid.transactions.undo();
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@angular/platform-browser-dynamic": "~21.0.0",
|
|
21
21
|
"@angular/router": "~21.0.0",
|
|
22
22
|
"hammerjs": "~2.0.8",
|
|
23
|
-
"igniteui-angular": "~21.0.0-
|
|
23
|
+
"igniteui-angular": "~21.0.0-beta.0",
|
|
24
24
|
"minireset.css": "~0.0.7",
|
|
25
25
|
"rxjs": "~7.8.1",
|
|
26
26
|
"tslib": "~2.8.1",
|
package/igx-ts-legacy/custom-templates/crm-grid/files/src/app/__path__/__filePrefix__.component.ts
CHANGED
|
@@ -49,7 +49,7 @@ export class <%=ClassName%>Component implements OnInit, AfterViewInit {
|
|
|
49
49
|
public earliestSummary = EarliestSummary;
|
|
50
50
|
public soonSummary = SoonSummary;
|
|
51
51
|
|
|
52
|
-
public cols!: QueryList<
|
|
52
|
+
public cols!: QueryList<ColumnType>;
|
|
53
53
|
public hiddenColsLength: number = 0;
|
|
54
54
|
public pinnedColsLength: number = 0;
|
|
55
55
|
|
|
@@ -16,7 +16,7 @@ export class <%=ClassName%>Component implements OnInit {
|
|
|
16
16
|
this.localData = employeesData;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
public onColumnInit(column:
|
|
19
|
+
public onColumnInit(column: ColumnType): void {
|
|
20
20
|
if (column.field === 'RegistererDate') {
|
|
21
21
|
column.formatter = (date => date.toLocaleDateString());
|
|
22
22
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Component, ViewChild } from '@angular/core';
|
|
2
2
|
import { IgxDialogComponent, IgxGridComponent, IgxHierarchicalGridComponent,
|
|
3
3
|
IgxRowIslandComponent, Transaction } from '<%=igxPackage%>';
|
|
4
|
+
import { GridType } from '<%=igxPackage%>/lib/grids/common/grid.interface';
|
|
4
5
|
|
|
5
6
|
import { SINGERS } from './data';
|
|
6
7
|
import { Singer } from './singer';
|
|
@@ -58,13 +59,13 @@ export class <%=ClassName%>Component {
|
|
|
58
59
|
|
|
59
60
|
public formatter = (a: number): number => a;
|
|
60
61
|
|
|
61
|
-
public undo(grid:
|
|
62
|
+
public undo(grid: GridType): void {
|
|
62
63
|
/* exit edit mode */
|
|
63
64
|
grid.crudService.endEdit(/* commit the edit transaction */ false);
|
|
64
65
|
grid.transactions.undo();
|
|
65
66
|
}
|
|
66
67
|
|
|
67
|
-
public redo(grid:
|
|
68
|
+
public redo(grid: GridType): void {
|
|
68
69
|
grid.transactions.redo();
|
|
69
70
|
}
|
|
70
71
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@angular/platform-browser-dynamic": "~21.0.0",
|
|
21
21
|
"@angular/router": "~21.0.0",
|
|
22
22
|
"hammerjs": "~2.0.8",
|
|
23
|
-
"igniteui-angular": "~21.0.0-
|
|
23
|
+
"igniteui-angular": "~21.0.0-beta.0",
|
|
24
24
|
"minireset.css": "~0.0.7",
|
|
25
25
|
"rxjs": "~7.8.1",
|
|
26
26
|
"tslib": "~2.8.1",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@igniteui/angular-templates",
|
|
3
|
-
"version": "21.0.1480-beta.
|
|
3
|
+
"version": "21.0.1480-beta.2",
|
|
4
4
|
"description": "Templates for Ignite UI for Angular projects and components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"author": "Infragistics",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@igniteui/cli-core": "~14.8.0-beta.
|
|
15
|
+
"@igniteui/cli-core": "~14.8.0-beta.2",
|
|
16
16
|
"typescript": "~5.5.4"
|
|
17
17
|
}
|
|
18
18
|
}
|