Skip to content

Commit 6964133

Browse files
authored
Merge pull request #9941 from IgniteUI/rkaraivanov/demos-master-fix
chore(dev-demos): Fixed prod build
2 parents b3c3d15 + 869674f commit 6964133

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

angular.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@
5959
"namedChunks": false,
6060
"extractLicenses": true,
6161
"vendorChunk": false,
62-
"buildOptimizer": true
62+
"buildOptimizer": true,
63+
"aot": true
6364
},
6465
"hmr": {
6566
"budgets": [

projects/igniteui-angular/src/lib/calendar/years-view/years-view.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ export class IgxYearsViewComponent implements ControlValueAccessor {
192192
*
193193
* @hidden
194194
*/
195-
public get decade(): number[] {
196-
const result = [];
195+
public get decade() {
196+
const result: Date[] = [];
197197
const start = this.date.getFullYear() - 3;
198198
const end = this.date.getFullYear() + 4;
199199

projects/igniteui-angular/src/lib/directives/button/button.directive.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export type IgxButtonType = typeof IgxButtonType[keyof typeof IgxButtonType];
5252
})
5353
export class IgxButtonDirective extends DisplayDensityBase {
5454
private static ngAcceptInputType_type: IgxButtonType | '';
55+
private static ngAcceptInputType_disabled: boolean | '';
5556

5657
/**
5758
* Called when the button is clicked.

projects/igniteui-angular/src/lib/grids/hierarchical-grid/hierarchical-grid.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
<igx-snackbar #addRowSnackbar [outlet]="igxBodyOverlayOutlet" [actionText]="resourceStrings.igx_grid_snackbar_addrow_actiontext" [displayTime]='snackbarDisplayTime'>{{resourceStrings.igx_grid_snackbar_addrow_label}}</igx-snackbar>
112112
</div>
113113

114-
<div igxOverlayOutlet #igxBodyOverlayOutlet></div>
114+
<div igxOverlayOutlet #igxBodyOverlayOutlet="overlay-outlet"></div>
115115
</div>
116116

117117
<div class="igx-grid__tfoot" role="rowgroup" [style.height.px]='summariesHeight' #tfoot>

src/app/grid-cell-api/grid-cell-api.sample.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</div>
2929
</div>
3030
<div class="grid-wrapper">
31-
<igx-grid #grid [rowDraggable]="true" (rowDragStart)="onRowDragStart($event)" (onRowDragEnd)="onRowDragEnd($event)" [data]="data" [cellSelection]="true" [rowEditable]="true" [allowFiltering]='true' [primaryKey]='"ID"' [paging]="true" [columnSelection]="'single'"
31+
<igx-grid #grid [rowDraggable]="true" [data]="data" [cellSelection]="'multiple'" [rowEditable]="true" [allowFiltering]='true' [primaryKey]='"ID"' [paging]="true" [columnSelection]="'single'"
3232
[width]="'800px'" [height]="'600px'" [rowSelection]="'multiple'">
3333
<igx-paginator>
3434
</igx-paginator>
@@ -138,7 +138,7 @@
138138
<button (click)="setEditMode(treeGridHier, tHIndex, tHGridLogger)">Set editMode</button>
139139
</div>
140140
<div style="margin-right: 5px; text-align: start">
141-
<button (click)="logState(treeGridHier, tHIndex, tHGridLogger, tHGridLogger)">Log state By Index</button>
141+
<button (click)="logState(treeGridHier, tHIndex, tHGridLogger)">Log state By Index</button>
142142
</div>
143143
<div style="margin-right: 5px; text-align: start">
144144
<button (click)="logStateByKey(treeGridHier, tHCellKey, tHcolumnField, tHGridLogger)">Log state by key</button>
@@ -300,4 +300,4 @@
300300
</button>
301301
</div>
302302
</div>
303-
</div>
303+
</div>

src/app/snackbar/snackbar.sample.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ <h4 class="sample-title">Snackbar w/ action button</h4>
1717
[ariaLive]="'assertive'"
1818
(clicked)="undoColorChange(snackbar)"
1919
[outlet]="outlet"
20-
(animationStarted)="onAnimationStarted($event)"
21-
(animationDone)="onAnimationDone($event)"
20+
(animationStarted)="onAnimationStarted()"
21+
(animationDone)="onAnimationDone()"
2222
>
2323
</igx-snackbar>
2424
</div>

0 commit comments

Comments
 (0)