Skip to content

Commit 9239a56

Browse files
author
Konstantin Dinev
committed
chore(*): updating module imports
1 parent 4f8b02e commit 9239a56

6 files changed

Lines changed: 29 additions & 13 deletions

File tree

src/app/pivot-grid/pivot-grids.module.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { CommonModule } from '@angular/common';
44
import { HttpClientModule } from '@angular/common/http';
55
import { NgModule } from '@angular/core';
66
import { FormsModule } from '@angular/forms';
7-
import { IgxPivotGridModule } from 'igniteui-angular';
7+
import { IgxCheckboxModule, IgxIconModule, IgxPivotGridModule } from 'igniteui-angular';
88
import { PivotExportComponent } from './pivot-export/pivot-export.component';
99
import { PivotFeaturesComponent } from './pivot-features/pivot-features.component';
1010
import { PivotGridBasicSampleComponent } from './pivot-basic-sample/pivot-grid-basic-sample.component';
@@ -31,7 +31,9 @@ import { PivotGridNoopPersistenceSampleComponent } from './pivot-grid-noop-persi
3131
FormsModule,
3232
HttpClientModule,
3333
PivotGridsRoutingModule,
34-
IgxPivotGridModule
34+
IgxPivotGridModule,
35+
IgxCheckboxModule,
36+
IgxIconModule
3537
]
3638
})
3739
export class PivotGridsModule { }

src/app/scheduling/calendar/calendar-sample-3/calendar-sample-3.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { Component, ViewChild } from '@angular/core';
2-
import { IgxCalendarComponent, IgxDialogComponent, IgxCalendarView } from 'igniteui-angular';
3-
import { IViewDateChangeEventArgs } from 'igniteui-angular/lib/calendar/calendar-base';
2+
import { IgxCalendarComponent, IgxDialogComponent, IgxCalendarView, IViewDateChangeEventArgs } from 'igniteui-angular';
43

54
@Component({
65
selector: 'app-calendar',
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component } from '@angular/core';
2-
import { CalendarView, IgxCalendarComponent, IgxDatePickerComponent } from 'igniteui-angular';
2+
import { IgxCalendarComponent, IgxCalendarView } from 'igniteui-angular';
33

44
@Component({
55
selector: 'app-datepicker-sample-8',
@@ -10,10 +10,10 @@ import { CalendarView, IgxCalendarComponent, IgxDatePickerComponent } from 'igni
1010
export class DatepickerSample8Component {
1111
public date = new Date();
1212
public monthsView(calendar: IgxCalendarComponent) {
13-
calendar.activeView = CalendarView.YEAR;
13+
calendar.activeView = IgxCalendarView.Year;
1414
}
1515

1616
public yearsView(calendar: IgxCalendarComponent) {
17-
calendar.activeView = CalendarView.DECADE;
17+
calendar.activeView = IgxCalendarView.Decade;
1818
}
1919
}

src/app/services/services.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { CommonModule } from '@angular/common';
33
import { NgModule } from '@angular/core';
44
import { FormsModule } from '@angular/forms';
5-
import { IgxCardModule, IgxGridModule, IgxIconModule, IgxListModule, IgxTimePickerModule, IgxTransactionService, IgxTreeGridModule } from 'igniteui-angular';
5+
import { IgxCardModule, IgxGridModule, IgxIconModule, IgxListModule, IgxSelectModule, IgxTimePickerModule, IgxTransactionService, IgxTreeGridModule } from 'igniteui-angular';
66
import { IgxPreventDocumentScrollModule } from '../directives/prevent-scroll.directive';
77
import { CsvExportSample1Component } from './export-csv/csv-export-sample-1/csv-export-sample-1.component';
88
import { TreeGridCsvExportSample1Component } from './export-csv/csv-export-tree-grid-sample/csv-export-tree-grid-sample.component';
@@ -44,6 +44,7 @@ import { TransactionBaseComponent } from './transaction/transaction-base/transac
4444
IgxTreeGridModule,
4545
IgxListModule,
4646
IgxCardModule,
47+
IgxSelectModule,
4748
IgxIconModule
4849
],
4950
providers: [

src/app/tree-grid/tree-grid-virtualization-sample/tree-grid-virtualization-sample.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<div class="grid__wrapper">
2-
<igx-tree-grid [igxPreventDocumentScroll]="true" #grid1 [data]="data | async" [height]="'500px'" width="100%" [autoGenerate]='false' [allowFiltering]="true"
3-
childDataKey="Categories" primaryKey='ID'>
2+
<igx-tree-grid [igxPreventDocumentScroll]="true" #grid1 [data]="data | async" [height]="'500px'" width="100%" [autoGenerate]="false" [allowFiltering]="true"
3+
childDataKey="Categories" primaryKey="ID">
44
<igx-column [field]="'Category'" [width]="'200px'" [resizable]="true"></igx-column>
5-
<igx-column [field]="'Type'" [width]="'150px'" [filterable]='false'></igx-column>
5+
<igx-column [field]="'Type'" [width]="'150px'" [filterable]="false"></igx-column>
66
<igx-column [field]="'Open Price'" [width]="'120px'" dataType="number" [formatter]="formatCurrency"></igx-column>
77
<igx-column [field]="'Price'" [width]="'120px'" dataType="number" [formatter]="formatCurrency"></igx-column>
88
<igx-column [field]="'Change'" [width]="'120px'" dataType="number" [headerClasses]="'headerAlignSyle'">
@@ -14,7 +14,7 @@
1414
<div class="currency-badge-container">
1515
<igx-badge *ngIf="val>0" type="success" position="bottom-right" icon="arrow_upward" class="badge-left"></igx-badge>
1616
<igx-badge *ngIf="val<0" type="error" position="bottom-right" icon="arrow_downward" class="error badge-left"></igx-badge>
17-
<span class="cellAlignSyle" [class.up]="val>0" [class.down]="val<0">{{ formatNumber(val) }}</span>
17+
<span class="cellAlignSyle" [class.up]="val > 0" [class.down]="val < 0">{{ formatNumber(val) }}</span>
1818
</div>
1919
</ng-template>
2020
</igx-column>

src/app/tree-grid/tree-grid.module.ts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,19 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
66
import {
77
IgxActionStripModule,
88
IgxAvatarModule,
9+
IgxBadgeModule,
910
IgxBannerModule,
1011
IgxButtonGroupModule,
1112
IgxButtonModule,
13+
IgxCheckboxModule,
14+
IgxChipsModule,
15+
IgxDatePickerModule,
1216
IgxDialogModule,
17+
IgxDragDropModule,
18+
IgxFocusModule,
1319
IgxGridModule,
1420
IgxIconModule,
21+
IgxInputGroupModule,
1522
IgxListModule,
1623
IgxRadioModule,
1724
IgxRippleModule,
@@ -254,10 +261,17 @@ import { TreeGridSummaryExportComponent } from './tree-grid-summary-export/tree-
254261
IgxToastModule,
255262
IgxSelectModule,
256263
IgxBannerModule,
264+
IgxBadgeModule,
265+
IgxCheckboxModule,
257266
IgxSnackbarModule,
258267
IgxTooltipModule,
259268
IgxListModule,
260-
IgxSimpleComboModule
269+
IgxChipsModule,
270+
IgxDatePickerModule,
271+
IgxSimpleComboModule,
272+
IgxInputGroupModule,
273+
IgxDragDropModule,
274+
IgxFocusModule
261275
],
262276
providers: [RemoteFilteringService]
263277
})

0 commit comments

Comments
 (0)