Skip to content

Commit bb65943

Browse files
authored
Merge pull request #3318 from IgniteUI/vnext
Promote to prod
2 parents 1af1232 + ceeac9d commit bb65943

File tree

147 files changed

+7123
-4656
lines changed

Some content is hidden

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

147 files changed

+7123
-4656
lines changed

.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
],
1616
"createDefaultProgram": true
1717
},
18+
"plugins": [
19+
"@typescript-eslint"
20+
],
1821
"extends": [
1922
"plugin:@angular-eslint/recommended",
2023
"plugin:@angular-eslint/template/process-inline-templates"

.github/workflows/build-app-crm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
run: npm config set ${{secrets.IG_SCOPE}}:_auth=${{secrets.IG_TOKEN}}
5050

5151
- name: Install dependencies
52-
run: npm ci
52+
run: npm ci --legacy-peer-deps
5353

5454
- name: Run lint
5555
run: npm run lint

.github/workflows/build-app-lob.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
run: npm config set ${{secrets.IG_SCOPE}}:_auth=${{secrets.IG_TOKEN}}
5555

5656
- name: Install dependencies
57-
run: npm ci
57+
run: npm ci --legacy-peer-deps
5858

5959
- name: Run lint
6060
run: npm run lint

azure-pipelines.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ steps:
1616

1717
- task: Npm@1
1818
inputs:
19-
command: 'ci'
19+
command: 'custom'
20+
customCommand: 'install --legacy-peer-deps'
2021
customEndpoint: 'public proget'
2122
env:
2223
AZURE_PIPELINES: "true"

live-editing/configs/CalendarConfigGenerator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ export class CalendarConfigGenerator implements IConfigGenerator {
2525
configs.push(new Config({
2626
component: 'CalendarSample2Component',
2727
appModuleConfig: new AppModuleConfig({
28-
imports: ['IgxCalendarModule', 'IgxPrefixModule', 'IgxSelectModule', 'CalendarSample2Component'],
28+
imports: ['IgxCalendarModule', 'IgxSelectModule', 'CalendarSample2Component'],
2929
ngDeclarations: ['CalendarSample2Component'],
30-
ngImports: ['IgxCalendarModule', 'IgxPrefixModule', 'IgxSelectModule']
30+
ngImports: ['IgxCalendarModule', 'IgxSelectModule']
3131
}),
3232
shortenComponentPathBy: "/scheduling/calendar/"
3333
}));

live-editing/configs/ComboConfigGenerator.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,18 @@ export class ComboConfigGenerator implements IConfigGenerator {
138138
component: 'SimpleComboCascadingComponent'
139139
}));
140140

141+
configs.push(new Config({
142+
additionalFiles: ['/src/app/services/remoteNwind.service.ts'],
143+
appModuleConfig: new AppModuleConfig({
144+
imports: ['IgxComboModule', 'IgxSimpleComboModule', 'IgxToastModule',
145+
'HttpClientModule', 'RemoteNWindService', 'SimpleComboRemoteComponent'],
146+
ngDeclarations: ['SimpleComboRemoteComponent'],
147+
ngImports: ['IgxComboModule', 'IgxSimpleComboModule', 'IgxToastModule', 'HttpClientModule'],
148+
ngProviders: ['RemoteNWindService']
149+
}),
150+
component: 'SimpleComboRemoteComponent'
151+
}));
152+
141153
configs.push(new Config({
142154
additionalFiles: ['/src/app/data/cities15000-regions-countries.ts'],
143155
appModuleConfig: new AppModuleConfig({

live-editing/configs/ExportCsvConfigGenerator.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ IgxGridModule,
33
IgxTreeGridModule} from 'igniteui-angular';
44
import {AppModuleConfig, Config, IConfigGenerator} from 'igniteui-live-editing'
55
export class ExportCsvConfigGenerator implements IConfigGenerator {
6-
6+
public additionalImports = {
7+
IgxPreventDocumentScrollModule: '../../src/app/directives/prevent-scroll.directive'
8+
};
79

810
public generateConfigs(): Config[] {
911
const configs = new Array<Config>();
@@ -19,19 +21,20 @@ export class ExportCsvConfigGenerator implements IConfigGenerator {
1921
}));
2022

2123
configs.push(new Config({
24+
additionalFiles: ['/src/app/directives/prevent-scroll.directive.ts'],
2225
component: 'CsvExportSample1Component',
2326
appModuleConfig: new AppModuleConfig({
24-
imports: ['IgxGridModule', 'IgxCsvExporterService', 'CsvExportSample1Component'],
27+
imports: ['IgxGridModule', 'IgxCsvExporterService', 'CsvExportSample1Component', 'IgxPreventDocumentScrollModule'],
2528
ngDeclarations: ['CsvExportSample1Component'],
26-
ngImports: ['IgxGridModule'],
29+
ngImports: ['IgxGridModule', 'IgxPreventDocumentScrollModule'],
2730
ngProviders: ['IgxCsvExporterService']
2831
}),
2932
shortenComponentPathBy: "/export-csv/"
3033
}));
3134

3235
configs.push(new Config({
3336
component: 'TreeGridCsvExportSample1Component',
34-
additionalFiles: ["/src/app/tree-grid/data/foods.ts"],
37+
additionalFiles: ["/src/app/tree-grid/data/orders.ts"],
3538
appModuleConfig: new AppModuleConfig({
3639
imports: ['IgxTreeGridModule', 'IgxCsvExporterService', 'TreeGridCsvExportSample1Component'],
3740
ngDeclarations: ['TreeGridCsvExportSample1Component'],

live-editing/configs/ExportExcelConfigGenerator.ts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ import {
55
IgxDropDownModule,
66
IgxExcelExporterService,
77
IgxGridModule,
8-
IgxTreeGridModule
8+
IgxTreeGridModule,
9+
IgxToggleModule
910
} from 'igniteui-angular';
1011
import { AppModuleConfig, Config, IConfigGenerator } from 'igniteui-live-editing';
1112
export class ExportExcelConfigGenerator implements IConfigGenerator {
1213
public additionalImports = {
13-
PasteHandler: '../../src/app/grid/grid-paste/paste-handler.directive'
14+
PasteHandler: '../../src/app/grid/grid-paste/paste-handler.directive',
15+
IgxPreventDocumentScrollModule: '../../src/app/directives/prevent-scroll.directive'
1416
};
1517
public generateConfigs(): Config[] {
1618
const configs = new Array<Config>();
@@ -43,22 +45,22 @@ export class ExportExcelConfigGenerator implements IConfigGenerator {
4345
'/src/app/grid/grid-paste/paste-handler.directive.ts'],
4446
appModuleConfig: new AppModuleConfig({
4547
imports: ['IgxGridModule', 'IgxExcelExporterService', 'GridPasteSampleComponent', 'IgxDropDownComponent',
46-
'IgxDropDownModule', 'IgxButtonModule', 'PasteHandler'],
48+
'IgxDropDownModule', 'IgxButtonModule', 'PasteHandler', 'IgxToggleModule','IgxPreventDocumentScrollModule'],
4749
ngDeclarations: ['GridPasteSampleComponent', 'PasteHandler'],
48-
ngImports: ['IgxGridModule', 'IgxDropDownModule', 'IgxButtonModule'],
50+
ngImports: ['IgxGridModule', 'IgxDropDownModule', 'IgxButtonModule', 'IgxToggleModule', 'IgxPreventDocumentScrollModule'],
4951
ngProviders: ['IgxExcelExporterService']
5052
}),
5153
shortenComponentPathBy: '/grid-paste/'
5254
}));
5355

5456
configs.push(new Config({
5557
component: 'TreeGridExcelExportSample1Component',
56-
additionalFiles: ['/src/app/tree-grid/data/foods.ts'],
58+
additionalFiles: ['/src/app/tree-grid/data/orders.ts', '/src/app/directives/prevent-scroll.directive.ts',],
5759
appModuleConfig: new AppModuleConfig({
5860
imports: ['IgxTreeGridModule', 'IgxExcelExporterService', 'TreeGridExcelExportSample1Component',
59-
'IgxButtonModule'],
61+
'IgxButtonModule', 'IgxPreventDocumentScrollModule'],
6062
ngDeclarations: ['TreeGridExcelExportSample1Component'],
61-
ngImports: ['IgxTreeGridModule', 'IgxButtonModule'],
63+
ngImports: ['IgxTreeGridModule', 'IgxButtonModule', 'IgxPreventDocumentScrollModule'],
6264
ngProviders: ['IgxExcelExporterService']
6365
})
6466
}));

0 commit comments

Comments
 (0)