Skip to content

Commit 492573f

Browse files
authored
Merge branch 'master' into copilot/address-code-scanning-alerts
2 parents ebd765f + a23b067 commit 492573f

File tree

45 files changed

+163
-184
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+163
-184
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"handlebars": "4.7.8"
6060
},
6161
"devDependencies": {
62-
"@inquirer/prompts": "^5.4.0",
62+
"@inquirer/prompts": "^7.9.0",
6363
"@types/jasmine": "^5.1.4",
6464
"@types/minimatch": "^5.1.2",
6565
"@types/node": "^22.5.5",

packages/cli/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "igniteui-cli",
3-
"version": "14.6.4",
3+
"version": "14.6.5-beta.0",
44
"description": "CLI tool for creating Ignite UI projects",
55
"keywords": [
66
"CLI",
@@ -76,9 +76,9 @@
7676
"all": true
7777
},
7878
"dependencies": {
79-
"@igniteui/angular-templates": "~20.1.1464",
80-
"@igniteui/cli-core": "~14.6.4",
81-
"@inquirer/prompts": "^5.4.0",
79+
"@igniteui/angular-templates": "~20.1.1465-beta.0",
80+
"@igniteui/cli-core": "~14.6.5-beta.0",
81+
"@inquirer/prompts": "^7.9.0",
8282
"@types/yargs": "^17.0.33",
8383
"chalk": "^5.3.0",
8484
"glob": "^11.0.0",

packages/core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@igniteui/cli-core",
3-
"version": "14.6.4",
3+
"version": "14.6.5-beta.0",
44
"description": "Base types and functionality for Ignite UI CLI",
55
"repository": {
66
"type": "git",
@@ -12,14 +12,14 @@
1212
"author": "Infragistics",
1313
"license": "MIT",
1414
"dependencies": {
15-
"@inquirer/prompts": "~5.4.0",
15+
"@inquirer/prompts": "^7.9.0",
1616
"chalk": "^2.3.2",
1717
"glob": "^11.0.0",
1818
"through2": "^2.0.3",
1919
"typescript": "~5.5.4"
2020
},
2121
"devDependencies": {
2222
"@angular-devkit/schematics": "^19.0.0",
23-
"@inquirer/type": "^1.5.3"
23+
"@inquirer/type": "^3.0.0"
2424
}
2525
}

packages/igx-templates/igx-ts/carousel/default/files/src/app/__path__/__filePrefix__.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export class <%=ClassName%>Component implements OnInit {
1414
public interval = 3000;
1515
public pause = true;
1616
public loop = true;
17-
constructor() { }
1817

1918
public ngOnInit() {
2019
this.addNewSlide();

packages/igx-templates/igx-ts/custom-templates/awesome-grid/files/src/app/__path__/__filePrefix__.component.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import {
1717
IgxOverlayService,
1818
IgxStringFilteringOperand,
1919
IgxSummaryResult,
20-
OverlayClosingEventArgs,
2120
OverlaySettings,
2221
IgxSwitchComponent,
2322
IgxInputGroupComponent,
@@ -86,10 +85,10 @@ export class <%=ClassName%>Component implements OnInit, OnDestroy, AfterViewInit
8685
public overlaySettings!: OverlaySettings;
8786
public winner: Athlete = { Avatar: '', Name: '' } as Athlete;
8887
public top3: Athlete[] = [];
89-
private _live: boolean = true;
88+
private _live = true;
9089
private _timer: any;
9190
private windowWidth: any;
92-
private _overlayId: string = '';
91+
private _overlayId = '';
9392

9493
get live(): boolean {
9594
return this._live;
@@ -127,7 +126,7 @@ export class <%=ClassName%>Component implements OnInit, OnDestroy, AfterViewInit
127126
this.localData.forEach(rec => this.getSpeed(rec));
128127
this.windowWidth = window.innerWidth;
129128
this._timer = setInterval(() => this.ticker(), 1500);
130-
this.overlayService.closing.subscribe((event: OverlayClosingEventArgs) => {
129+
this.overlayService.closing.subscribe(() => {
131130
this.showOverlay = false;
132131
});
133132
}

packages/igx-templates/igx-ts/custom-templates/crm-grid/files/src/app/__path__/__filePrefix__.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ export class <%=ClassName%>Component implements OnInit, AfterViewInit {
9494
public soonSummary = SoonSummary;
9595

9696
public cols!: QueryList<ColumnType>;
97-
public hiddenColsLength: number = 0;
98-
public pinnedColsLength: number = 0;
97+
public hiddenColsLength = 0;
98+
public pinnedColsLength = 0;
9999

100100
public searchText = '';
101101
public caseSensitive = false;

packages/igx-templates/igx-ts/custom-templates/crm-grid/files/src/app/__path__/data.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ export interface Employee {
3434
tags: string;
3535
}
3636

37-
/* tslint:disable */
3837
export const DATA: Employee[] = [
3938
{ "id": 256286239, "avatar": "assets/images/men/43.jpg", "name": "Gawain Beadnall", "email": "[email protected]", "company": "Divanoodle", "position": "Statistician I", "work_phone": "+1-317-866-4381", "mobile_phone": "+1-203-937-3567", "fax": "+1-212-115-1790", "street": "47 Garrison Park", "city": "Indianapolis", "post_code": 46207, "state": "IN", "country": "United States", "referred_by": "Vyky Corwin", "created_on": new Date("12/8/2017"), "birthday": new Date("2/10/2002"), "last_activity": new Date("12/16/2017"), "next_activity": new Date("4/16/2019"), "deals_won": 5, "deals_lost": 13, "deals_pending": 7, "deals_total": 25, "ratio": 28, "estimated_sales": 686210, "actual_sales": 421105, "tags": "warm, engineering" },
4039
{ "id": 863241310, "avatar": "assets/images/women/40.jpg", "name": "Ivy Simkovich", "email": "[email protected]", "company": "Linktype", "position": "Research Nurse", "work_phone": "+1-770-283-2050", "mobile_phone": "+1-509-995-2578", "fax": "+1-907-491-2187", "street": "3 Aberg Street", "city": "Marietta", "post_code": 30061, "state": "GA", "country": "United States", "referred_by": "Hew Chung", "created_on": new Date("6/24/2017"), "birthday": new Date("1/1/1997"), "last_activity": new Date("7/15/2017"), "next_activity": new Date("6/15/2019"), "deals_won": 2, "deals_lost": 4, "deals_pending": 29, "deals_total": 35, "ratio": 33, "estimated_sales": 2008801, "actual_sales": 186592, "tags": "demo, medical" },
@@ -487,4 +486,3 @@ export const DATA: Employee[] = [
487486
{ "id": 75323534, "avatar": "assets/images/women/52.jpg", "name": "Lorena Mousdall", "email": "[email protected]", "company": "Aimbo", "position": "Geologist III", "work_phone": "+1-720-341-5046", "mobile_phone": "+1-916-195-7584", "fax": "+1-215-624-1834", "street": "12 Melby Place", "city": "Denver", "post_code": 80241, "state": "CO", "country": "United States", "referred_by": "Carmina Tomaszek", "created_on": new Date("3/13/2017"), "birthday": new Date("9/13/1978"), "last_activity": new Date("3/24/2017"), "next_activity": new Date("10/24/2018"), "deals_won": 14, "deals_lost": 11, "deals_pending": 2, "deals_total": 27, "ratio": 56, "estimated_sales": 300438, "actual_sales": 1338988, "tags": "cool, engineering" },
488487
{ "id": 46063202, "avatar": "assets/images/women/71.jpg", "name": "Gayle St Pierre", "email": "[email protected]", "company": "Trupe", "position": "VP Accounting", "work_phone": "+1-530-168-6924", "mobile_phone": "+1-646-366-5359", "fax": "+1-757-548-1834", "street": "48 Veith Junction", "city": "Chico", "post_code": 95973, "state": "CA", "country": "United States", "referred_by": "Lynda Drinan", "created_on": new Date("3/26/2017"), "birthday": new Date("3/10/1971"), "last_activity": new Date("4/17/2017"), "next_activity": new Date("10/17/2018"), "deals_won": 13, "deals_lost": 14, "deals_pending": 9, "deals_total": 36, "ratio": 48, "estimated_sales": 1716966, "actual_sales": 668928, "tags": "cold, medical" },
489488
{ "id": 743401827, "avatar": "assets/images/women/56.jpg", "name": "Romy Giacomelli", "email": "[email protected]", "company": "Eimbee", "position": "Cost Accountant", "work_phone": "+1-719-646-0552", "mobile_phone": "+1-203-707-2786", "fax": "+1-214-685-1141", "street": "952 Springs Alley", "city": "Colorado Springs", "post_code": 80915, "state": "CO", "country": "United States", "referred_by": "Alanna Begg", "created_on": new Date("11/18/2017"), "birthday": new Date("10/16/1982"), "last_activity": new Date("12/2/2017"), "next_activity": new Date("2/2/2018"), "deals_won": 5, "deals_lost": 13, "deals_pending": 8, "deals_total": 26, "ratio": 28, "estimated_sales": 1423424, "actual_sales": 949815, "tags": "subscriber, construction" }];
490-
/* tslint:enable */

packages/igx-templates/igx-ts/custom-templates/fintech-grid/files/src/app/__path__/__filePrefix__.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<igx-switch [checked]="true" [(ngModel)]="theme" (change)="onThemeChanged($event)">Dark</igx-switch>
66
</div>
77
<div class="control-item">
8-
<igx-switch [checked]="grouped" (change)="onChange($event)"
8+
<igx-switch [checked]="grouped" (change)="onChange()"
99
cssClass="fintech-sample-switch">
1010
Grouped</igx-switch>
1111
</div>
@@ -203,7 +203,7 @@
203203
</div>
204204

205205
<igx-dialog #dialog [closeOnOutsideSelect]="true" (closed)="onCloseHandler()">
206-
<div (keydown)="closeDialog($event)">
206+
<div (keydown)="closeDialog($event)" tabindex="0">
207207
<igx-dialog-title> Chart </igx-dialog-title>
208208

209209
<div style="padding: 20px">

packages/igx-templates/igx-ts/custom-templates/fintech-grid/files/src/app/__path__/__filePrefix__.component.ts

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,13 @@ export class <%=ClassName%>Component implements OnInit, AfterViewInit, OnDestroy
9393
@ViewChild('chart1', { static: true }) public chart1!: IgxCategoryChartComponent;
9494
@ViewChild('dialog', { static: true }) public dialog!: IgxDialogComponent;
9595

96-
public showToolbar: boolean = false;
96+
public showToolbar = false;
9797
public properties: string[] = [];
9898
public selectionMode: GridSelectionMode = 'multiple';
9999
public chartType = CategoryChartType;
100-
public theme: boolean = false;
101-
public volume: number = 1000;
102-
public frequency: number = 500;
100+
public theme = false;
101+
public volume = 1000;
102+
public frequency = 500;
103103
public data: any[] = [];
104104
public chartData: any[] = [];
105105
public multiCellSelection: { data: any[] } = { data: [] };
@@ -133,7 +133,7 @@ export class <%=ClassName%>Component implements OnInit, AfterViewInit, OnDestroy
133133
public contracts = Contract;
134134
public regions = REGIONS;
135135
private subscription: any;
136-
private selectedButton: number = -1;
136+
private selectedButton = -1;
137137
private timer: any;
138138
private volumeChanged: any;
139139
constructor(
@@ -166,7 +166,7 @@ export class <%=ClassName%>Component implements OnInit, AfterViewInit, OnDestroy
166166
];
167167
this.volumeChanged = this.volumeSlider.valueChange.pipe(debounce(() => timer(200)));
168168
this.volumeChanged.subscribe(
169-
(x: any) => {
169+
() => {
170170
this.localService.getData(this.volume);
171171
},
172172
(err: string) => console.log('Error: ' + err));
@@ -250,7 +250,7 @@ export class <%=ClassName%>Component implements OnInit, AfterViewInit, OnDestroy
250250
}
251251
}
252252

253-
public onChange(event: IChangeCheckboxEventArgs): void {
253+
public onChange(): void {
254254
if (this.grid1.groupingExpressions.length > 0) {
255255
this.grid1.groupingExpressions = [];
256256
} else {
@@ -364,11 +364,10 @@ export class <%=ClassName%>Component implements OnInit, AfterViewInit, OnDestroy
364364
private strongPositive = (rowData: any): boolean => {
365365
return rowData['Change(%)'] >= 1;
366366
}
367-
private strongNegative = (rowData: any, key: string): boolean => {
367+
private strongNegative = (rowData: any): boolean => {
368368
return rowData['Change(%)'] <= -1;
369369
}
370370

371-
// tslint:disable:member-ordering
372371
public trends = {
373372
changeNeg: this.changeNegative,
374373
changePos: this.changePositive,
@@ -431,8 +430,6 @@ export class <%=ClassName%>Component implements OnInit, AfterViewInit, OnDestroy
431430
}
432431
}
433432

434-
// tslint:enable:member-ordering
435-
436433
private disableOtherButtons(ind: number, disableButtons: boolean): void {
437434
if (this.subscription) {
438435
this.subscription.unsubscribe();
@@ -480,9 +477,8 @@ export class <%=ClassName%>Component implements OnInit, AfterViewInit, OnDestroy
480477
*/
481478
private updateRandomPrices(data: any[]): any {
482479
const newData = data.slice();
483-
for (let i = Math.round(Math.random() * 10), y = 0; i < data.length; i += Math.round(Math.random() * 10)) {
480+
for (let i = Math.round(Math.random() * 10); i < data.length; i += Math.round(Math.random() * 10)) {
484481
newData[i] = this.randomizeObjectData(data[i]);
485-
y++;
486482
}
487483
return newData;
488484
}

packages/igx-templates/igx-ts/custom-templates/fintech-grid/files/src/app/__path__/localData.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export class LocalDataService {
1212
this.records = this.records$.asObservable();
1313
}
1414

15-
public getData(count: number = 10) {
15+
public getData(count = 10) {
1616
const financialData: FinancialData = new FinancialData();
1717
this.records$.next(financialData.generateData(count));
1818
}

0 commit comments

Comments
 (0)