Skip to content

Commit a0e36d4

Browse files
fix(card,dm,stepper): add missing template deps
1 parent 30bcefe commit a0e36d4

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

src/app/layouts/card/card-sample-4/card-sample-4.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, OnInit, ViewChild } from '@angular/core';
2-
import { IgxExpansionPanelComponent, IgxIconService, IgxCardComponent, IgxCardHeaderComponent, IgxCardHeaderTitleDirective, IgxCardHeaderSubtitleDirective, IgxCardContentDirective, IgxIconComponent, IgxSliderComponent, IgxExpansionPanelBodyComponent, IgxListComponent, IgxListItemComponent, IgxDividerDirective, IgxCardActionsComponent, IgxButtonDirective, IgxRippleDirective, IgxPrefixDirective, IgxCardMediaDirective, IgxAvatarComponent } from 'igniteui-angular';
2+
import { IgxExpansionPanelComponent, IgxIconService, IgxCardComponent, IgxCardHeaderComponent, IgxCardHeaderTitleDirective, IgxCardHeaderSubtitleDirective, IgxCardContentDirective, IgxIconComponent, IgxSliderComponent, IgxExpansionPanelBodyComponent, IgxListComponent, IgxListItemComponent, IgxDividerDirective, IgxCardActionsComponent, IgxButtonDirective, IgxRippleDirective, IgxPrefixDirective, IgxCardMediaDirective, IgxAvatarComponent, IgxChipComponent } from 'igniteui-angular';
33

44
import {
55
Card,
@@ -14,7 +14,7 @@ import { NgFor } from '@angular/common';
1414
selector: 'app-card-sample-4',
1515
styleUrls: ['./card-sample-4.component.scss'],
1616
templateUrl: './card-sample-4.component.html',
17-
imports: [IgxCardComponent, IgxCardHeaderComponent, IgxCardHeaderTitleDirective, IgxCardHeaderSubtitleDirective, IgxCardContentDirective, IgxIconComponent, IgxSliderComponent, IgxExpansionPanelComponent, IgxExpansionPanelBodyComponent, IgxListComponent, NgFor, IgxListItemComponent, IgxDividerDirective, IgxCardActionsComponent, IgxButtonDirective, IgxRippleDirective, IgxPrefixDirective, IgxCardMediaDirective, IgxAvatarComponent]
17+
imports: [IgxCardComponent, IgxCardHeaderComponent, IgxCardHeaderTitleDirective, IgxCardHeaderSubtitleDirective, IgxCardContentDirective, IgxChipComponent, IgxIconComponent, IgxSliderComponent, IgxExpansionPanelComponent, IgxExpansionPanelBodyComponent, IgxListComponent, NgFor, IgxListItemComponent, IgxDividerDirective, IgxCardActionsComponent, IgxButtonDirective, IgxRippleDirective, IgxPrefixDirective, IgxCardMediaDirective, IgxAvatarComponent]
1818
})
1919
export class CardSample4Component implements OnInit {
2020
@ViewChild(IgxExpansionPanelComponent, { static: true })

src/app/layouts/dock-manager/dock-manager-sample/dock-manager.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
import { Component} from '@angular/core';
1+
import { Component, CUSTOM_ELEMENTS_SCHEMA} from '@angular/core';
22
import { IgcDockManagerLayout,
33
IgcDockManagerPaneType,
44
IgcSplitPaneOrientation } from 'igniteui-dockmanager';
55

66
@Component({
77
selector: 'app-dock-manager',
88
styleUrls: ['./dock-manager.component.scss'],
9-
templateUrl: './dock-manager.component.html'
9+
templateUrl: './dock-manager.component.html',
10+
schemas: [CUSTOM_ELEMENTS_SCHEMA]
1011
})
1112
export class DockManagerComponent {
1213
public layout: IgcDockManagerLayout = {

src/app/layouts/stepper/stepper-overview-sample/stepper-overview-sample.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { ChangeDetectorRef, Component, ViewChild } from '@angular/core';
22
import { NgForm, FormsModule } from '@angular/forms';
3-
import { IgxStepperComponent, IgxStepComponent, IgxStepTitleDirective, IgxStepContentDirective, IgxCardComponent, IgxCardMediaDirective, IgxCardContentDirective, IgxInputGroupComponent, IgxInputDirective, IgxLabelDirective, IgxSelectComponent, IgxSelectItemComponent, IgxMaskDirective, IgxCheckboxComponent, IgxHintDirective, IgxRadioGroupDirective, IgxRadioComponent, IgxButtonDirective, IgxIconComponent } from 'igniteui-angular';
3+
import { IgxStepperComponent, IgxStepComponent, IgxStepTitleDirective, IgxStepContentDirective, IgxCardComponent, IgxCardMediaDirective, IgxCardContentDirective, IgxInputGroupComponent, IgxInputDirective, IgxLabelDirective, IgxSelectComponent, IgxSelectItemComponent, IgxMaskDirective, IgxCheckboxComponent, IgxHintDirective, IgxRadioGroupDirective, IgxRadioComponent, IgxButtonDirective, IgxIconComponent, IgxBadgeComponent } from 'igniteui-angular';
44
import { NgFor, NgClass, NgIf, DatePipe } from '@angular/common';
55

66
@Component({
77
selector: 'app-stepper-overview-sample',
88
styleUrls: ['./stepper-overview-sample.component.scss'],
99
templateUrl: './stepper-overview-sample.component.html',
10-
imports: [IgxStepperComponent, IgxStepComponent, IgxStepTitleDirective, IgxStepContentDirective, NgFor, IgxCardComponent, NgClass, NgIf, IgxCardMediaDirective, IgxCardContentDirective, FormsModule, IgxInputGroupComponent, IgxInputDirective, IgxLabelDirective, IgxSelectComponent, IgxSelectItemComponent, IgxMaskDirective, IgxCheckboxComponent, IgxHintDirective, IgxRadioGroupDirective, IgxRadioComponent, IgxButtonDirective, IgxIconComponent, DatePipe]
10+
imports: [IgxStepperComponent, IgxStepComponent, IgxStepTitleDirective, IgxStepContentDirective, IgxBadgeComponent, NgFor, IgxCardComponent, NgClass, NgIf, IgxCardMediaDirective, IgxCardContentDirective, FormsModule, IgxInputGroupComponent, IgxInputDirective, IgxLabelDirective, IgxSelectComponent, IgxSelectItemComponent, IgxMaskDirective, IgxCheckboxComponent, IgxHintDirective, IgxRadioGroupDirective, IgxRadioComponent, IgxButtonDirective, IgxIconComponent, DatePipe]
1111
})
1212
export class StepperOverviewSampleComponent {
1313
@ViewChild('stepper', { static: true })

src/app/layouts/stepper/stepper-sample-reactive-forms/stepper-sample-reactive-forms.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ChangeDetectorRef, Component, ViewChild } from '@angular/core';
22
import { FormControl, FormGroup, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
3-
import { IgxStepperComponent, IgxStepComponent, IgxStepTitleDirective, IgxStepContentDirective, IgxCardComponent, IgxCardMediaDirective, IgxCardContentDirective, IgxInputGroupComponent, IgxInputDirective, IgxLabelDirective, IgxSelectComponent, IgxSelectItemComponent, IgxMaskDirective, IgxCheckboxComponent, IgxHintDirective, IgxRadioGroupDirective, IgxRadioComponent, IgxButtonDirective, IgxIconComponent } from 'igniteui-angular';
3+
import { IgxStepperComponent, IgxStepComponent, IgxStepTitleDirective, IgxStepContentDirective, IgxCardComponent, IgxCardMediaDirective, IgxCardContentDirective, IgxInputGroupComponent, IgxInputDirective, IgxLabelDirective, IgxSelectComponent, IgxSelectItemComponent, IgxMaskDirective, IgxCheckboxComponent, IgxHintDirective, IgxRadioGroupDirective, IgxRadioComponent, IgxButtonDirective, IgxIconComponent, IgxBadgeComponent } from 'igniteui-angular';
44
import { NgFor, NgClass, NgIf, DatePipe } from '@angular/common';
55

66
export interface BusinessInformation{
@@ -37,7 +37,7 @@ export interface ShippingDetails{
3737
selector: 'app-stepper-sample-reactive-forms',
3838
styleUrls: ['./stepper-sample-reactive-forms.component.scss'],
3939
templateUrl: './stepper-sample-reactive-forms.component.html',
40-
imports: [IgxStepperComponent, IgxStepComponent, IgxStepTitleDirective, IgxStepContentDirective, NgFor, IgxCardComponent, NgClass, NgIf, IgxCardMediaDirective, IgxCardContentDirective, FormsModule, ReactiveFormsModule, IgxInputGroupComponent, IgxInputDirective, IgxLabelDirective, IgxSelectComponent, IgxSelectItemComponent, IgxMaskDirective, IgxCheckboxComponent, IgxHintDirective, IgxRadioGroupDirective, IgxRadioComponent, IgxButtonDirective, IgxIconComponent, DatePipe]
40+
imports: [IgxStepperComponent, IgxStepComponent, IgxStepTitleDirective, IgxStepContentDirective, IgxBadgeComponent, NgFor, IgxCardComponent, NgClass, NgIf, IgxCardMediaDirective, IgxCardContentDirective, FormsModule, ReactiveFormsModule, IgxInputGroupComponent, IgxInputDirective, IgxLabelDirective, IgxSelectComponent, IgxSelectItemComponent, IgxMaskDirective, IgxCheckboxComponent, IgxHintDirective, IgxRadioGroupDirective, IgxRadioComponent, IgxButtonDirective, IgxIconComponent, DatePipe]
4141
})
4242
export class StepperSampleReactiveFormsComponent {
4343
@ViewChild('stepper', { static: true })
@@ -75,12 +75,12 @@ export class StepperSampleReactiveFormsComponent {
7575
'Nevada', 'New York', 'New Jersey', 'Ohio', 'Texas', 'Virginia', 'Washington'
7676
];
7777
public selectedCard: any;
78-
78+
7979
public businessInformation:FormGroup<BusinessInformation>;
8080
public personalInformation:FormGroup<PersonalInformation>;
8181
public shippingDetails:FormGroup<ShippingDetails>;
82-
83-
constructor(private cdr: ChangeDetectorRef) {
82+
83+
constructor(private cdr: ChangeDetectorRef) {
8484
this.businessInformation = new FormGroup<BusinessInformation>({
8585
name: new FormControl('', Validators.required),
8686
physicalAddress: new FormControl('', Validators.required),

0 commit comments

Comments
 (0)