Skip to content

Commit 8e2171c

Browse files
committed
merge master
2 parents 912ce87 + 445f586 commit 8e2171c

117 files changed

Lines changed: 2062 additions & 3162 deletions

File tree

Some content is hidden

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

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,4 +255,4 @@ const cleanupAngularDemosCrm = (cb) => {
255255

256256
exports.repositoryfyAngularDemos = repositoryfyAngularDemos = gulp.series(cleanupAngularDemos, processDemosWithScss);
257257
exports.repositoryfyAngularDemosLob = repositoryfyAngularDemosLob = gulp.series(cleanupAngularDemosLob, processDemosLobWithScss);
258-
exports.repositoryfyAngularDemosCrm = repositoryfyAngularDemosCrm = gulp.series(cleanupAngularDemosCrm, processDemosCrmWithScss);
258+
exports.repositoryfyAngularDemosCrm = repositoryfyAngularDemosCrm = gulp.series(cleanupAngularDemosCrm, processDemosCrmWithScss);

package-lock.json

Lines changed: 1613 additions & 2518 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 25 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -44,37 +44,37 @@
4444
"url": "git://github.com/IgniteUI/igniteui-angular-samples/repository.git"
4545
},
4646
"dependencies": {
47-
"@angular/animations": "^15.0.0",
48-
"@angular/cdk": "^15.0.0",
49-
"@angular/common": "^15.0.0",
50-
"@angular/compiler": "^15.0.0",
51-
"@angular/core": "^15.0.0",
52-
"@angular/forms": "^15.0.0",
53-
"@angular/localize": "^15.0.0",
54-
"@angular/material": "^15.0.0",
55-
"@angular/platform-browser": "^15.0.0",
56-
"@angular/platform-browser-dynamic": "^15.0.0",
57-
"@angular/router": "^15.0.0",
47+
"@angular/animations": "^15.0.2",
48+
"@angular/cdk": "^15.0.1",
49+
"@angular/common": "^15.0.2",
50+
"@angular/compiler": "^15.0.2",
51+
"@angular/core": "^15.0.2",
52+
"@angular/forms": "^15.0.2",
53+
"@angular/localize": "^15.0.2",
54+
"@angular/material": "^15.0.1",
55+
"@angular/platform-browser": "^15.0.2",
56+
"@angular/platform-browser-dynamic": "^15.0.2",
57+
"@angular/router": "^15.0.2",
5858
"@igniteui/material-icons-extended": "^2.10.0",
5959
"@microsoft/signalr": "^5.0.11",
6060
"@ng-bootstrap/ng-bootstrap": "^13.1.1",
6161
"@popperjs/core": "2.11.6",
6262
"@types/file-saver": "^2.0.2",
6363
"@types/hammerjs": "^2.0.39",
6464
"angular-in-memory-web-api": "0.9.0",
65-
"bootstrap": "^5.2.1",
65+
"bootstrap": "^5.2.3",
6666
"core-js": "2.6.2",
6767
"domino": "^2.1.4",
6868
"file-saver": "^2.0.2",
6969
"hammerjs": "^2.0.8",
70-
"igniteui-angular": "^15.0.0",
70+
"igniteui-angular": "^15.0.2",
7171
"igniteui-angular-charts": "^14.0.0",
7272
"igniteui-angular-core": "^14.0.0",
7373
"igniteui-angular-i18n": "^14.2.0",
74-
"igniteui-dockmanager": "^1.8.0",
74+
"igniteui-dockmanager": "^1.11.3",
7575
"igniteui-live-editing": "^2.0.5",
7676
"igniteui-theming": "^1.1.4",
77-
"igniteui-webcomponents": "^3.4.0",
77+
"igniteui-webcomponents": "^4.0.0",
7878
"immediate": "^3.2.3",
7979
"intl": "^1.2.5",
8080
"minireset.css": "0.0.6",
@@ -85,23 +85,22 @@
8585
"zone.js": "~0.11.4"
8686
},
8787
"devDependencies": {
88-
"@angular-devkit/build-angular": "^15.0.0",
89-
"@angular-eslint/builder": "^15.0.0",
90-
"@angular-eslint/eslint-plugin": "^15.0.0",
91-
"@angular-eslint/eslint-plugin-template": "^15.0.0",
92-
"@angular-eslint/schematics": "^15.0.0",
93-
"@angular-eslint/template-parser": "^15.0.0",
94-
"@angular/cli": "^15.0.0",
95-
"@angular/compiler-cli": "^15.0.0",
96-
"@angular/language-service": "^15.0.0",
88+
"@angular-devkit/build-angular": "^15.0.2",
89+
"@angular-eslint/builder": "^15.1.0",
90+
"@angular-eslint/eslint-plugin": "^15.1.0",
91+
"@angular-eslint/eslint-plugin-template": "^15.1.0",
92+
"@angular-eslint/schematics": "^15.1.0",
93+
"@angular-eslint/template-parser": "^15.1.0",
94+
"@angular/cli": "^15.0.2",
95+
"@angular/compiler-cli": "^15.0.2",
96+
"@angular/language-service": "^15.0.2",
9797
"@igniteui/angular-schematics": "15.0.1100",
9898
"@juggle/resize-observer": "^3.3.1",
9999
"@types/jasmine": "^3.10.2",
100100
"@types/jasminewd2": "^2.0.9",
101101
"@types/node": "^13.13.52",
102102
"@typescript-eslint/eslint-plugin": "^5.29.0",
103103
"@typescript-eslint/parser": "^5.29.0",
104-
"codelyzer": "^6.0.2",
105104
"eslint": "^8.18.0",
106105
"eslint-plugin-import": "2.26.0",
107106
"eslint-plugin-jsdoc": "39.3.3",
@@ -112,8 +111,6 @@
112111
"jasmine-core": "~4.2.0",
113112
"karma": "^6.4.0",
114113
"karma-chrome-launcher": "~3.1.0",
115-
"karma-cli": "~2.0.0",
116-
"karma-coverage-istanbul-reporter": "^3.0.3",
117114
"karma-jasmine": "~5.1.0",
118115
"karma-jasmine-html-reporter": "^2.0.0",
119116
"sass-embedded": "^1.52.2",
@@ -122,4 +119,4 @@
122119
"typescript": "4.8.4",
123120
"webpack-bundle-analyzer": "^4.5.0"
124121
}
125-
}
122+
}

projects/app-crm/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
1616
</head>
1717

18-
<body class="ig-typography igx-scrollbar">
18+
<body class="ig-typography ig-scrollbar">
1919
<app-root></app-root>
2020
</body>
2121

projects/app-lob/src/app/grid-dynamic-chart-data/data-analysis-dock-manager/data-analysis-dock-manager.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $custom-badge-theme: badge-theme(
5656
.selected {
5757
igx-badge {
5858
& {
59-
@include badge($custom-badge-theme);
59+
@include css-vars($custom-badge-theme);
6060
}
6161

6262
position: absolute;

projects/app-lob/src/app/grid-finjs/controllers.component.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<div class="controls-wrapper">
22
<div class="controls-holder">
33
<div class="switches">
4+
<div class="control-item" *ngIf="isThemeSwitchVisible">
5+
<igx-switch class="theme-switch" [checked]="false" [(ngModel)]="theme"
6+
(change)="onChange('theme', $event)">Dark</igx-switch>
7+
</div>
48
<div class="control-item">
59
<igx-switch [checked]="true" (change)="onChange('grouped', $event)" color="blue"
610
cssClass="finjs-sample-switch">

projects/app-lob/src/app/grid-finjs/controllers.component.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Component, EventEmitter, OnDestroy, OnInit, Output, ViewChild } from '@angular/core';
2+
import { ActivatedRoute } from '@angular/router';
23
import {
34
IButtonGroupEventArgs, IChangeSwitchEventArgs, IgxButtonGroupComponent,
45
IgxSliderComponent, IgxToastComponent, ISliderValueChangeEventArgs, VerticalAlignment }
@@ -23,6 +24,8 @@ export class ControllerComponent implements OnInit, OnDestroy {
2324
@Output() public playAction = new EventEmitter<{ action: string }>();
2425

2526
public volume = 1000;
27+
public theme = false;
28+
public isThemeSwitchVisible = true;
2629
public frequency = 500;
2730
public controls = [
2831
{
@@ -51,6 +54,8 @@ export class ControllerComponent implements OnInit, OnDestroy {
5154
private frequencyChanged$: Observable<ISliderValueChangeEventArgs>;
5255
private frequencyChangedSubscription: Subscription;
5356

57+
constructor(private router: ActivatedRoute) {}
58+
5459
public ngOnInit(): void {
5560
this.volumeChanged$ = this.volumeSlider.valueChange.pipe(debounce(() => timer(200)));
5661
this.volumeChangedSubscription = this.volumeChanged$.subscribe(x => this.volumeChanged.emit(this.volumeSlider.value as number));
@@ -60,6 +65,11 @@ export class ControllerComponent implements OnInit, OnDestroy {
6065
.subscribe(() => this.frequencyChanged.emit(this.intervalSlider.value as number));
6166

6267
this.toast.positionSettings.verticalDirection = VerticalAlignment.Middle;
68+
69+
// Hide theme switcher
70+
if (this.router.snapshot.queryParamMap.get('theme-switch') === 'false') {
71+
this.isThemeSwitchVisible = false;
72+
}
6373
}
6474

6575
public ngOnDestroy(): void {

projects/app-lob/src/app/grid-finjs/grid-finjs.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979

8080
.changePos2 {
8181
.igx-grid__td-text {
82-
--igx-success-l: 40%;
82+
--ig-success-l: 40%;
8383
border-inline-end: rem(4px) solid color(null, 'success', 500, .5);
8484
padding-inline-end: rem(15px);
8585
}

projects/app-lob/src/app/grid-finjs/main.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="main__wrapper igx-scrollbar">
1+
<div class="main__wrapper igx-scrollbar" [class.fin-dark-theme]="darkTheme">
22
<app-finjs-controllers #controllers
33
(switchChanged)="onSwitchChanged($event)"
44
(volumeChanged)="onVolumeChanged($event)"

projects/app-lob/src/app/grid-finjs/main.component.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { AfterViewInit, Component, HostBinding, OnDestroy, ViewChild } from '@angular/core';
2+
import { Router } from '@angular/router';
23
import { IgxDialogComponent, IgxOverlayOutletDirective, OverlaySettings } from 'igniteui-angular';
34
import { IgxCategoryChartComponent } from 'igniteui-angular-charts';
45
import { Stock } from '../data/financialData';
@@ -22,12 +23,16 @@ export class FinJSDemoComponent implements OnDestroy, AfterViewInit {
2223
closeOnOutsideClick: true
2324
};
2425

26+
@HostBinding('class.dark-theme')
27+
public darkTheme = false;
28+
2529
public properties = ['price', 'country'];
2630
public chartData: Stock[] = [];
2731
public volume = 1000;
2832
public frequency = 500;
2933
private _timer: ReturnType<typeof setInterval>;
3034

35+
3136
public onSwitchChanged(event: { action: string; value: boolean }): void {
3237
switch (event.action) {
3338
case 'toolbar': {
@@ -38,6 +43,10 @@ export class FinJSDemoComponent implements OnDestroy, AfterViewInit {
3843
this.finGrid.toggleGrouping();
3944
break;
4045
}
46+
case 'theme': {
47+
this.darkTheme = event.value;
48+
break;
49+
}
4150
default: break;
4251
}
4352
}

0 commit comments

Comments
 (0)